Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesis failed for python-pubsub #344

Closed
yoshi-automation opened this issue Mar 23, 2021 · 12 comments · Fixed by #345
Closed

Synthesis failed for python-pubsub #344

yoshi-automation opened this issue Mar 23, 2021 · 12 comments · Fixed by #345
Assignees
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@yoshi-automation
Copy link
Contributor

Hello! Autosynth couldn't regenerate python-pubsub. 💔

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

f4c6ac7
2021-03-23 00:52:45,724 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0b064d767537e0675fc053e53fca473c5c701fb8
2021-03-23 00:52:45,726 autosynth [DEBUG] > Running: git log -1 --pretty=%at ac8f20f12e7a4c0b0ae1c6fa415f684a25ea82b7
2021-03-23 00:52:45,729 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2c54c473779ea731128cea61a3a6c975a08a5378
2021-03-23 00:52:45,732 autosynth [DEBUG] > Running: git log -1 --pretty=%at 94686b06034ff6e11217236fcaa217ec6e24bc39
2021-03-23 00:52:45,735 autosynth [DEBUG] > Running: git log -1 --pretty=%at eda422b90c3dde4a872a13e6b78a8f802c40d0db
2021-03-23 00:52:45,738 autosynth [DEBUG] > Running: git log -1 --pretty=%at a839c7d88ae571e2ce13e8965babea4b2b84a40f
2021-03-23 00:52:45,740 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1efbe51eaa8b153bdef51f8715ff75a71f409004
2021-03-23 00:52:45,743 autosynth [DEBUG] > Running: git log -1 --pretty=%at 78437c732a60c64895778697b078497b0988346c
2021-03-23 00:52:45,746 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-23 00:52:45,749 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-23 00:52:45,752 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-23 00:52:45,757 autosynth [DEBUG] > Running: git checkout 0a662a6daad0517fb0e01732c9dd7f9d1852924c
Note: checking out '0a662a6daad0517fb0e01732c9dd7f9d1852924c'.

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 0a662a6 chore(samples): fix typo
2021-03-23 00:52:45,771 autosynth [DEBUG] > Running: git checkout c84c8f156e09702e1c8946bfb9746e6f5892cf27
Note: checking out 'c84c8f156e09702e1c8946bfb9746e6f5892cf27'.

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 c84c8f1 fix: tell the user autosynth may take 24 hours to regenerate (#981)
2021-03-23 00:52:45,775 autosynth [DEBUG] > Running: git checkout 6598bb829c9e9a534be674649ffd1b4671a821f9
Note: checking out '6598bb829c9e9a534be674649ffd1b4671a821f9'.

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 6598bb82 feat: add RPC Priority request options
2021-03-23 00:52:45,788 autosynth [DEBUG] > Running: git branch -f autosynth-92
2021-03-23 00:52:45,791 autosynth [DEBUG] > Running: git checkout autosynth-92
Switched to branch 'autosynth-92'
2021-03-23 00:52:45,795 autosynth [INFO] > Running synthtool
2021-03-23 00:52:45,796 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-23 00:52:45,796 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/92/sponge_log.log
2021-03-23 00:52:45,797 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-23 00:52:46,021 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-92
nothing to commit, working tree clean
2021-03-23 00:52:46,155 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-23 00:52:46,160 synthtool [DEBUG] > Ensuring dependencies.
2021-03-23 00:52:46,169 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-23 00:52:46,173 synthtool [DEBUG] > Cloning googleapis.
2021-03-23 00:52:46,173 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-23 00:52:46,176 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-23 00:52:46,180 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-23 00:52:52,442 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpzflv7_1v/google/cloud/pubsub_v1/proto/schema.proto
2021-03-23 00:52:52,443 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpzflv7_1v/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-23 00:52:52,443 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpzflv7_1v/google/cloud/pubsub_v1/proto.
2021-03-23 00:52:52,443 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpzflv7_1v.
2021-03-23 00:52:52,566 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-23 00:52:52,567 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-23 00:52:52,569 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-23 00:52:52,570 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-23 00:52:52,571 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-23 00:52:52,572 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-23 00:52:52,573 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-23 00:52:52,573 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-23 00:52:52,575 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-23 00:52:52,576 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-23 00:52:52,577 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-23 00:52:52,631 autosynth [ERROR] > Synthesis failed
2021-03-23 00:52:52,631 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0a662a6 chore(samples): fix typo
2021-03-23 00:52:52,644 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-23 00:52:52,655 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 yoshi-automation added autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Mar 23, 2021
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 23, 2021
@plamut plamut self-assigned this Mar 23, 2021
@plamut
Copy link
Contributor

plamut commented Mar 23, 2021

In synth.py:

if count < 18:
    raise Exception("Expected replacements for gRPC channel options not made.")

The replacement count dropped from 18 to 15, but that's fine. Replacements did not fail due to the regex pattern not matching, it's just that fewer replacements need to be made now in the new generated code.

@yoshi-automation
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

Running: git log -1 --pretty=%at 2c54c473779ea731128cea61a3a6c975a08a5378
2021-03-23 16:17:31,086 autosynth [DEBUG] > Running: git log -1 --pretty=%at 94686b06034ff6e11217236fcaa217ec6e24bc39
2021-03-23 16:17:31,089 autosynth [DEBUG] > Running: git log -1 --pretty=%at eda422b90c3dde4a872a13e6b78a8f802c40d0db
2021-03-23 16:17:31,092 autosynth [DEBUG] > Running: git log -1 --pretty=%at a839c7d88ae571e2ce13e8965babea4b2b84a40f
2021-03-23 16:17:31,095 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1efbe51eaa8b153bdef51f8715ff75a71f409004
2021-03-23 16:17:31,098 autosynth [DEBUG] > Running: git log -1 --pretty=%at 78437c732a60c64895778697b078497b0988346c
2021-03-23 16:17:31,101 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-23 16:17:31,104 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-23 16:17:31,107 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-23 16:17:31,110 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-23 16:17:31,113 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-23 16:17:31,118 autosynth [DEBUG] > Running: git checkout 0a662a6daad0517fb0e01732c9dd7f9d1852924c
Note: checking out '0a662a6daad0517fb0e01732c9dd7f9d1852924c'.

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 0a662a6 chore(samples): fix typo
2021-03-23 16:17:31,132 autosynth [DEBUG] > Running: git checkout 86ed43d4f56e6404d068e62e497029018879c771
Note: checking out '86ed43d4f56e6404d068e62e497029018879c771'.

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 86ed43d test(python): use constraints files to check dependency lower bounds (#869)
2021-03-23 16:17:31,138 autosynth [DEBUG] > Running: git checkout 336d6f419fe9466e4540083bbfa46a57f67dc92e
Note: checking out '336d6f419fe9466e4540083bbfa46a57f67dc92e'.

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 336d6f41 build: update package-name, update links to service control and service management
2021-03-23 16:17:31,153 autosynth [DEBUG] > Running: git branch -f autosynth-97
2021-03-23 16:17:31,156 autosynth [DEBUG] > Running: git checkout autosynth-97
Switched to branch 'autosynth-97'
2021-03-23 16:17:31,161 autosynth [INFO] > Running synthtool
2021-03-23 16:17:31,161 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-23 16:17:31,161 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/97/sponge_log.log
2021-03-23 16:17:31,163 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-23 16:17:31,395 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-97
nothing to commit, working tree clean
2021-03-23 16:17:31,537 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-23 16:17:31,542 synthtool [DEBUG] > Ensuring dependencies.
2021-03-23 16:17:31,552 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-23 16:17:31,556 synthtool [DEBUG] > Cloning googleapis.
2021-03-23 16:17:31,556 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-23 16:17:31,560 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-23 16:17:31,563 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-23 16:19:42,612 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpl6ccvpee/google/cloud/pubsub_v1/proto/schema.proto
2021-03-23 16:19:42,612 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpl6ccvpee/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-23 16:19:42,613 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpl6ccvpee/google/cloud/pubsub_v1/proto.
2021-03-23 16:19:42,613 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpl6ccvpee.
2021-03-23 16:19:42,749 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-23 16:19:42,751 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-23 16:19:42,753 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-23 16:19:42,755 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-23 16:19:42,756 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-23 16:19:42,756 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-23 16:19:42,757 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-23 16:19:42,758 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-23 16:19:42,759 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-23 16:19:42,760 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-23 16:19:42,762 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-23 16:19:42,825 autosynth [ERROR] > Synthesis failed
2021-03-23 16:19:42,825 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0a662a6 chore(samples): fix typo
2021-03-23 16:19:42,840 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-23 16:19:42,850 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

ea61a3a6c975a08a5378
2021-03-24 00:57:47,187 autosynth [DEBUG] > Running: git log -1 --pretty=%at 94686b06034ff6e11217236fcaa217ec6e24bc39
2021-03-24 00:57:47,189 autosynth [DEBUG] > Running: git log -1 --pretty=%at eda422b90c3dde4a872a13e6b78a8f802c40d0db
2021-03-24 00:57:47,192 autosynth [DEBUG] > Running: git log -1 --pretty=%at a839c7d88ae571e2ce13e8965babea4b2b84a40f
2021-03-24 00:57:47,195 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1efbe51eaa8b153bdef51f8715ff75a71f409004
2021-03-24 00:57:47,198 autosynth [DEBUG] > Running: git log -1 --pretty=%at 78437c732a60c64895778697b078497b0988346c
2021-03-24 00:57:47,201 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-24 00:57:47,204 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-24 00:57:47,206 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-24 00:57:47,209 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-24 00:57:47,212 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-24 00:57:47,217 autosynth [DEBUG] > Running: git checkout 0a662a6daad0517fb0e01732c9dd7f9d1852924c
Note: checking out '0a662a6daad0517fb0e01732c9dd7f9d1852924c'.

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 0a662a6 chore(samples): fix typo
2021-03-24 00:57:47,230 autosynth [DEBUG] > Running: git checkout 86ed43d4f56e6404d068e62e497029018879c771
Note: checking out '86ed43d4f56e6404d068e62e497029018879c771'.

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 86ed43d test(python): use constraints files to check dependency lower bounds (#869)
2021-03-24 00:57:47,235 autosynth [DEBUG] > Running: git checkout 551ddbb55b96147012c00b66250dd5907556807c
Note: checking out '551ddbb55b96147012c00b66250dd5907556807c'.

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 551ddbb5 feat: include original user query in WebhookRequest; add GetTextCaseresult API. doc: clarify resource format for session response.
2021-03-24 00:57:47,248 autosynth [DEBUG] > Running: git branch -f autosynth-102
2021-03-24 00:57:47,252 autosynth [DEBUG] > Running: git checkout autosynth-102
Switched to branch 'autosynth-102'
2021-03-24 00:57:47,256 autosynth [INFO] > Running synthtool
2021-03-24 00:57:47,256 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-24 00:57:47,256 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/102/sponge_log.log
2021-03-24 00:57:47,258 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-24 00:57:47,483 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-102
nothing to commit, working tree clean
2021-03-24 00:57:47,620 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-24 00:57:47,625 synthtool [DEBUG] > Ensuring dependencies.
2021-03-24 00:57:47,634 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-24 00:57:47,638 synthtool [DEBUG] > Cloning googleapis.
2021-03-24 00:57:47,638 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-24 00:57:47,642 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-24 00:57:47,645 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-24 00:57:53,840 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmp1stducvt/google/cloud/pubsub_v1/proto/schema.proto
2021-03-24 00:57:53,840 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmp1stducvt/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-24 00:57:53,841 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmp1stducvt/google/cloud/pubsub_v1/proto.
2021-03-24 00:57:53,841 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp1stducvt.
2021-03-24 00:57:53,968 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-24 00:57:53,969 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-24 00:57:53,971 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-24 00:57:53,973 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-24 00:57:53,974 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-24 00:57:53,975 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-24 00:57:53,976 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-24 00:57:53,977 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-24 00:57:53,978 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-24 00:57:53,979 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-24 00:57:53,980 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-24 00:57:54,028 autosynth [ERROR] > Synthesis failed
2021-03-24 00:57:54,028 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0a662a6 chore(samples): fix typo
2021-03-24 00:57:54,042 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-24 00:57:54,052 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

og -1 --pretty=%at a839c7d88ae571e2ce13e8965babea4b2b84a40f
2021-03-25 00:47:42,160 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1efbe51eaa8b153bdef51f8715ff75a71f409004
2021-03-25 00:47:42,164 autosynth [DEBUG] > Running: git log -1 --pretty=%at 78437c732a60c64895778697b078497b0988346c
2021-03-25 00:47:42,167 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-25 00:47:42,170 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-25 00:47:42,174 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-25 00:47:42,178 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-25 00:47:42,181 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-25 00:47:42,185 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-25 00:47:42,188 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-25 00:47:42,192 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-25 00:47:42,199 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-25 00:47:42,213 autosynth [DEBUG] > Running: git checkout bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
Note: checking out 'bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef'.

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 bb854b6 chore(java): detect sample-secrets in build.sh (#998)
2021-03-25 00:47:42,220 autosynth [DEBUG] > Running: git checkout 15c5e21948ff6fbe41f91bdf04f6252f91a12d59
Note: checking out '15c5e21948ff6fbe41f91bdf04f6252f91a12d59'.

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 15c5e219 feat: introduce google.type.Decimal
2021-03-25 00:47:42,236 autosynth [DEBUG] > Running: git branch -f autosynth-111
2021-03-25 00:47:42,241 autosynth [DEBUG] > Running: git checkout autosynth-111
Switched to branch 'autosynth-111'
2021-03-25 00:47:42,247 autosynth [INFO] > Running synthtool
2021-03-25 00:47:42,247 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-25 00:47:42,247 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/111/sponge_log.log
2021-03-25 00:47:42,250 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-25 00:47:42,499 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-111
nothing to commit, working tree clean
2021-03-25 00:47:42,652 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-25 00:47:42,658 synthtool [DEBUG] > Ensuring dependencies.
2021-03-25 00:47:42,669 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-25 00:47:42,673 synthtool [DEBUG] > Cloning googleapis.
2021-03-25 00:47:42,674 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-25 00:47:42,678 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-25 00:47:42,682 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-25 00:53:16,457 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpiudx9yy_/google/cloud/pubsub_v1/proto/schema.proto
2021-03-25 00:53:16,458 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpiudx9yy_/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-25 00:53:16,458 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpiudx9yy_/google/cloud/pubsub_v1/proto.
2021-03-25 00:53:16,458 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpiudx9yy_.
2021-03-25 00:53:16,613 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-25 00:53:16,615 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-25 00:53:16,618 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-25 00:53:16,619 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-25 00:53:16,621 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-25 00:53:16,624 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-25 00:53:16,625 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-25 00:53:16,626 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-25 00:53:16,628 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-25 00:53:16,630 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-25 00:53:16,632 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-25 00:53:16,696 autosynth [ERROR] > Synthesis failed
2021-03-25 00:53:16,696 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-25 00:53:16,713 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-25 00:53:16,725 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

c732a60c64895778697b078497b0988346c
2021-03-26 00:52:25,377 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-26 00:52:25,380 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-26 00:52:25,383 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-26 00:52:25,386 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-26 00:52:25,389 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-26 00:52:25,391 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-26 00:52:25,394 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-26 00:52:25,397 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-26 00:52:25,400 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-26 00:52:25,403 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-26 00:52:25,406 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-26 00:52:25,410 autosynth [DEBUG] > Running: git checkout 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
Note: checking out '60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef'.

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 60fc32c chore: let snippet-bot ignore files under test/fixtures (#999)
2021-03-26 00:52:25,416 autosynth [DEBUG] > Running: git checkout c3918feb2415878ac428d728fb473ed4187b7819
Note: checking out 'c3918feb2415878ac428d728fb473ed4187b7819'.

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 c3918feb chore: migrate metastore to the PHP microgenerator
2021-03-26 00:52:25,428 autosynth [DEBUG] > Running: git branch -f autosynth-140
2021-03-26 00:52:25,431 autosynth [DEBUG] > Running: git checkout autosynth-140
Switched to branch 'autosynth-140'
2021-03-26 00:52:25,435 autosynth [INFO] > Running synthtool
2021-03-26 00:52:25,435 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-26 00:52:25,435 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/140/sponge_log.log
2021-03-26 00:52:25,437 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-26 00:52:25,658 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-140
nothing to commit, working tree clean
2021-03-26 00:52:25,791 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-26 00:52:25,796 synthtool [DEBUG] > Ensuring dependencies.
2021-03-26 00:52:25,806 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-26 00:52:25,810 synthtool [DEBUG] > Cloning googleapis.
2021-03-26 00:52:25,810 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-26 00:52:25,813 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-26 00:52:25,817 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-26 00:52:31,984 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpihgjmux0/google/cloud/pubsub_v1/proto/schema.proto
2021-03-26 00:52:31,984 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpihgjmux0/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-26 00:52:31,985 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpihgjmux0/google/cloud/pubsub_v1/proto.
2021-03-26 00:52:31,985 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpihgjmux0.
2021-03-26 00:52:32,110 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-26 00:52:32,111 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-26 00:52:32,113 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-26 00:52:32,114 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-26 00:52:32,115 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-26 00:52:32,116 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-26 00:52:32,117 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-26 00:52:32,118 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-26 00:52:32,119 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-26 00:52:32,120 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-26 00:52:32,121 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-26 00:52:32,172 autosynth [ERROR] > Synthesis failed
2021-03-26 00:52:32,173 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-26 00:52:32,186 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-26 00:52:32,196 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

c732a60c64895778697b078497b0988346c
2021-03-27 00:46:44,195 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-27 00:46:44,198 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-27 00:46:44,201 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-27 00:46:44,204 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-27 00:46:44,207 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-27 00:46:44,210 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-27 00:46:44,213 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-27 00:46:44,216 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-27 00:46:44,219 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-27 00:46:44,221 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-27 00:46:44,225 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-27 00:46:44,238 autosynth [DEBUG] > Running: git checkout 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
Note: checking out '60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef'.

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 60fc32c chore: let snippet-bot ignore files under test/fixtures (#999)
2021-03-27 00:46:44,337 autosynth [DEBUG] > Running: git checkout c3918feb2415878ac428d728fb473ed4187b7819
Note: checking out 'c3918feb2415878ac428d728fb473ed4187b7819'.

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 c3918feb chore: migrate metastore to the PHP microgenerator
2021-03-27 00:46:44,492 autosynth [DEBUG] > Running: git branch -f autosynth-140
2021-03-27 00:46:44,495 autosynth [DEBUG] > Running: git checkout autosynth-140
Switched to branch 'autosynth-140'
2021-03-27 00:46:44,500 autosynth [INFO] > Running synthtool
2021-03-27 00:46:44,500 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-27 00:46:44,500 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/140/sponge_log.log
2021-03-27 00:46:44,504 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-27 00:46:44,736 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-140
nothing to commit, working tree clean
2021-03-27 00:46:44,908 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-27 00:46:44,912 synthtool [DEBUG] > Ensuring dependencies.
2021-03-27 00:46:44,921 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-27 00:46:44,924 synthtool [DEBUG] > Cloning googleapis.
2021-03-27 00:46:44,925 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-27 00:46:44,928 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-27 00:46:44,931 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-27 00:52:40,270 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpv24ecf8u/google/cloud/pubsub_v1/proto/schema.proto
2021-03-27 00:52:40,270 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpv24ecf8u/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-27 00:52:40,271 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpv24ecf8u/google/cloud/pubsub_v1/proto.
2021-03-27 00:52:40,271 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpv24ecf8u.
2021-03-27 00:52:40,396 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-27 00:52:40,397 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-27 00:52:40,400 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-27 00:52:40,400 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-27 00:52:40,401 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-27 00:52:40,402 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-27 00:52:40,403 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-27 00:52:40,404 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-27 00:52:40,406 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-27 00:52:40,407 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-27 00:52:40,408 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-27 00:52:40,457 autosynth [ERROR] > Synthesis failed
2021-03-27 00:52:40,458 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-27 00:52:40,472 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-27 00:52:40,482 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

c732a60c64895778697b078497b0988346c
2021-03-28 00:46:52,386 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-28 00:46:52,389 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-28 00:46:52,392 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-28 00:46:52,395 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-28 00:46:52,398 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-28 00:46:52,401 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-28 00:46:52,404 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-28 00:46:52,406 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-28 00:46:52,409 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-28 00:46:52,412 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-28 00:46:52,416 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-28 00:46:52,429 autosynth [DEBUG] > Running: git checkout 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
Note: checking out '60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef'.

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 60fc32c chore: let snippet-bot ignore files under test/fixtures (#999)
2021-03-28 00:46:52,530 autosynth [DEBUG] > Running: git checkout c3918feb2415878ac428d728fb473ed4187b7819
Note: checking out 'c3918feb2415878ac428d728fb473ed4187b7819'.

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 c3918feb chore: migrate metastore to the PHP microgenerator
2021-03-28 00:46:52,671 autosynth [DEBUG] > Running: git branch -f autosynth-140
2021-03-28 00:46:52,675 autosynth [DEBUG] > Running: git checkout autosynth-140
Switched to branch 'autosynth-140'
2021-03-28 00:46:52,679 autosynth [INFO] > Running synthtool
2021-03-28 00:46:52,680 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-28 00:46:52,680 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/140/sponge_log.log
2021-03-28 00:46:52,683 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-28 00:46:52,927 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-140
nothing to commit, working tree clean
2021-03-28 00:46:53,091 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-28 00:46:53,096 synthtool [DEBUG] > Ensuring dependencies.
2021-03-28 00:46:53,105 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-28 00:46:53,110 synthtool [DEBUG] > Cloning googleapis.
2021-03-28 00:46:53,111 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-28 00:46:53,115 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-28 00:46:53,119 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-28 00:54:01,638 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmptjik_i34/google/cloud/pubsub_v1/proto/schema.proto
2021-03-28 00:54:01,639 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmptjik_i34/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-28 00:54:01,639 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmptjik_i34/google/cloud/pubsub_v1/proto.
2021-03-28 00:54:01,640 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmptjik_i34.
2021-03-28 00:54:01,796 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-28 00:54:01,798 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-28 00:54:01,800 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-28 00:54:01,801 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-28 00:54:01,802 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-28 00:54:01,803 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-28 00:54:01,805 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-28 00:54:01,806 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-28 00:54:01,807 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-28 00:54:01,809 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-28 00:54:01,811 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-28 00:54:01,868 autosynth [ERROR] > Synthesis failed
2021-03-28 00:54:01,868 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-28 00:54:01,886 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-28 00:54:01,896 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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

5778697b078497b0988346c
2021-03-29 00:46:59,064 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8b13da943497f75c5303700bff5aabdd85d939e0
2021-03-29 00:46:59,067 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c8dd7ee768292f933012d3a69a5b4676404cda
2021-03-29 00:46:59,070 autosynth [DEBUG] > Running: git log -1 --pretty=%at c84c8f156e09702e1c8946bfb9746e6f5892cf27
2021-03-29 00:46:59,073 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-29 00:46:59,076 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-29 00:46:59,078 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-29 00:46:59,081 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-29 00:46:59,084 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-29 00:46:59,087 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-29 00:46:59,090 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-29 00:46:59,093 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-29 00:46:59,106 autosynth [DEBUG] > Running: git checkout 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
Note: checking out '60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef'.

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 60fc32c chore: let snippet-bot ignore files under test/fixtures (#999)
2021-03-29 00:46:59,208 autosynth [DEBUG] > Running: git checkout 6ce40ff8faf68226782f507ca6b2d497a77044de
Note: checking out '6ce40ff8faf68226782f507ca6b2d497a77044de'.

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 6ce40ff8 feat: add tagging request options
2021-03-29 00:46:59,349 autosynth [DEBUG] > Running: git branch -f autosynth-141
2021-03-29 00:46:59,352 autosynth [DEBUG] > Running: git checkout autosynth-141
Switched to branch 'autosynth-141'
2021-03-29 00:46:59,357 autosynth [INFO] > Running synthtool
2021-03-29 00:46:59,357 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-29 00:46:59,357 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/141/sponge_log.log
2021-03-29 00:46:59,360 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-29 00:46:59,583 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-141
nothing to commit, working tree clean
2021-03-29 00:46:59,731 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-29 00:46:59,736 synthtool [DEBUG] > Ensuring dependencies.
2021-03-29 00:46:59,745 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-29 00:46:59,749 synthtool [DEBUG] > Cloning googleapis.
2021-03-29 00:46:59,749 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-29 00:46:59,752 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-29 00:46:59,756 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-29 00:53:00,792 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmpf20ngi5e/google/cloud/pubsub_v1/proto/schema.proto
2021-03-29 00:53:00,793 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmpf20ngi5e/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-29 00:53:00,793 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmpf20ngi5e/google/cloud/pubsub_v1/proto.
2021-03-29 00:53:00,793 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpf20ngi5e.
2021-03-29 00:53:00,934 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-29 00:53:00,937 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-29 00:53:00,939 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-29 00:53:00,941 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-29 00:53:00,942 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-29 00:53:00,943 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-29 00:53:00,944 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-29 00:53:00,945 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-29 00:53:00,947 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-29 00:53:00,948 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-29 00:53:00,950 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-29 00:53:01,025 autosynth [ERROR] > Synthesis failed
2021-03-29 00:53:01,025 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-29 00:53:01,043 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-29 00:53:01,054 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing pubsub-v1-py.tar.gz
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
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

%at f5c5904fb0c6aa3b3730eadf4e5a4485afc65726
2021-03-30 00:47:16,566 autosynth [DEBUG] > Running: git log -1 --pretty=%at 86ed43d4f56e6404d068e62e497029018879c771
2021-03-30 00:47:16,569 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7a3df8832c7c64c482874c5dbebfd0a732b4938b
2021-03-30 00:47:16,572 autosynth [DEBUG] > Running: git log -1 --pretty=%at ab680965e39c935ce930875001f0ab03b5bc5e5d
2021-03-30 00:47:16,575 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-30 00:47:16,578 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-30 00:47:16,581 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-30 00:47:16,584 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3713f07b86adf7578ef24f0c456f5ff38dae85d2
2021-03-30 00:47:16,587 autosynth [DEBUG] > Running: git log -1 --pretty=%at 83b8f9c243f22a20b86c9b3e19e8c214b69aea97
2021-03-30 00:47:16,590 autosynth [DEBUG] > Running: git log -1 --pretty=%at 328870c3f64c64d4576ac1d6e406e88acce4e58a
2021-03-30 00:47:16,593 autosynth [DEBUG] > Running: git log -1 --pretty=%at 572ef8f70edd9041f5bcfa71511aed6aecfc2098
2021-03-30 00:47:16,596 autosynth [DEBUG] > Running: git checkout d40d02713c8c189937ae5c21d099b88a3131a59f
Note: checking out 'd40d02713c8c189937ae5c21d099b88a3131a59f'.

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 d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-30 00:47:16,610 autosynth [DEBUG] > Running: git checkout 572ef8f70edd9041f5bcfa71511aed6aecfc2098
Note: checking out '572ef8f70edd9041f5bcfa71511aed6aecfc2098'.

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 572ef8f chore: remove staging bucket v2 (#1006)
2021-03-30 00:47:16,617 autosynth [DEBUG] > Running: git checkout 3a8abe551ea1604a528922d16a9799e4c5660ea7
Note: checking out '3a8abe551ea1604a528922d16a9799e4c5660ea7'.

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 3a8abe55 chore: rename python package to `google-cloud-resource-settings`
2021-03-30 00:47:16,761 autosynth [DEBUG] > Running: git branch -f autosynth-150
2021-03-30 00:47:16,767 autosynth [DEBUG] > Running: git checkout autosynth-150
Switched to branch 'autosynth-150'
2021-03-30 00:47:16,774 autosynth [INFO] > Running synthtool
2021-03-30 00:47:16,775 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-30 00:47:16,775 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/150/sponge_log.log
2021-03-30 00:47:16,780 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-30 00:47:17,023 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-150
nothing to commit, working tree clean
2021-03-30 00:47:17,176 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-30 00:47:17,181 synthtool [DEBUG] > Ensuring dependencies.
2021-03-30 00:47:17,191 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-30 00:47:17,194 synthtool [DEBUG] > Cloning googleapis.
2021-03-30 00:47:17,195 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-30 00:47:17,198 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-30 00:47:17,202 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-30 00:53:31,904 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmprm10qibs/google/cloud/pubsub_v1/proto/schema.proto
2021-03-30 00:53:31,905 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmprm10qibs/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-30 00:53:31,905 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmprm10qibs/google/cloud/pubsub_v1/proto.
2021-03-30 00:53:31,905 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmprm10qibs.
2021-03-30 00:53:32,047 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-30 00:53:32,048 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-30 00:53:32,050 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-30 00:53:32,051 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-30 00:53:32,052 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-30 00:53:32,053 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-30 00:53:32,054 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-30 00:53:32,055 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-30 00:53:32,057 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-30 00:53:32,058 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-30 00:53:32,059 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-30 00:53:32,125 autosynth [ERROR] > Synthesis failed
2021-03-30 00:53:32,126 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d40d027 fix: move await_msg_callbacks flag to subscribe() method (#320)
2021-03-30 00:53:32,143 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-30 00:53:32,155 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 yoshi-automation added the 🚨 This issue needs some love. label Mar 30, 2021
@yoshi-automation
Copy link
Contributor Author

Autosynth is still having trouble generating python-pubsub. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-pubsub API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:


2021-03-31 00:53:19,558 autosynth [DEBUG] > Running: git log -1 --pretty=%at bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef
2021-03-31 00:53:19,561 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6c0f808a12135f735209985327ee10e28b6d673f
2021-03-31 00:53:19,564 autosynth [DEBUG] > Running: git log -1 --pretty=%at 60fc32cc950c20cfdd774b846a4a7dc5d1e4d0ef
2021-03-31 00:53:19,567 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3713f07b86adf7578ef24f0c456f5ff38dae85d2
2021-03-31 00:53:19,570 autosynth [DEBUG] > Running: git log -1 --pretty=%at 83b8f9c243f22a20b86c9b3e19e8c214b69aea97
2021-03-31 00:53:19,573 autosynth [DEBUG] > Running: git log -1 --pretty=%at 328870c3f64c64d4576ac1d6e406e88acce4e58a
2021-03-31 00:53:19,576 autosynth [DEBUG] > Running: git log -1 --pretty=%at 572ef8f70edd9041f5bcfa71511aed6aecfc2098
2021-03-31 00:53:19,579 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4dc31ac1ece23dc555f574aa701e5857b5bf2d3f
2021-03-31 00:53:19,582 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4501974ad08b5d693311457e2ea4ce845676e329
2021-03-31 00:53:19,585 autosynth [DEBUG] > Running: git checkout b035b86fe59e336d30e32bf67809cc2390e75889
Note: checking out 'b035b86fe59e336d30e32bf67809cc2390e75889'.

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 b035b86 fix: Remove EXPERIMENTAL tag for ordering keys in publisher/client.py (#324)
2021-03-31 00:53:19,598 autosynth [DEBUG] > Running: git checkout 4501974ad08b5d693311457e2ea4ce845676e329
Note: checking out '4501974ad08b5d693311457e2ea4ce845676e329'.

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 4501974 build(python): update docfx job to use new plugin (#1011)
2021-03-31 00:53:19,605 autosynth [DEBUG] > Running: git checkout 95dd24960cf9f794ef583e59ad9f1fabe1c4a924
Note: checking out '95dd24960cf9f794ef583e59ad9f1fabe1c4a924'.

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 95dd2496 feat: add `kind` field which is used to distinguish between response types feat: add `potentially_thresholded_requests_per_hour` field to `PropertyQuota`
2021-03-31 00:53:19,622 autosynth [DEBUG] > Running: git branch -f autosynth-159
2021-03-31 00:53:19,625 autosynth [DEBUG] > Running: git checkout autosynth-159
Switched to branch 'autosynth-159'
2021-03-31 00:53:19,630 autosynth [INFO] > Running synthtool
2021-03-31 00:53:19,630 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-31 00:53:19,630 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-pubsub/159/sponge_log.log
2021-03-31 00:53:19,632 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-31 00:53:19,851 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-pubsub/synth.py.
On branch autosynth-159
nothing to commit, working tree clean
2021-03-31 00:53:19,984 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-31 00:53:19,989 synthtool [DEBUG] > Ensuring dependencies.
2021-03-31 00:53:19,999 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-03-31 00:53:20,002 synthtool [DEBUG] > Cloning googleapis.
2021-03-31 00:53:20,003 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-03-31 00:53:20,006 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-03-31 00:53:20,010 synthtool [DEBUG] > Generating code for: //google/pubsub/v1:pubsub-v1-py.
2021-03-31 00:53:25,904 synthtool [DEBUG] > Copy: google/pubsub/v1/schema.proto to /tmpfs/tmp/tmp8kswahc9/google/cloud/pubsub_v1/proto/schema.proto
2021-03-31 00:53:25,905 synthtool [DEBUG] > Copy: google/pubsub/v1/pubsub.proto to /tmpfs/tmp/tmp8kswahc9/google/cloud/pubsub_v1/proto/pubsub.proto
2021-03-31 00:53:25,905 synthtool [SUCCESS] > Placed proto files into /tmpfs/tmp/tmp8kswahc9/google/cloud/pubsub_v1/proto.
2021-03-31 00:53:25,905 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp8kswahc9.
2021-03-31 00:53:26,037 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/subscriber/client.py.
2021-03-31 00:53:26,038 synthtool [INFO] > Replaced "DEFAULT_ENDPOINT = 'pubsub\\.googleapis\\.com'" in google/pubsub_v1/services/publisher/client.py.
2021-03-31 00:53:26,041 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py.
2021-03-31 00:53:26,042 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/subscriber/transports/grpc.py.
2021-03-31 00:53:26,043 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py.
2021-03-31 00:53:26,043 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/schema_service/transports/grpc.py.
2021-03-31 00:53:26,044 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc_asyncio.py.
2021-03-31 00:53:26,045 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in google/pubsub_v1/services/publisher/transports/grpc.py.
2021-03-31 00:53:26,047 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_subscriber.py.
2021-03-31 00:53:26,048 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_publisher.py.
2021-03-31 00:53:26,049 synthtool [INFO] > Replaced 'options=\\[.*?\\]' in tests/unit/gapic/pubsub_v1/test_schema_service.py.
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-pubsub/synth.py", line 80, in <module>
    raise Exception("Expected replacements for gRPC channel options not made.")
Exception: Expected replacements for gRPC channel options not made.
2021-03-31 00:53:26,108 autosynth [ERROR] > Synthesis failed
2021-03-31 00:53:26,108 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b035b86 fix: Remove EXPERIMENTAL tag for ordering keys in publisher/client.py (#324)
2021-03-31 00:53:26,122 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-31 00:53:26,133 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing pubsub-v1-py.tar.gz
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
Copy link
Contributor Author

Autosynth passed, closing! 💚

@plamut
Copy link
Contributor

plamut commented Apr 1, 2021

Was fixed by #355 as a side effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants