Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating java-bigtable. :sob:
Here's the output from running synth.py
:
utosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-05-18 11:32:10,519 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-05-18 11:32:10,660 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 50a19a6 deps: update dependency com.google.cloud:google-cloud-conformance-tests to v0.0.11 (#307)
2020-05-18 11:32:10,681 autosynth [DEBUG] > Running: git checkout 50a19a6aded1b313390ff78b52d9ffc4f4cc7fdd
Note: checking out '50a19a6aded1b313390ff78b52d9ffc4f4cc7fdd'.
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 50a19a6 deps: update dependency com.google.cloud:google-cloud-conformance-tests to v0.0.11 (#307)
2020-05-18 11:32:10,690 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e94ad376 fix: point artman at gapic v1 for monitoring/v3 API
2020-05-18 11:32:10,727 autosynth [DEBUG] > Running: git checkout e94ad376529fabdfd2fce00407926a0cefd38b9e
HEAD is now at e94ad376 fix: point artman at gapic v1 for monitoring/v3 API
2020-05-18 11:32:10,758 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 98c5077 chore: move ci.yaml to workflows dir (#535)
2020-05-18 11:32:10,780 autosynth [DEBUG] > Running: git checkout 7136daa5687f2a5bdcbba2cb25457f56fdf85d59
Previous HEAD position was 98c5077 chore: move ci.yaml to workflows dir (#535)
HEAD is now at 7136daa fix: check for open PR before attemping single PR fallback with AUTOSYNTH_MULTIPLE_PRS (#562)
2020-05-18 11:32:10,807 autosynth [DEBUG] > Running: git branch -f autosynth-43
2020-05-18 11:32:10,812 autosynth [DEBUG] > Running: git checkout autosynth-43
Switched to branch 'autosynth-43'
2020-05-18 11:32:10,820 autosynth [INFO] > Running synthtool
2020-05-18 11:32:10,820 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-18 11:32:10,823 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-05-18 11:32:11,056 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-bigtable/synth.py.
On branch autosynth-43
nothing to commit, working tree clean
2020-05-18 11:32:11,190 synthtool [DEBUG] > Ensuring dependencies.
2020-05-18 11:32:11,201 synthtool [DEBUG] > Cloning googleapis.
2020-05-18 11:32:11,202 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-05-18 11:32:11,205 synthtool [DEBUG] > Add custom bazel config: /home/kbuilder/.cache/synthtool/googleapis/.kokoro/.bazelrc
2020-05-18 11:32:11,206 synthtool [DEBUG] > Generating code for: //google/bigtable/v2:google-cloud-bigtable-v2-java.
2020-05-18 11:32:11,488 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/bigtable/v2:google-cloud-bigtable-v2-java:
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "251fd77a674041b5e47960d924633787e0fc691ac453a987680b52518ee39e33"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /tmpfs/tmp/bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
- <builtin>
- /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:70:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "44d7f11b9d34cfa64f9c4ef3fc87551fb7867f2d06d426443899c13e55842c9c"
DEBUG: Call stack for the definition of repository 'gapic_generator_python' which is a http_archive (rule definition at /tmpfs/tmp/bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
- <builtin>
- /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:210:1
Analyzing: target //google/bigtable/v2:google-cloud-bigtable-v2-java (0 packages loaded, 0 targets configured)
INFO: Analyzed target //google/bigtable/v2:google-cloud-bigtable-v2-java (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 12] [Prepa] PackageTar external/com_google_api_codegen/rules_gapic/java/gradlew.tar.gz ... (3 actions, 0 running)
ERROR: /tmpfs/tmp/bazel/external/com_google_api_codegen/rules_gapic/java/BUILD.bazel:6:1: PackageTar external/com_google_api_codegen/rules_gapic/java/gradlew.tar.gz failed (Exit 1) build_tar failed: error executing command bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar --flagfile bazel-out/k8-fastbuild/bin/external/com_google_api_codegen/rules_gapic/java/gradlew.args
Use --sandbox_debug to see verbose messages from the sandbox
src/main/tools/linux-sandbox-pid1.cc:169: "mount(tmpfs, /tmpbuild, tmpfs, MS_NOSUID | MS_NODEV | MS_NOATIME, nullptr)": No such file or directory
Target //google/bigtable/v2:google-cloud-bigtable-v2-java failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.272s, Critical Path: 0.05s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2020-05-18 11:32:11,489 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/java-bigtable/synth.py", line 146, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 30, in main
generate_data_api(gapic)
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 50, in generate_data_api
bazel_target=f'//google/bigtable/v2:google-cloud-bigtable-v2-java',
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 61, in java_library
return self._generate_code(service, version, "java", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 183, 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/bigtable/v2:google-cloud-bigtable-v2-java']' returned non-zero exit status 1.
2020-05-18 11:32:11,527 autosynth [ERROR] > Synthesis failed
2020-05-18 11:32:11,527 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 50a19a6 deps: update dependency com.google.cloud:google-cloud-conformance-tests to v0.0.11 (#307)
2020-05-18 11:32:11,534 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-18 11:32:11,539 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 615, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate java-bigtable. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.