Closed yoshi-automation closed 3 years ago
Autosynth is still having trouble generating CloudBilling. :sob:
Here's the output from running synth.py
:
rkspace -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 CloudBilling
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpcafl_iqu/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 CloudBilling
/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 28 files (.ex)
Generated google_apis app
13:29:01.529 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
13:29:01.872 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
13:29:02.085 [info] FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20201017, new=20201017, generating=true
Creating leading directories
Writing AggregationInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex.
Writing AuditConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_log_config.ex.
Writing BillingAccount to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex.
Writing Binding to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex.
Writing Category to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/category.ex.
Writing Expr to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/expr.ex.
Writing GeoTaxonomy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/geo_taxonomy.ex.
Writing ListBillingAccountsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_billing_accounts_response.ex.
Writing ListProjectBillingInfoResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_project_billing_info_response.ex.
Writing ListServicesResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_services_response.ex.
Writing ListSkusResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_skus_response.ex.
Writing Money to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/money.ex.
Writing Policy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/policy.ex.
Writing PricingExpression to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex.
Writing PricingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex.
Writing ProjectBillingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex.
Writing Service to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/service.ex.
Writing SetIamPolicyRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/set_iam_policy_request.ex.
Writing Sku to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex.
Writing TestIamPermissionsRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_response.ex.
Writing TierRate to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/tier_rate.ex.
Writing BillingAccounts to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex.
Writing Projects to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex.
Writing Services to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/services.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:29:02.545 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
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/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 252, in __exit__
self.observer.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 361, in on_thread_stop
self.unschedule_all()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 357, in unschedule_all
self._clear_emitters()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 231, in _clear_emitters
emitter.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify.py", line 121, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 50, in close
self.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 46, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_c.py", line 277, in close
os.close(self._inotify_fd)
OSError: [Errno 9] Bad file descriptor
2020-12-19 05:29:05,677 autosynth [ERROR] > Synthesis failed
2020-12-19 05:29:05,677 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 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 291, in _inner_main
).synthesize(synth_log_path / "sponge_log.log")
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--', 'CloudBilling']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating CloudBilling. :sob:
Here's the output from running synth.py
:
rkspace -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 CloudBilling
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpvusmuyu9/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 CloudBilling
/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 28 files (.ex)
Generated google_apis app
13:30:49.188 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
13:30:49.374 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
13:30:49.590 [info] FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20201017, new=20201017, generating=true
Creating leading directories
Writing AggregationInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex.
Writing AuditConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_log_config.ex.
Writing BillingAccount to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex.
Writing Binding to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex.
Writing Category to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/category.ex.
Writing Expr to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/expr.ex.
Writing GeoTaxonomy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/geo_taxonomy.ex.
Writing ListBillingAccountsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_billing_accounts_response.ex.
Writing ListProjectBillingInfoResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_project_billing_info_response.ex.
Writing ListServicesResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_services_response.ex.
Writing ListSkusResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_skus_response.ex.
Writing Money to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/money.ex.
Writing Policy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/policy.ex.
Writing PricingExpression to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex.
Writing PricingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex.
Writing ProjectBillingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex.
Writing Service to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/service.ex.
Writing SetIamPolicyRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/set_iam_policy_request.ex.
Writing Sku to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex.
Writing TestIamPermissionsRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_response.ex.
Writing TierRate to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/tier_rate.ex.
Writing BillingAccounts to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex.
Writing Projects to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex.
Writing Services to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/services.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:30:50.058 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
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/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 252, in __exit__
self.observer.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 361, in on_thread_stop
self.unschedule_all()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 357, in unschedule_all
self._clear_emitters()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 231, in _clear_emitters
emitter.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify.py", line 121, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 50, in close
self.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 46, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_c.py", line 277, in close
os.close(self._inotify_fd)
OSError: [Errno 9] Bad file descriptor
2020-12-20 05:30:53,195 autosynth [ERROR] > Synthesis failed
2020-12-20 05:30:53,196 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 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 291, in _inner_main
).synthesize(synth_log_path / "sponge_log.log")
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--', 'CloudBilling']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating CloudBilling. :sob:
Here's the output from running synth.py
:
rkspace -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 CloudBilling
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmphlde8k61/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 CloudBilling
/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 28 files (.ex)
Generated google_apis app
13:29:59.533 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
13:29:59.724 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
13:29:59.777 [info] FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20201017, new=20201017, generating=true
Creating leading directories
Writing AggregationInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex.
Writing AuditConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_log_config.ex.
Writing BillingAccount to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex.
Writing Binding to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex.
Writing Category to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/category.ex.
Writing Expr to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/expr.ex.
Writing GeoTaxonomy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/geo_taxonomy.ex.
Writing ListBillingAccountsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_billing_accounts_response.ex.
Writing ListProjectBillingInfoResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_project_billing_info_response.ex.
Writing ListServicesResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_services_response.ex.
Writing ListSkusResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_skus_response.ex.
Writing Money to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/money.ex.
Writing Policy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/policy.ex.
Writing PricingExpression to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex.
Writing PricingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex.
Writing ProjectBillingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex.
Writing Service to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/service.ex.
Writing SetIamPolicyRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/set_iam_policy_request.ex.
Writing Sku to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex.
Writing TestIamPermissionsRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_response.ex.
Writing TierRate to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/tier_rate.ex.
Writing BillingAccounts to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex.
Writing Projects to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex.
Writing Services to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/services.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:30:00.232 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
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/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 252, in __exit__
self.observer.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 361, in on_thread_stop
self.unschedule_all()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 357, in unschedule_all
self._clear_emitters()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 231, in _clear_emitters
emitter.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify.py", line 121, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 50, in close
self.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 46, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_c.py", line 277, in close
os.close(self._inotify_fd)
OSError: [Errno 9] Bad file descriptor
2020-12-21 05:30:03,229 autosynth [ERROR] > Synthesis failed
2020-12-21 05:30:03,229 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 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 291, in _inner_main
).synthesize(synth_log_path / "sponge_log.log")
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--', 'CloudBilling']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating CloudBilling. :sob:
Here's the output from running synth.py
:
rkspace -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 CloudBilling
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpha4tf0jn/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 CloudBilling
/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 28 files (.ex)
Generated google_apis app
13:28:17.149 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
13:28:17.454 [info] FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
13:28:17.662 [info] FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20201017, new=20201017, generating=true
Creating leading directories
Writing AggregationInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex.
Writing AuditConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/audit_log_config.ex.
Writing BillingAccount to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/billing_account.ex.
Writing Binding to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex.
Writing Category to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/category.ex.
Writing Expr to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/expr.ex.
Writing GeoTaxonomy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/geo_taxonomy.ex.
Writing ListBillingAccountsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_billing_accounts_response.ex.
Writing ListProjectBillingInfoResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_project_billing_info_response.ex.
Writing ListServicesResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_services_response.ex.
Writing ListSkusResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/list_skus_response.ex.
Writing Money to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/money.ex.
Writing Policy to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/policy.ex.
Writing PricingExpression to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_expression.ex.
Writing PricingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex.
Writing ProjectBillingInfo to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/project_billing_info.ex.
Writing Service to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/service.ex.
Writing SetIamPolicyRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/set_iam_policy_request.ex.
Writing Sku to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex.
Writing TestIamPermissionsRequest to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/test_iam_permissions_response.ex.
Writing TierRate to clients/cloud_billing/lib/google_api/cloud_billing/v1/model/tier_rate.ex.
Writing BillingAccounts to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex.
Writing Projects to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex.
Writing Services to clients/cloud_billing/lib/google_api/cloud_billing/v1/api/services.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:28:18.113 [info] Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
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/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 252, in __exit__
self.observer.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 361, in on_thread_stop
self.unschedule_all()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 357, in unschedule_all
self._clear_emitters()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/api.py", line 231, in _clear_emitters
emitter.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify.py", line 121, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 50, in close
self.stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/utils/__init__.py", line 81, in stop
self.on_thread_stop()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_buffer.py", line 46, in on_thread_stop
self._inotify.close()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/watchdog/observers/inotify_c.py", line 277, in close
os.close(self._inotify_fd)
OSError: [Errno 9] Bad file descriptor
2020-12-22 05:28:21,175 autosynth [ERROR] > Synthesis failed
2020-12-22 05:28:21,175 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 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 291, in _inner_main
).synthesize(synth_log_path / "sponge_log.log")
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--', 'CloudBilling']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate CloudBilling. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.