Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Synthesis failed for python-recaptcha-enterprise #28

Closed
yoshi-automation opened this issue Jan 8, 2021 · 11 comments · Fixed by #30
Closed

Synthesis failed for python-recaptcha-enterprise #28

yoshi-automation opened this issue Jan 8, 2021 · 11 comments · Fixed by #30
Assignees
Labels
api: recaptchaenterprise Issues related to the googleapis/python-recaptcha-enterprise 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-recaptcha-enterprise. 💔

Here's the output from running synth.py:

=%at 68742c6016bf0d16948a572633d17955a8737414
2021-01-08 07:23:58,050 autosynth [DEBUG] > Running: git log -1 --pretty=%at 91b34d7ffc37581e03eec8b16d08b84e46b82bbe
2021-01-08 07:23:58,053 autosynth [DEBUG] > Running: git log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-08 07:23:58,056 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-08 07:23:58,059 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-08 07:23:58,062 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-08 07:23:58,065 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-08 07:23:58,068 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-08 07:23:58,071 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-08 07:23:58,073 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-08 07:23:58,076 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-08 07:23:58,079 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-08 07:23:58,082 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-08 07:23:58,085 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-08 07:23:58,088 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-08 07:23:58,091 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-08 07:23:58,094 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-08 07:23:58,096 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-08 07:23:58,099 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-08 07:23:58,102 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-08 07:23:58,105 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-08 07:23:58,108 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-08 07:23:58,111 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-08 07:23:58,114 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-08 07:23:58,116 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-08 07:23:58,119 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-08 07:23:58,122 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-08 07:23:58,125 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-08 07:23:58,128 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-08 07:23:58,131 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-08 07:23:58,134 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-08 07:23:58,139 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-08 07:23:58,144 autosynth [DEBUG] > Running: git checkout 67f09bf301083798e7220137723222eb00b8f88a
Note: checking out '67f09bf301083798e7220137723222eb00b8f88a'.

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 67f09bf feat(java): add helper to remove methods in post processing (#883)
2021-01-08 07:23:58,149 autosynth [DEBUG] > Running: git checkout b241bbc1ad920771707fe03e4cedd4e8c492e143
Note: checking out 'b241bbc1ad920771707fe03e4cedd4e8c492e143'.

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 b241bbc1 feat: Added OAuth scope for the service
2021-01-08 07:23:58,199 autosynth [DEBUG] > Running: git branch -f autosynth-1008
2021-01-08 07:23:58,202 autosynth [DEBUG] > Running: git checkout autosynth-1008
Switched to branch 'autosynth-1008'
2021-01-08 07:23:58,205 autosynth [INFO] > Running synthtool
2021-01-08 07:23:58,206 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-08 07:23:58,206 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1008/sponge_log.log
2021-01-08 07:23:58,207 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-08 07:23:58,420 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1008
nothing to commit, working tree clean
2021-01-08 07:23:58,549 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-08 07:23:58,553 synthtool [DEBUG] > Ensuring dependencies.
2021-01-08 07:23:58,562 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-08 07:23:58,621 autosynth [ERROR] > Synthesis failed
2021-01-08 07:23:58,621 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-08 07:23:58,626 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-08 07:23:58,630 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 Jan 8, 2021
@product-auto-label product-auto-label bot added the api: recaptchaenterprise Issues related to the googleapis/python-recaptcha-enterprise API. label Jan 8, 2021
@yoshi-automation
Copy link
Contributor Author

Autosynth is still having trouble generating python-recaptcha-enterprise. 😭

Here's the output from running synth.py:

 log -1 --pretty=%at 91b34d7ffc37581e03eec8b16d08b84e46b82bbe
2021-01-09 06:29:46,126 autosynth [DEBUG] > Running: git log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-09 06:29:46,129 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-09 06:29:46,132 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-09 06:29:46,135 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-09 06:29:46,138 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-09 06:29:46,141 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-09 06:29:46,144 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-09 06:29:46,147 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-09 06:29:46,150 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-09 06:29:46,153 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-09 06:29:46,156 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-09 06:29:46,159 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-09 06:29:46,162 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-09 06:29:46,165 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-09 06:29:46,168 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-09 06:29:46,171 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-09 06:29:46,174 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-09 06:29:46,177 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-09 06:29:46,180 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-09 06:29:46,183 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-09 06:29:46,186 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-09 06:29:46,189 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-09 06:29:46,192 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-09 06:29:46,195 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-09 06:29:46,198 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-09 06:29:46,201 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-09 06:29:46,204 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-09 06:29:46,207 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-09 06:29:46,210 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-09 06:29:46,213 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-09 06:29:46,218 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-09 06:29:46,223 autosynth [DEBUG] > Running: git checkout fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
Note: checking out 'fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483'.

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 fb53b6f chore(python): skip docfx in main presubmit (#889)
2021-01-09 06:29:46,229 autosynth [DEBUG] > Running: git checkout b241bbc1ad920771707fe03e4cedd4e8c492e143
Note: checking out 'b241bbc1ad920771707fe03e4cedd4e8c492e143'.

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 b241bbc1 feat: Added OAuth scope for the service
2021-01-09 06:29:46,242 autosynth [DEBUG] > Running: git branch -f autosynth-1009
2021-01-09 06:29:46,246 autosynth [DEBUG] > Running: git checkout autosynth-1009
Switched to branch 'autosynth-1009'
2021-01-09 06:29:46,250 autosynth [INFO] > Running synthtool
2021-01-09 06:29:46,250 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-09 06:29:46,250 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1009/sponge_log.log
2021-01-09 06:29:46,252 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-09 06:29:46,472 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1009
nothing to commit, working tree clean
2021-01-09 06:29:46,607 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-09 06:29:46,612 synthtool [DEBUG] > Ensuring dependencies.
2021-01-09 06:29:46,622 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-09 06:29:46,679 autosynth [ERROR] > Synthesis failed
2021-01-09 06:29:46,679 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-09 06:29:46,684 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-09 06:29:46,688 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

-1 --pretty=%at 91b34d7ffc37581e03eec8b16d08b84e46b82bbe
2021-01-10 06:20:15,186 autosynth [DEBUG] > Running: git log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-10 06:20:15,189 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-10 06:20:15,192 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-10 06:20:15,195 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-10 06:20:15,198 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-10 06:20:15,201 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-10 06:20:15,204 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-10 06:20:15,207 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-10 06:20:15,210 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-10 06:20:15,213 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-10 06:20:15,216 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-10 06:20:15,219 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-10 06:20:15,222 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-10 06:20:15,225 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-10 06:20:15,228 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-10 06:20:15,231 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-10 06:20:15,234 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-10 06:20:15,237 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-10 06:20:15,240 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-10 06:20:15,243 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-10 06:20:15,246 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-10 06:20:15,249 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-10 06:20:15,252 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-10 06:20:15,255 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-10 06:20:15,258 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-10 06:20:15,261 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-10 06:20:15,264 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-10 06:20:15,267 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-10 06:20:15,270 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-10 06:20:15,273 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-10 06:20:15,279 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-10 06:20:15,284 autosynth [DEBUG] > Running: git checkout fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
Note: checking out 'fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483'.

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 fb53b6f chore(python): skip docfx in main presubmit (#889)
2021-01-10 06:20:15,289 autosynth [DEBUG] > Running: git checkout 91e206bcfeaf8948ea03fe3cb1b7616108496cd3
Note: checking out '91e206bcfeaf8948ea03fe3cb1b7616108496cd3'.

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 91e206bc chore: update gapic-generator-java to 0.0.18
2021-01-10 06:20:15,304 autosynth [DEBUG] > Running: git branch -f autosynth-1010
2021-01-10 06:20:15,308 autosynth [DEBUG] > Running: git checkout autosynth-1010
Switched to branch 'autosynth-1010'
2021-01-10 06:20:15,312 autosynth [INFO] > Running synthtool
2021-01-10 06:20:15,312 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-10 06:20:15,312 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1010/sponge_log.log
2021-01-10 06:20:15,314 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-10 06:20:15,535 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1010
nothing to commit, working tree clean
2021-01-10 06:20:15,671 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-10 06:20:15,677 synthtool [DEBUG] > Ensuring dependencies.
2021-01-10 06:20:15,686 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-10 06:20:15,749 autosynth [ERROR] > Synthesis failed
2021-01-10 06:20:15,749 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-10 06:20:15,754 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-10 06:20:15,758 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

-1 --pretty=%at 91b34d7ffc37581e03eec8b16d08b84e46b82bbe
2021-01-11 06:17:58,407 autosynth [DEBUG] > Running: git log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-11 06:17:58,410 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-11 06:17:58,413 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-11 06:17:58,416 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-11 06:17:58,419 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-11 06:17:58,421 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-11 06:17:58,424 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-11 06:17:58,427 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-11 06:17:58,430 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-11 06:17:58,433 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-11 06:17:58,436 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-11 06:17:58,439 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-11 06:17:58,442 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-11 06:17:58,445 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-11 06:17:58,448 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-11 06:17:58,451 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-11 06:17:58,454 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-11 06:17:58,457 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-11 06:17:58,460 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-11 06:17:58,463 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-11 06:17:58,466 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-11 06:17:58,469 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-11 06:17:58,472 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-11 06:17:58,474 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-11 06:17:58,477 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-11 06:17:58,480 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-11 06:17:58,483 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-11 06:17:58,486 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-11 06:17:58,489 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-11 06:17:58,492 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-11 06:17:58,497 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-11 06:17:58,502 autosynth [DEBUG] > Running: git checkout fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
Note: checking out 'fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483'.

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 fb53b6f chore(python): skip docfx in main presubmit (#889)
2021-01-11 06:17:58,507 autosynth [DEBUG] > Running: git checkout 91e206bcfeaf8948ea03fe3cb1b7616108496cd3
Note: checking out '91e206bcfeaf8948ea03fe3cb1b7616108496cd3'.

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 91e206bc chore: update gapic-generator-java to 0.0.18
2021-01-11 06:17:58,521 autosynth [DEBUG] > Running: git branch -f autosynth-1010
2021-01-11 06:17:58,524 autosynth [DEBUG] > Running: git checkout autosynth-1010
Switched to branch 'autosynth-1010'
2021-01-11 06:17:58,528 autosynth [INFO] > Running synthtool
2021-01-11 06:17:58,528 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-11 06:17:58,528 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1010/sponge_log.log
2021-01-11 06:17:58,530 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-11 06:17:58,748 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1010
nothing to commit, working tree clean
2021-01-11 06:17:58,881 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-11 06:17:58,887 synthtool [DEBUG] > Ensuring dependencies.
2021-01-11 06:17:58,896 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-11 06:17:58,951 autosynth [ERROR] > Synthesis failed
2021-01-11 06:17:58,951 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-11 06:17:58,956 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-11 06:17:58,960 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

34f4645f2
2021-01-12 06:29:20,168 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-12 06:29:20,171 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-12 06:29:20,174 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-12 06:29:20,176 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-12 06:29:20,179 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-12 06:29:20,182 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-12 06:29:20,185 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-12 06:29:20,188 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-12 06:29:20,191 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-12 06:29:20,194 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-12 06:29:20,197 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-12 06:29:20,200 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-12 06:29:20,202 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-12 06:29:20,206 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-12 06:29:20,209 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-12 06:29:20,212 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-12 06:29:20,215 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-12 06:29:20,217 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-12 06:29:20,220 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-12 06:29:20,223 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-12 06:29:20,226 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-12 06:29:20,229 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-12 06:29:20,232 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-12 06:29:20,234 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-12 06:29:20,237 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-12 06:29:20,240 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-12 06:29:20,243 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-12 06:29:20,246 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-12 06:29:20,249 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-12 06:29:20,252 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-12 06:29:20,257 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-12 06:29:20,262 autosynth [DEBUG] > Running: git checkout 16ec872dd898d7de6e1822badfac32484b5d9031
Note: checking out '16ec872dd898d7de6e1822badfac32484b5d9031'.

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 16ec872 chore: add missing quotation mark (#900)
2021-01-12 06:29:20,268 autosynth [DEBUG] > Running: git checkout c8bfd324b41ad1f6f65fed124572f92fe116517b
Note: checking out 'c8bfd324b41ad1f6f65fed124572f92fe116517b'.

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 c8bfd324 chore: use name google.cloud.bigquery_storage namespace to avoid conflicts with google.cloud.bigquery
2021-01-12 06:29:20,282 autosynth [DEBUG] > Running: git branch -f autosynth-1013
2021-01-12 06:29:20,285 autosynth [DEBUG] > Running: git checkout autosynth-1013
Switched to branch 'autosynth-1013'
2021-01-12 06:29:20,290 autosynth [INFO] > Running synthtool
2021-01-12 06:29:20,290 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-12 06:29:20,290 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1013/sponge_log.log
2021-01-12 06:29:20,291 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-12 06:29:20,514 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1013
nothing to commit, working tree clean
2021-01-12 06:29:20,648 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-12 06:29:20,653 synthtool [DEBUG] > Ensuring dependencies.
2021-01-12 06:29:20,662 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-12 06:29:20,724 autosynth [ERROR] > Synthesis failed
2021-01-12 06:29:20,724 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-12 06:29:20,729 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-12 06:29:20,733 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

t 943bb78606d035001123030067dffcc34f4645f2
2021-01-13 06:26:53,051 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-13 06:26:53,054 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-13 06:26:53,057 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-13 06:26:53,060 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-13 06:26:53,064 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-13 06:26:53,067 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-13 06:26:53,070 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-13 06:26:53,073 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-13 06:26:53,077 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-13 06:26:53,080 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-13 06:26:53,084 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-13 06:26:53,087 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-13 06:26:53,090 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-13 06:26:53,093 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-13 06:26:53,097 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-13 06:26:53,100 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-13 06:26:53,104 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-13 06:26:53,108 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-13 06:26:53,112 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-13 06:26:53,115 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-13 06:26:53,119 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-13 06:26:53,123 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-13 06:26:53,126 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-13 06:26:53,130 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-13 06:26:53,133 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-13 06:26:53,136 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-13 06:26:53,140 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-13 06:26:53,143 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-13 06:26:53,147 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-13 06:26:53,150 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-13 06:26:53,156 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-13 06:26:53,162 autosynth [DEBUG] > Running: git checkout 16ec872dd898d7de6e1822badfac32484b5d9031
Note: checking out '16ec872dd898d7de6e1822badfac32484b5d9031'.

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 16ec872 chore: add missing quotation mark (#900)
2021-01-13 06:26:53,167 autosynth [DEBUG] > Running: git checkout 463702142d32ffd81db5d3dbcc9f7986e1689690
Note: checking out '463702142d32ffd81db5d3dbcc9f7986e1689690'.

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 46370214 chore: remove microgenerator migration comments in BUILD.bazel files
2021-01-13 06:26:53,183 autosynth [DEBUG] > Running: git branch -f autosynth-1026
2021-01-13 06:26:53,187 autosynth [DEBUG] > Running: git checkout autosynth-1026
Switched to branch 'autosynth-1026'
2021-01-13 06:26:53,192 autosynth [INFO] > Running synthtool
2021-01-13 06:26:53,193 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-13 06:26:53,193 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1026/sponge_log.log
2021-01-13 06:26:53,195 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-13 06:26:53,423 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1026
nothing to commit, working tree clean
2021-01-13 06:26:53,563 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-13 06:26:53,569 synthtool [DEBUG] > Ensuring dependencies.
2021-01-13 06:26:53,579 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-13 06:26:53,641 autosynth [ERROR] > Synthesis failed
2021-01-13 06:26:53,641 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-13 06:26:53,646 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-13 06:26:53,651 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

utosynth [DEBUG] > Running: git log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-14 14:39:54,250 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-14 14:39:54,253 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-14 14:39:54,257 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-14 14:39:54,260 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-14 14:39:54,264 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-14 14:39:54,267 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-14 14:39:54,270 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-14 14:39:54,274 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-14 14:39:54,277 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-14 14:39:54,280 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-14 14:39:54,283 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-14 14:39:54,287 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-14 14:39:54,290 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-14 14:39:54,293 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-14 14:39:54,296 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-14 14:39:54,300 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-14 14:39:54,303 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-14 14:39:54,306 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-14 14:39:54,310 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-14 14:39:54,313 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-14 14:39:54,316 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-14 14:39:54,319 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-14 14:39:54,323 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-14 14:39:54,326 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-14 14:39:54,329 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-14 14:39:54,332 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-14 14:39:54,335 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-14 14:39:54,339 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-14 14:39:54,342 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-14 14:39:54,345 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-14 14:39:54,351 autosynth [DEBUG] > Running: git checkout 5921e62fc9b1e78ec502052e2ba4e98856dc9b86
Note: checking out '5921e62fc9b1e78ec502052e2ba4e98856dc9b86'.

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 5921e62 chore: update templates; use bazel gen (#25)
2021-01-14 14:39:54,357 autosynth [DEBUG] > Running: git checkout 16ec872dd898d7de6e1822badfac32484b5d9031
Note: checking out '16ec872dd898d7de6e1822badfac32484b5d9031'.

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 16ec872 chore: add missing quotation mark (#900)
2021-01-14 14:39:54,364 autosynth [DEBUG] > Running: git checkout add7e03ec4fff3491f6d3c007a36bcdf90408577
Note: checking out 'add7e03ec4fff3491f6d3c007a36bcdf90408577'.

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 add7e03e feat: added V1 API
2021-01-14 14:39:54,380 autosynth [DEBUG] > Running: git branch -f autosynth-1038
2021-01-14 14:39:54,384 autosynth [DEBUG] > Running: git checkout autosynth-1038
Switched to branch 'autosynth-1038'
2021-01-14 14:39:54,389 autosynth [INFO] > Running synthtool
2021-01-14 14:39:54,389 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-14 14:39:54,389 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1038/sponge_log.log
2021-01-14 14:39:54,392 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-14 14:39:54,625 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1038
nothing to commit, working tree clean
2021-01-14 14:39:54,766 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-14 14:39:54,772 synthtool [DEBUG] > Ensuring dependencies.
2021-01-14 14:39:54,782 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-14 14:39:54,847 autosynth [ERROR] > Synthesis failed
2021-01-14 14:39:54,847 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5921e62 chore: update templates; use bazel gen (#25)
2021-01-14 14:39:54,852 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-14 14:39:54,856 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 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 Jan 15, 2021
@yoshi-automation
Copy link
Contributor Author

Autosynth is still having trouble generating python-recaptcha-enterprise. 😭

Here's the output from running synth.py:

it log -1 --pretty=%at 943bb78606d035001123030067dffcc34f4645f2
2021-01-15 08:25:40,208 autosynth [DEBUG] > Running: git log -1 --pretty=%at 15013eff642a7e7e855aed5a29e6e83c39beba2a
2021-01-15 08:25:40,211 autosynth [DEBUG] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-15 08:25:40,215 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-15 08:25:40,218 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-15 08:25:40,221 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-15 08:25:40,224 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-15 08:25:40,228 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-15 08:25:40,231 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-15 08:25:40,234 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-15 08:25:40,237 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-15 08:25:40,241 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-15 08:25:40,244 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-15 08:25:40,247 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-15 08:25:40,250 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-15 08:25:40,253 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-15 08:25:40,256 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-15 08:25:40,260 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-15 08:25:40,263 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-15 08:25:40,266 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-15 08:25:40,269 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-15 08:25:40,272 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-15 08:25:40,275 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-15 08:25:40,278 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-15 08:25:40,281 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-15 08:25:40,284 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-15 08:25:40,288 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-15 08:25:40,291 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-15 08:25:40,294 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-15 08:25:40,297 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-15 08:25:40,300 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-15 08:25:40,305 autosynth [DEBUG] > Running: git checkout 24a724739ccd8d627e44dec23c05f47960bc276f
Note: checking out '24a724739ccd8d627e44dec23c05f47960bc276f'.

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 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-15 08:25:40,311 autosynth [DEBUG] > Running: git checkout 16ec872dd898d7de6e1822badfac32484b5d9031
Note: checking out '16ec872dd898d7de6e1822badfac32484b5d9031'.

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 16ec872 chore: add missing quotation mark (#900)
2021-01-15 08:25:40,316 autosynth [DEBUG] > Running: git checkout 9e209af3c49d23b4169a16948165c3307abeb43a
Note: checking out '9e209af3c49d23b4169a16948165c3307abeb43a'.

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 9e209af3 chore: Set namespaces for C#, PHP, and Ruby
2021-01-15 08:25:40,331 autosynth [DEBUG] > Running: git branch -f autosynth-1039
2021-01-15 08:25:40,335 autosynth [DEBUG] > Running: git checkout autosynth-1039
Switched to branch 'autosynth-1039'
2021-01-15 08:25:40,340 autosynth [INFO] > Running synthtool
2021-01-15 08:25:40,340 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-15 08:25:40,340 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1039/sponge_log.log
2021-01-15 08:25:40,342 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-15 08:25:40,560 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1039
nothing to commit, working tree clean
2021-01-15 08:25:40,695 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-15 08:25:40,701 synthtool [DEBUG] > Ensuring dependencies.
2021-01-15 08:25:40,711 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-15 08:25:40,757 autosynth [ERROR] > Synthesis failed
2021-01-15 08:25:40,758 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-15 08:25:40,763 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-15 08:25:40,767 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

G] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-16 06:35:29,780 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-16 06:35:29,784 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-16 06:35:29,787 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-16 06:35:29,791 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-16 06:35:29,795 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-16 06:35:29,798 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-16 06:35:29,802 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-16 06:35:29,806 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-16 06:35:29,809 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-16 06:35:29,813 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-16 06:35:29,816 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-16 06:35:29,820 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-16 06:35:29,823 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-16 06:35:29,827 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-16 06:35:29,830 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-16 06:35:29,834 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-16 06:35:29,838 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-16 06:35:29,841 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-16 06:35:29,844 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-16 06:35:29,848 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-16 06:35:29,851 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-16 06:35:29,855 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-16 06:35:29,858 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-16 06:35:29,862 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-16 06:35:29,865 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-16 06:35:29,869 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-16 06:35:29,872 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-16 06:35:29,876 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-16 06:35:29,880 autosynth [DEBUG] > Running: git log -1 --pretty=%at 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
2021-01-16 06:35:29,886 autosynth [DEBUG] > Running: git checkout 24a724739ccd8d627e44dec23c05f47960bc276f
Note: checking out '24a724739ccd8d627e44dec23c05f47960bc276f'.

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 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-16 06:35:29,892 autosynth [DEBUG] > Running: git checkout 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Note: checking out '56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f'.

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 56ddc68 chore: add 3.9 to noxfile template (#909)
2021-01-16 06:35:29,898 autosynth [DEBUG] > Running: git checkout 61ab0348bd228c942898aee291d677f0afdb888c
Note: checking out '61ab0348bd228c942898aee291d677f0afdb888c'.

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 61ab0348 feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
2021-01-16 06:35:29,915 autosynth [DEBUG] > Running: git branch -f autosynth-1041
2021-01-16 06:35:29,919 autosynth [DEBUG] > Running: git checkout autosynth-1041
Switched to branch 'autosynth-1041'
2021-01-16 06:35:29,924 autosynth [INFO] > Running synthtool
2021-01-16 06:35:29,924 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-16 06:35:29,924 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1041/sponge_log.log
2021-01-16 06:35:29,926 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-16 06:35:30,165 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1041
nothing to commit, working tree clean
2021-01-16 06:35:30,310 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-16 06:35:30,316 synthtool [DEBUG] > Ensuring dependencies.
2021-01-16 06:35:30,328 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-16 06:35:30,395 autosynth [ERROR] > Synthesis failed
2021-01-16 06:35:30,396 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-16 06:35:30,401 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-16 06:35:30,406 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

G] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-17 07:55:46,098 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-17 07:55:46,101 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-17 07:55:46,104 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-17 07:55:46,107 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-17 07:55:46,110 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-17 07:55:46,113 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-17 07:55:46,116 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-17 07:55:46,119 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-17 07:55:46,122 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-17 07:55:46,125 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-17 07:55:46,128 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-17 07:55:46,131 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-17 07:55:46,134 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-17 07:55:46,137 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-17 07:55:46,140 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-17 07:55:46,142 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-17 07:55:46,145 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-17 07:55:46,148 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-17 07:55:46,151 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-17 07:55:46,154 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-17 07:55:46,157 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-17 07:55:46,160 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-17 07:55:46,163 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-17 07:55:46,166 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-17 07:55:46,169 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-17 07:55:46,172 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-17 07:55:46,175 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-17 07:55:46,178 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-17 07:55:46,181 autosynth [DEBUG] > Running: git log -1 --pretty=%at 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
2021-01-17 07:55:46,186 autosynth [DEBUG] > Running: git checkout 24a724739ccd8d627e44dec23c05f47960bc276f
Note: checking out '24a724739ccd8d627e44dec23c05f47960bc276f'.

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 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-17 07:55:46,192 autosynth [DEBUG] > Running: git checkout 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Note: checking out '56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f'.

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 56ddc68 chore: add 3.9 to noxfile template (#909)
2021-01-17 07:55:46,197 autosynth [DEBUG] > Running: git checkout 61ab0348bd228c942898aee291d677f0afdb888c
Note: checking out '61ab0348bd228c942898aee291d677f0afdb888c'.

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 61ab0348 feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
2021-01-17 07:55:46,211 autosynth [DEBUG] > Running: git branch -f autosynth-1041
2021-01-17 07:55:46,215 autosynth [DEBUG] > Running: git checkout autosynth-1041
Switched to branch 'autosynth-1041'
2021-01-17 07:55:46,219 autosynth [INFO] > Running synthtool
2021-01-17 07:55:46,219 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-17 07:55:46,219 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1041/sponge_log.log
2021-01-17 07:55:46,221 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-17 07:55:46,431 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1041
nothing to commit, working tree clean
2021-01-17 07:55:46,563 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-17 07:55:46,568 synthtool [DEBUG] > Ensuring dependencies.
2021-01-17 07:55:46,578 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-17 07:55:46,633 autosynth [ERROR] > Synthesis failed
2021-01-17 07:55:46,633 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-17 07:55:46,638 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-17 07:55:46,642 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

G] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-18 06:23:45,722 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-18 06:23:45,726 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-18 06:23:45,729 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-18 06:23:45,733 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-18 06:23:45,737 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-18 06:23:45,741 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-18 06:23:45,745 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-18 06:23:45,749 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-18 06:23:45,753 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-18 06:23:45,756 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-18 06:23:45,760 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-18 06:23:45,763 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-18 06:23:45,767 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-18 06:23:45,771 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-18 06:23:45,774 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-18 06:23:45,778 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-18 06:23:45,782 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-18 06:23:45,785 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-18 06:23:45,789 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-18 06:23:45,792 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-18 06:23:45,796 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-18 06:23:45,800 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-18 06:23:45,804 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-18 06:23:45,807 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-18 06:23:45,811 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-18 06:23:45,815 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-18 06:23:45,819 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-18 06:23:45,823 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-18 06:23:45,827 autosynth [DEBUG] > Running: git log -1 --pretty=%at 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
2021-01-18 06:23:45,833 autosynth [DEBUG] > Running: git checkout 24a724739ccd8d627e44dec23c05f47960bc276f
Note: checking out '24a724739ccd8d627e44dec23c05f47960bc276f'.

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 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-18 06:23:45,840 autosynth [DEBUG] > Running: git checkout 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Note: checking out '56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f'.

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 56ddc68 chore: add 3.9 to noxfile template (#909)
2021-01-18 06:23:45,847 autosynth [DEBUG] > Running: git checkout 61ab0348bd228c942898aee291d677f0afdb888c
Note: checking out '61ab0348bd228c942898aee291d677f0afdb888c'.

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 61ab0348 feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
2021-01-18 06:23:45,863 autosynth [DEBUG] > Running: git branch -f autosynth-1041
2021-01-18 06:23:45,867 autosynth [DEBUG] > Running: git checkout autosynth-1041
Switched to branch 'autosynth-1041'
2021-01-18 06:23:45,872 autosynth [INFO] > Running synthtool
2021-01-18 06:23:45,873 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-18 06:23:45,873 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1041/sponge_log.log
2021-01-18 06:23:45,875 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-18 06:23:46,118 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1041
nothing to commit, working tree clean
2021-01-18 06:23:46,265 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-18 06:23:46,271 synthtool [DEBUG] > Ensuring dependencies.
2021-01-18 06:23:46,283 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-18 06:23:46,357 autosynth [ERROR] > Synthesis failed
2021-01-18 06:23:46,357 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-18 06:23:46,363 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-18 06:23:46,368 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-recaptcha-enterprise. 😭

Here's the output from running synth.py:

G] > Running: git log -1 --pretty=%at c2de32114ec484aa708d32012d1fa8d75232daf5
2021-01-19 06:14:53,670 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32af6da519a6b042e3da62008e2a75e991efb6b4
2021-01-19 06:14:53,673 autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c
2021-01-19 06:14:53,676 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15
2021-01-19 06:14:53,679 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
2021-01-19 06:14:53,681 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2021-01-19 06:14:53,684 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2021-01-19 06:14:53,687 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2021-01-19 06:14:53,689 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2021-01-19 06:14:53,692 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2021-01-19 06:14:53,695 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3f67ceece7e797a5736a25488aae35405649b90b
2021-01-19 06:14:53,698 autosynth [DEBUG] > Running: git log -1 --pretty=%at aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
2021-01-19 06:14:53,701 autosynth [DEBUG] > Running: git log -1 --pretty=%at d73e8dea90af1b463a7f9d4a33244cf4612ada7c
2021-01-19 06:14:53,703 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41e998d5afdc2c2143a23c9b044b9931936f7318
2021-01-19 06:14:53,706 autosynth [DEBUG] > Running: git log -1 --pretty=%at b670a77a454f415d247907908e8ee7943e06d718
2021-01-19 06:14:53,709 autosynth [DEBUG] > Running: git log -1 --pretty=%at 363fe305e9ce34a6cd53951c6ee5f997094b54ee
2021-01-19 06:14:53,711 autosynth [DEBUG] > Running: git log -1 --pretty=%at 373861061648b5fe5e0ac4f8a38b32d639ee93e4
2021-01-19 06:14:53,714 autosynth [DEBUG] > Running: git log -1 --pretty=%at 407613a1ac6a8a0a951a50dfbccb1be38ef6c5a0
2021-01-19 06:14:53,717 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6b026e1443948dcfc0b9e3289c85e940eb70f694
2021-01-19 06:14:53,719 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6133907dbb3ddab204a17a15d5c53ec0aae9b033
2021-01-19 06:14:53,722 autosynth [DEBUG] > Running: git log -1 --pretty=%at 759bdfc5272d9977324d7cfdae46771e23890f91
2021-01-19 06:14:53,725 autosynth [DEBUG] > Running: git log -1 --pretty=%at c992f7a0096ea35b331210c51050befd2499b98e
2021-01-19 06:14:53,728 autosynth [DEBUG] > Running: git log -1 --pretty=%at 40d76d547573fc273220bc0c8291fd942cb4502b
2021-01-19 06:14:53,731 autosynth [DEBUG] > Running: git log -1 --pretty=%at a3e990f3545dc8ccd384a75d20ce9cb185ca6a28
2021-01-19 06:14:53,733 autosynth [DEBUG] > Running: git log -1 --pretty=%at f15b57ccfd71106c2299e9b89835fe6e55015662
2021-01-19 06:14:53,736 autosynth [DEBUG] > Running: git log -1 --pretty=%at 41a4e56982620d3edcf110d76f4fcdfdec471ac8
2021-01-19 06:14:53,739 autosynth [DEBUG] > Running: git log -1 --pretty=%at 67f09bf301083798e7220137723222eb00b8f88a
2021-01-19 06:14:53,742 autosynth [DEBUG] > Running: git log -1 --pretty=%at fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
2021-01-19 06:14:53,745 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16ec872dd898d7de6e1822badfac32484b5d9031
2021-01-19 06:14:53,747 autosynth [DEBUG] > Running: git log -1 --pretty=%at 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
2021-01-19 06:14:53,752 autosynth [DEBUG] > Running: git checkout 24a724739ccd8d627e44dec23c05f47960bc276f
Note: checking out '24a724739ccd8d627e44dec23c05f47960bc276f'.

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 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-19 06:14:53,757 autosynth [DEBUG] > Running: git checkout 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Note: checking out '56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f'.

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 56ddc68 chore: add 3.9 to noxfile template (#909)
2021-01-19 06:14:53,762 autosynth [DEBUG] > Running: git checkout 61ab0348bd228c942898aee291d677f0afdb888c
Note: checking out '61ab0348bd228c942898aee291d677f0afdb888c'.

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 61ab0348 feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
2021-01-19 06:14:53,776 autosynth [DEBUG] > Running: git branch -f autosynth-1041
2021-01-19 06:14:53,779 autosynth [DEBUG] > Running: git checkout autosynth-1041
Switched to branch 'autosynth-1041'
2021-01-19 06:14:53,783 autosynth [INFO] > Running synthtool
2021-01-19 06:14:53,784 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-01-19 06:14:53,784 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-recaptcha-enterprise/1041/sponge_log.log
2021-01-19 06:14:53,785 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-01-19 06:14:53,987 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-recaptcha-enterprise/synth.py.
On branch autosynth-1041
nothing to commit, working tree clean
2021-01-19 06:14:54,113 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-19 06:14:54,118 synthtool [DEBUG] > Ensuring dependencies.
2021-01-19 06:14:54,127 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
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-recaptcha-enterprise/synth.py", line 31, in <module>
    bazel_target=f"//google/cloud/recaptchaenterprise/{version}:recaptchaenterprise-{version}-py",
NameError: name 'version' is not defined
2021-01-19 06:14:54,186 autosynth [ERROR] > Synthesis failed
2021-01-19 06:14:54,186 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 24a7247 chore: fix distribution_name in setup.py (#29)
2021-01-19 06:14:54,191 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-19 06:14:54,195 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: recaptchaenterprise Issues related to the googleapis/python-recaptcha-enterprise 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
2 participants