Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating HomeGraph. :sob:
Here's the output from running synth.py
:
2020-06-07 05:57:15,228 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-07 05:57:15,728 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 05:57:15,730 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 05:57:15,733 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-07 05:57:15,736 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 05:57:15,738 autosynth [DEBUG] > Running: git branch -f autosynth-homegraph
2020-06-07 05:57:15,742 autosynth [DEBUG] > Running: git checkout autosynth-homegraph
Switched to branch 'autosynth-homegraph'
2020-06-07 05:57:15,974 autosynth [INFO] > Running synthtool
2020-06-07 05:57:15,975 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/home_graph/synth.metadata', 'synth.py', '--']
2020-06-07 05:57:15,977 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/home_graph/synth.metadata synth.py -- HomeGraph
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-07 05:57:16,188 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-homegraph
nothing to commit, working tree clean
2020-06-07 05:57:18,056 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpc_2hhd2q/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 HomeGraph
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpc_2hhd2q/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 HomeGraph
/workspace /workspace
[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m
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)
[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m
==> 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
12:57:47.679 [info] FETCHING: https://homegraph.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
12:57:47.854 [info] FOUND: https://homegraph.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
Revision check: old=20200504, new=20200529, generating=true
Creating leading directories
Writing AgentDeviceId to clients/home_graph/lib/google_api/home_graph/v1/model/agent_device_id.ex.
Writing AgentOtherDeviceId to clients/home_graph/lib/google_api/home_graph/v1/model/agent_other_device_id.ex.
Writing Device to clients/home_graph/lib/google_api/home_graph/v1/model/device.ex.
Writing DeviceInfo to clients/home_graph/lib/google_api/home_graph/v1/model/device_info.ex.
Writing DeviceNames to clients/home_graph/lib/google_api/home_graph/v1/model/device_names.ex.
Writing Empty to clients/home_graph/lib/google_api/home_graph/v1/model/empty.ex.
Writing QueryRequest to clients/home_graph/lib/google_api/home_graph/v1/model/query_request.ex.
Writing QueryRequestInput to clients/home_graph/lib/google_api/home_graph/v1/model/query_request_input.ex.
Writing QueryRequestPayload to clients/home_graph/lib/google_api/home_graph/v1/model/query_request_payload.ex.
Writing QueryResponse to clients/home_graph/lib/google_api/home_graph/v1/model/query_response.ex.
Writing QueryResponsePayload to clients/home_graph/lib/google_api/home_graph/v1/model/query_response_payload.ex.
Writing ReportStateAndNotificationDevice to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_device.ex.
Writing ReportStateAndNotificationRequest to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_request.ex.
Writing ReportStateAndNotificationResponse to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_response.ex.
Writing RequestSyncDevicesRequest to clients/home_graph/lib/google_api/home_graph/v1/model/request_sync_devices_request.ex.
Writing RequestSyncDevicesResponse to clients/home_graph/lib/google_api/home_graph/v1/model/request_sync_devices_response.ex.
Writing StateAndNotificationPayload to clients/home_graph/lib/google_api/home_graph/v1/model/state_and_notification_payload.ex.
Writing SyncRequest to clients/home_graph/lib/google_api/home_graph/v1/model/sync_request.ex.
Writing SyncResponse to clients/home_graph/lib/google_api/home_graph/v1/model/sync_response.ex.
Writing SyncResponsePayload to clients/home_graph/lib/google_api/home_graph/v1/model/sync_response_payload.ex.
Writing AgentUsers to clients/home_graph/lib/google_api/home_graph/v1/api/agent_users.ex.
Writing Devices to clients/home_graph/lib/google_api/home_graph/v1/api/devices.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
12:57:48.222 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 05:57:51,260 synthtool [DEBUG] > Wrote metadata to clients/home_graph/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/home_graph/synth.metadata.
2020-06-07 05:57:51,284 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.
Autosynth is still having trouble generating HomeGraph. :sob:
Here's the output from running synth.py
:
2020-06-08 05:57:46,762 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-08 05:57:47,594 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 05:57:47,597 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 05:57:47,600 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-08 05:57:47,603 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 05:57:47,606 autosynth [DEBUG] > Running: git branch -f autosynth-homegraph
2020-06-08 05:57:47,609 autosynth [DEBUG] > Running: git checkout autosynth-homegraph
Switched to branch 'autosynth-homegraph'
2020-06-08 05:57:47,987 autosynth [INFO] > Running synthtool
2020-06-08 05:57:47,987 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/home_graph/synth.metadata', 'synth.py', '--']
2020-06-08 05:57:47,990 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/home_graph/synth.metadata synth.py -- HomeGraph
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-08 05:57:48,196 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-homegraph
nothing to commit, working tree clean
2020-06-08 05:57:49,645 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp2lv3o6wg/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 HomeGraph
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp2lv3o6wg/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 HomeGraph
/workspace /workspace
[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m
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)
[33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m
==> 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
12:58:20.389 [info] FETCHING: https://homegraph.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
12:58:20.569 [info] FOUND: https://homegraph.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
Revision check: old=20200504, new=20200529, generating=true
Creating leading directories
Writing AgentDeviceId to clients/home_graph/lib/google_api/home_graph/v1/model/agent_device_id.ex.
Writing AgentOtherDeviceId to clients/home_graph/lib/google_api/home_graph/v1/model/agent_other_device_id.ex.
Writing Device to clients/home_graph/lib/google_api/home_graph/v1/model/device.ex.
Writing DeviceInfo to clients/home_graph/lib/google_api/home_graph/v1/model/device_info.ex.
Writing DeviceNames to clients/home_graph/lib/google_api/home_graph/v1/model/device_names.ex.
Writing Empty to clients/home_graph/lib/google_api/home_graph/v1/model/empty.ex.
Writing QueryRequest to clients/home_graph/lib/google_api/home_graph/v1/model/query_request.ex.
Writing QueryRequestInput to clients/home_graph/lib/google_api/home_graph/v1/model/query_request_input.ex.
Writing QueryRequestPayload to clients/home_graph/lib/google_api/home_graph/v1/model/query_request_payload.ex.
Writing QueryResponse to clients/home_graph/lib/google_api/home_graph/v1/model/query_response.ex.
Writing QueryResponsePayload to clients/home_graph/lib/google_api/home_graph/v1/model/query_response_payload.ex.
Writing ReportStateAndNotificationDevice to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_device.ex.
Writing ReportStateAndNotificationRequest to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_request.ex.
Writing ReportStateAndNotificationResponse to clients/home_graph/lib/google_api/home_graph/v1/model/report_state_and_notification_response.ex.
Writing RequestSyncDevicesRequest to clients/home_graph/lib/google_api/home_graph/v1/model/request_sync_devices_request.ex.
Writing RequestSyncDevicesResponse to clients/home_graph/lib/google_api/home_graph/v1/model/request_sync_devices_response.ex.
Writing StateAndNotificationPayload to clients/home_graph/lib/google_api/home_graph/v1/model/state_and_notification_payload.ex.
Writing SyncRequest to clients/home_graph/lib/google_api/home_graph/v1/model/sync_request.ex.
Writing SyncResponse to clients/home_graph/lib/google_api/home_graph/v1/model/sync_response.ex.
Writing SyncResponsePayload to clients/home_graph/lib/google_api/home_graph/v1/model/sync_response_payload.ex.
Writing AgentUsers to clients/home_graph/lib/google_api/home_graph/v1/api/agent_users.ex.
Writing Devices to clients/home_graph/lib/google_api/home_graph/v1/api/devices.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
12:58:20.950 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 05:58:23,608 synthtool [DEBUG] > Wrote metadata to clients/home_graph/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/home_graph/synth.metadata.
2020-06-08 05:58:23,635 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.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate HomeGraph. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.