Synthesis failed for java-cloudbuild

Hello! Autosynth couldn't regenerate java-cloudbuild. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpr6_x7u76/googleapis'...
Cloning into '/tmpfs/tmp/tmpr6_x7u76/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Note: checking out 'bf85ee3ed64951c14b19ef8577689f43ee6f0f41'.

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 bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

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 f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-05 21:30:11 [INFO] Running synthtool
2020-05-05 21:30:11 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:30:11,800 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-05 21:30:12,195 synthtool > Ensuring dependencies.
2020-05-05 21:30:12,207 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-05 21:30:13,730 synthtool > Ensuring dependencies.
2020-05-05 21:30:13,749 synthtool > Cloning googleapis.
2020-05-05 21:30:13,750 synthtool > Using precloned repo /tmpfs/tmp/tmpr6_x7u76/googleapis
2020-05-05 21:30:13,757 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-05 21:30:14,004 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/c1736661eae6071398b96d54971bbe95/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpr6_x7u76/googleapis/hs_err_pid19139.log

2020-05-05 21:30:14,005 synthtool > 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 37.
2020-05-05 21:30:14 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Previous HEAD position was bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
HEAD is now at a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at ab88356 fix: make .kokoro-autosynth executable (#522)
Switched to a new branch 'autosynth-114'
2020-05-05 21:30:14 [INFO] Running synthtool
2020-05-05 21:30:14 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:30:14,378 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-114
nothing to commit, working tree clean
2020-05-05 21:30:14,515 synthtool > Ensuring dependencies.
2020-05-05 21:30:14,520 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-05 21:30:15,532 synthtool > Ensuring dependencies.
2020-05-05 21:30:15,544 synthtool > Cloning googleapis.
2020-05-05 21:30:15,545 synthtool > Using precloned repo /tmpfs/tmp/tmpr6_x7u76/googleapis
2020-05-05 21:30:15,553 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-05 21:30:15,667 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/c1736661eae6071398b96d54971bbe95/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpr6_x7u76/googleapis/hs_err_pid19203.log

2020-05-05 21:30:15,668 synthtool > 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 37.
2020-05-05 21:30:15 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth'
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 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, 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 is still having trouble generating java-cloudbuild. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmppzgnrk8h/googleapis'...
Cloning into '/tmpfs/tmp/tmppzgnrk8h/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Note: checking out 'bf85ee3ed64951c14b19ef8577689f43ee6f0f41'.

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 bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

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 f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-07 06:58:00 [INFO] Running synthtool
2020-05-07 06:58:00 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 06:58:01,013 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-07 06:58:01,214 synthtool > Ensuring dependencies.
2020-05-07 06:58:01,222 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-07 06:58:02,831 synthtool > Ensuring dependencies.
2020-05-07 06:58:02,849 synthtool > Cloning googleapis.
2020-05-07 06:58:02,850 synthtool > Using precloned repo /tmpfs/tmp/tmppzgnrk8h/googleapis
2020-05-07 06:58:02,855 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-07 06:58:23,183 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/protocolbuffers/protobuf/archive/fe1790ca0df67173702f70d5646b82f48f412b99.zip) = 419f654d36998a51de2e0b79a67885ec48f8d803615ce66ec82cd15f54936730
Loading: 0 packages loaded
DEBUG: Rule 'com_google_protobuf' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "419f654d36998a51de2e0b79a67885ec48f8d803615ce66ec82cd15f54936730"
DEBUG: Call stack for the definition of repository 'com_google_protobuf' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:34:1
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/grpc/grpc/archive/8347f4753568b5b66e49111c60ae2841278d3f33.zip) = 8d87aa54941db316e8a3370fdee1173ac4b2ede5724877d36a57edbc6dd136f0
Loading: 0 packages loaded
DEBUG: Rule 'com_github_grpc_grpc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "8d87aa54941db316e8a3370fdee1173ac4b2ede5724877d36a57edbc6dd136f0"
DEBUG: Call stack for the definition of repository 'com_github_grpc_grpc' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:95:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gax-java/archive/730046855da122b26adbaa3fcf535becd8afa292.zip) = 97c2a418cf3acf3eba0bb25ac01a617b03023711ff031c081a78f98b55beee55
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97c2a418cf3acf3eba0bb25ac01a617b03023711ff031c081a78f98b55beee55"
DEBUG: Call stack for the definition of repository 'com_google_api_gax_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:123:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/grpc/grpc-java/archive/v1.27.2.zip) = 92ffb4391f847e02e115933a761e243dd1423f3fcafdc9b7ae0327eca102d76b
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "92ffb4391f847e02e115933a761e243dd1423f3fcafdc9b7ae0327eca102d76b"
DEBUG: Call stack for the definition of repository 'io_grpc_grpc_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_api_gax_java/repositories.bzl:114:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_api_gax_java/repositories.bzl:60:5
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:138:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/f57cf1082096d3dbbfa9ec177ee8867c6fba2120.zip) = c0aeb46aaa5950344c2d583f0c93c4b54de88de0bb0f80f131ef78a4a208ea4d
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c0aeb46aaa5950344c2d583f0c93c4b54de88de0bb0f80f131ef78a4a208ea4d"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/706814edd72934b30a35dc47c04f1a3ba2dc4204.zip) = 22182854f6d822c68c6e9e00e8a650950cc8d2c3573c14c804225479c71d1095
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "22182854f6d822c68c6e9e00e8a650950cc8d2c3573c14c804225479c71d1095"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:155:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/protoc-docs-plugin/archive/b2502d56b5ec2d47e063976da773206af295362d.zip) = 765ec120bb165ae98c3bae78705d2a127e64016e59738552e909fc8b11d06338
DEBUG: Rule 'protoc_docs_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "765ec120bb165ae98c3bae78705d2a127e64016e59738552e909fc8b11d06338"
DEBUG: Call stack for the definition of repository 'protoc_docs_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:179:1
INFO: SHA256 (https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.20.0/bazel-gazelle-v0.20.0.tar.gz) = d8c45ee70ec39a57e7a05e5027c32b1576cc7f16d9dd37135b0eddde45cf1b10
DEBUG: Rule 'bazel_gazelle' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d8c45ee70ec39a57e7a05e5027c32b1576cc7f16d9dd37135b0eddde45cf1b10"
DEBUG: Call stack for the definition of repository 'bazel_gazelle' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:200:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.0.tar.gz) = 2420d3fb91440bad332ce60727d4458f5c90aa84054b3dffdd560097116a7694
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "2420d3fb91440bad332ce60727d4458f5c90aa84054b3dffdd560097116a7694"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:209:1
Loading: 0 packages loaded
    currently loading: google/devtools/cloudbuild/v1
INFO: SHA256 (https://github.com/bazelbuild/bazel-skylib/releases/download/0.9.0/bazel_skylib-0.9.0.tar.gz) = 1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0
DEBUG: Rule 'bazel_skylib' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0"
DEBUG: Call stack for the definition of repository 'bazel_skylib' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:29:1
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target //google/devtools/cloudbuild/v1:cloudbuild_java_gapic_test: 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/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java' 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: 20.253s
INFO: 0 processes.

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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 1.
2020-05-07 06:58:23 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Previous HEAD position was bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
HEAD is now at 2fc2caaa chore: enable gapic v2 and proto annotation for bigquery/storage/v1beta2 API.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at be74d3e build: do not fail builds on codecov errors (#528)
Switched to a new branch 'autosynth-122'
2020-05-07 06:58:23 [INFO] Running synthtool
2020-05-07 06:58:23 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 06:58:24,032 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-122
nothing to commit, working tree clean
2020-05-07 06:58:24,301 synthtool > Ensuring dependencies.
2020-05-07 06:58:24,309 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-07 06:58:25,649 synthtool > Ensuring dependencies.
2020-05-07 06:58:25,664 synthtool > Cloning googleapis.
2020-05-07 06:58:25,665 synthtool > Using precloned repo /tmpfs/tmp/tmppzgnrk8h/googleapis
2020-05-07 06:58:25,670 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-07 06:59:14,043 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/a59457d24bd6f3c962c8e699c708121c928eedc8.zip) = 843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "843bcf262d44f6a2c1c131844ff8ef40daf95dd3b7c95dd761656f9e010d06d7"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:70:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/64dafb71ea9a385a8da89989f0b9dab925bf4610.zip) = f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f475903e83904dbbe3651abae8cbf57ed804960a0dadd9cbde41b746db645052"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:163:1
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:36:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/d18ed416240a064fffac0fd7915b61f6415fe140.zip) = 52301db31e5a1757017123f1ccc46a4d80db81310eba95d0c19553b047f365e4
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "52301db31e5a1757017123f1ccc46a4d80db81310eba95d0c19553b047f365e4"
DEBUG: Call stack for the definition of repository 'gapic_generator_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:210:1
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.3.tar.gz) = c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c18388bb1f1318dc5b00d9727beb9f9a079b64c2ef96a93cee83b5e11e172f02"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:243:1
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (1 packages loaded, 0 targets configured)
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (18 packages loaded, 40 targets configured)
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar) = 766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/api-common/1.8.1/api-common-1.8.1.jar) = 9840ed24fce0a96492e671853077be62edab802b6760e3b327362d6949943674
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (30 packages loaded, 227 targets configured)
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/threeten/threetenbp/1.4.1/threetenbp-1.4.1.jar) = 6cb8bd0b9db3b2184ca68f407d1553ebba078e3d4c875341f28f153c7971267d
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/guava/guava/28.2-android/guava-28.2-android.jar) = 1faf214c94723ab9fbadfedd9af88ddc325faf669e68eab04688c3afcf59c037
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/opencensus/opencensus-contrib-grpc-metrics/0.24.0/opencensus-contrib-grpc-metrics-0.24.0.jar) = 875582e093f11950ad3f4a50b5fee33a008023f7d1e47820a1bef05d23b9ed42
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar) = c8fb4839054d280b3033f800d1f5a97de2f028eb8ba2eb458ad287e536f3f25f
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar) = 21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/grpc/proto-google-common-protos/1.17.0/proto-google-common-protos-1.17.0.jar) = ad25472c73ee470606fb500b376ae5a97973d5406c2f5c3b7d07fb25b4648b65
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/grpc/grpc-netty-shaded/1.27.2/grpc-netty-shaded-1.27.2.jar) = 54b4aedf4a1582cbb50440956320422037eaddf5b4adfc017da482179da9a126
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/auth/google-auth-library-oauth2-http/0.20.0/google-auth-library-oauth2-http-0.20.0.jar) = 43e96e8c07285c2887042eda4e35ca96522ef361f6c1843f469039d9ccdc8f8a
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/auth/google-auth-library-credentials/0.20.0/google-auth-library-credentials-0.20.0.jar) = 8a415273a5dae5c8f9080134e53b9592dc171ca5d13127488c910177c5903bd6
INFO: SHA256 (https://files.pythonhosted.org/packages/2a/01/efb4ef22ea9b6377392bd5d6af5acbd218100ee7379dbcd8a7322585710d/chevron-0.13.1.tar.gz) = f95054a8b303268ebf3efd6bdfc8c1b428d3fc92327913b4e236d062ec61c989
DEBUG: Rule 'pypi_chevron' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f95054a8b303268ebf3efd6bdfc8c1b428d3fc92327913b4e236d062ec61c989"
DEBUG: Call stack for the definition of repository 'pypi_chevron' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:96:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:82:5
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:178:1
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/http-client/google-http-client/1.34.2/google-http-client-1.34.2.jar) = e268f079890a23f0237761ed345db3f56012d2c5f11cc9d9131fba4c2dbcc381
INFO: SHA256 (https://repo.maven.apache.org/maven2/junit/junit/4.13/junit-4.13.jar) = 4b8532f63bdc0e0661507f947eb324a954d1dbac631ad19c8aa9a00feed1d863
INFO: SHA256 (https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz) = 592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar) = f561b1cc2673844288e596ddf5bb6596868a8472fd2cb8993953fc5c034b2352
DEBUG: Rule 'pypi_py_yaml' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab"
DEBUG: Call stack for the definition of repository 'pypi_py_yaml' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:96:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:66:5
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:178:1
INFO: SHA256 (https://files.pythonhosted.org/packages/96/e0/430fcdb6b3ef1ae534d231397bee7e9304be14a47a267e82ebcb3323d0b5/ply-3.8.tar.gz) = e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8
DEBUG: Rule 'pypi_ply' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8"
DEBUG: Call stack for the definition of repository 'pypi_ply' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:96:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protoc_java_resource_names_plugin/repositories.bzl:74:5
 - /tmpfs/tmp/tmppzgnrk8h/googleapis/WORKSPACE:178:1
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (77 packages loaded, 1390 targets configured)
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/auto/value/auto-value/1.4/auto-value-1.4.jar) = 64eb1e909354ca11a03661bd6d2d00fc4669a329b26bbd7f2f4fe08fef8699f9
INFO: SHA256 (https://repo.maven.apache.org/maven2/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar) = af32e420b1252c1eedef6232bd46fadafc02e0c609e086efd57a64781107a039
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/mockito/mockito-core/2.21.0/mockito-core-2.21.0.jar) =<PHONE_NUMBER>56c5654361dccf6211c7a9de9942fabe94620aa5a1d68be6997b79
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar) = 89c27f03fff18d0b06e7afd7ef25e209766df95b6c1269d6c3ebbdea48d5f284
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.6/objenesis-2.6.jar) = 5e168368fbc250af3c79aa5fef0c3467a2d64e5a7bd74005f25d8399aeb0708d
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/http-client/google-http-client-jackson2/1.34.2/google-http-client-jackson2-1.34.2.jar) = 4fecc631244ce31d9b89609c35b97c6feeb792e2fcbe52b2f190e26e54d37150
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar) = 66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar) = 7155273bbb1ed3d477ea33cf19d7bbc0b285ff395f43b29ae576722cf247000f
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0.jar) = 61ba4dc49adca95243beaa0569adc2a23aedb5292ae78aa01186fa782ebdc5c2
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/grpc/grpc-google-common-protos/1.17.0/grpc-google-common-protos-1.17.0.jar) = de24fcb1eca27c4e320c0589d1402e6314a2bfb297850d4f9ac866f8809351d6
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/truth/truth/1.0/truth-1.0.jar) = edaa12f3b581fcf1c07311e94af8766919c4f3d904b00d3503147b99bf5b4004
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.10.1/jackson-core-2.10.1.jar) = 79bffbdcd349f69a5ac252e2b4096131704386af4fa14d95395ea9a0e423cf33
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.18/animal-sniffer-annotations-1.18.jar) = 47f05852b48ee9baefef80fa3d8cea60efa4753c0013121dd7fe5eef2e5c729d
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar) = baf7d6ea97ce606c53e11b6854ba5f2ce7ef5c24dddf0afa18d1260bd25b002c
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar) = 45d32ac61ef8a744b464c54c2b3414be571016dd46bfc2bec226761cf7ae457a
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/googlejavaformat/google-java-format/1.1/google-java-format-1.1-all-deps.jar) = 9c99360a5a38c147096eeb97b346a6fb2eab026a93a2e4d66eac537ea7e3ab80
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/grpc/grpc-core/1.23.0/grpc-core-1.23.0.jar) = ccb52503d051fca980ac7853fb9d8aaf3f00a6fadf16fffd574296b26b3d440b
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/auto/value/auto-value-annotations/1.6/auto-value-annotations-1.6.jar) = d095936c432f2afc671beaab67433e7cef50bba4a861b77b9c46561b801fae69
INFO: SHA256 (https://repo.maven.apache.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar) = 91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/ow2/asm/asm/4.2/asm-4.2.jar) = 3c7e45fe303bd02193d951df134255033b9d8147e77508d09703bac245e6cd9b
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/atlassian/commonmark/commonmark/0.9.0/commonmark-0.9.0.jar) = a292c62bb9ecefe7e465b1dcd07c72c9d87aa4201273d49fc1009f77c583bd9c
INFO: SHA256 (https://repo.maven.apache.org/maven2/cglib/cglib/3.1/cglib-3.1.jar) = 175c86146a6b1eefc891df9e99aef171cfd64998ba1c01c5045de56aef9778cb
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/api-compiler/0.0.8/api-compiler-0.0.8-testing.jar) = ba2ed6767dc64bf14230ace2d962d1dbceba97bf8f71298f2c04e55082e594b4
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.9.0/jackson-databind-2.9.0.jar) = 02b20e2a73d5539b8c6898e1ade73623c5b555a3bcd46308410a9179c8c5d455
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/grpc/proto-google-common-protos/1.17.0/proto-google-common-protos-1.17.0.jar) = ad25472c73ee470606fb500b376ae5a97973d5406c2f5c3b7d07fb25b4648b65
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/inject/guice/4.0/guice-4.0.jar) = b378ffc35e7f7125b3c5f3a461d4591ae1685e3c781392f0c854ed7b7581d6d2
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/api/api-compiler/0.0.8/api-compiler-0.0.8.jar) = 8dc0eee6ba93353afc14b0b8e9d772012cbc7d1fdfa968e8c4a54b01c1a8cb99
INFO: SHA256 (https://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar) = fd3c7c9545a9cdb2051d1f9155c4f76b1e4ac5a57304404a6eedb578ffba7328
INFO: SHA256 (https://repo.maven.apache.org/maven2/io/grpc/grpc-api/1.23.0/grpc-api-1.23.0.jar) = ff4486cdd89b6e4568af13f71e0480bad6a06391a3d636996ce1d4a353516373
INFO: SHA256 (https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.jar) = a0e9cabad665bc20bcd2b01f108e5fc03f756e13aea80abaadb9f407033bea2c
INFO: SHA256 (https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.18/snakeyaml-1.18.jar) = 81bf4c29d0275dace75fadb5febf5384553422816256023efa83b2b15a9ced60
Analyzing: target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (178 packages loaded, 3033 targets configured)
INFO: Analyzed target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java (179 packages loaded, 3355 targets configured).
INFO: Found 1 target...
[0 / 14] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (3 actions, 0 running)
INFO: From Action google/devtools/cloudbuild/v1/google-cloud-devtools-cloudbuild-v1-java-resources.tar.gz:
/home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/sandbox/linux-sandbox/1/execroot/com_google_googleapis
INFO: From Action google/devtools/cloudbuild/v1/gapic-google-cloud-devtools-cloudbuild-v1-java-resources.tar.gz:
tar: Removing leading `../' from member names
/home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/sandbox/linux-sandbox/2/execroot/com_google_googleapis
INFO: From Action google/devtools/cloudbuild/v1/grpc-google-cloud-devtools-cloudbuild-v1-java-resources.tar.gz:
tar: Removing leading `../' from member names
/home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/sandbox/linux-sandbox/3/execroot/com_google_googleapis
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/acdc24b99a99ff4d6670d5cbf7752df5/external/com_google_protobuf/BUILD:118:1: C++ compilation of rule '@com_google_protobuf//:protobuf_lite' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 32 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
virtual memory exhausted: Cannot allocate memory
Target //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 48.294s, Critical Path: 0.69s
INFO: 4 processes: 4 linux-sandbox.

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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 1.
2020-05-07 06:59:14 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth'
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 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, 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 is still having trouble generating java-cloudbuild. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmppmw3juq_/googleapis'...
Cloning into '/tmpfs/tmp/tmppmw3juq_/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Note: checking out 'bf85ee3ed64951c14b19ef8577689f43ee6f0f41'.

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 bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

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 f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-08 03:25:06 [INFO] Running synthtool
2020-05-08 03:25:06 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:25:06,638 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-08 03:25:06,978 synthtool > Ensuring dependencies.
2020-05-08 03:25:06,985 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-08 03:25:08,368 synthtool > Ensuring dependencies.
2020-05-08 03:25:08,392 synthtool > Cloning googleapis.
2020-05-08 03:25:08,399 synthtool > Using precloned repo /tmpfs/tmp/tmppmw3juq_/googleapis
2020-05-08 03:25:08,420 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-08 03:25:08,832 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/19ab27028155ba922850c653c2b00fdf/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmppmw3juq_/googleapis/hs_err_pid21651.log

2020-05-08 03:25:08,833 synthtool > 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 37.
2020-05-08 03:25:08 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth-self'
Note: checking out '02d3f71eee4332c8176858fd29cb1f4b21f9ff86'.

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 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Previous HEAD position was bf85ee3e chore: enable gapicv2 for cloudbuild/v1 API
HEAD is now at 83816bb3 Add kokoro-specific .bazelrc file with arguments specific only for kokoro environments. This is to fix autosynth builds when it tries building older commits.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at 4674113 build: use Bazel 3.0.0 for autosynth builds (#529)
Switched to a new branch 'autosynth-127'
2020-05-08 03:25:09 [INFO] Running synthtool
2020-05-08 03:25:09 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:25:09,520 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-127
nothing to commit, working tree clean
2020-05-08 03:25:09,792 synthtool > Ensuring dependencies.
2020-05-08 03:25:09,798 synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098
Status: Image is up to date for googleapis/artman:latest
2020-05-08 03:25:11,082 synthtool > Ensuring dependencies.
2020-05-08 03:25:11,096 synthtool > Cloning googleapis.
2020-05-08 03:25:11,096 synthtool > Using precloned repo /tmpfs/tmp/tmppmw3juq_/googleapis
2020-05-08 03:25:11,103 synthtool > Generating code for: //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java.
2020-05-08 03:25:11,270 synthtool > Failed executing bazel build //google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/19ab27028155ba922850c653c2b00fdf/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmppmw3juq_/googleapis/hs_err_pid21716.log

2020-05-08 03:25:11,271 synthtool > 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 33, in <module>
    destination_name='build',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, 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', 'build', '//google/devtools/cloudbuild/v1:google-cloud-devtools-cloudbuild-v1-java']' returned non-zero exit status 37.
2020-05-08 03:25:11 [ERROR] Synthesis failed
HEAD is now at 02d3f71 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#155)
Switched to branch 'autosynth'
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 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, 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:


⚠ Beulah Revival Network has degraded performance

In 1b4b411, Beulah Revival Network (https://beulah.clicki.digital) experienced degraded performance:

HTTP code: 200
Response time: 5633 ms

Resolved: Beulah Revival Network performance has improved in 7c808ca.


Update to work with GORM v1.22+

[x] Do only one thing
[x] Non breaking API changes
[ ] Tested * (see below)

What did this pull request do?
A recent refactor broke BigQuery support in a big way by moving a callback.Config option into another. This commit updates the driver to use the new callback.Config option instead.
* Why No Testing?
The tests, as written here, cannot be run locally by anyone without the same creds used by the project creator. The refactor needed to fix this is beyond the scope of the change being introduced by so much that it wasn't actually made, here. Please run the tests with the correct creds before merging.

Oh for crying out loud... Renaming the branch closes existing PRs from it? GitHub, get smarter.


Xnero: Blacklist prestigeprimrosehills.gen.in

Xnero requests the blacklist of the website prestigeprimrosehills\.gen\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

prestigeprimrosehills\.gen\.in has been seen in 5 true positives, 0 false positives, and 0 NAAs.


renderD3tree not giving correct opening view for multilevel d3tree2 objects

You might know all about this already.  When you print the object tmd3, as created in the code at the bottom of this comment, straight from the R console it correctly renders in the browser like this:

When it's rendered in a Shiny app, it looks like this:

It's trying to show all the levels at once, not just the top level of the hierarchy.
library(shiny)
library(treemap)
library(d3treeR)
library(htmlwidgets) # see https://github.com/timelyportfolio/d3treeR/issues/11

Var1 <- letters[1:5]
Var2 <- LETTERS[1:5]
Var3 <- c("Tiger", "Lion", "Bear", "Penguin", "Eagle", "Aardvark")

ThreeLevels <- expand.grid(Var1, Var2, Var3)
n <- nrow(ThreeLevels)
ThreeLevels$Size <- abs(rnorm(n, 12, 3))
ThreeLevels$Colour <- rnorm(n, 0, 1)

tm <- treemap(ThreeLevels, index = c("Var1", "Var2", "Var3"),
            vSize = "Size", vColor = "Colour",
            type = "value", palette = "Spectral",
            fun.aggregate="weighted.mean")

tmd3 <- d3tree2(tm)

shinyApp(
  ui = fluidPage(
    sidebarLayout(
      sidebarPanel(p("Hello world")),
      mainPanel(d3treeOutput("tree"))
    )
  ),
  server = function(input, output) {
    output$tree <- renderD3tree(tmd3)
   }
)

Well, if I continue to have d3tree and d3tree2 then I will need to also add separate Shiny render functions for d3tree2.  I'm not crazy about having both the Shiny/non-Shiny versions, but I have not yet thought of a better way.

See https://github.com/timelyportfolio/d3treeR/commit/c0e312c1f730aaf8cbe568dc0fc2ae675abead50 for a temporary solution.

@ellisp, going to close for now.  Let me  know if you would like to reopen.

works fine for now, thanks


Invalid URL for document reference

Hi,
I was referring documentation for UAA APIs for User creation at "https://github.com/cloudfoundry/uaa/blob/master/docs/UAA-APIs.rst#create-a-user-post-users" when I tried clicked SCIM link reference, it gave me 404! same applies to Update user SCIM link.

*updated issue description, I mentioned SCM, instead SCIM!

9e179183091e70d0ff26e3c7675be5ac4f50a589


Binding to list of Expando objects

Hi, have you ever tried binding the grid to a list of expando objects? Seems it throws an error, not sure if it's an issue using reflection getting properties of the object to bind the columns. We were not explicitly setting any property configs and hoping it would render all dynamic properties as columns but seems to fail when binding. I see other grid components binding to this type of object, was seeing if it was something you had tried.
https://docs.microsoft.com/en-us/dotnet/api/system.dynamic.expandoobject?view=net-5.0

Hello,
I know where is the problem but I am not sure if I want to support this kind of scenario. For now is not easy way how to implement this because whole idea of configuration and other internal stuff is based on PropertyInfo. I can write own object which can represent this object for expando object. The problem is that now some internal stuff in constructed before items are binded, and for ExpandoObejct this is problem because I first need some item and after that I can construct PropertyInfo for properties.
Generally I like ideas of Dto objects so I do not consider this behaviour in the beginning. I will consider some kind of support at least for rendering but it requires a little bit more time.


Issue with CryptoSwiftHMACModule.swift

Regarding: CryptoSwiftHMACModule.swift
Hi, I'm the author of CryptoSwift and find out that you copied bunch of CryptoSwift code to single swift file. That's fine. The issue is that it interfere with CryptoSwift itself now. This is because you left public functions from extenstions that you probably don't need as public. In particular there is toHexString() and others that may cause problems. Please make it internal for your module only.
Ref: https://github.com/krzyzanowskim/CryptoSwift/issues/328
Another thing is licence compliance. As you may notice

If you use this software in a product, an acknowledgment in the product documentation is required.

If you're interested in non-attribution licence, please contact me.
Thanks!

Thanks for the input!
I've added a note in the README: 1b14440f
I've also made all of the access levels internal as you suggested: 5d7595507c

Thank you guys, the errors were gone.


Just pulling master changes

aah sorry, i am sleepy doing wrong things

No worries, actually glad to see some activity


Question: Usage of IdentityServer4 within Hosted Blazor WebAssembly Project

Does anyone have a working example wherein an IdentityServer4 service is called from a Hosted Blazor WebAssembly Project. For some reason this is the only projecttype which I cannot get to work with IdentityServer4.
Perhaps my current knowledge lacks on this part...
The case I am working on is:
The user selects to "login".
The user has to be ported to my identityserver, hosted on some server
The user is authenticated
Within the client project, I should be able to see the claims and be able to use the [Authorize] arguments
Within the controllers of de server project, I should be able to see the same and call other API's using the obtained access token.

I have tried to use Blazor Server to embed IdentityServer4. Use Blazor to implement the login and logout functions of the IdentityServer front-end. Then use a separate unmanaged Blazor WebAssembly as a client to access the Blazor Server hosted with IdentityServer4.
There were many problems during this period. Also solved many problems. Think about it later. It feels better to host IdentityServer4 in a traditional MVC project. Blazor WebAssembly still exists as a JavaScript client. Use OICD-Client.js to realize the interaction with IDP. Make another WebAPI for related background business.

Sorry but this repository is not the right place for this. Maybe some content of the last .NET Conf could interest you (https://www.youtube.com/watch?v=ecaiqrU_67k&list=PLdo4fOcmZ0oVFtp9MDEBNbA2sSqYvXSXO&index=41) otherwise consider asking your question on StackOverflow or the QA: https://docs.microsoft.com/en-us/answers/topics/364821/dotnet-aspnet-core-blazor.html


Authorization header is always sent

I have an issue concerning the interceptor, my problem is that it is adding the Authorization header to all requests including the getAccessToken & getRefreshToken, and this triggers a preflight request which is not supported from the server side.
I had to add the following code in the interceptor:
request: function(config) {
    // don't add the authorization header when the client is requesting a new token or refreshing one.
    if (angular.isDefined(config.data)) {
        var data = queryString.parse(config.data);
        if (angular.isDefined(data.grant_type) && (data.grant_type === 'password' || data.grant_type === 'refresh_token')) {
            return config;
        }
    }
    if (OAuthToken.getAuthorizationHeader()) {
        config.headers = config.headers || {};
        config.headers.Authorization = OAuthToken.getAuthorizationHeader();
    }
    return config;
}

My problem is that it added the Authorization header to all request without exclusion!   In my case it adds this header to the request to Amazon AWS and those it failed.

I solved my problem by creating my own interceptor
'use strict';

angular.module('app')
.factory('authorizationInterceptor', function() {
  return {
    request: function(config) {
      // don't add the authorization header when the client is requesting a new token or refreshing one.
      if (angular.isDefined(config.data)) {
        var data = queryString.parse(config.data);
        if (angular.isDefined(data.grant_type) && (data.grant_type === 'password' || data.grant_type === 'refresh_token')) {
          if (angular.isDefined(config.headers.Authorization)) {
            delete config.headers.Authorization;
          }
        }
      }
      return config;
    }
  };
});

and added it in my config
$httpProvider.interceptors.push('authorizationInterceptor');

Yes, i solved my problem in similar way - by creating the interceptor which removes authorization header if "config.url" contains "amazonaws.com". But it will be good, if there will be some flag that removes authorization headers from  the request. Like $http.get('/someUrl', { authorizationHeaders:"false" })...

Close issue please


nil/null support in if statements

We are trying to parse the following function :- attr1 - if(attr2==nil, 0,attr2)
Is the syntax correct because the value returned is long max.
Using latest version of DDMathParser (Swift 4.0).

Yeah, nil isn’t really a thing in DDMathParser, because numeric values always exist. In the case of variables, an error will be thrown during evaluation if the variable value is missing. Therefore, checking for nil isn’t necessary.


update for gjf v1.8

update google-java-format dependency to version 1.8
JavadocOnlyImports was removed, so remove reference to it
reorderImports(String) is deprecated, use recommended reorderImports(String, Style)
build still failing due to some maven-plugin-plugin errors I didn't understand, but updating the plugin version seemed to fix it, anything else I tried didn't

example of maven-plugin-plugin errors:
[INFO] --- maven-plugin-plugin:3.5:descriptor (default-descriptor) @ fmt-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[ERROR] Failed to analyze /Users/jllore467/.m2/repository/com/google/googlejavaformat/google-java-format/1.8/google-java-format-1.8.jar!/com/google/googlejavaformat/CommentsHelper.class

cc @malaporte because I see you reviewed/merged the last upgrade PR

it seems travis is broken, as it failed to simply download the jdk

@shua, looks like "oraclejdk8" is not supported anymore by Travis. And also the minimum supported runtime version for google-java-format 1.8 is now JDK 11, so you might need to update the .travis.yml file with:
jdk:
- openjdk11

Thanks @ericbn looks like that worked. cc @malaporte again, as this PR is ready to merge.

@malaporte (thank you for this project)

HAHAHAHA ok so this definitively got my attention. Sorry - I've been neglecting my GitHub notifications somewhat lately. I'll publish a new release right away.


Improved json grammar

This PR includes #3782 #3783 #3784 but also completely removes all whitespace generation when applying format=json.
Whitespace is completely unnecessary in JSON - it is optionally acceptable, but can be ignored if we're generating and not parsing.  Since every token costs time, money, and CO2, removing all whitespace is highly recommended.
It will also fix a buglet, where models could get "stuck" generating infinite whitespace, since there is no limit in the definition of ws for how long it can be.

could we please have a contributor review this PR? json is currently unusable with the llama3 family of models, and i think this PR should fix it

I think #3782 and #3784 are the bufixes needed to fix llama3 (or any other model that likes generating bad JSON if unconstrained) -- one prevents output of malformed JSON strings (with unescaped characters in the middle of the strings); the other prevents endless whitespace at the end of the generated JSON. #3783 is more of a feature patch, allowing more flexibility in the JSON which is generated, so that you don't always require an object wrapper at the top level of the JSON - you can just have bare literal strings/numbers/arrays.  That's sometimes good, but sometimes bad; I've actually seen llama3 generate worse JSON with #3783 than without it, cos it'll do something like:
"{\"key\":\"value\"}"

ie is starts off with a literal string, and then it realizes it wants to do an object, so you end up with a string that contains JSON...
This patch here I didn't include separately, but it's a good performance boost by removing interior whitespace in the JSON so the LLM just skips emitting all the whitespace characters that are un-needed.
My recommendation to whoever's deciding here would be to either accept this PR (ie all the changes), or else accept this one, then back out #3783 if you think allowing non-objects at the top level in JSON is too much.

Personally, I think it is better to allow interior whitespace, but limit it to up to one new line and up to a small number of spaces between fields. Papers like “let’s think dot by dot” show that every token of output can help the models perform better, so if they want more “time” to think, a little flexibility for the “comfort” of the model isn’t a terrible thing.
On the other hand, whitespace after the JSON is already syntactically valid is a total waste of time.
Regarding excessive flexibility on the top level type causing issues, I agree with that as well. I wish we could just supply either a custom grammar or a JSON Schema or something, but since we can’t… I wish we could at least specify whether we want an object or an array as the top level type. I do not see any possible reason to allow a string or a null as the top level type, but I could see some argument for a number or a Boolean. In the absence of being allowed to specify a top level type at all, I’d either choose between only allowing an object or allowing an object or an array.

I also wish we could get a maintainer to look at these changes… it has been awhile. @jmorganca ?

It might be worth benchmarking whether or not the response quality suffers if you disallow whitespace.
It's conceivable that models might benefit from whitespace, either because the indentation helps them keep track of where they are in the object hierarchy, or because of the "let's think dot by dot" result that @coder543 mentions. If that's the case, then perhaps there should be an option to toggle whitespace in the output.
But it's also conceivable that it makes little to no difference, and then we might as well default to never generating whitespace, to save on tokens.
I'll be away from my development machine for a while, but if I have anything to report in the future, I'll leave a comment here.

my reply isn't gonna be very constructive, but does it matter if quality is a tad worse? for any sort of real time production use case, json mode is unusable. waiting 10+ seconds for a response because the LLM keeps outputting whitespace after the answer is not a feature, it's a bug; it would freeze usually but there's a mechanism in ollama which cuts off generation if a character is repeated too many times (which also breaks the ollama JS library, since it throws an error if done is false on a non streamed request)

I agree, and to be clear, my comment was only about the part where we remove all whitespace generation. Quoting the OP:

This PR includes #3782 #3783 #3784 but also completely removes all whitespace generation when applying format=json.

The changes in #3782 #3783 #3784 seem like unambiguous improvements, and I think they're all worth merging.

removing all whitespace seems like an unambiguous improvement too. i don't see why generation quality would be hindered, and every token is more CO2 (like OP said)

@not-nullptr because of the Let’s Think Dot by Dot paper I linked? And in my previous reply, I was extremely clear that whitespace after the end of the valid JSON is a “total waste of time.” I’m not suggesting to keep that, at all. Why would anyone?
Regardless, I’d rather have these changes as-is than keep the current (broken) state of things, even if I believe forcibly removing all interior whitespace goes against the currently understood research on output quality.

I'd offer with the ability to override the grammar on API calls as in this https://github.com/ollama/ollama/pull/4525 PR, we wouldn't have to debate which grammar to use for JSON.

It might be worth benchmarking whether or not the response quality suffers if you disallow whitespace.
It's conceivable that models might benefit from whitespace, either because the indentation helps them keep track of where they are in the object hierarchy, ~or because of the "let's think dot by dot" result that @coder543 mentions~ [1]. If that's the case, then perhaps there should be an option to toggle whitespace in the output.
But it's also conceivable that it makes little to no difference, and then we might as well default to never generating whitespace, to save on tokens.
I'll be away from my development machine for a while, but if I have anything to report in the future, I'll leave a comment here.
[1] Update: Reading the "Let's Think Dot by Dot" paper, their method requires bespoke model finetuning and doesn't work on existing models. So I don't think this is a concern here.

I have actually noticed that Phi-3 generates garbage JSON unless it's allowed to first output a single space, then begin the {..., I've tried adjusting prompts to put the leading space in the reply and hope for continuation, but it just outputs another space and then then JSON.  Constraining the output to not include that initial space for Phi-3 basically completely crippples it.

my reply isn't gonna be very constructive, but does it matter if quality is a tad worse? for any sort of real time production use case, json mode is unusable. waiting 10+ seconds for a response because the LLM keeps outputting whitespace after the answer is not a feature, it's a bug; it would freeze usually but there's a mechanism in ollama which cuts off generation if a character is repeated too many times (which also breaks the ollama JS library, since it throws an error if done is false on a non streamed request)

trailing whitespace in particular ought to always be truncatable.  There's NO REASON ever to generate it.  The rest has already been generated, so JSON quality can't drop based on removing trailing WS.  As mentioned above though, some models definitely suffer when leading or interior whitespace is forced out, though how much will vary from model to model.

Phi3 is also super sensitive to interior whitespace I guess.  These runs were with a JSON grammar that allows ws before the root object, but removes all other whitespace (like this #3785 but allowing an initial space that Phi3 requires). As can be seen, this completely breaks the LLM which just stop generating very early.  When we don't force that tight JSON grammar, the model does just fine on its own (with a single trailing '\n')
[craig@Megamind:~]$ ollama run phi3:medium-128k-instruct-q8_0 'Please return a JSON object representing an address book entry for some invented person' --format=json                                                                              [√][!21742]
 {"name": {"firstName":

[craig@Megamind:~]$ ollama run phi3:medium-128k-instruct-q8_0 'Please return a JSON object representing an address book entry for some invented person'                                                                                [√][!21743]
 {
  "name": "Jane Doe",
  "email"<EMAIL_ADDRESS>  "phone_number": "+1-555-0123456",
  "address": {
    "street": "123 Main St.",
    "city": "Metropolis",
    "state": "NY",
    "postal_code": "10001"
  },
  "notes": "Close friend and colleague. Enjoys hiking and photography."
}

...so probably this patch is not a good one in general, but #3782 and #3784 definitely are unambiguous improvements.  #3783 I've had occasional issues - some LLMs seem to like generating stringified JSON (ie JSON inside a string) with #3783 so if what you want is objects, you might often not get them with that patch depending on the LLM.
I'm closing this PR since it doesn't seem ideal after using it in a variety of models for a while now.  Leaving the others, and I'll add some notes to #3783


support list input for template_finder.search()

Merged and updated a line or two to catch up to recent updates. Tested a few runs on it tonight, going fine. Should be ready for review.


feat: added log file streaming

As stated in #2 , this configuration will output logs to a file.

I was getting this error during build
><EMAIL_ADDRESS>build C:\Users\aaron\Documents\projects\logger
> rollup -c

(node:33272) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

src/index.ts → dist...
(!) Plugin typescript: @rollup/plugin-typescript TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
src/filelogger.ts: (9:5)

9     this.#dirname = directoryname(filename)
      ~~~~~~~~~~~~~

(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
(!) Plugin typescript: @rollup/plugin-typescript: outputToFilesystem option is defaulting to true.
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
fs (imported by "src/filelogger.ts")
path (imported by "src/filelogger.ts")
created dist in 2.3s

hence I added tslib

coverage is not stopping. hmm

@aarontravass there's a permission error for reading a file, please check your tests and make sure they don't reference any system files

@aarontravass there's a permission error for reading a file, please check your tests and make sure they don't reference any system files

it's a problem even on master https://github.com/tinyhttp/logger/actions/runs/5100346720/jobs/9168579370
Should I move tests to vitest?

Let me take a look once again.

ci passed :)


Fixing loading storyblok brdige even if it is not needed

The storyblok bridge is loaded even it is not needed
The current implementation loads "storyblok-v2-latest.js" everytime.
But we only need it in the editor, this flag checks if we are in the editor.
I don't know if this is the right way to check or if those values change which is why I am publishing this as a draft

Added in the PR https://github.com/storyblok/storyblok-js/pull/247. Thanks a lot for your suggestion! Finally, we did it 🎉


Lucene index shouldn't be used with = operator

I would have expected = operator to perform an exact match, instead the lucene index is being used.
I found following discussion, but can't see a related issue or apparent fix? https://groups.google.com/forum/#!topic/orient-database/ENp6U6JUo8w
e.g.
SELECT value from Action where value = 'do something else'
Yields:
{
"result": [
{
"@type": "d",
"@rid": "#-2:0",
"@version": 0,
"value": "do something"
}
],
"notification": "Query executed in 0.014 sec. Returned 1 record(s)"
}

I wouldn't call this a bug, it's more that there is currently no obvious way to do an exact string match on a column with a Lucene index. This "fix" implied that we would be able to do so by using "=" instead of "LUCENE", but it doesn't seem to work that way, at least if this has been incorporated into 2.1-rc2.


no module named 'dbus'

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):

$ uname -a
Linux Ridl3y 4.19.27-gentoo-r1 #1 SMP Tue Mar 19 20:10:14 EDT 2019 x86_64 Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz GenuineIntel GNU/Linux

Python version (run python -version or python3 -version):

$ python3 --version
Python 3.6.5

Error message you are receiving, including any Python exception traces:

$ python3 list_uarts.py
Traceback (most recent call last):
  File "list_uarts.py", line 11, in <module>
    ble = Adafruit_BluefruitLE.get_provider()
  File "/home/msirabella/Documents/projects/blueduck/venv/lib/python3.6/site-packages/Adafruit_BluefruitLE/platform.py", line 38, in get_provider
    from .bluez_dbus.provider import BluezProvider
  File "/home/msirabella/Documents/projects/blueduck/venv/lib/python3.6/site-packages/Adafruit_BluefruitLE/bluez_dbus/provider.py", line 29, in <module>
    import dbus
ModuleNotFoundError: No module named 'dbus'

List the steps to reproduce the problem below (if possible attach code or commands
to run):

install library in virtual environment
$ pip install git+http://github.com/adafruit/Adafruit_Python_BluefruitLE.git
clone repository
$ git clone git@github.com:adafruit/Adafruit_Python_BluefruitLE.git
run example
$ python3 Adafruit_Python_BluefruitLE/examples/list_uarts.py

$ pip install dbus-python fixed this issue

This library has been deprecated. Please update to use this new library:
https://github.com/adafruit/Adafruit_Blinka_bleio
If you continue to have this issue, please open a new issue in that repo.


fix: downloaded_at filter

Summary:
Changes:

[x] Fix downloaded_at filtering (remove 2 underscores in the code to make this work) It was not necessary as QA was already working. This was verified with the added unit tests.
[x] Update downloaded at queries from downloaded_at_gte and downloaded_at_lte to downloaded_before and downloaded_ after
[x] Includes datetime format in the description of both queries: e.g 2024-02-10T01:06:00Z
~In testing steps, make sure that we can do partial matches (e.g just the date with no timestamp)~
[x] Refactor error handling to standardize status codes and formatting
[x] Enhance local debugging

Fixes #285
Expected behavior:
Testing tips:

Start application locally
Open Postman hit the following endpoints:

http://localhost:8080/v1/gtfs_feeds/mdb-1/datasets?downloaded_before=2024-12-01T00:00:00Z
Expect HTTP 200 with body

[
{
.. all your 2024 datasets for mdb1 feed
}
]

http://localhost:8080/v1/gtfs_feeds/mdb-1/datasets?downloaded_before=2024
Expect HTTP 422 with body

{
    "detail": "Invalid date format for 'downloaded_before'. Expected ISO 8601 format, example: '2021-01-01T00:00:00Z'"
}

http://localhost:8080/v1/gtfs_feeds/{id}/datasets?downloaded_after=2024
Expect HTTP 422 with body

{
    "detail": "Invalid date format for 'downloaded_after'. Expected ISO 8601 format, example: '2021-01-01T00:00:00Z'"
}

http://localhost:8080/dataset_latitudes=2024-01-30T00:00:00&dataset_longitudes=00&bounding_filter_method=completely_enclosed
Expect HTTP 422 with body

{
    "detail": "Invalid bounding coordinates 2024-01-30T00:00:00 00"
}

http://localhost:8080/v1/gtfs_feeds/invalid_id
Expect HTTP 422 with body

{
    "detail": "GTFS feed '2' not found"
}

-  http://localhost:8080/v1/gtfs_rt_feeds/invalid

Expect HTTP 422 with body
{
    "detail": "GTFS realtime Feed 'invalid' not found"
}

Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with ./scripts/api-tests.sh to make sure you didn't break anything
[x] Add or update any needed documentation to the repo
[x] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)

Testing local as per the testing tips, I issue:
http://localhost:8080/v1/gtfs_feeds/mdb-1/datasets?downloaded_before=2024-12-01T00:00:00Z
And get Internal Server Error
With this log:
...
  File "/Users/jcpitre/IdeaProjects/mobility-feed-api/api/src/./feeds/impl/feeds_api_impl.py", line 345, in get_gtfs_feed_datasets
    downloaded_at__lte=datetime.fromisoformat(downloaded_before) if downloaded_before else None,
ValueError: Invalid isoformat string: '2024-12-01T00:00:00Z'

Testing locally as per the testing tips, I issue: http://localhost:8080/v1/gtfs_feeds/mdb-1/datasets?downloaded_before=2024-12-01T00:00:00Z And get Internal Server Error With this log:
...
  File "/Users/jcpitre/IdeaProjects/mobility-feed-api/api/src/./feeds/impl/feeds_api_impl.py", line 345, in get_gtfs_feed_datasets
    downloaded_at__lte=datetime.fromisoformat(downloaded_before) if downloaded_before else None,
ValueError: Invalid isoformat string: '2024-12-01T00:00:00Z'

I investigated a bit and it seems fromisoformat does not like the Zat the end of 2024-12-01T00:00:00Z

Good catch, I was testing locally via Pycharm with Python 3.11(my bad). It's a bug affecting Python 3.10 and already fixed in 3.11. Until we can upgrade, let me add a patch to be able to process the valid Z timezone.

Some of the testing tips above are wrong (e.g. http://localhost:8080/dataset_latitudes=2024-01-30T00:00:00&dataset_longitudes=00&bounding_filter_method=completely_enclosed)
I could test to make sure it failed properly if a wrong date format was given.
But I could not really test if the filtering itself worked. I could not properly connect with the dev deployment.

Some of the testing tips above are wrong (e.g. http://localhost:8080/dataset_latitudes=2024-01-30T00:00:00&dataset_longitudes=00&bounding_filter_method=completely_enclosed)
I could test to make sure it failed properly if a wrong date format was given. But I could not really test if the filtering itself worked. I could not properly connect with the dev deployment so I could use a properly filled DB.

Sorry if I was not explicit enough on the test case. The idea of that test is the parameters that are passed are actually wrong so the consumer gets HTTP status 422.

Sorry if I was not explicit enough on the test case. The idea of that test is the parameters that are passed are actually wrong so the consumer gets HTTP status 422.
I see. I should have understood that you are not only testing the downloaded_at filter, but also the error handling in general.


Plugins are not loaded

Master branch is not loading plugins.
It looks like the plugin loader is never called. Unless there was some breaking change? I can only tell that the Plugin class inside my plugin is never created.
It works fine in 0.2.1
PS.
plugin.json is now created in src directory, in 0.2.1 it was created in the root. Not sure if that's by design or missed in refactoring?

@pbogut plugins are not working with master, there were some BC. I'm thinking about how they should work now

I also not sure how it will work if we pack padawan as phar https://github.com/mkusher/padawan.php/issues/49
@greg0ire what do you think about phar + plugins?

I think it's possible b/c the phpunit phar can load the code under test and additional libraries


Feature Request: Ignore specific tsserver codes

Would it be possible to add a configuration option for disabling specific tsserver disagnostics/suggestions codes.
My specific usecase, is that I want to ignore 7016 - Could not find a declaration file for module ...
But instead of disabling all suggestions, I would like to just ignore that. But maybe a configuration for disabling specific codes, could be more generic and helpful in other cases as well?

PR welcome.

Cool, would you implement it here?
https://github.com/neoclide/coc-tsserver/blob/master/src/server/features/diagnostics.ts#L145

No, I don't like the idea to ignore specific diagnostics, it can be useful, the feature should be provided by configuration of language server, not client.

tsserver doesn't seem to support this, from what I can find.
If it is an opt in feature, would it be that bad, you are already doing specific checks for code 6133

It's same as VSCode, we will support ignore 7016 when VSCode support it.

Use
  "javascript.suggestionActions.enabled": false,
  "typescript.suggestionActions.enabled": false,