googleapis / elixir-google-api

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

Synthesis failed for CloudBilling #4853

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

2020-05-09 05:06:38 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:06:38,242 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-cloudbilling'
2020-05-09 05:06:40 [INFO] Running synthtool
2020-05-09 05:06:40,016 autosynth > Running synthtool
2020-05-09 05:06:40 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-09 05:06:40,016 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-09 05:06:40,236 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-05-09 05:06:40,506 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:06:41,013 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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
2020-05-09 05:06:45,191 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
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 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/cloud_billing/synth.metadata'
2020-05-09 05:06:45 [ERROR] Synthesis failed
2020-05-09 05:06:45,222 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating CloudBilling. :sob:

Here's the output from running synth.py:

2020-05-10 05:06:39 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-10 05:06:39,388 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-cloudbilling'
2020-05-10 05:06:41 [INFO] Running synthtool
2020-05-10 05:06:41,041 autosynth > Running synthtool
2020-05-10 05:06:41 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-10 05:06:41,042 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-10 05:06:41,255 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-05-10 05:06:41,576 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-10 05:06:42,020 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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
2020-05-10 05:06:46,740 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
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 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/cloud_billing/synth.metadata'
2020-05-10 05:06:46 [ERROR] Synthesis failed
2020-05-10 05:06:46,763 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating CloudBilling. :sob:

Here's the output from running synth.py:

2020-05-11 05:05:45 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:05:45,656 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-cloudbilling'
2020-05-11 05:05:47 [INFO] Running synthtool
2020-05-11 05:05:47,244 autosynth > Running synthtool
2020-05-11 05:05:47 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-11 05:05:47,244 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-11 05:05:47,432 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-05-11 05:05:47,499 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:05:47,942 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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
2020-05-11 05:05:51,331 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
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 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/cloud_billing/synth.metadata'
2020-05-11 05:05:51 [ERROR] Synthesis failed
2020-05-11 05:05:51,355 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating CloudBilling. :sob:

Here's the output from running synth.py:

2020-05-11 15:07:08 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:07:08,192 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-cloudbilling'
2020-05-11 15:07:09 [INFO] Running synthtool
2020-05-11 15:07:09,783 autosynth > Running synthtool
2020-05-11 15:07:09 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-11 15:07:09,784 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-11 15:07:09,998 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-05-11 15:07:10,258 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:07:10,753 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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
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.0
  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
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

22:07:14.276 [info]  FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

22:07:14.431 [info]  FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1

22:07:14.483 [info]  FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200503, new=20200509, 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 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
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

22:07:15.754 [info]  Bumping patch
fixing file permissions
2020-05-11 15:07:16,514 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
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 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/cloud_billing/synth.metadata'
2020-05-11 15:07:16 [ERROR] Synthesis failed
2020-05-11 15:07:16,545 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating CloudBilling. :sob:

Here's the output from running synth.py:

2020-05-12 05:06:52 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:06:52,366 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-cloudbilling'
2020-05-12 05:06:54 [INFO] Running synthtool
2020-05-12 05:06:54,195 autosynth > Running synthtool
2020-05-12 05:06:54 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-12 05:06:54,195 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/cloud_billing/synth.metadata', 'synth.py', '--']
2020-05-12 05:06:54,414 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-05-12 05:06:54,740 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:06:55,201 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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
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.0
  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
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

12:06:57.887 [info]  FETCHING: https://cloudbilling.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

12:06:58.270 [info]  FETCHING: https://cloudbilling.googleapis.com/$discovery/rest?version=v1

12:06:58.515 [info]  FOUND: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200503, new=20200509, 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 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
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

12:06:59.782 [info]  Bumping patch
fixing file permissions
2020-05-12 05:07:00,532 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
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 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/cloud_billing/synth.metadata'
2020-05-12 05:07:00 [ERROR] Synthesis failed
2020-05-12 05:07:00,566 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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.

yoshi-automation commented 4 years ago

Autosynth passed, closing! :green_heart: