googleapis / python-texttospeech

This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-texttospeech
Apache License 2.0
124 stars 45 forks source link

Synthesis failed for python-texttospeech #91

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 4 years ago

Hello! Autosynth couldn't regenerate python-texttospeech. :broken_heart:

Here's the output from running synth.py:

ake experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 5e53d6b6 feat: added support for per type and partition export for Cloud Asset API
2020-09-16 06:21:42,995 autosynth [DEBUG] > Running: git checkout fdd03c161003ab97657cc0218f25c82c89ddf4b6
Note: checking out 'fdd03c161003ab97657cc0218f25c82c89ddf4b6'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fdd03c1 build(test): recursively find test files; fail on unsupported dependency versions (#717)
2020-09-16 06:21:43,006 autosynth [DEBUG] > Running: git branch -f autosynth-142
2020-09-16 06:21:43,010 autosynth [DEBUG] > Running: git checkout autosynth-142
Switched to branch 'autosynth-142'
2020-09-16 06:21:43,015 autosynth [INFO] > Running synthtool
2020-09-16 06:21:43,015 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-16 06:21:43,015 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/142/sponge_log.log
2020-09-16 06:21:43,017 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-16 06:21:43,322 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-142
nothing to commit, working tree clean
2020-09-16 06:21:43,458 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-16 06:21:43,467 synthtool [DEBUG] > Ensuring dependencies.
2020-09-16 06:21:43,472 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-16 06:21:43,476 synthtool [DEBUG] > Cloning googleapis.
2020-09-16 06:21:43,477 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-16 06:21:43,480 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:42b13df8689c1cc45d5cb972e10a774c2b673dbf190c8c1267426977448c8e59
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-16 06:21:44,391 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-16 06:21:45,523 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpkjo6w2rw/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpkjo6w2rw/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-16 06:21:45,591 autosynth [ERROR] > Synthesis failed
2020-09-16 06:21:45,592 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-16 06:21:45,598 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-16 06:21:45,603 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

etached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 613f39ea Update BUILD.bazel for google-cloud-firestore Python Microgeneration
2020-09-17 06:14:27,958 autosynth [DEBUG] > Running: git checkout dba48bb9bc6959c232bec9150ac6313b608fe7bd
Note: checking out 'dba48bb9bc6959c232bec9150ac6313b608fe7bd'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at dba48bb build(python): add secret manager in kokoro (#759)
2020-09-17 06:14:27,968 autosynth [DEBUG] > Running: git branch -f autosynth-149
2020-09-17 06:14:27,972 autosynth [DEBUG] > Running: git checkout autosynth-149
Switched to branch 'autosynth-149'
2020-09-17 06:14:27,977 autosynth [INFO] > Running synthtool
2020-09-17 06:14:27,977 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-17 06:14:27,977 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/149/sponge_log.log
2020-09-17 06:14:27,979 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-17 06:14:28,264 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-149
nothing to commit, working tree clean
2020-09-17 06:14:28,395 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-17 06:14:28,404 synthtool [DEBUG] > Ensuring dependencies.
2020-09-17 06:14:28,409 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-17 06:14:28,413 synthtool [DEBUG] > Cloning googleapis.
2020-09-17 06:14:28,413 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-17 06:14:28,417 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:42b13df8689c1cc45d5cb972e10a774c2b673dbf190c8c1267426977448c8e59
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-17 06:14:29,300 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-17 06:14:30,423 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpwjmkffy6/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpwjmkffy6/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-17 06:14:30,483 autosynth [ERROR] > Synthesis failed
2020-09-17 06:14:30,483 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-17 06:14:30,489 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-17 06:14:30,494 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3de2cc8c Remove search features in the public protos
2020-09-18 06:11:12,318 autosynth [DEBUG] > Running: git checkout 538a68019eb4a36a0cdfa4021f324dd01b784395
Note: checking out '538a68019eb4a36a0cdfa4021f324dd01b784395'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 538a680 build(ci): enable auto-release for dependency-update-only releases (#760)
2020-09-18 06:11:12,328 autosynth [DEBUG] > Running: git branch -f autosynth-157
2020-09-18 06:11:12,332 autosynth [DEBUG] > Running: git checkout autosynth-157
Switched to branch 'autosynth-157'
2020-09-18 06:11:12,336 autosynth [INFO] > Running synthtool
2020-09-18 06:11:12,336 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-18 06:11:12,336 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/157/sponge_log.log
2020-09-18 06:11:12,338 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-18 06:11:12,632 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-157
nothing to commit, working tree clean
2020-09-18 06:11:12,767 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-18 06:11:12,776 synthtool [DEBUG] > Ensuring dependencies.
2020-09-18 06:11:12,781 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-18 06:11:12,785 synthtool [DEBUG] > Cloning googleapis.
2020-09-18 06:11:12,785 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-18 06:11:12,788 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:331aa4953e5db09e4fb13ce7350358ece8234b3503256e7590c715e823a273b6
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-18 06:11:13,704 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-18 06:11:14,860 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpgi2n65bw/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpgi2n65bw/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-18 06:11:14,922 autosynth [ERROR] > Synthesis failed
2020-09-18 06:11:14,922 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-18 06:11:14,927 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-18 06:11:14,932 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d73f948 docs: updated description of finding severity field
2020-09-19 06:08:19,585 autosynth [DEBUG] > Running: git checkout 538a68019eb4a36a0cdfa4021f324dd01b784395
Note: checking out '538a68019eb4a36a0cdfa4021f324dd01b784395'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 538a680 build(ci): enable auto-release for dependency-update-only releases (#760)
2020-09-19 06:08:19,591 autosynth [DEBUG] > Running: git branch -f autosynth-163
2020-09-19 06:08:19,594 autosynth [DEBUG] > Running: git checkout autosynth-163
Switched to branch 'autosynth-163'
2020-09-19 06:08:19,599 autosynth [INFO] > Running synthtool
2020-09-19 06:08:19,599 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-19 06:08:19,599 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/163/sponge_log.log
2020-09-19 06:08:19,601 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-19 06:08:19,883 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-163
nothing to commit, working tree clean
2020-09-19 06:08:20,009 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-19 06:08:20,016 synthtool [DEBUG] > Ensuring dependencies.
2020-09-19 06:08:20,021 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-19 06:08:20,025 synthtool [DEBUG] > Cloning googleapis.
2020-09-19 06:08:20,025 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-19 06:08:20,028 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:331aa4953e5db09e4fb13ce7350358ece8234b3503256e7590c715e823a273b6
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-19 06:08:20,876 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-19 06:08:21,927 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpo4b3kz0n/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpo4b3kz0n/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-19 06:08:21,987 autosynth [ERROR] > Synthesis failed
2020-09-19 06:08:21,987 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-19 06:08:21,992 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-19 06:08:21,997 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d73f948 docs: updated description of finding severity field
2020-09-20 06:06:32,252 autosynth [DEBUG] > Running: git checkout 538a68019eb4a36a0cdfa4021f324dd01b784395
Note: checking out '538a68019eb4a36a0cdfa4021f324dd01b784395'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 538a680 build(ci): enable auto-release for dependency-update-only releases (#760)
2020-09-20 06:06:32,262 autosynth [DEBUG] > Running: git branch -f autosynth-163
2020-09-20 06:06:32,266 autosynth [DEBUG] > Running: git checkout autosynth-163
Switched to branch 'autosynth-163'
2020-09-20 06:06:32,271 autosynth [INFO] > Running synthtool
2020-09-20 06:06:32,271 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-20 06:06:32,271 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/163/sponge_log.log
2020-09-20 06:06:32,273 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-20 06:06:32,555 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-163
nothing to commit, working tree clean
2020-09-20 06:06:32,684 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-20 06:06:32,693 synthtool [DEBUG] > Ensuring dependencies.
2020-09-20 06:06:32,698 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-20 06:06:32,702 synthtool [DEBUG] > Cloning googleapis.
2020-09-20 06:06:32,702 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-20 06:06:32,706 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:331aa4953e5db09e4fb13ce7350358ece8234b3503256e7590c715e823a273b6
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-20 06:06:33,557 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-20 06:06:34,696 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp3ptwvdg3/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp3ptwvdg3/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-20 06:06:34,757 autosynth [ERROR] > Synthesis failed
2020-09-20 06:06:34,757 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-20 06:06:34,765 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-20 06:06:34,770 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d73f948 docs: updated description of finding severity field
2020-09-21 06:06:55,686 autosynth [DEBUG] > Running: git checkout 538a68019eb4a36a0cdfa4021f324dd01b784395
Note: checking out '538a68019eb4a36a0cdfa4021f324dd01b784395'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 538a680 build(ci): enable auto-release for dependency-update-only releases (#760)
2020-09-21 06:06:55,698 autosynth [DEBUG] > Running: git branch -f autosynth-163
2020-09-21 06:06:55,702 autosynth [DEBUG] > Running: git checkout autosynth-163
Switched to branch 'autosynth-163'
2020-09-21 06:06:55,707 autosynth [INFO] > Running synthtool
2020-09-21 06:06:55,708 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-21 06:06:55,708 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/163/sponge_log.log
2020-09-21 06:06:55,710 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-21 06:06:56,014 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-163
nothing to commit, working tree clean
2020-09-21 06:06:56,151 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-21 06:06:56,160 synthtool [DEBUG] > Ensuring dependencies.
2020-09-21 06:06:56,166 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-21 06:06:56,170 synthtool [DEBUG] > Cloning googleapis.
2020-09-21 06:06:56,170 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-21 06:06:56,174 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:331aa4953e5db09e4fb13ce7350358ece8234b3503256e7590c715e823a273b6
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-21 06:06:57,060 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-21 06:06:58,238 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp3hbwhx7f/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp3hbwhx7f/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-21 06:06:58,298 autosynth [ERROR] > Synthesis failed
2020-09-21 06:06:58,298 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-21 06:06:58,304 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-21 06:06:58,309 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

re in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d73f948 docs: updated description of finding severity field
2020-09-22 06:38:34,310 autosynth [DEBUG] > Running: git checkout d3997468c7ea6f96659993820ee2cc24b7ddc98b
Note: checking out 'd3997468c7ea6f96659993820ee2cc24b7ddc98b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d399746 fix(python): use sys.executable for sample readmegen (#766)
2020-09-22 06:38:34,321 autosynth [DEBUG] > Running: git branch -f autosynth-167
2020-09-22 06:38:34,325 autosynth [DEBUG] > Running: git checkout autosynth-167
Switched to branch 'autosynth-167'
2020-09-22 06:38:34,331 autosynth [INFO] > Running synthtool
2020-09-22 06:38:34,331 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-22 06:38:34,331 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/167/sponge_log.log
2020-09-22 06:38:34,333 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-22 06:38:34,626 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-167
nothing to commit, working tree clean
2020-09-22 06:38:34,764 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-22 06:38:34,773 synthtool [DEBUG] > Ensuring dependencies.
2020-09-22 06:38:34,779 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-22 06:38:34,784 synthtool [DEBUG] > Cloning googleapis.
2020-09-22 06:38:34,784 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-22 06:38:34,788 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:331aa4953e5db09e4fb13ce7350358ece8234b3503256e7590c715e823a273b6
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-22 06:38:35,704 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-22 06:38:36,882 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmppjkp9_38/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmppjkp9_38/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-22 06:38:36,944 autosynth [ERROR] > Synthesis failed
2020-09-22 06:38:36,944 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-22 06:38:36,950 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-22 06:38:36,956 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

473c36944'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3dbeac0d Update gapic-generator-python pin to 0.33.4
2020-09-23 06:22:04,147 autosynth [DEBUG] > Running: git checkout ca095b986918ebf96b6a644bf963131851309bda
Note: checking out 'ca095b986918ebf96b6a644bf963131851309bda'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ca095b9 chore: replace "sanity" with "confidence." (#770)
2020-09-23 06:22:04,159 autosynth [DEBUG] > Running: git branch -f autosynth-172
2020-09-23 06:22:04,164 autosynth [DEBUG] > Running: git checkout autosynth-172
Switched to branch 'autosynth-172'
2020-09-23 06:22:04,169 autosynth [INFO] > Running synthtool
2020-09-23 06:22:04,169 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-23 06:22:04,169 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/172/sponge_log.log
2020-09-23 06:22:04,172 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-23 06:22:04,477 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-172
nothing to commit, working tree clean
2020-09-23 06:22:04,618 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-23 06:22:04,628 synthtool [DEBUG] > Ensuring dependencies.
2020-09-23 06:22:04,634 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-23 06:22:04,639 synthtool [DEBUG] > Cloning googleapis.
2020-09-23 06:22:04,639 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-23 06:22:04,643 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:bb17b36446bef7537b104185a3e3009445b613a5a98b2f0fa615e0e04125678e
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-23 06:22:05,596 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-23 06:22:06,820 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp82kpv3hz/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp82kpv3hz/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-23 06:22:06,894 autosynth [ERROR] > Synthesis failed
2020-09-23 06:22:06,894 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-23 06:22:06,900 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-23 06:22:06,906 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 780419ed build: provide package name hint for Node.js
2020-09-24 06:24:44,886 autosynth [DEBUG] > Running: git checkout 916c10e8581804df2b48a0f0457d848f3faa582e
Note: checking out '916c10e8581804df2b48a0f0457d848f3faa582e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 916c10e build(java): use yoshi-approver token for auto-approve (#772)
2020-09-24 06:24:44,891 autosynth [DEBUG] > Running: git branch -f autosynth-179
2020-09-24 06:24:44,894 autosynth [DEBUG] > Running: git checkout autosynth-179
Switched to branch 'autosynth-179'
2020-09-24 06:24:44,899 autosynth [INFO] > Running synthtool
2020-09-24 06:24:44,899 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-24 06:24:44,899 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/179/sponge_log.log
2020-09-24 06:24:44,900 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-24 06:24:45,223 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-179
nothing to commit, working tree clean
2020-09-24 06:24:45,369 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-24 06:24:45,376 synthtool [DEBUG] > Ensuring dependencies.
2020-09-24 06:24:45,381 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-24 06:24:45,385 synthtool [DEBUG] > Cloning googleapis.
2020-09-24 06:24:45,385 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-24 06:24:45,388 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:bb17b36446bef7537b104185a3e3009445b613a5a98b2f0fa615e0e04125678e
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-24 06:24:46,291 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-24 06:24:47,464 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpjx2mptt2/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpjx2mptt2/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-24 06:24:47,514 autosynth [ERROR] > Synthesis failed
2020-09-24 06:24:47,515 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-24 06:24:47,521 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-24 06:24:47,525 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

799'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 2987612c feat: added ReportInventory RPC
2020-09-25 06:19:52,241 autosynth [DEBUG] > Running: git checkout da29da32b3a988457b49ae290112b74f14b713cc
Note: checking out 'da29da32b3a988457b49ae290112b74f14b713cc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at da29da3 chore(ci): verify autorelease release PR content has changes (#776)
2020-09-25 06:19:52,251 autosynth [DEBUG] > Running: git branch -f autosynth-185
2020-09-25 06:19:52,255 autosynth [DEBUG] > Running: git checkout autosynth-185
Switched to branch 'autosynth-185'
2020-09-25 06:19:52,260 autosynth [INFO] > Running synthtool
2020-09-25 06:19:52,260 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-25 06:19:52,260 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/185/sponge_log.log
2020-09-25 06:19:52,262 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-25 06:19:52,559 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-185
nothing to commit, working tree clean
2020-09-25 06:19:52,699 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-25 06:19:52,709 synthtool [DEBUG] > Ensuring dependencies.
2020-09-25 06:19:52,715 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-25 06:19:52,719 synthtool [DEBUG] > Cloning googleapis.
2020-09-25 06:19:52,719 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-25 06:19:52,723 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:a19c0f4a2db1782af87e3e9a36d02fc70e00d501de3bcf84e2182595c0ebcd19
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-25 06:19:53,632 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-25 06:19:54,776 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpoyf7n2zp/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpoyf7n2zp/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-25 06:19:54,844 autosynth [ERROR] > Synthesis failed
2020-09-25 06:19:54,844 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-25 06:19:54,851 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-25 06:19:54,856 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b7f574bd Merge pull request #620 from googleapis/miraleung-patch-1
2020-09-26 06:19:38,977 autosynth [DEBUG] > Running: git checkout da29da32b3a988457b49ae290112b74f14b713cc
Note: checking out 'da29da32b3a988457b49ae290112b74f14b713cc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at da29da3 chore(ci): verify autorelease release PR content has changes (#776)
2020-09-26 06:19:38,984 autosynth [DEBUG] > Running: git branch -f autosynth-192
2020-09-26 06:19:38,989 autosynth [DEBUG] > Running: git checkout autosynth-192
Switched to branch 'autosynth-192'
2020-09-26 06:19:38,994 autosynth [INFO] > Running synthtool
2020-09-26 06:19:38,995 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-26 06:19:38,995 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/192/sponge_log.log
2020-09-26 06:19:38,997 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-26 06:19:39,301 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-192
nothing to commit, working tree clean
2020-09-26 06:19:39,444 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-26 06:19:39,454 synthtool [DEBUG] > Ensuring dependencies.
2020-09-26 06:19:39,460 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-26 06:19:39,464 synthtool [DEBUG] > Cloning googleapis.
2020-09-26 06:19:39,464 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-26 06:19:39,469 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:9a0eeb437902a45535a2789168ccb501e315ef7e43588cbd8731ff4e27aa0126
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-26 06:19:40,420 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-26 06:19:41,714 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpoqnpo_ru/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpoqnpo_ru/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-26 06:19:41,794 autosynth [ERROR] > Synthesis failed
2020-09-26 06:19:41,794 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-26 06:19:41,800 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-26 06:19:41,806 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b7f574bd Merge pull request #620 from googleapis/miraleung-patch-1
2020-09-27 06:03:40,623 autosynth [DEBUG] > Running: git checkout da29da32b3a988457b49ae290112b74f14b713cc
Note: checking out 'da29da32b3a988457b49ae290112b74f14b713cc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at da29da3 chore(ci): verify autorelease release PR content has changes (#776)
2020-09-27 06:03:40,633 autosynth [DEBUG] > Running: git branch -f autosynth-192
2020-09-27 06:03:40,637 autosynth [DEBUG] > Running: git checkout autosynth-192
Switched to branch 'autosynth-192'
2020-09-27 06:03:40,641 autosynth [INFO] > Running synthtool
2020-09-27 06:03:40,641 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-27 06:03:40,642 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/192/sponge_log.log
2020-09-27 06:03:40,644 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-27 06:03:40,921 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-192
nothing to commit, working tree clean
2020-09-27 06:03:41,048 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-27 06:03:41,057 synthtool [DEBUG] > Ensuring dependencies.
2020-09-27 06:03:41,062 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-27 06:03:41,065 synthtool [DEBUG] > Cloning googleapis.
2020-09-27 06:03:41,066 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-27 06:03:41,069 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:9a0eeb437902a45535a2789168ccb501e315ef7e43588cbd8731ff4e27aa0126
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-27 06:03:41,937 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-27 06:03:43,086 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpfobz5mil/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpfobz5mil/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-27 06:03:43,147 autosynth [ERROR] > Synthesis failed
2020-09-27 06:03:43,147 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at feb04c5 docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
2020-09-27 06:03:43,152 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-27 06:03:43,157 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

82638322b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f446e123 feat: add Java microgen rules to imports
2020-09-29 06:08:37,934 autosynth [DEBUG] > Running: git checkout da29da32b3a988457b49ae290112b74f14b713cc
Note: checking out 'da29da32b3a988457b49ae290112b74f14b713cc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at da29da3 chore(ci): verify autorelease release PR content has changes (#776)
2020-09-29 06:08:37,941 autosynth [DEBUG] > Running: git branch -f autosynth-196
2020-09-29 06:08:37,946 autosynth [DEBUG] > Running: git checkout autosynth-196
Switched to branch 'autosynth-196'
2020-09-29 06:08:37,951 autosynth [INFO] > Running synthtool
2020-09-29 06:08:37,951 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-29 06:08:37,951 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/196/sponge_log.log
2020-09-29 06:08:37,954 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-29 06:08:38,273 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-196
nothing to commit, working tree clean
2020-09-29 06:08:38,415 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-29 06:08:38,425 synthtool [DEBUG] > Ensuring dependencies.
2020-09-29 06:08:38,432 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-29 06:08:38,436 synthtool [DEBUG] > Cloning googleapis.
2020-09-29 06:08:38,437 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-29 06:08:38,441 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:9a0eeb437902a45535a2789168ccb501e315ef7e43588cbd8731ff4e27aa0126
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-29 06:08:39,401 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1006, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-29 06:08:40,614 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpup_9eo0b/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpup_9eo0b/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-29 06:08:40,685 autosynth [ERROR] > Synthesis failed
2020-09-29 06:08:40,686 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-09-29 06:08:40,692 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-29 06:08:40,697 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 692, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

32d75099e960c8757e4eb558ee0ab'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8862d0f8 Smart Device Management API v1
2020-09-30 06:15:30,926 autosynth [DEBUG] > Running: git checkout e6168630be3e31eede633ba2c6f1cd64248dec1c
Note: checking out 'e6168630be3e31eede633ba2c6f1cd64248dec1c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e616863 chore(java): use separate autosynth job for README (#767)
2020-09-30 06:15:30,931 autosynth [DEBUG] > Running: git branch -f autosynth-198
2020-09-30 06:15:30,934 autosynth [DEBUG] > Running: git checkout autosynth-198
Switched to branch 'autosynth-198'
2020-09-30 06:15:30,938 autosynth [INFO] > Running synthtool
2020-09-30 06:15:30,939 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-09-30 06:15:30,939 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/198/sponge_log.log
2020-09-30 06:15:30,940 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-09-30 06:15:31,260 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-198
nothing to commit, working tree clean
2020-09-30 06:15:31,397 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-30 06:15:31,404 synthtool [DEBUG] > Ensuring dependencies.
2020-09-30 06:15:31,409 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-09-30 06:15:31,412 synthtool [DEBUG] > Cloning googleapis.
2020-09-30 06:15:31,413 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-09-30 06:15:31,416 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29e14a0d93486b7d54b2811bb873b119d18257bc4f491d5c011744a71c544d5e
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-09-30 06:15:32,302 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1053, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1053, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-09-30 06:15:33,428 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpncapm6md/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpncapm6md/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-09-30 06:15:33,485 autosynth [ERROR] > Synthesis failed
2020-09-30 06:15:33,485 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-09-30 06:15:33,491 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-30 06:15:33,495 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

df6f51ae0e77bbbb5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at cb7fc620 feat: add GetVulnerabilityOccurrencesSummary rpc.
2020-10-01 06:12:51,179 autosynth [DEBUG] > Running: git checkout 0762e8ee2ec21cdfc4d82020b985a104feb0453b
Note: checking out '0762e8ee2ec21cdfc4d82020b985a104feb0453b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0762e8e build(java): readme.sh should be executable (#782)
2020-10-01 06:12:51,188 autosynth [DEBUG] > Running: git branch -f autosynth-207
2020-10-01 06:12:51,191 autosynth [DEBUG] > Running: git checkout autosynth-207
Switched to branch 'autosynth-207'
2020-10-01 06:12:51,195 autosynth [INFO] > Running synthtool
2020-10-01 06:12:51,195 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-01 06:12:51,195 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/207/sponge_log.log
2020-10-01 06:12:51,197 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-01 06:12:51,463 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-207
nothing to commit, working tree clean
2020-10-01 06:12:51,590 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-01 06:12:51,598 synthtool [DEBUG] > Ensuring dependencies.
2020-10-01 06:12:51,602 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-01 06:12:51,606 synthtool [DEBUG] > Cloning googleapis.
2020-10-01 06:12:51,606 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-01 06:12:51,609 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-01 06:12:52,467 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-01 06:12:53,561 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpmc1jevwr/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpmc1jevwr/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-01 06:12:53,614 autosynth [ERROR] > Synthesis failed
2020-10-01 06:12:53,615 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-01 06:12:53,620 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-01 06:12:53,624 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

258fe72f08e71725d4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7e837ae4 feat: Move language API to Python Microgenerator
2020-10-02 06:15:17,942 autosynth [DEBUG] > Running: git checkout 0762e8ee2ec21cdfc4d82020b985a104feb0453b
Note: checking out '0762e8ee2ec21cdfc4d82020b985a104feb0453b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0762e8e build(java): readme.sh should be executable (#782)
2020-10-02 06:15:17,949 autosynth [DEBUG] > Running: git branch -f autosynth-215
2020-10-02 06:15:17,953 autosynth [DEBUG] > Running: git checkout autosynth-215
Switched to branch 'autosynth-215'
2020-10-02 06:15:17,958 autosynth [INFO] > Running synthtool
2020-10-02 06:15:17,959 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-02 06:15:17,959 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/215/sponge_log.log
2020-10-02 06:15:17,961 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-02 06:15:18,245 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-215
nothing to commit, working tree clean
2020-10-02 06:15:18,385 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-02 06:15:18,393 synthtool [DEBUG] > Ensuring dependencies.
2020-10-02 06:15:18,398 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-02 06:15:18,402 synthtool [DEBUG] > Cloning googleapis.
2020-10-02 06:15:18,403 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-02 06:15:18,406 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-02 06:15:19,326 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-02 06:15:20,538 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpc73eddd_/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpc73eddd_/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-02 06:15:20,608 autosynth [ERROR] > Synthesis failed
2020-10-02 06:15:20,609 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-02 06:15:20,615 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-02 06:15:20,620 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

71b2009238b0df07c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at eabe7c0f chore: use python microgenerator for Private CA
2020-10-03 06:17:59,114 autosynth [DEBUG] > Running: git checkout 0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9
Note: checking out '0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0c868d4 build(node_library): migrate to Trampoline V2 (#762)
2020-10-03 06:17:59,120 autosynth [DEBUG] > Running: git branch -f autosynth-219
2020-10-03 06:17:59,124 autosynth [DEBUG] > Running: git checkout autosynth-219
Switched to branch 'autosynth-219'
2020-10-03 06:17:59,128 autosynth [INFO] > Running synthtool
2020-10-03 06:17:59,129 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-03 06:17:59,129 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/219/sponge_log.log
2020-10-03 06:17:59,131 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-03 06:17:59,437 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-219
nothing to commit, working tree clean
2020-10-03 06:17:59,592 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-03 06:17:59,602 synthtool [DEBUG] > Ensuring dependencies.
2020-10-03 06:17:59,609 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-03 06:17:59,614 synthtool [DEBUG] > Cloning googleapis.
2020-10-03 06:17:59,614 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-03 06:17:59,618 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-03 06:18:00,603 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-03 06:18:01,901 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmplk_7m9o_/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmplk_7m9o_/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-03 06:18:01,977 autosynth [ERROR] > Synthesis failed
2020-10-03 06:18:01,977 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-03 06:18:01,983 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-03 06:18:01,988 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

71b2009238b0df07c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at eabe7c0f chore: use python microgenerator for Private CA
2020-10-04 06:12:45,223 autosynth [DEBUG] > Running: git checkout 0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9
Note: checking out '0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0c868d4 build(node_library): migrate to Trampoline V2 (#762)
2020-10-04 06:12:45,234 autosynth [DEBUG] > Running: git branch -f autosynth-219
2020-10-04 06:12:45,237 autosynth [DEBUG] > Running: git checkout autosynth-219
Switched to branch 'autosynth-219'
2020-10-04 06:12:45,242 autosynth [INFO] > Running synthtool
2020-10-04 06:12:45,242 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-04 06:12:45,242 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/219/sponge_log.log
2020-10-04 06:12:45,244 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-04 06:12:45,546 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-219
nothing to commit, working tree clean
2020-10-04 06:12:45,688 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-04 06:12:45,696 synthtool [DEBUG] > Ensuring dependencies.
2020-10-04 06:12:45,701 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-04 06:12:45,705 synthtool [DEBUG] > Cloning googleapis.
2020-10-04 06:12:45,705 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-04 06:12:45,708 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-04 06:12:46,604 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-04 06:12:47,759 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp5vg9x9u8/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp5vg9x9u8/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-04 06:12:47,813 autosynth [ERROR] > Synthesis failed
2020-10-04 06:12:47,813 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-04 06:12:47,818 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-04 06:12:47,823 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

71b2009238b0df07c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at eabe7c0f chore: use python microgenerator for Private CA
2020-10-05 06:10:33,528 autosynth [DEBUG] > Running: git checkout 0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9
Note: checking out '0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0c868d4 build(node_library): migrate to Trampoline V2 (#762)
2020-10-05 06:10:33,539 autosynth [DEBUG] > Running: git branch -f autosynth-219
2020-10-05 06:10:33,543 autosynth [DEBUG] > Running: git checkout autosynth-219
Switched to branch 'autosynth-219'
2020-10-05 06:10:33,547 autosynth [INFO] > Running synthtool
2020-10-05 06:10:33,547 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-05 06:10:33,547 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/219/sponge_log.log
2020-10-05 06:10:33,549 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-05 06:10:33,812 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-219
nothing to commit, working tree clean
2020-10-05 06:10:33,942 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-05 06:10:33,950 synthtool [DEBUG] > Ensuring dependencies.
2020-10-05 06:10:33,955 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-05 06:10:33,959 synthtool [DEBUG] > Cloning googleapis.
2020-10-05 06:10:33,959 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-05 06:10:33,963 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-05 06:10:34,833 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-05 06:10:35,969 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpuhf465nw/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpuhf465nw/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-05 06:10:36,027 autosynth [ERROR] > Synthesis failed
2020-10-05 06:10:36,027 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-05 06:10:36,033 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-05 06:10:36,037 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

b3e720dfdd97b71ff85c85c911'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at cc0c4e77 feat: add v1 Cloud Billing Budgets API
2020-10-06 06:08:58,242 autosynth [DEBUG] > Running: git checkout 0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9
Note: checking out '0c868d49b8e05bc1f299bc773df9eb4ef9ed96e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0c868d4 build(node_library): migrate to Trampoline V2 (#762)
2020-10-06 06:08:58,252 autosynth [DEBUG] > Running: git branch -f autosynth-221
2020-10-06 06:08:58,257 autosynth [DEBUG] > Running: git checkout autosynth-221
Switched to branch 'autosynth-221'
2020-10-06 06:08:58,261 autosynth [INFO] > Running synthtool
2020-10-06 06:08:58,261 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-06 06:08:58,261 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/221/sponge_log.log
2020-10-06 06:08:58,263 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-06 06:08:58,536 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-221
nothing to commit, working tree clean
2020-10-06 06:08:58,665 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-06 06:08:58,673 synthtool [DEBUG] > Ensuring dependencies.
2020-10-06 06:08:58,678 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-06 06:08:58,682 synthtool [DEBUG] > Cloning googleapis.
2020-10-06 06:08:58,682 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-06 06:08:58,685 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-06 06:08:59,564 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-06 06:09:00,682 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpjp63nyjb/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpjp63nyjb/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-06 06:09:00,739 autosynth [ERROR] > Synthesis failed
2020-10-06 06:09:00,739 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-06 06:09:00,745 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-06 06:09:00,750 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

9f80'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 80eada6d feat: Add Dataproc Logging protos
2020-10-07 06:14:51,163 autosynth [DEBUG] > Running: git checkout 487eba79f8260e34205d8ceb1ebcc65685085e19
Note: checking out '487eba79f8260e34205d8ceb1ebcc65685085e19'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 487eba7 fix: set the file mode for template file permissions when merging a file (#784)
2020-10-07 06:14:51,172 autosynth [DEBUG] > Running: git branch -f autosynth-225
2020-10-07 06:14:51,175 autosynth [DEBUG] > Running: git checkout autosynth-225
Switched to branch 'autosynth-225'
2020-10-07 06:14:51,179 autosynth [INFO] > Running synthtool
2020-10-07 06:14:51,179 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-07 06:14:51,179 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/225/sponge_log.log
2020-10-07 06:14:51,181 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-07 06:14:51,430 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-225
nothing to commit, working tree clean
2020-10-07 06:14:51,550 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-07 06:14:51,557 synthtool [DEBUG] > Ensuring dependencies.
2020-10-07 06:14:51,562 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-07 06:14:51,565 synthtool [DEBUG] > Cloning googleapis.
2020-10-07 06:14:51,565 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-07 06:14:51,568 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-07 06:14:52,388 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-07 06:14:53,456 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp8n5qjbq3/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp8n5qjbq3/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-07 06:14:53,507 autosynth [ERROR] > Synthesis failed
2020-10-07 06:14:53,507 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-07 06:14:53,513 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-07 06:14:53,517 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

nse for ImportAgent from Empty to ImportAgentResponse, to include the created agent name. feat: Remove flow level spell correction setting. feat: Add parameter flag into page and intent parameters. feat: Add `allow_playback_interruption` to OutputAudioText to make it have feature parity with Text message type. feat: Enable sentiment analysis feature. feat: Enable EventInput. feat: Enable `trigger_event` in MatchIntentResponse. docs: Add documentation for sessions.
2020-10-08 06:12:52,993 autosynth [DEBUG] > Running: git checkout 487eba79f8260e34205d8ceb1ebcc65685085e19
Note: checking out '487eba79f8260e34205d8ceb1ebcc65685085e19'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 487eba7 fix: set the file mode for template file permissions when merging a file (#784)
2020-10-08 06:12:53,000 autosynth [DEBUG] > Running: git branch -f autosynth-228
2020-10-08 06:12:53,004 autosynth [DEBUG] > Running: git checkout autosynth-228
Switched to branch 'autosynth-228'
2020-10-08 06:12:53,009 autosynth [INFO] > Running synthtool
2020-10-08 06:12:53,009 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-08 06:12:53,010 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/228/sponge_log.log
2020-10-08 06:12:53,012 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-08 06:12:53,290 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-228
nothing to commit, working tree clean
2020-10-08 06:12:53,425 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-08 06:12:53,433 synthtool [DEBUG] > Ensuring dependencies.
2020-10-08 06:12:53,439 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-08 06:12:53,443 synthtool [DEBUG] > Cloning googleapis.
2020-10-08 06:12:53,443 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-08 06:12:53,447 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:8d3664dfb7f9983d7adc506d135dcf5265e01a95ccf855659ef61b2343bcdc15
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-08 06:12:54,338 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-08 06:12:55,494 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpn_79w3ob/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpn_79w3ob/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-08 06:12:55,559 autosynth [ERROR] > Synthesis failed
2020-10-08 06:12:55,559 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-08 06:12:55,564 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-08 06:12:55,570 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

ed HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at bda7ce95 feat: Added text extraction health care option in create model.
2020-10-09 06:16:18,393 autosynth [DEBUG] > Running: git checkout b6164c26a111f7f587099d31253abb96b5737bb2
Note: checking out 'b6164c26a111f7f587099d31253abb96b5737bb2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b6164c2 fix(java-templates): custom templates needs to load partial metadata (#788)
2020-10-09 06:16:18,403 autosynth [DEBUG] > Running: git branch -f autosynth-231
2020-10-09 06:16:18,406 autosynth [DEBUG] > Running: git checkout autosynth-231
Switched to branch 'autosynth-231'
2020-10-09 06:16:18,410 autosynth [INFO] > Running synthtool
2020-10-09 06:16:18,411 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-09 06:16:18,411 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/231/sponge_log.log
2020-10-09 06:16:18,412 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-09 06:16:18,693 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-231
nothing to commit, working tree clean
2020-10-09 06:16:18,827 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-09 06:16:18,834 synthtool [DEBUG] > Ensuring dependencies.
2020-10-09 06:16:18,839 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-09 06:16:18,843 synthtool [DEBUG] > Cloning googleapis.
2020-10-09 06:16:18,843 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-09 06:16:18,846 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:37e4dc56086c25c80d9c108455cf09761fe5e1aba115b7868d705e0ce3345af3
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-09 06:16:19,705 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 278, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 88, in build
    load_services=load_services
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 512, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 729, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 730, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 718, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 391, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-09 06:16:20,820 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmphldswzuw/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmphldswzuw/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-09 06:16:20,874 autosynth [ERROR] > Synthesis failed
2020-10-09 06:16:20,874 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-09 06:16:20,879 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-09 06:16:20,883 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d985c637'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fd31b160 docs: fixed link from SentimentAnalysisResult
2020-10-10 06:09:06,987 autosynth [DEBUG] > Running: git checkout e0ae456852bf22f38796deb79cff30b516fde244
Note: checking out 'e0ae456852bf22f38796deb79cff30b516fde244'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-10 06:09:06,994 autosynth [DEBUG] > Running: git branch -f autosynth-233
2020-10-10 06:09:06,998 autosynth [DEBUG] > Running: git checkout autosynth-233
Switched to branch 'autosynth-233'
2020-10-10 06:09:07,002 autosynth [INFO] > Running synthtool
2020-10-10 06:09:07,003 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-10 06:09:07,003 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/233/sponge_log.log
2020-10-10 06:09:07,005 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-10 06:09:07,276 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-233
nothing to commit, working tree clean
2020-10-10 06:09:07,410 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 06:09:07,418 synthtool [DEBUG] > Ensuring dependencies.
2020-10-10 06:09:07,423 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 06:09:07,427 synthtool [DEBUG] > Cloning googleapis.
2020-10-10 06:09:07,427 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-10 06:09:07,430 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-10 06:09:08,324 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 743, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 744, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 732, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 405, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-10 06:09:09,521 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpj96x4reg/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpj96x4reg/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-10 06:09:09,583 autosynth [ERROR] > Synthesis failed
2020-10-10 06:09:09,583 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-10 06:09:09,589 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-10 06:09:09,594 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d985c637'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fd31b160 docs: fixed link from SentimentAnalysisResult
2020-10-11 06:01:05,779 autosynth [DEBUG] > Running: git checkout e0ae456852bf22f38796deb79cff30b516fde244
Note: checking out 'e0ae456852bf22f38796deb79cff30b516fde244'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-11 06:01:05,785 autosynth [DEBUG] > Running: git branch -f autosynth-233
2020-10-11 06:01:05,788 autosynth [DEBUG] > Running: git checkout autosynth-233
Switched to branch 'autosynth-233'
2020-10-11 06:01:05,792 autosynth [INFO] > Running synthtool
2020-10-11 06:01:05,792 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-11 06:01:05,792 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/233/sponge_log.log
2020-10-11 06:01:05,794 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-11 06:01:06,050 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-233
nothing to commit, working tree clean
2020-10-11 06:01:06,175 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 06:01:06,183 synthtool [DEBUG] > Ensuring dependencies.
2020-10-11 06:01:06,187 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 06:01:06,191 synthtool [DEBUG] > Cloning googleapis.
2020-10-11 06:01:06,191 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-11 06:01:06,194 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-11 06:01:07,004 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 743, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 744, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 732, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 405, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-11 06:01:08,069 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpiz_ckge5/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpiz_ckge5/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-11 06:01:08,128 autosynth [ERROR] > Synthesis failed
2020-10-11 06:01:08,128 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-11 06:01:08,133 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-11 06:01:08,138 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

d985c637'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fd31b160 docs: fixed link from SentimentAnalysisResult
2020-10-12 06:05:45,299 autosynth [DEBUG] > Running: git checkout e0ae456852bf22f38796deb79cff30b516fde244
Note: checking out 'e0ae456852bf22f38796deb79cff30b516fde244'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e0ae456 chore(python): use 'setup.py' to detect repo root (#795)
2020-10-12 06:05:45,309 autosynth [DEBUG] > Running: git branch -f autosynth-233
2020-10-12 06:05:45,312 autosynth [DEBUG] > Running: git checkout autosynth-233
Switched to branch 'autosynth-233'
2020-10-12 06:05:45,316 autosynth [INFO] > Running synthtool
2020-10-12 06:05:45,316 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-12 06:05:45,316 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/233/sponge_log.log
2020-10-12 06:05:45,318 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-12 06:05:45,575 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-233
nothing to commit, working tree clean
2020-10-12 06:05:45,707 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 06:05:45,716 synthtool [DEBUG] > Ensuring dependencies.
2020-10-12 06:05:45,721 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 06:05:45,724 synthtool [DEBUG] > Cloning googleapis.
2020-10-12 06:05:45,725 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-12 06:05:45,728 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-12 06:05:46,617 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1095, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 743, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 744, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 732, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 405, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-12 06:05:47,732 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpebbj5eqj/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpebbj5eqj/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-12 06:05:47,790 autosynth [ERROR] > Synthesis failed
2020-10-12 06:05:47,791 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-12 06:05:47,796 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-12 06:05:47,801 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

b22b1832c578150'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 313658e9 Smart Device Management API v1 clean up
2020-10-13 06:07:24,608 autosynth [DEBUG] > Running: git checkout ce61cf9ce6448082f56008aba3cee2aa77430063
Note: checking out 'ce61cf9ce6448082f56008aba3cee2aa77430063'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ce61cf9 fix: load flags from the specified synth.py file (#801)
2020-10-13 06:07:24,619 autosynth [DEBUG] > Running: git branch -f autosynth-241
2020-10-13 06:07:24,623 autosynth [DEBUG] > Running: git checkout autosynth-241
Switched to branch 'autosynth-241'
2020-10-13 06:07:24,627 autosynth [INFO] > Running synthtool
2020-10-13 06:07:24,628 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-13 06:07:24,628 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/241/sponge_log.log
2020-10-13 06:07:24,630 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-13 06:07:24,889 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-241
nothing to commit, working tree clean
2020-10-13 06:07:25,015 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-13 06:07:25,023 synthtool [DEBUG] > Ensuring dependencies.
2020-10-13 06:07:25,028 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-13 06:07:25,032 synthtool [DEBUG] > Cloning googleapis.
2020-10-13 06:07:25,032 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-13 06:07:25,035 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:54efc3bca60aef42bd1710668b61e060d8e55da349ad33913dd6f3e04b3ecfbf
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-13 06:07:25,895 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1098, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1098, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 743, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 744, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 732, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 405, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-13 06:07:27,008 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpzjh7eeom/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpzjh7eeom/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-13 06:07:27,062 autosynth [ERROR] > Synthesis failed
2020-10-13 06:07:27,063 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-13 06:07:27,068 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-13 06:07:27,072 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

1d5a915dd2e8b684ec8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 71088f11 feat!: added ListAccountSummaries method
2020-10-14 06:10:44,805 autosynth [DEBUG] > Running: git checkout 3c1fd09ba8d1c7b7092662f6f8330f521d4e7739
Note: checking out '3c1fd09ba8d1c7b7092662f6f8330f521d4e7739'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3c1fd09 docs(py_samples): update py sample template (#796)
2020-10-14 06:10:44,810 autosynth [DEBUG] > Running: git branch -f autosynth-248
2020-10-14 06:10:44,813 autosynth [DEBUG] > Running: git checkout autosynth-248
Switched to branch 'autosynth-248'
2020-10-14 06:10:44,816 autosynth [INFO] > Running synthtool
2020-10-14 06:10:44,817 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-14 06:10:44,817 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/248/sponge_log.log
2020-10-14 06:10:44,818 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-14 06:10:45,074 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-248
nothing to commit, working tree clean
2020-10-14 06:10:45,199 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-14 06:10:45,207 synthtool [DEBUG] > Ensuring dependencies.
2020-10-14 06:10:45,212 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-14 06:10:45,215 synthtool [DEBUG] > Cloning googleapis.
2020-10-14 06:10:45,216 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-14 06:10:45,219 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-14 06:10:46,076 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-14 06:10:47,159 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpith3ub_w/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpith3ub_w/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-14 06:10:47,214 autosynth [ERROR] > Synthesis failed
2020-10-14 06:10:47,214 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-14 06:10:47,219 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-14 06:10:47,224 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

tate. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 215c12ad chore: update proto definitions for bigquery/v2 to support BQML statistics
2020-10-15 06:11:33,385 autosynth [DEBUG] > Running: git checkout 477764cc4ee6db346d3febef2bb1ea0abf27de52
Note: checking out '477764cc4ee6db346d3febef2bb1ea0abf27de52'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 477764c build(python): samples tests should pass if no samples exist (#803)
2020-10-15 06:11:33,394 autosynth [DEBUG] > Running: git branch -f autosynth-250
2020-10-15 06:11:33,398 autosynth [DEBUG] > Running: git checkout autosynth-250
Switched to branch 'autosynth-250'
2020-10-15 06:11:33,402 autosynth [INFO] > Running synthtool
2020-10-15 06:11:33,402 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-15 06:11:33,402 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/250/sponge_log.log
2020-10-15 06:11:33,404 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-15 06:11:33,667 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-250
nothing to commit, working tree clean
2020-10-15 06:11:33,793 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-15 06:11:33,800 synthtool [DEBUG] > Ensuring dependencies.
2020-10-15 06:11:33,805 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-15 06:11:33,808 synthtool [DEBUG] > Cloning googleapis.
2020-10-15 06:11:33,808 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-15 06:11:33,811 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-15 06:11:34,640 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-15 06:11:35,715 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpoi8xv57u/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpoi8xv57u/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-15 06:11:35,756 autosynth [ERROR] > Synthesis failed
2020-10-15 06:11:35,756 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-15 06:11:35,761 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-15 06:11:35,766 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 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 062f46f2 chore: update gapic-generator-go to v0.15.2
2020-10-16 06:06:42,931 autosynth [DEBUG] > Running: git checkout 5451633881133e5573cc271a18e73b18caca8b1b
Note: checking out '5451633881133e5573cc271a18e73b18caca8b1b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 5451633 build: only check --engine-strict for production deps (#810)
2020-10-16 06:06:42,937 autosynth [DEBUG] > Running: git branch -f autosynth-258
2020-10-16 06:06:42,940 autosynth [DEBUG] > Running: git checkout autosynth-258
Switched to branch 'autosynth-258'
2020-10-16 06:06:42,944 autosynth [INFO] > Running synthtool
2020-10-16 06:06:42,944 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-16 06:06:42,944 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/258/sponge_log.log
2020-10-16 06:06:42,946 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-16 06:06:43,201 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-258
nothing to commit, working tree clean
2020-10-16 06:06:43,328 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-16 06:06:43,336 synthtool [DEBUG] > Ensuring dependencies.
2020-10-16 06:06:43,341 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-16 06:06:43,345 synthtool [DEBUG] > Cloning googleapis.
2020-10-16 06:06:43,345 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-16 06:06:43,348 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-16 06:06:44,218 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-16 06:06:45,313 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpefktv2jl/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpefktv2jl/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-16 06:06:45,366 autosynth [ERROR] > Synthesis failed
2020-10-16 06:06:45,366 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-16 06:06:45,371 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-16 06:06:45,375 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

3d5316e4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9db36e16 chore(bazel): update bazel gazelle to v0.22.2.
2020-10-17 06:40:18,966 autosynth [DEBUG] > Running: git checkout 77c5ba85e05950f5b19ce8a553c1c0db2fba9896
Note: checking out '77c5ba85e05950f5b19ce8a553c1c0db2fba9896'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 77c5ba8 feat: Configure Ruby Apiary autosynth job (#802)
2020-10-17 06:40:18,973 autosynth [DEBUG] > Running: git branch -f autosynth-264
2020-10-17 06:40:18,976 autosynth [DEBUG] > Running: git checkout autosynth-264
Switched to branch 'autosynth-264'
2020-10-17 06:40:18,981 autosynth [INFO] > Running synthtool
2020-10-17 06:40:18,981 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-17 06:40:18,981 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/264/sponge_log.log
2020-10-17 06:40:18,983 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-17 06:40:19,258 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-264
nothing to commit, working tree clean
2020-10-17 06:40:19,394 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-17 06:40:19,403 synthtool [DEBUG] > Ensuring dependencies.
2020-10-17 06:40:19,408 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-17 06:40:19,413 synthtool [DEBUG] > Cloning googleapis.
2020-10-17 06:40:19,413 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-17 06:40:19,416 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-17 06:40:20,318 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-17 06:40:21,517 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpyxwcm66a/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpyxwcm66a/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-17 06:40:21,582 autosynth [ERROR] > Synthesis failed
2020-10-17 06:40:21,582 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-17 06:40:21,588 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-17 06:40:21,593 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

3d5316e4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9db36e16 chore(bazel): update bazel gazelle to v0.22.2.
2020-10-18 06:04:58,706 autosynth [DEBUG] > Running: git checkout 77c5ba85e05950f5b19ce8a553c1c0db2fba9896
Note: checking out '77c5ba85e05950f5b19ce8a553c1c0db2fba9896'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 77c5ba8 feat: Configure Ruby Apiary autosynth job (#802)
2020-10-18 06:04:58,716 autosynth [DEBUG] > Running: git branch -f autosynth-264
2020-10-18 06:04:58,720 autosynth [DEBUG] > Running: git checkout autosynth-264
Switched to branch 'autosynth-264'
2020-10-18 06:04:58,724 autosynth [INFO] > Running synthtool
2020-10-18 06:04:58,724 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-18 06:04:58,724 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/264/sponge_log.log
2020-10-18 06:04:58,726 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-18 06:04:58,983 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-264
nothing to commit, working tree clean
2020-10-18 06:04:59,108 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-18 06:04:59,116 synthtool [DEBUG] > Ensuring dependencies.
2020-10-18 06:04:59,121 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-18 06:04:59,125 synthtool [DEBUG] > Cloning googleapis.
2020-10-18 06:04:59,125 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-18 06:04:59,128 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-18 06:04:59,963 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-18 06:05:01,102 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpifw98i0u/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpifw98i0u/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-18 06:05:01,160 autosynth [ERROR] > Synthesis failed
2020-10-18 06:05:01,160 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-18 06:05:01,165 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-18 06:05:01,170 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

3d5316e4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9db36e16 chore(bazel): update bazel gazelle to v0.22.2.
2020-10-19 06:06:14,912 autosynth [DEBUG] > Running: git checkout 77c5ba85e05950f5b19ce8a553c1c0db2fba9896
Note: checking out '77c5ba85e05950f5b19ce8a553c1c0db2fba9896'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 77c5ba8 feat: Configure Ruby Apiary autosynth job (#802)
2020-10-19 06:06:14,919 autosynth [DEBUG] > Running: git branch -f autosynth-264
2020-10-19 06:06:14,923 autosynth [DEBUG] > Running: git checkout autosynth-264
Switched to branch 'autosynth-264'
2020-10-19 06:06:14,928 autosynth [INFO] > Running synthtool
2020-10-19 06:06:14,928 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-19 06:06:14,928 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/264/sponge_log.log
2020-10-19 06:06:14,930 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-19 06:06:15,202 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-264
nothing to commit, working tree clean
2020-10-19 06:06:15,335 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-19 06:06:15,344 synthtool [DEBUG] > Ensuring dependencies.
2020-10-19 06:06:15,349 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-19 06:06:15,354 synthtool [DEBUG] > Cloning googleapis.
2020-10-19 06:06:15,354 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-19 06:06:15,358 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-19 06:06:16,305 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1114, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 759, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 760, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 748, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 411, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-19 06:06:17,477 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpija3q8q5/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpija3q8q5/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-19 06:06:17,541 autosynth [ERROR] > Synthesis failed
2020-10-19 06:06:17,541 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-19 06:06:17,547 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-19 06:06:17,552 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

5e07f01f80'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 34c5a5c5 Merge pull request #624 from vchudnov-g/drift-metadata
2020-10-20 07:45:40,971 autosynth [DEBUG] > Running: git checkout 5a506ec8765cc04f7e29f888b8e9b257d9a7ae11
Note: checking out '5a506ec8765cc04f7e29f888b8e9b257d9a7ae11'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 5a506ec build(java): enable snippet-bot (#818)
2020-10-20 07:45:40,976 autosynth [DEBUG] > Running: git branch -f autosynth-272
2020-10-20 07:45:40,979 autosynth [DEBUG] > Running: git checkout autosynth-272
Switched to branch 'autosynth-272'
2020-10-20 07:45:40,983 autosynth [INFO] > Running synthtool
2020-10-20 07:45:40,983 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-20 07:45:40,983 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/272/sponge_log.log
2020-10-20 07:45:40,985 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-20 07:45:41,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-272
nothing to commit, working tree clean
2020-10-20 07:45:41,364 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-20 07:45:41,372 synthtool [DEBUG] > Ensuring dependencies.
2020-10-20 07:45:41,377 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-20 07:45:41,380 synthtool [DEBUG] > Cloning googleapis.
2020-10-20 07:45:41,381 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-20 07:45:41,384 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:497cc767fca1b29c0159350d2c7b6a4444b23607a2506caee54b7da43c7b55d0
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-20 07:45:42,210 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1111, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1111, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-20 07:45:43,340 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpyq7ace35/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpyq7ace35/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-20 07:45:43,397 autosynth [ERROR] > Synthesis failed
2020-10-20 07:45:43,398 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-20 07:45:43,403 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-20 07:45:43,407 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

79292e3c7b6e7c8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 11fd1fb5 feat: Add Visual Inspection V1Beta1 API.
2020-10-21 06:24:47,413 autosynth [DEBUG] > Running: git checkout 6abb59097be84599a1d6091fe534a49e5c5cf948
Note: checking out '6abb59097be84599a1d6091fe534a49e5c5cf948'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6abb590 chore: clean up and update renovate.json (#821)
2020-10-21 06:24:47,423 autosynth [DEBUG] > Running: git branch -f autosynth-277
2020-10-21 06:24:47,425 autosynth [DEBUG] > Running: git checkout autosynth-277
Switched to branch 'autosynth-277'
2020-10-21 06:24:47,429 autosynth [INFO] > Running synthtool
2020-10-21 06:24:47,429 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-21 06:24:47,429 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/277/sponge_log.log
2020-10-21 06:24:47,431 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-21 06:24:47,682 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-277
nothing to commit, working tree clean
2020-10-21 06:24:47,806 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-21 06:24:47,814 synthtool [DEBUG] > Ensuring dependencies.
2020-10-21 06:24:47,818 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-21 06:24:47,822 synthtool [DEBUG] > Cloning googleapis.
2020-10-21 06:24:47,822 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-21 06:24:47,825 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:13741750be09c91850855a135cd8776a2ac8ba14dc4f0ce47240b64bd4c42409
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-21 06:24:48,679 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-21 06:24:49,776 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp7t0jrhge/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp7t0jrhge/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-21 06:24:49,814 autosynth [ERROR] > Synthesis failed
2020-10-21 06:24:49,815 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-21 06:24:49,820 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-21 06:24:49,825 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

197702244a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0f626de4 feat: create the client for artifactregistry API.
2020-10-22 06:07:57,490 autosynth [DEBUG] > Running: git checkout 901ddd44e9ef7887ee681b9183bbdea99437fdcc
Note: checking out '901ddd44e9ef7887ee681b9183bbdea99437fdcc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 901ddd4 chore: fix Node.js TOC for cloud-rad (#822)
2020-10-22 06:07:57,501 autosynth [DEBUG] > Running: git branch -f autosynth-281
2020-10-22 06:07:57,505 autosynth [DEBUG] > Running: git checkout autosynth-281
Switched to branch 'autosynth-281'
2020-10-22 06:07:57,510 autosynth [INFO] > Running synthtool
2020-10-22 06:07:57,510 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-22 06:07:57,511 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/281/sponge_log.log
2020-10-22 06:07:57,513 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-22 06:07:57,790 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-281
nothing to commit, working tree clean
2020-10-22 06:07:57,927 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-22 06:07:57,936 synthtool [DEBUG] > Ensuring dependencies.
2020-10-22 06:07:57,942 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-22 06:07:57,946 synthtool [DEBUG] > Cloning googleapis.
2020-10-22 06:07:57,946 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-22 06:07:57,949 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-22 06:07:58,822 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-22 06:08:00,059 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpvbobqnpt/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpvbobqnpt/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-22 06:08:00,121 autosynth [ERROR] > Synthesis failed
2020-10-22 06:08:00,121 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-22 06:08:00,126 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-22 06:08:00,132 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

4c3dd7d2bf5b9922ff3ed'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 20b11dfe chore: update grpc dependency to v1.33.1
2020-10-23 07:20:21,337 autosynth [DEBUG] > Running: git checkout b7413d38b763827c72c0360f0a3d286c84656eeb
Note: checking out 'b7413d38b763827c72c0360f0a3d286c84656eeb'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b7413d3 build(node): update testing matrix (#825)
2020-10-23 07:20:21,347 autosynth [DEBUG] > Running: git branch -f autosynth-290
2020-10-23 07:20:21,350 autosynth [DEBUG] > Running: git checkout autosynth-290
Switched to branch 'autosynth-290'
2020-10-23 07:20:21,355 autosynth [INFO] > Running synthtool
2020-10-23 07:20:21,355 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-23 07:20:21,355 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/290/sponge_log.log
2020-10-23 07:20:21,357 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-23 07:20:21,621 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-290
nothing to commit, working tree clean
2020-10-23 07:20:21,752 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-23 07:20:21,760 synthtool [DEBUG] > Ensuring dependencies.
2020-10-23 07:20:21,765 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-23 07:20:21,768 synthtool [DEBUG] > Cloning googleapis.
2020-10-23 07:20:21,768 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-23 07:20:21,772 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-23 07:20:22,625 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-23 07:20:23,738 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp8plda020/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp8plda020/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-23 07:20:23,780 autosynth [ERROR] > Synthesis failed
2020-10-23 07:20:23,780 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-23 07:20:23,786 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-23 07:20:23,791 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

22ff3ed'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 20b11dfe chore: update grpc dependency to v1.33.1
2020-10-24 06:29:34,426 autosynth [DEBUG] > Running: git checkout a783321fd55f010709294455584a553f4b24b944
Note: checking out 'a783321fd55f010709294455584a553f4b24b944'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a783321 build(node): don't run prepare during smoke test (#827)
2020-10-24 06:29:34,437 autosynth [DEBUG] > Running: git branch -f autosynth-293
2020-10-24 06:29:34,441 autosynth [DEBUG] > Running: git checkout autosynth-293
Switched to branch 'autosynth-293'
2020-10-24 06:29:34,445 autosynth [INFO] > Running synthtool
2020-10-24 06:29:34,446 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-24 06:29:34,446 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/293/sponge_log.log
2020-10-24 06:29:34,448 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-24 06:29:34,715 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-293
nothing to commit, working tree clean
2020-10-24 06:29:34,849 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-24 06:29:34,858 synthtool [DEBUG] > Ensuring dependencies.
2020-10-24 06:29:34,863 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-24 06:29:34,867 synthtool [DEBUG] > Cloning googleapis.
2020-10-24 06:29:34,867 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-24 06:29:34,871 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-24 06:29:35,727 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-24 06:29:36,873 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpv2dvfn1j/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpv2dvfn1j/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-24 06:29:36,917 autosynth [ERROR] > Synthesis failed
2020-10-24 06:29:36,917 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-24 06:29:36,922 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-24 06:29:36,927 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

22ff3ed'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 20b11dfe chore: update grpc dependency to v1.33.1
2020-10-25 06:18:51,929 autosynth [DEBUG] > Running: git checkout a783321fd55f010709294455584a553f4b24b944
Note: checking out 'a783321fd55f010709294455584a553f4b24b944'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a783321 build(node): don't run prepare during smoke test (#827)
2020-10-25 06:18:51,935 autosynth [DEBUG] > Running: git branch -f autosynth-293
2020-10-25 06:18:51,938 autosynth [DEBUG] > Running: git checkout autosynth-293
Switched to branch 'autosynth-293'
2020-10-25 06:18:51,943 autosynth [INFO] > Running synthtool
2020-10-25 06:18:51,943 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-25 06:18:51,943 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/293/sponge_log.log
2020-10-25 06:18:51,945 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-25 06:18:52,202 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-293
nothing to commit, working tree clean
2020-10-25 06:18:52,328 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-25 06:18:52,336 synthtool [DEBUG] > Ensuring dependencies.
2020-10-25 06:18:52,341 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-25 06:18:52,345 synthtool [DEBUG] > Cloning googleapis.
2020-10-25 06:18:52,345 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-25 06:18:52,348 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-25 06:18:53,198 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-25 06:18:54,314 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp6ev_cmvr/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp6ev_cmvr/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-25 06:18:54,378 autosynth [ERROR] > Synthesis failed
2020-10-25 06:18:54,379 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-25 06:18:54,384 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-25 06:18:54,389 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' 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 python-texttospeech. :sob:

Here's the output from running synth.py:

22ff3ed'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 20b11dfe chore: update grpc dependency to v1.33.1
2020-10-26 06:13:50,568 autosynth [DEBUG] > Running: git checkout a783321fd55f010709294455584a553f4b24b944
Note: checking out 'a783321fd55f010709294455584a553f4b24b944'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a783321 build(node): don't run prepare during smoke test (#827)
2020-10-26 06:13:50,579 autosynth [DEBUG] > Running: git branch -f autosynth-293
2020-10-26 06:13:50,583 autosynth [DEBUG] > Running: git checkout autosynth-293
Switched to branch 'autosynth-293'
2020-10-26 06:13:50,587 autosynth [INFO] > Running synthtool
2020-10-26 06:13:50,587 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-26 06:13:50,587 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/293/sponge_log.log
2020-10-26 06:13:50,589 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-26 06:13:50,858 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-293
nothing to commit, working tree clean
2020-10-26 06:13:50,988 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-26 06:13:50,996 synthtool [DEBUG] > Ensuring dependencies.
2020-10-26 06:13:51,001 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-26 06:13:51,005 synthtool [DEBUG] > Cloning googleapis.
2020-10-26 06:13:51,005 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-26 06:13:51,008 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-26 06:13:51,862 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-26 06:13:52,959 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmppoq1p82v/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmppoq1p82v/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-26 06:13:53,028 autosynth [ERROR] > Synthesis failed
2020-10-26 06:13:53,028 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-26 06:13:53,034 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-26 06:13:53,038 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

n 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b3c2eb02 feat: BigQuery Write API V1Beta2 public interface.
2020-10-27 07:01:43,991 autosynth [DEBUG] > Running: git checkout fd3584b01cedd6c9f79d08be4e2365085f955aa5
Note: checking out 'fd3584b01cedd6c9f79d08be4e2365085f955aa5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fd3584b fix(python_library): fix unit test dependency installation (#811)
2020-10-27 07:01:44,002 autosynth [DEBUG] > Running: git branch -f autosynth-298
2020-10-27 07:01:44,005 autosynth [DEBUG] > Running: git checkout autosynth-298
Switched to branch 'autosynth-298'
2020-10-27 07:01:44,009 autosynth [INFO] > Running synthtool
2020-10-27 07:01:44,010 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-27 07:01:44,010 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/298/sponge_log.log
2020-10-27 07:01:44,011 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-27 07:01:44,280 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-298
nothing to commit, working tree clean
2020-10-27 07:01:44,410 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-27 07:01:44,418 synthtool [DEBUG] > Ensuring dependencies.
2020-10-27 07:01:44,423 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-27 07:01:44,427 synthtool [DEBUG] > Cloning googleapis.
2020-10-27 07:01:44,427 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-27 07:01:44,430 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:471a03d239903055c9e4ff29d8c16397f8190c14cb4451eb5090d845a7f1ae0c
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-27 07:01:45,304 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1112, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 756, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 757, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 745, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 408, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-27 07:01:46,429 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpu4rr6utj/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpu4rr6utj/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-27 07:01:46,494 autosynth [ERROR] > Synthesis failed
2020-10-27 07:01:46,494 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-27 07:01:46,499 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-27 07:01:46,503 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

34324aa3fdb0896'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 24fb9e5d chore(bazel): update rules_go v0.24.5
2020-10-28 07:01:57,073 autosynth [DEBUG] > Running: git checkout ea52b8a0bd560f72f376efcf45197fb7c8869120
Note: checking out 'ea52b8a0bd560f72f376efcf45197fb7c8869120'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ea52b8a docs: add proto-plus to intersphinx mapping (#832)
2020-10-28 07:01:57,084 autosynth [DEBUG] > Running: git branch -f autosynth-308
2020-10-28 07:01:57,088 autosynth [DEBUG] > Running: git checkout autosynth-308
Switched to branch 'autosynth-308'
2020-10-28 07:01:57,093 autosynth [INFO] > Running synthtool
2020-10-28 07:01:57,093 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-28 07:01:57,093 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/308/sponge_log.log
2020-10-28 07:01:57,096 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-28 07:01:57,392 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-308
nothing to commit, working tree clean
2020-10-28 07:01:57,537 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-28 07:01:57,545 synthtool [DEBUG] > Ensuring dependencies.
2020-10-28 07:01:57,550 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-28 07:01:57,554 synthtool [DEBUG] > Cloning googleapis.
2020-10-28 07:01:57,555 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-28 07:01:57,558 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-28 07:01:58,512 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-28 07:01:59,722 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpkwzohtds/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpkwzohtds/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-28 07:01:59,775 autosynth [ERROR] > Synthesis failed
2020-10-28 07:01:59,776 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-28 07:01:59,781 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-28 07:01:59,786 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

ached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ab0498dc fix!: update package names to avoid conflict with google-cloud-bigquery
2020-10-29 06:55:57,421 autosynth [DEBUG] > Running: git checkout ea52b8a0bd560f72f376efcf45197fb7c8869120
Note: checking out 'ea52b8a0bd560f72f376efcf45197fb7c8869120'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ea52b8a docs: add proto-plus to intersphinx mapping (#832)
2020-10-29 06:55:57,430 autosynth [DEBUG] > Running: git branch -f autosynth-315
2020-10-29 06:55:57,434 autosynth [DEBUG] > Running: git checkout autosynth-315
Switched to branch 'autosynth-315'
2020-10-29 06:55:57,438 autosynth [INFO] > Running synthtool
2020-10-29 06:55:57,438 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-29 06:55:57,438 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/315/sponge_log.log
2020-10-29 06:55:57,440 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-29 06:55:57,705 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-315
nothing to commit, working tree clean
2020-10-29 06:55:57,833 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-29 06:55:57,841 synthtool [DEBUG] > Ensuring dependencies.
2020-10-29 06:55:57,846 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-29 06:55:57,850 synthtool [DEBUG] > Cloning googleapis.
2020-10-29 06:55:57,850 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-29 06:55:57,853 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-29 06:55:58,720 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-29 06:55:59,826 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpamh2j5qj/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpamh2j5qj/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-29 06:55:59,869 autosynth [ERROR] > Synthesis failed
2020-10-29 06:55:59,869 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-29 06:55:59,874 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-29 06:55:59,880 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

64c26a111f7f587099d31253abb96b5737bb2
2020-10-30 01:20:10,240 autosynth [DEBUG] > Running: git log -1 --pretty=%at e0ae456852bf22f38796deb79cff30b516fde244
2020-10-30 01:20:10,243 autosynth [DEBUG] > Running: git log -1 --pretty=%at befc24dcdeb8e57ec1259826fd33120b05137e8f
2020-10-30 01:20:10,247 autosynth [DEBUG] > Running: git log -1 --pretty=%at a850272b459e3578e6ec03f6a6d4a15c2fbb8082
2020-10-30 01:20:10,250 autosynth [DEBUG] > Running: git log -1 --pretty=%at ce61cf9ce6448082f56008aba3cee2aa77430063
2020-10-30 01:20:10,253 autosynth [DEBUG] > Running: git log -1 --pretty=%at 9b7fadcd01ca5acb03a23519b6afc2fd347df3b5
2020-10-30 01:20:10,256 autosynth [DEBUG] > Running: git log -1 --pretty=%at b65ef07d99946d23e900ef2cc490274a16edd336
2020-10-30 01:20:10,259 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3c1fd09ba8d1c7b7092662f6f8330f521d4e7739
2020-10-30 01:20:10,262 autosynth [DEBUG] > Running: git log -1 --pretty=%at 477764cc4ee6db346d3febef2bb1ea0abf27de52
2020-10-30 01:20:10,265 autosynth [DEBUG] > Running: git log -1 --pretty=%at c81691e3116222154da62d979bf124b497ce66dc
2020-10-30 01:20:10,268 autosynth [DEBUG] > Running: git log -1 --pretty=%at 27e0e916cbfdb3d5ff6639b686cc04f78a0b0386
2020-10-30 01:20:10,271 autosynth [DEBUG] > Running: git log -1 --pretty=%at d5d03413e1879108b5ade8839ce38de01be652da
2020-10-30 01:20:10,274 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1
2020-10-30 01:20:10,277 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5451633881133e5573cc271a18e73b18caca8b1b
2020-10-30 01:20:10,280 autosynth [DEBUG] > Running: git log -1 --pretty=%at 31682399fd2cfce2d5856d31c6b328e839d5141c
2020-10-30 01:20:10,283 autosynth [DEBUG] > Running: git log -1 --pretty=%at da5c6050d13b4950c82666a81d8acd25157664ae
2020-10-30 01:20:10,286 autosynth [DEBUG] > Running: git log -1 --pretty=%at 77c5ba85e05950f5b19ce8a553c1c0db2fba9896
2020-10-30 01:20:10,289 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2f8ac35b02608af41317873d8d663ecea91a524d
2020-10-30 01:20:10,292 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6dc98b26a9c823e92fa21455fb6e5862613c49c2
2020-10-30 01:20:10,295 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5a506ec8765cc04f7e29f888b8e9b257d9a7ae11
2020-10-30 01:20:10,298 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6abb59097be84599a1d6091fe534a49e5c5cf948
2020-10-30 01:20:10,300 autosynth [DEBUG] > Running: git log -1 --pretty=%at f96d3b455fe27c3dc7bc37c3c9cd27b1c6d269c8
2020-10-30 01:20:10,303 autosynth [DEBUG] > Running: git log -1 --pretty=%at 901ddd44e9ef7887ee681b9183bbdea99437fdcc
2020-10-30 01:20:10,306 autosynth [DEBUG] > Running: git log -1 --pretty=%at 9593c3b5b714cc9b17c445aee8834ac2b4b9348b
2020-10-30 01:20:10,310 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5f6ef0ec5501d33c4667885b37a7685a30d41a76
2020-10-30 01:20:10,313 autosynth [DEBUG] > Running: git log -1 --pretty=%at b7413d38b763827c72c0360f0a3d286c84656eeb
2020-10-30 01:20:10,316 autosynth [DEBUG] > Running: git log -1 --pretty=%at 721a7d2abb129029eca9d85a40da6eb7b8b1739a
2020-10-30 01:20:10,319 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1085e9cf6394ca68f6f690844a7ef3622777e8c8
2020-10-30 01:20:10,321 autosynth [DEBUG] > Running: git log -1 --pretty=%at a783321fd55f010709294455584a553f4b24b944
2020-10-30 01:20:10,324 autosynth [DEBUG] > Running: git log -1 --pretty=%at 89c849ba5013e45e8fb688b138f33c2ec6083dc5
2020-10-30 01:20:10,327 autosynth [DEBUG] > Running: git log -1 --pretty=%at f68649c5f26bcff6817c6d21e90dac0fc71fef8e
2020-10-30 01:20:10,330 autosynth [DEBUG] > Running: git log -1 --pretty=%at fd3584b01cedd6c9f79d08be4e2365085f955aa5
2020-10-30 01:20:10,333 autosynth [DEBUG] > Running: git log -1 --pretty=%at ea52b8a0bd560f72f376efcf45197fb7c8869120
2020-10-30 01:20:10,336 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6542bd723403513626f61642fc02ddca528409aa
2020-10-30 01:20:10,340 autosynth [DEBUG] > Running: git checkout 48d540e89522bf1ca9fccc4e21fb3ef43d76196a
Note: checking out '48d540e89522bf1ca9fccc4e21fb3ef43d76196a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-30 01:20:10,346 autosynth [DEBUG] > Running: git checkout 00bbad4dfd6633cf4b5f9596c1f93b756bb5c776
Note: checking out '00bbad4dfd6633cf4b5f9596c1f93b756bb5c776'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 00bbad4d feat: add AnalyzeIamPolicy and AnalyzeIamPolicyLongrunning RPCs
2020-10-30 01:20:10,363 autosynth [DEBUG] > Running: git checkout 6542bd723403513626f61642fc02ddca528409aa
Note: checking out '6542bd723403513626f61642fc02ddca528409aa'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6542bd7 fix(python_library): fix external unit test dependencies (#831)
2020-10-30 01:20:10,372 autosynth [DEBUG] > Running: git branch -f autosynth-317
2020-10-30 01:20:10,376 autosynth [DEBUG] > Running: git checkout autosynth-317
Switched to branch 'autosynth-317'
2020-10-30 01:20:10,380 autosynth [INFO] > Running synthtool
2020-10-30 01:20:10,380 autosynth [INFO] > ['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-30 01:20:10,380 autosynth [DEBUG] > log_file_path: /kokoro/artifacts/logs/python-texttospeech/317/sponge_log.log
2020-10-30 01:20:10,382 autosynth [DEBUG] > Running: /usr/local/bin/python -m synthtool --metadata synth.metadata synth.py --
2020-10-30 01:20:10,620 synthtool [DEBUG] > Executing /root/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-317
nothing to commit, working tree clean
2020-10-30 01:20:10,745 synthtool [DEBUG] > Using precloned repo /root/.cache/synthtool/synthtool
2020-10-30 01:20:10,754 synthtool [DEBUG] > Ensuring dependencies.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.cache/synthtool/python-texttospeech/synth.py", line 22, in <module>
    gapic = gcp.GAPICMicrogenerator()
  File "/synthtool/synthtool/gcp/gapic_microgenerator.py", line 46, in __init__
    self._ensure_dependencies_installed()
  File "/synthtool/synthtool/gcp/gapic_microgenerator.py", line 255, in _ensure_dependencies_installed
    f"Dependencies missing: {', '.join(failed_dependencies)}"
OSError: Dependencies missing: docker
2020-10-30 01:20:10,813 autosynth [ERROR] > Synthesis failed
2020-10-30 01:20:10,813 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-30 01:20:10,818 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-30 01:20:10,823 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

 HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 00bbad4d feat: add AnalyzeIamPolicy and AnalyzeIamPolicyLongrunning RPCs
2020-10-30 06:21:44,293 autosynth [DEBUG] > Running: git checkout 6542bd723403513626f61642fc02ddca528409aa
Note: checking out '6542bd723403513626f61642fc02ddca528409aa'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6542bd7 fix(python_library): fix external unit test dependencies (#831)
2020-10-30 06:21:44,299 autosynth [DEBUG] > Running: git branch -f autosynth-317
2020-10-30 06:21:44,303 autosynth [DEBUG] > Running: git checkout autosynth-317
Switched to branch 'autosynth-317'
2020-10-30 06:21:44,307 autosynth [INFO] > Running synthtool
2020-10-30 06:21:44,307 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-30 06:21:44,307 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/317/sponge_log.log
2020-10-30 06:21:44,309 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-30 06:21:44,568 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-317
nothing to commit, working tree clean
2020-10-30 06:21:44,696 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-30 06:21:44,704 synthtool [DEBUG] > Ensuring dependencies.
2020-10-30 06:21:44,710 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-30 06:21:44,714 synthtool [DEBUG] > Cloning googleapis.
2020-10-30 06:21:44,714 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-30 06:21:44,717 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-30 06:21:45,571 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-30 06:21:46,723 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp1n3drg61/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp1n3drg61/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-30 06:21:46,785 autosynth [ERROR] > Synthesis failed
2020-10-30 06:21:46,786 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-30 06:21:46,791 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-30 06:21:46,796 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

y branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7f31f402 fix: Change categories field in Product.proto from a required field to an optional field. fix: remove variant_retrievable_fields and materials fields from the product.proto fix: minor API doc change on removing the '>' sign escaping.
2020-10-31 06:19:28,303 autosynth [DEBUG] > Running: git checkout b19b401571e77192f8dd38eab5fb2300a0de9324
Note: checking out 'b19b401571e77192f8dd38eab5fb2300a0de9324'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b19b401 chore(java): enable generated-files-bot (#833)
2020-10-31 06:19:28,308 autosynth [DEBUG] > Running: git branch -f autosynth-320
2020-10-31 06:19:28,312 autosynth [DEBUG] > Running: git checkout autosynth-320
Switched to branch 'autosynth-320'
2020-10-31 06:19:28,316 autosynth [INFO] > Running synthtool
2020-10-31 06:19:28,316 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-31 06:19:28,316 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/320/sponge_log.log
2020-10-31 06:19:28,318 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-31 06:19:28,588 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-320
nothing to commit, working tree clean
2020-10-31 06:19:28,718 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-31 06:19:28,726 synthtool [DEBUG] > Ensuring dependencies.
2020-10-31 06:19:28,731 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-31 06:19:28,735 synthtool [DEBUG] > Cloning googleapis.
2020-10-31 06:19:28,735 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-31 06:19:28,738 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-31 06:19:29,593 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-31 06:19:30,707 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp7mj_0mv5/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp7mj_0mv5/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-31 06:19:30,764 autosynth [ERROR] > Synthesis failed
2020-10-31 06:19:30,765 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-10-31 06:19:30,770 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-31 06:19:30,775 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

y branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7f31f402 fix: Change categories field in Product.proto from a required field to an optional field. fix: remove variant_retrievable_fields and materials fields from the product.proto fix: minor API doc change on removing the '>' sign escaping.
2020-11-01 06:18:01,093 autosynth [DEBUG] > Running: git checkout b19b401571e77192f8dd38eab5fb2300a0de9324
Note: checking out 'b19b401571e77192f8dd38eab5fb2300a0de9324'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b19b401 chore(java): enable generated-files-bot (#833)
2020-11-01 06:18:01,105 autosynth [DEBUG] > Running: git branch -f autosynth-320
2020-11-01 06:18:01,110 autosynth [DEBUG] > Running: git checkout autosynth-320
Switched to branch 'autosynth-320'
2020-11-01 06:18:01,116 autosynth [INFO] > Running synthtool
2020-11-01 06:18:01,116 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-11-01 06:18:01,116 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/320/sponge_log.log
2020-11-01 06:18:01,119 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-11-01 06:18:01,409 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-320
nothing to commit, working tree clean
2020-11-01 06:18:01,553 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-01 06:18:01,563 synthtool [DEBUG] > Ensuring dependencies.
2020-11-01 06:18:01,569 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-01 06:18:01,573 synthtool [DEBUG] > Cloning googleapis.
2020-11-01 06:18:01,574 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-11-01 06:18:01,577 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-11-01 06:18:02,511 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-11-01 06:18:03,741 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmplzk5rrqz/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmplzk5rrqz/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-11-01 06:18:03,796 autosynth [ERROR] > Synthesis failed
2020-11-01 06:18:03,796 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-11-01 06:18:03,802 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-01 06:18:03,807 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

y branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 7f31f402 fix: Change categories field in Product.proto from a required field to an optional field. fix: remove variant_retrievable_fields and materials fields from the product.proto fix: minor API doc change on removing the '>' sign escaping.
2020-11-02 06:25:50,444 autosynth [DEBUG] > Running: git checkout b19b401571e77192f8dd38eab5fb2300a0de9324
Note: checking out 'b19b401571e77192f8dd38eab5fb2300a0de9324'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b19b401 chore(java): enable generated-files-bot (#833)
2020-11-02 06:25:50,450 autosynth [DEBUG] > Running: git branch -f autosynth-320
2020-11-02 06:25:50,454 autosynth [DEBUG] > Running: git checkout autosynth-320
Switched to branch 'autosynth-320'
2020-11-02 06:25:50,459 autosynth [INFO] > Running synthtool
2020-11-02 06:25:50,460 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-11-02 06:25:50,460 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/320/sponge_log.log
2020-11-02 06:25:50,462 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-11-02 06:25:50,742 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-320
nothing to commit, working tree clean
2020-11-02 06:25:50,880 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-02 06:25:50,888 synthtool [DEBUG] > Ensuring dependencies.
2020-11-02 06:25:50,893 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-02 06:25:50,897 synthtool [DEBUG] > Cloning googleapis.
2020-11-02 06:25:50,897 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-11-02 06:25:50,901 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-11-02 06:25:51,836 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-11-02 06:25:53,027 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpaghqf_x0/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpaghqf_x0/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-11-02 06:25:53,094 autosynth [ERROR] > Synthesis failed
2020-11-02 06:25:53,094 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-11-02 06:25:53,099 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-02 06:25:53,105 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 2d93f744 chore: Remove protos for Google Ads API v2, which has sunset and is no longer available.
2020-11-03 06:35:56,582 autosynth [DEBUG] > Running: git checkout ba9918cd22874245b55734f57470c719b577e591
Note: checking out 'ba9918cd22874245b55734f57470c719b577e591'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ba9918c build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#834)
2020-11-03 06:35:56,597 autosynth [DEBUG] > Running: git branch -f autosynth-325
2020-11-03 06:35:56,604 autosynth [DEBUG] > Running: git checkout autosynth-325
Switched to branch 'autosynth-325'
2020-11-03 06:35:56,612 autosynth [INFO] > Running synthtool
2020-11-03 06:35:56,612 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-11-03 06:35:56,612 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/325/sponge_log.log
2020-11-03 06:35:56,617 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-11-03 06:35:56,963 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-325
nothing to commit, working tree clean
2020-11-03 06:35:57,138 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-03 06:35:57,151 synthtool [DEBUG] > Ensuring dependencies.
2020-11-03 06:35:57,160 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-03 06:35:57,166 synthtool [DEBUG] > Cloning googleapis.
2020-11-03 06:35:57,167 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-11-03 06:35:57,172 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-11-03 06:35:58,323 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-11-03 06:35:59,841 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpruwww77w/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpruwww77w/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-11-03 06:35:59,941 autosynth [ERROR] > Synthesis failed
2020-11-03 06:35:59,941 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-11-03 06:35:59,949 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-03 06:35:59,958 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

nd you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 705962b5 feat: added RunRealtimeReport method that returns a customized report of realtime event data for a GA4 property docs: minor documentation updates
2020-11-04 06:28:55,978 autosynth [DEBUG] > Running: git checkout ba9918cd22874245b55734f57470c719b577e591
Note: checking out 'ba9918cd22874245b55734f57470c719b577e591'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ba9918c build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#834)
2020-11-04 06:28:55,989 autosynth [DEBUG] > Running: git branch -f autosynth-327
2020-11-04 06:28:55,993 autosynth [DEBUG] > Running: git checkout autosynth-327
Switched to branch 'autosynth-327'
2020-11-04 06:28:55,999 autosynth [INFO] > Running synthtool
2020-11-04 06:28:55,999 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-11-04 06:28:55,999 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/327/sponge_log.log
2020-11-04 06:28:56,001 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-11-04 06:28:56,325 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-327
nothing to commit, working tree clean
2020-11-04 06:28:56,477 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-04 06:28:56,485 synthtool [DEBUG] > Ensuring dependencies.
2020-11-04 06:28:56,491 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-04 06:28:56,495 synthtool [DEBUG] > Cloning googleapis.
2020-11-04 06:28:56,495 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-11-04 06:28:56,498 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-11-04 06:28:57,433 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-11-04 06:28:58,656 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmphgpgtszk/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmphgpgtszk/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-11-04 06:28:58,722 autosynth [ERROR] > Synthesis failed
2020-11-04 06:28:58,722 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-11-04 06:28:58,728 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-04 06:28:58,732 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating python-texttospeech. :sob:

Here's the output from running synth.py:

56d965d8d1f10f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1f22d1e9 docs: Reworded comments for the new credit types filter
2020-11-05 06:17:15,397 autosynth [DEBUG] > Running: git checkout 3d3e94c4e02370f307a9a200b0c743c3d8d19f29
Note: checking out '3d3e94c4e02370f307a9a200b0c743c3d8d19f29'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3d3e94c chore: add type hint check (#840)
2020-11-05 06:17:15,404 autosynth [DEBUG] > Running: git branch -f autosynth-337
2020-11-05 06:17:15,408 autosynth [DEBUG] > Running: git checkout autosynth-337
Switched to branch 'autosynth-337'
2020-11-05 06:17:15,412 autosynth [INFO] > Running synthtool
2020-11-05 06:17:15,413 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-11-05 06:17:15,413 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-texttospeech/337/sponge_log.log
2020-11-05 06:17:15,414 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-11-05 06:17:15,687 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-texttospeech/synth.py.
On branch autosynth-337
nothing to commit, working tree clean
2020-11-05 06:17:15,821 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-05 06:17:15,830 synthtool [DEBUG] > Ensuring dependencies.
2020-11-05 06:17:15,836 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-11-05 06:17:15,840 synthtool [DEBUG] > Cloning googleapis.
2020-11-05 06:17:15,840 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-11-05 06:17:15,844 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:f0fd859ab2199809facdafaf98f53c2b09cfd3a19232d74cfcfbe17e615f8726
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-11-05 06:17:16,753 synthtool [DEBUG] > Generating code for: google/cloud/texttospeech/v1beta1.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 58, in generate
    api_schema = api.API.build(req.proto_file, opts=opts, package=package)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in build
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 311, in <dictcomp>
    for name, proto in pre_protos.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 95, in build
    all_resources=all_resources or {},
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in proto
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/api.py", line 549, in <genexpr>
    for k, v in naive.services.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in with_context
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1118, in <genexpr>
    for k, v in self.methods.items()
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 762, in flattened_fields
    for sig in signatures
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 763, in <genexpr>
    for name_and_field in filter_fields(sig)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 751, in filter_fields
    field = self.input.get_field(*name.split('.'))
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 414, in get_field
    cursor = self.fields[field_path[0]]
KeyError: 'input'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-11-05 06:17:17,874 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpv4gimj8s/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
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 "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-texttospeech/synth.py", line 30, in <module>
    library = gapic.py_library(service="texttospeech", version=version,)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/texttospeech/v1beta1/,destination=/in/google/cloud/texttospeech/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpv4gimj8s/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-11-05 06:17:17,936 autosynth [ERROR] > Synthesis failed
2020-11-05 06:17:17,936 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48d540e chore: add default CODEOWNERS (#93)
2020-11-05 06:17:17,942 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-05 06:17:17,947 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 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  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', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.