Hello! Autosynth couldn't regenerate python-iam. 💔
6a1c61b46bde7c8e0782abca
2020-06-20 08:20:31,821 autosynth [DEBUG] > Running: git log -1 --pretty=%at 313eb608348d6080a0f118402219a0accf16e671
2020-06-20 08:20:31,824 autosynth [DEBUG] > Running: git log -1 --pretty=%at 84f8ec7ff1885e00582b32a21cd21a481d25e591
2020-06-20 08:20:31,827 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3e6fed750653a8f41a5efeca0bc16b756a9532bb
2020-06-20 08:20:31,830 autosynth [DEBUG] > Running: git log -1 --pretty=%at ee18e132856bd1ef486249fc9fedd74b3e75f957
2020-06-20 08:20:31,834 autosynth [DEBUG] > Running: git log -1 --pretty=%at 483f18635c3af10031435535268abe001ad69e7c
2020-06-20 08:20:31,837 autosynth [DEBUG] > Running: git log -1 --pretty=%at 873bd44c32e57f22d7afe082aa11c8d456ff2072
2020-06-20 08:20:31,840 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4f2c9f752a94042472fc03c5bd9e06e89817d2bd
2020-06-20 08:20:31,844 autosynth [DEBUG] > Running: git branch -f autosynth-self
2020-06-20 08:20:31,848 autosynth [DEBUG] > Running: git branch -f autosynth-googleapis
2020-06-20 08:20:31,852 autosynth [DEBUG] > Running: git branch -f autosynth-synthtool
2020-06-20 08:20:32,062 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-20 08:20:32,069 autosynth [DEBUG] > Running: git checkout c9202fc00dc9c5c59d378bca6dd9ff46ca3ceecb
Note: checking out 'c9202fc00dc9c5c59d378bca6dd9ff46ca3ceecb'.
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 c9202fc chore: release 1.0.0 (#15)
2020-06-20 08:20:32,073 autosynth [DEBUG] > Running: git checkout 01b6f23d24b27878b48667ce597876d66b59780e
Note: checking out '01b6f23d24b27878b48667ce597876d66b59780e'.
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 01b6f23 fix(python): install testutils from pypi (#503)
2020-06-20 08:20:32,088 autosynth [DEBUG] > Running: git checkout 756b174de4a122461993c1c583345533d819936d
Note: checking out '756b174de4a122461993c1c583345533d819936d'.
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 756b174d fix: Add missing method_signature annotations for BigTable Admin Backup RPCs
2020-06-20 08:20:32,193 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-20 08:20:32,197 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-20 08:20:32,202 autosynth [INFO] > Running synthtool
2020-06-20 08:20:32,202 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-20 08:20:32,202 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-iam/self/2/sponge_log.log
2020-06-20 08:20:32,204 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-20 08:20:32,410 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-iam/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-20 08:20:32,537 synthtool [DEBUG] > Ensuring dependencies.
2020-06-20 08:20:32,549 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-20 08:20:32,554 synthtool [DEBUG] > Cloning googleapis.
2020-06-20 08:20:32,554 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-20 08:20:32,558 synthtool [DEBUG] > Generating code for: //google/iam/credentials/v1:iam-credentials-v1-py.
2020-06-20 08:20:34,007 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/iam/credentials/v1:iam-credentials-v1-py:
Loading:
Loading: 0 packages loaded
Analyzing: target //google/iam/credentials/v1:iam-credentials-v1-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/iam/credentials/v1:iam-credentials-v1-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 1.426s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (4 packages loaded, 4 targets configured)
FAILED: Build did NOT complete successfully (4 packages loaded, 4 targets configured)
2020-06-20 08:20:34,008 synthtool [DEBUG] > Wrote metadata to synth.metadata.
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-iam/synth.py", line 30, in <module>
include_protos=True,
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
shell.run(bazel_run_args)
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
raise exc
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
encoding="utf-8",
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/iam/credentials/v1:iam-credentials-v1-py']' returned non-zero exit status 1.
2020-06-20 08:20:34,066 autosynth [ERROR] > Synthesis failed
2020-06-20 08:20:34,067 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c9202fc chore: release 1.0.0 (#15)
2020-06-20 08:20:34,072 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-20 08:20:34,077 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-20 08:20:34,276 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-iam/pull/17
2020-06-20 08:20:34,276 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__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 649, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, 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.