googleapis / elixir-google-api

Elixir client libraries for accessing Google APIs.
https://hex.pm/users/google-cloud
Apache License 2.0
1.02k stars 460 forks source link

Synthesis failed for Vault #5472

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

Hello! Autosynth couldn't regenerate Vault. :broken_heart:

Here's the output from running synth.py:

20-06-06 06:44:42,374 autosynth [INFO] > Running synthtool
2020-06-06 06:44:42,374 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/vault/synth.metadata', 'synth.py', '--']
2020-06-06 06:44:42,376 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/vault/synth.metadata synth.py -- Vault
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-06 06:44:42,598 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-vault
nothing to commit, working tree clean
2020-06-06 06:44:44,504 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpixkvflv9/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpixkvflv9/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:45:17.390 [info]  FETCHING: https://vault.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:45:17.697 [info]  FETCHING: https://vault.googleapis.com/$discovery/rest?version=v1

13:45:17.925 [info]  FOUND: https://vault.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200507, generating=true
Creating leading directories
Writing AccountInfo to clients/vault/lib/google_api/vault/v1/model/account_info.ex.
Writing AddHeldAccountResult to clients/vault/lib/google_api/vault/v1/model/add_held_account_result.ex.
Writing AddHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_request.ex.
Writing AddHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_response.ex.
Writing AddMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.ex.
Writing CloseMatterRequest to clients/vault/lib/google_api/vault/v1/model/close_matter_request.ex.
Writing CloseMatterResponse to clients/vault/lib/google_api/vault/v1/model/close_matter_response.ex.
Writing CloudStorageFile to clients/vault/lib/google_api/vault/v1/model/cloud_storage_file.ex.
Writing CloudStorageSink to clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex.
Writing CorpusQuery to clients/vault/lib/google_api/vault/v1/model/corpus_query.ex.
Writing DriveExportOptions to clients/vault/lib/google_api/vault/v1/model/drive_export_options.ex.
Writing DriveOptions to clients/vault/lib/google_api/vault/v1/model/drive_options.ex.
Writing Empty to clients/vault/lib/google_api/vault/v1/model/empty.ex.
Writing Export to clients/vault/lib/google_api/vault/v1/model/export.ex.
Writing ExportOptions to clients/vault/lib/google_api/vault/v1/model/export_options.ex.
Writing ExportStats to clients/vault/lib/google_api/vault/v1/model/export_stats.ex.
Writing GroupsExportOptions to clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex.
Writing HangoutsChatExportOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_export_options.ex.
Writing HangoutsChatInfo to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_info.ex.
Writing HangoutsChatOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_options.ex.
Writing HeldAccount to clients/vault/lib/google_api/vault/v1/model/held_account.ex.
Writing HeldDriveQuery to clients/vault/lib/google_api/vault/v1/model/held_drive_query.ex.
Writing HeldGroupsQuery to clients/vault/lib/google_api/vault/v1/model/held_groups_query.ex.
Writing HeldHangoutsChatQuery to clients/vault/lib/google_api/vault/v1/model/held_hangouts_chat_query.ex.
Writing HeldMailQuery to clients/vault/lib/google_api/vault/v1/model/held_mail_query.ex.
Writing HeldOrgUnit to clients/vault/lib/google_api/vault/v1/model/held_org_unit.ex.
Writing Hold to clients/vault/lib/google_api/vault/v1/model/hold.ex.
Writing ListExportsResponse to clients/vault/lib/google_api/vault/v1/model/list_exports_response.ex.
Writing ListHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/list_held_accounts_response.ex.
Writing ListHoldsResponse to clients/vault/lib/google_api/vault/v1/model/list_holds_response.ex.
Writing ListMattersResponse to clients/vault/lib/google_api/vault/v1/model/list_matters_response.ex.
Writing ListSavedQueriesResponse to clients/vault/lib/google_api/vault/v1/model/list_saved_queries_response.ex.
Writing MailExportOptions to clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex.
Writing MailOptions to clients/vault/lib/google_api/vault/v1/model/mail_options.ex.
Writing Matter to clients/vault/lib/google_api/vault/v1/model/matter.ex.
Writing MatterPermission to clients/vault/lib/google_api/vault/v1/model/matter_permission.ex.
Writing OrgUnitInfo to clients/vault/lib/google_api/vault/v1/model/org_unit_info.ex.
Writing Query to clients/vault/lib/google_api/vault/v1/model/query.ex.
Writing RemoveHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_request.ex.
Writing RemoveHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_response.ex.
Writing RemoveMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex.
Writing ReopenMatterRequest to clients/vault/lib/google_api/vault/v1/model/reopen_matter_request.ex.
Writing ReopenMatterResponse to clients/vault/lib/google_api/vault/v1/model/reopen_matter_response.ex.
Writing SavedQuery to clients/vault/lib/google_api/vault/v1/model/saved_query.ex.
Writing SharedDriveInfo to clients/vault/lib/google_api/vault/v1/model/shared_drive_info.ex.
Writing Status to clients/vault/lib/google_api/vault/v1/model/status.ex.
Writing TeamDriveInfo to clients/vault/lib/google_api/vault/v1/model/team_drive_info.ex.
Writing UndeleteMatterRequest to clients/vault/lib/google_api/vault/v1/model/undelete_matter_request.ex.
Writing UserInfo to clients/vault/lib/google_api/vault/v1/model/user_info.ex.
Writing Matters to clients/vault/lib/google_api/vault/v1/api/matters.ex.
Writing Operations to clients/vault/lib/google_api/vault/v1/api/operations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:45:18.382 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-06 06:45:21,408 synthtool [DEBUG] > Wrote metadata to clients/vault/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/vault/synth.metadata.
2020-06-06 06:45:21,433 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating Vault. :sob:

Here's the output from running synth.py:

20-06-07 06:34:28,825 autosynth [INFO] > Running synthtool
2020-06-07 06:34:28,825 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/vault/synth.metadata', 'synth.py', '--']
2020-06-07 06:34:28,828 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/vault/synth.metadata synth.py -- Vault
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-07 06:34:29,049 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-vault
nothing to commit, working tree clean
2020-06-07 06:34:30,962 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpdh4rzr1e/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpdh4rzr1e/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:35:01.170 [info]  FETCHING: https://vault.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:35:01.475 [info]  FETCHING: https://vault.googleapis.com/$discovery/rest?version=v1

13:35:01.685 [info]  FOUND: https://vault.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200507, generating=true
Creating leading directories
Writing AccountInfo to clients/vault/lib/google_api/vault/v1/model/account_info.ex.
Writing AddHeldAccountResult to clients/vault/lib/google_api/vault/v1/model/add_held_account_result.ex.
Writing AddHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_request.ex.
Writing AddHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_response.ex.
Writing AddMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.ex.
Writing CloseMatterRequest to clients/vault/lib/google_api/vault/v1/model/close_matter_request.ex.
Writing CloseMatterResponse to clients/vault/lib/google_api/vault/v1/model/close_matter_response.ex.
Writing CloudStorageFile to clients/vault/lib/google_api/vault/v1/model/cloud_storage_file.ex.
Writing CloudStorageSink to clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex.
Writing CorpusQuery to clients/vault/lib/google_api/vault/v1/model/corpus_query.ex.
Writing DriveExportOptions to clients/vault/lib/google_api/vault/v1/model/drive_export_options.ex.
Writing DriveOptions to clients/vault/lib/google_api/vault/v1/model/drive_options.ex.
Writing Empty to clients/vault/lib/google_api/vault/v1/model/empty.ex.
Writing Export to clients/vault/lib/google_api/vault/v1/model/export.ex.
Writing ExportOptions to clients/vault/lib/google_api/vault/v1/model/export_options.ex.
Writing ExportStats to clients/vault/lib/google_api/vault/v1/model/export_stats.ex.
Writing GroupsExportOptions to clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex.
Writing HangoutsChatExportOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_export_options.ex.
Writing HangoutsChatInfo to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_info.ex.
Writing HangoutsChatOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_options.ex.
Writing HeldAccount to clients/vault/lib/google_api/vault/v1/model/held_account.ex.
Writing HeldDriveQuery to clients/vault/lib/google_api/vault/v1/model/held_drive_query.ex.
Writing HeldGroupsQuery to clients/vault/lib/google_api/vault/v1/model/held_groups_query.ex.
Writing HeldHangoutsChatQuery to clients/vault/lib/google_api/vault/v1/model/held_hangouts_chat_query.ex.
Writing HeldMailQuery to clients/vault/lib/google_api/vault/v1/model/held_mail_query.ex.
Writing HeldOrgUnit to clients/vault/lib/google_api/vault/v1/model/held_org_unit.ex.
Writing Hold to clients/vault/lib/google_api/vault/v1/model/hold.ex.
Writing ListExportsResponse to clients/vault/lib/google_api/vault/v1/model/list_exports_response.ex.
Writing ListHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/list_held_accounts_response.ex.
Writing ListHoldsResponse to clients/vault/lib/google_api/vault/v1/model/list_holds_response.ex.
Writing ListMattersResponse to clients/vault/lib/google_api/vault/v1/model/list_matters_response.ex.
Writing ListSavedQueriesResponse to clients/vault/lib/google_api/vault/v1/model/list_saved_queries_response.ex.
Writing MailExportOptions to clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex.
Writing MailOptions to clients/vault/lib/google_api/vault/v1/model/mail_options.ex.
Writing Matter to clients/vault/lib/google_api/vault/v1/model/matter.ex.
Writing MatterPermission to clients/vault/lib/google_api/vault/v1/model/matter_permission.ex.
Writing OrgUnitInfo to clients/vault/lib/google_api/vault/v1/model/org_unit_info.ex.
Writing Query to clients/vault/lib/google_api/vault/v1/model/query.ex.
Writing RemoveHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_request.ex.
Writing RemoveHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_response.ex.
Writing RemoveMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex.
Writing ReopenMatterRequest to clients/vault/lib/google_api/vault/v1/model/reopen_matter_request.ex.
Writing ReopenMatterResponse to clients/vault/lib/google_api/vault/v1/model/reopen_matter_response.ex.
Writing SavedQuery to clients/vault/lib/google_api/vault/v1/model/saved_query.ex.
Writing SharedDriveInfo to clients/vault/lib/google_api/vault/v1/model/shared_drive_info.ex.
Writing Status to clients/vault/lib/google_api/vault/v1/model/status.ex.
Writing TeamDriveInfo to clients/vault/lib/google_api/vault/v1/model/team_drive_info.ex.
Writing UndeleteMatterRequest to clients/vault/lib/google_api/vault/v1/model/undelete_matter_request.ex.
Writing UserInfo to clients/vault/lib/google_api/vault/v1/model/user_info.ex.
Writing Matters to clients/vault/lib/google_api/vault/v1/api/matters.ex.
Writing Operations to clients/vault/lib/google_api/vault/v1/api/operations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:35:02.136 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 06:35:05,129 synthtool [DEBUG] > Wrote metadata to clients/vault/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/vault/synth.metadata.
2020-06-07 06:35:05,152 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating Vault. :sob:

Here's the output from running synth.py:

20-06-08 06:35:13,043 autosynth [INFO] > Running synthtool
2020-06-08 06:35:13,043 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/vault/synth.metadata', 'synth.py', '--']
2020-06-08 06:35:13,045 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/vault/synth.metadata synth.py -- Vault
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-08 06:35:13,255 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-vault
nothing to commit, working tree clean
2020-06-08 06:35:14,737 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp8aulalk0/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp8aulalk0/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Vault
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:35:45.692 [info]  FETCHING: https://vault.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:35:46.021 [info]  FETCHING: https://vault.googleapis.com/$discovery/rest?version=v1

13:35:46.231 [info]  FOUND: https://vault.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200501, new=20200507, generating=true
Creating leading directories
Writing AccountInfo to clients/vault/lib/google_api/vault/v1/model/account_info.ex.
Writing AddHeldAccountResult to clients/vault/lib/google_api/vault/v1/model/add_held_account_result.ex.
Writing AddHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_request.ex.
Writing AddHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/add_held_accounts_response.ex.
Writing AddMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/add_matter_permissions_request.ex.
Writing CloseMatterRequest to clients/vault/lib/google_api/vault/v1/model/close_matter_request.ex.
Writing CloseMatterResponse to clients/vault/lib/google_api/vault/v1/model/close_matter_response.ex.
Writing CloudStorageFile to clients/vault/lib/google_api/vault/v1/model/cloud_storage_file.ex.
Writing CloudStorageSink to clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex.
Writing CorpusQuery to clients/vault/lib/google_api/vault/v1/model/corpus_query.ex.
Writing DriveExportOptions to clients/vault/lib/google_api/vault/v1/model/drive_export_options.ex.
Writing DriveOptions to clients/vault/lib/google_api/vault/v1/model/drive_options.ex.
Writing Empty to clients/vault/lib/google_api/vault/v1/model/empty.ex.
Writing Export to clients/vault/lib/google_api/vault/v1/model/export.ex.
Writing ExportOptions to clients/vault/lib/google_api/vault/v1/model/export_options.ex.
Writing ExportStats to clients/vault/lib/google_api/vault/v1/model/export_stats.ex.
Writing GroupsExportOptions to clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex.
Writing HangoutsChatExportOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_export_options.ex.
Writing HangoutsChatInfo to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_info.ex.
Writing HangoutsChatOptions to clients/vault/lib/google_api/vault/v1/model/hangouts_chat_options.ex.
Writing HeldAccount to clients/vault/lib/google_api/vault/v1/model/held_account.ex.
Writing HeldDriveQuery to clients/vault/lib/google_api/vault/v1/model/held_drive_query.ex.
Writing HeldGroupsQuery to clients/vault/lib/google_api/vault/v1/model/held_groups_query.ex.
Writing HeldHangoutsChatQuery to clients/vault/lib/google_api/vault/v1/model/held_hangouts_chat_query.ex.
Writing HeldMailQuery to clients/vault/lib/google_api/vault/v1/model/held_mail_query.ex.
Writing HeldOrgUnit to clients/vault/lib/google_api/vault/v1/model/held_org_unit.ex.
Writing Hold to clients/vault/lib/google_api/vault/v1/model/hold.ex.
Writing ListExportsResponse to clients/vault/lib/google_api/vault/v1/model/list_exports_response.ex.
Writing ListHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/list_held_accounts_response.ex.
Writing ListHoldsResponse to clients/vault/lib/google_api/vault/v1/model/list_holds_response.ex.
Writing ListMattersResponse to clients/vault/lib/google_api/vault/v1/model/list_matters_response.ex.
Writing ListSavedQueriesResponse to clients/vault/lib/google_api/vault/v1/model/list_saved_queries_response.ex.
Writing MailExportOptions to clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex.
Writing MailOptions to clients/vault/lib/google_api/vault/v1/model/mail_options.ex.
Writing Matter to clients/vault/lib/google_api/vault/v1/model/matter.ex.
Writing MatterPermission to clients/vault/lib/google_api/vault/v1/model/matter_permission.ex.
Writing OrgUnitInfo to clients/vault/lib/google_api/vault/v1/model/org_unit_info.ex.
Writing Query to clients/vault/lib/google_api/vault/v1/model/query.ex.
Writing RemoveHeldAccountsRequest to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_request.ex.
Writing RemoveHeldAccountsResponse to clients/vault/lib/google_api/vault/v1/model/remove_held_accounts_response.ex.
Writing RemoveMatterPermissionsRequest to clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex.
Writing ReopenMatterRequest to clients/vault/lib/google_api/vault/v1/model/reopen_matter_request.ex.
Writing ReopenMatterResponse to clients/vault/lib/google_api/vault/v1/model/reopen_matter_response.ex.
Writing SavedQuery to clients/vault/lib/google_api/vault/v1/model/saved_query.ex.
Writing SharedDriveInfo to clients/vault/lib/google_api/vault/v1/model/shared_drive_info.ex.
Writing Status to clients/vault/lib/google_api/vault/v1/model/status.ex.
Writing TeamDriveInfo to clients/vault/lib/google_api/vault/v1/model/team_drive_info.ex.
Writing UndeleteMatterRequest to clients/vault/lib/google_api/vault/v1/model/undelete_matter_request.ex.
Writing UserInfo to clients/vault/lib/google_api/vault/v1/model/user_info.ex.
Writing Matters to clients/vault/lib/google_api/vault/v1/api/matters.ex.
Writing Operations to clients/vault/lib/google_api/vault/v1/api/operations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:35:46.679 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 06:35:49,338 synthtool [DEBUG] > Wrote metadata to clients/vault/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/vault/synth.metadata.
2020-06-08 06:35:49,366 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth passed, closing! :green_heart: