Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating YouTubeAnalytics. :sob:
Here's the output from running synth.py
:
2020-06-07 06:38:20,321 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-07 06:38:21,142 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 06:38:21,145 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 06:38:21,148 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-07 06:38:21,150 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 06:38:21,153 autosynth [DEBUG] > Running: git branch -f autosynth-youtubeanalytics
2020-06-07 06:38:21,156 autosynth [DEBUG] > Running: git checkout autosynth-youtubeanalytics
Switched to branch 'autosynth-youtubeanalytics'
2020-06-07 06:38:21,536 autosynth [INFO] > Running synthtool
2020-06-07 06:38:21,536 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/you_tube_analytics/synth.metadata', 'synth.py', '--']
2020-06-07 06:38:21,539 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/you_tube_analytics/synth.metadata synth.py -- YouTubeAnalytics
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-07 06:38:21,753 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-youtubeanalytics
nothing to commit, working tree clean
2020-06-07 06:38:23,633 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpqmt40jk4/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 YouTubeAnalytics
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpqmt40jk4/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 YouTubeAnalytics
/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
13:38:54.501 [info] FETCHING: https://youtubeanalytics.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v2
13:38:54.612 [info] FETCHING: https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2
13:38:54.619 [info] FOUND: https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2
Revision check: old=20200512, new=20200603, generating=true
Creating leading directories
Writing EmptyResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/empty_response.ex.
Writing ErrorProto to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/error_proto.ex.
Writing Errors to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/errors.ex.
Writing Group to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group.ex.
Writing GroupContentDetails to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_content_details.ex.
Writing GroupItem to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_item.ex.
Writing GroupItemResource to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_item_resource.ex.
Writing GroupSnippet to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_snippet.ex.
Writing ListGroupItemsResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/list_group_items_response.ex.
Writing ListGroupsResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/list_groups_response.ex.
Writing QueryResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/query_response.ex.
Writing ResultTableColumnHeader to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/result_table_column_header.ex.
Writing GroupItems to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/group_items.ex.
Writing Groups to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/groups.ex.
Writing Reports to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.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:38:54.984 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 06:38:58,035 synthtool [DEBUG] > Wrote metadata to clients/you_tube_analytics/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/you_tube_analytics/synth.metadata.
2020-06-07 06:38:58,058 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 YouTubeAnalytics. :sob:
Here's the output from running synth.py
:
2020-06-08 06:39:05,939 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-08 06:39:07,149 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 06:39:07,152 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 06:39:07,155 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-08 06:39:07,158 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 06:39:07,161 autosynth [DEBUG] > Running: git branch -f autosynth-youtubeanalytics
2020-06-08 06:39:07,164 autosynth [DEBUG] > Running: git checkout autosynth-youtubeanalytics
Switched to branch 'autosynth-youtubeanalytics'
2020-06-08 06:39:07,522 autosynth [INFO] > Running synthtool
2020-06-08 06:39:07,522 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/you_tube_analytics/synth.metadata', 'synth.py', '--']
2020-06-08 06:39:07,525 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/you_tube_analytics/synth.metadata synth.py -- YouTubeAnalytics
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-08 06:39:07,733 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-youtubeanalytics
nothing to commit, working tree clean
2020-06-08 06:39:09,279 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpq6srnwk0/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 YouTubeAnalytics
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpq6srnwk0/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 YouTubeAnalytics
/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
13:39:41.185 [info] FETCHING: https://youtubeanalytics.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v2
13:39:41.317 [info] FETCHING: https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2
13:39:41.323 [info] FOUND: https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2
Revision check: old=20200512, new=20200606, generating=true
Creating leading directories
Writing EmptyResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/empty_response.ex.
Writing ErrorProto to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/error_proto.ex.
Writing Errors to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/errors.ex.
Writing Group to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group.ex.
Writing GroupContentDetails to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_content_details.ex.
Writing GroupItem to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_item.ex.
Writing GroupItemResource to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_item_resource.ex.
Writing GroupSnippet to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/group_snippet.ex.
Writing ListGroupItemsResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/list_group_items_response.ex.
Writing ListGroupsResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/list_groups_response.ex.
Writing QueryResponse to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/query_response.ex.
Writing ResultTableColumnHeader to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/model/result_table_column_header.ex.
Writing GroupItems to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/group_items.ex.
Writing Groups to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/groups.ex.
Writing Reports to clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.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:39:41.711 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 06:39:44,601 synthtool [DEBUG] > Wrote metadata to clients/you_tube_analytics/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/you_tube_analytics/synth.metadata.
2020-06-08 06:39:44,629 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 YouTubeAnalytics. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.