Synthesis failed for java-storage

Hello! Autosynth couldn't regenerate java-storage. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
 git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 694118b chore(python): omit google/__init__.py in coverage (#1267)
2021-10-28 14:45:07,095 autosynth [DEBUG] > Running: git branch -f autosynth-58
2021-10-28 14:45:07,099 autosynth [DEBUG] > Running: git checkout autosynth-58
Switched to branch 'autosynth-58'
2021-10-28 14:45:07,104 autosynth [INFO] > Running synthtool
2021-10-28 14:45:07,104 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-10-28 14:45:07,104 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-storage/58/sponge_log.log
2021-10-28 14:45:07,106 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-28 14:45:07,350 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-58
nothing to commit, working tree clean
2021-10-28 14:45:07,516 synthtool [DEBUG] > Ensuring dependencies.
2021-10-28 14:45:07,527 synthtool [DEBUG] > Cloning googleapis.
2021-10-28 14:45:07,530 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-28 14:45:07,534 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-28 14:45:07,538 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-java/archive/v2.2.1.zip) = eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/0.5.0.tar.gz) = a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.53.0.zip) = f5488a98f7a08a96f6475dbf6f40686b743c93a8185d407d4fcd5e15eb747541
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f5488a98f7a08a96f6475dbf6f40686b743c93a8185d407d4fcd5e15eb747541"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 3.983s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-28 14:45:11,533 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-28 14:45:11,606 autosynth [ERROR] > Synthesis failed
2021-10-28 14:45:11,607 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-28 14:45:11,612 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-28 14:45:11,618 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-29 14:33:24,299 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-63
nothing to commit, working tree clean
2021-10-29 14:33:24,482 synthtool [DEBUG] > Ensuring dependencies.
2021-10-29 14:33:24,492 synthtool [DEBUG] > Cloning googleapis.
2021-10-29 14:33:24,495 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-29 14:33:24,500 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-29 14:33:24,504 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "f5488a98f7a08a96f6475dbf6f40686b743c93a8185d407d4fcd5e15eb747541"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.294s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-29 14:33:24,814 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-29 14:33:24,885 autosynth [ERROR] > Synthesis failed
2021-10-29 14:33:24,886 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-29 14:33:24,891 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-29 14:33:24,897 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-30 01:33:14,995 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-66
nothing to commit, working tree clean
2021-10-30 01:33:15,154 synthtool [DEBUG] > Ensuring dependencies.
2021-10-30 01:33:15,164 synthtool [DEBUG] > Cloning googleapis.
2021-10-30 01:33:15,167 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-30 01:33:15,171 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-30 01:33:15,174 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97fbe9460f88f0532c7458ce7c7c51c1bb67791613f77e0e4cf14eac005a7a20"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.196s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-30 01:33:15,384 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-30 01:33:15,442 autosynth [ERROR] > Synthesis failed
2021-10-30 01:33:15,442 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-30 01:33:15,447 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-30 01:33:15,453 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-30 14:33:10,106 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-66
nothing to commit, working tree clean
2021-10-30 14:33:10,262 synthtool [DEBUG] > Ensuring dependencies.
2021-10-30 14:33:10,272 synthtool [DEBUG] > Cloning googleapis.
2021-10-30 14:33:10,274 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-30 14:33:10,278 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-30 14:33:10,281 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97fbe9460f88f0532c7458ce7c7c51c1bb67791613f77e0e4cf14eac005a7a20"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.275s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-30 14:33:10,568 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-30 14:33:10,630 autosynth [ERROR] > Synthesis failed
2021-10-30 14:33:10,631 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-30 14:33:10,637 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-30 14:33:10,642 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-31 01:33:22,828 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-66
nothing to commit, working tree clean
2021-10-31 01:33:22,995 synthtool [DEBUG] > Ensuring dependencies.
2021-10-31 01:33:23,005 synthtool [DEBUG] > Cloning googleapis.
2021-10-31 01:33:23,008 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-31 01:33:23,012 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-31 01:33:23,016 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97fbe9460f88f0532c7458ce7c7c51c1bb67791613f77e0e4cf14eac005a7a20"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.287s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-31 01:33:23,315 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-31 01:33:23,385 autosynth [ERROR] > Synthesis failed
2021-10-31 01:33:23,385 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-31 01:33:23,391 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-31 01:33:23,397 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-10-31 14:33:12,764 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-66
nothing to commit, working tree clean
2021-10-31 14:33:12,926 synthtool [DEBUG] > Ensuring dependencies.
2021-10-31 14:33:12,935 synthtool [DEBUG] > Cloning googleapis.
2021-10-31 14:33:12,938 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-10-31 14:33:12,942 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-10-31 14:33:12,945 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97fbe9460f88f0532c7458ce7c7c51c1bb67791613f77e0e4cf14eac005a7a20"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.183s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-10-31 14:33:13,148 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-10-31 14:33:13,222 autosynth [ERROR] > Synthesis failed
2021-10-31 14:33:13,222 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-10-31 14:33:13,227 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-10-31 14:33:13,233 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-storage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the java-storage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-11-01 01:33:21,843 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-storage/synth.py.
On branch autosynth-67
nothing to commit, working tree clean
2021-11-01 01:33:22,008 synthtool [DEBUG] > Ensuring dependencies.
2021-11-01 01:33:22,018 synthtool [DEBUG] > Cloning googleapis.
2021-11-01 01:33:22,021 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-11-01 01:33:22,025 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-11-01 01:33:22,028 synthtool [DEBUG] > Generating code for: //google/storage/v2:google-cloud-storage-v2-java.
Loading:
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_gax_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3ef68c370808ab3ca25aa93cd309f28e9916730f0ac96f5ce174784ffb34657e"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:182:1
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "416f94c976b5f2d0625e9c64391aa10520fa05e6f618803e4b7fc85098b02078"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:131:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:197:1
DEBUG: Rule 'gapic_generator_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "eb80ec9b540b84b077c84b51f73b98755d70b2b3d56083f455d3f5bfafd67f5b"
DEBUG: Call stack for the definition of repository 'gapic_generator_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:207:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a2fd4c2a8bcf897b718e5643040b03d9528ac6179f6990774b7c19b2dc6cd96b"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "97fbe9460f88f0532c7458ce7c7c51c1bb67791613f77e0e4cf14eac005a7a20"
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/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:237:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:198:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl:105:9: Traceback (most recent call last):
	File "/home/kbuilder/.cache/synthtool/googleapis/WORKSPACE", line 249
		gapic_generator_python()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 12, in gapic_generator_python
		_maybe(pip_install, <2 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/repositories.bzl", line 84, in _maybe
		repo_rule(name = repo_name, <1 more arguments>)
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl", line 94, in repo_rule
		pip_install_dependencies()
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/repositories.bzl", line 74, in pip_install_dependencies
		versions.check("4.0.0")
	File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/third_party/github.com/bazelbuild/bazel-skylib/lib/versions.bzl", line 105, in versions.check
		fail(<1 more arguments>)
Current Bazel version is 3.0.0; expected at least 4.0.0
ERROR: error loading package '': Encountered error while reading extension file 'repositories.bzl': no such package '@com_googleapis_gapic_generator_go//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.284s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-11-01 01:33:22,335 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/storage/v2:google-cloud-storage-v2-java:

None
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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-storage/synth.py", line 31, in <module>
    preserve_gapic=True,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 360, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/storage/v2:google-cloud-storage-v2-java']' returned non-zero exit status 1.
2021-11-01 01:33:22,436 autosynth [ERROR] > Synthesis failed
2021-11-01 01:33:22,437 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57bec4d chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#1130)
2021-11-01 01:33:22,442 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-11-01 01:33:22,448 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


how to change text size and boxes color

Hello guys i realy enjoy image ai , but i want to do some customization.
Please tell me how to change text size and boxes colors

go to folder imageai\Detection\keras_retinanet\utils and choose visualizatiion.py


Add ramp primitive

Objective

Fixes the ramp related parts of #11786

Solution

Added Ramp to bevy_math and implemented traits for Ramp.

Changelog

Implemented for Ramp: Default, Meshable, impl_reflect!, Bounded3d and for Gizmos: impl GizmoPrimitive3d<Ramp> for Gizmos

One remaining issue is that Cone as described in the RFC is centred at the centre of its base circle. The gizmo cone however is centred at the middle of its vertical axis.

I'm personally in favour of centring the mesh like the gizmo because it would not introduce breaking changes and it seems more consistent with the implementations of the other shapes, but in that case the RFC should probably be updated.

Could ramp also be represented by a more general prism?

It could be, but I don't think it should be. The issue with that is that these shapes are preferably simple. If we would implement a general prism, we would probably want it to be a prism with a regular base (as in a regular n-gon). The ramp always has one 90° corner though and can as such not be such a prism.
Alternatively, we could implement a Wedge shape, which would cover all triangular prisms and a bit more.

Was referring to https://docs.godotengine.org/en/stable/classes/class_prismmesh.html a ramp would basically be a prism with left_to_right set to 0.0, is just a thought, the problem with wedges is that they don't have to be parallel, and prism is a subclass, and ramps are a subclass of prisms

First, why are we making a specific shape for triangular prisms instead of just extruding our 2d shapes? I feel that either we should do "general right prisms" or we should do "ramps", and this is sort of a weird middle-ground.

The current implementation allows for any kind of triangle as the base of the prism. I am not sure what the difference between a "general right prism" and a "ramp" would be though. However, assuming both are triangular prisms, both of them are possible with this implementation.
Currently, both right-angled-triangles as well as any other triangle can be used as the base shape, which brings us closer to what other engines like Godot allow, but which is not what the original RFC is describing. I would personally be in favour of adding a ramp and maybe a wedge shape as described in #11786. This would probably be good, because most users will probably want to use Ramps without the additional complexity, but for those who actually want wedges (including prisms) the Wedge shape would be available. This is probably a design decision though and I would appreciate some feedback. :)

Second, I was confused by the example in 3d_shapes. The base seems to be an irregular triangle, which I was not expecting from the code. Are we sure that's correct?

Yes, this is correct. The apex_displacement is set to 0.5 meaning that the apex edge of the prism will be above the half way point between the center of the bottom quad and its back edge.

Currently, both right-angled-triangles as well as any other triangle can be used as the base shape

I was asking about right prisms not right triangle bases. As in a prism that is not oblique.

Ok, after a bit of discussion with the author I'd like to suggest reverting this back to just plain-old-ramps. While I would like to see an arbitrary prism primitive, I find the apex_displacement parameter rather intuitive and at odds with our general approach to triangles.
For general prisms, it seems like it would be nicer to add the ability to extrude our (compact) 2d primitives into 3d primitives. Lets leave that for possible follow up.

Agreed.


Use Carthage for building

This change allows for building fat frameworks of Chisel using Carthage.

Adds an empty Cartfile
Makes 'Chisel' scheme shared

Eventually the plan is for Chisel to make use of external libraries, so the Cartfile won't always be empty.
To build a fat framework, I ran the command:
carthage build --no-skip-current

To load the resulting framework at runtime, run this command in lldb:
ex void* $chisel = (void*)dlopen("/path/to/Chisel.framework/Chisel", 1)

where 1 is the value of RTLD_LAZY. See man dlopen.
Once loaded, Chisel lldb commands can call into the Chisel.framework to do work that is best suited as "in-process". Other work that requires the lldb API can be performed by the python files.

cc @Gricha

I'll update this description later to include steps for adding an external library.

:shipit:


"XxOoRr" problem of codechef

Aim
I want to add the code for "XxOoRr" problem of codechef (July Challenge 2021)
Contest ended on July 12th
Details
Problem name : XxOoRr
Problem Code : XXOORR
Problem link : https://www.codechef.com/JULY21C/problems/XXOORR
Please assign me this issue
LGM-SOC Participant
Programming language
C++

[ ] C
[x] C++
[ ] Java
[ ] Python

@Amit366 @ravikr126 @Ayush7614 Please assign this issue to me under the label LGM-SOC


Allow programatic registration of complex task properties

Expected Behavior
Programatic registration of task inputs and outputs should allow all features which can be achieved by annotating the java-properties of the task implementation.
Current Behavior

Declarative registration
Programatic registration

@InputFiles
task.getInputs().files()

@InputFile
task.getInputs().file()

@Input
task.getInputs().property()

@InputDirectory
task.getInputs().dir()

@OutputDirectories
task.getOutputs().dirs()

@OutputDirectory
task.getOutputs().dir()

@OutputFile
task.getOutputs().file()

@OutputFiles
task.getOutputs().files()

@Optional
org.gradle.api.tasks.TaskInputFilePropertyBuilder#optional() and org.gradle.api.tasks.TaskInputPropertyBuilder#optional

@SkipWhenEmpty
org.gradle.api.tasks.TaskInputFilePropertyBuilder#skipWhenEmpty()

@Classpath and @CompileClasspath
org.gradle.api.tasks.TaskInputFilePropertyBuilder#withNormalizer

@PathSensitive
org.gradle.api.tasks.TaskInputFilePropertyBuilder#withPathSensitivity

@Destroys
task.getDestroyables().register()

@Nested
???

Context
Im doing post-processing of class-files generated by javac by adding a custom task action to the compileJava task via compileJava.doLast(). This action has a lot of options which are represented as a pojo annotated with the annotations mentioned above. The options-object is added to the task as extension, so the options can be easily set from the buildscript.
Steps to Reproduce (for bugs)
Not relevant
Your Environment
Gradle 4.8.1

Thank you for reporting. @Destroys can be handled by task.destroyables.register. There is no runtime API for @Nested, yet. I guess that is what you are after?

Yes, thats exactly what I'm after.
I've updated the table above to contain the destroyables api.

What would be your expectation where that method lives? It can be used to declare inputs, outputs and destroyables. We could use task.inputs.nested(name, value). Would that be where you expect the method?

How about treating all custom actions registered via doLast and doFirst as @Nested?

What is the use case you are trying to solve with a programmatic @Nested approach?

I'm enhancing the compileJava task with a custom action which performs some postprocessing on the class files (post-compile-weaving with aspectj/ajc).
This action has its own inputs (e.g. which aspects to weave) and I want these inputs to be considered in the up-to-date check of the enclosing Task.
At the moment I have to register all inputs of the action manually at the task. This would be easier if Gradle could just read the input annotations in my action.

One option we are looking into indeed is to allow adding "self-contained actions" to tasks, i.e. closures with their inputs and outputs specified. I'm not sure about the timeline yet, though.

Are there any plans regarding this issue?

@remal Currently, this issue is not on our roadmap.

Don't close this issue. This is an automatic message by Fresh - a bot against stale bots.

In the meantime, I created a small utility class to help with this: https://github.com/freefair/gradle-plugins/blob/f2cc3e7056ad0b4d4926a355a19c59e97609522f/plugin-utils/src/main/java/io/freefair/gradle/util/TaskUtils.java
The Jar is available on maven central here: https://repo.maven.apache.org/maven2/io/freefair/gradle/plugin-utils/6.4.3/

@ephemient I fully agree.
Which is why I requested it in https://github.com/gradle/gradle/issues/11117. :-)


fix: prevent undefined module error when checking for node/browser environment

This was breaking WADO Image Loader's deflate support

@swederik I think this condition is insufficient to detect the browser environment. It may fail in web worker.


Return codes to distinguish when ninja fails to execute the flow or to startup the execution

Currently, on linux, the ninja process exits with status 1 if any kind of error exists.
I propose two different exit statuses, for the ninja process, to determine whether:

the flow did not started the execution at all, i.e. ninja file has a syntax error
or the flow execution has failed

The main goal is to simplify the implementation of automated workflows based on ninja files generators.
Adriano

Sounds like a good idea.


Update requirements.txt error by installing transformers version

Resolved installation error by installing transformers version in requirements.txt

Thank you, I have just done.

Hey again, is there any update? I signed the contributir licence agreement

but I've alreay signed the CLA, here is the message I got
You already signed the CLA on 2023-06-03


nrt: intramembrane serine-type protease activity

Catalysis of the hydrolysis of internal, alpha-peptide bonds within the transmembrane domain of a polypeptide chain by a catalytic mechanism that involves a catalytic triad consisting of a serine nucleophile that is activated by a proton relay involving an acidic residue (e.g. aspartate or glutamate) and a basic residue (usually histidine).
synonym narrow "Rhomboid protease"
parent GO:0004252
ref: PMID:27655872

I'll leave the final decision to the current GO editors, but this sounds like the sort of substrate-specific thing that we were actively encouraged by MEROPS experts to remove (obsolete) and not use as the basis for distinguishing peptidase activities back when we did the big peptidase activity overhaul.

I would have thought that cleaving a transmembrane region, within the membrane is exactly the type of functional distinction we would want to capture in GO....this is less about the "location" of the protease per se and more about the "type" of protein which is being cleaved....
(I will capture the substrate as an extension).
This  is very informative to the end user, and I can't think of another way to capture it. The author made the term suggestion, and so clearly thinks it is important...
But I can easily use the parent and the extension and lose this detail and the ability to group other such proteases.....

more about the "type" of protein which is being cleaved

Yes - that's substrate specificity. We were strongly advised to use only mechanism, not substrate, to differentiate peptidase activities in MF.

Perhaps a good compromise would be to make a BP term for cleavage of a protein within the transmembrane domain.  We can then make an MF term following an involved in pattern.
?

Its an activity though and it makes the annotations quite convoluted linking the functions to the processes. I can leave it if its out of scope....

OK can close. Its a shame  as they do assay for this "intra membrane" cleavage  using a model substrate, which is sort of "mechanism"


cmake: Enforce that the DTC is at least 1.4.6

The Zephyr SDK distributes a device-tree-compiler with version
"1.4.6-dirty". As of recently, we have started using flags that are
only present in recent versions of dtc. Like the flag "-E
unit_address_vs_reg".
Users that are opting out of using the Zephyr SDK's host tools are
reporting obscure error messages.
To avoid this we use an appropriate error message when the detected
version is unsupported.
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

note: new SDK coming shortly will have a more recent version.
see https://github.com/zephyrproject-rtos/meta-zephyr-sdk/pull/106

Codecov Report

Merging #10680 into master will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10680      +/-   ##
==========================================
+ Coverage   53.08%   53.24%   +0.15%
==========================================
  Files         214      214
  Lines       25828    25828
  Branches     5695     5695
==========================================
+ Hits        13712    13753      +41
+ Misses       9807     9760      -47
- Partials     2309     2315       +6

Impacted Files
Coverage Δ

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b20f9d...2577a52. Read the comment docs.


test-branch/execute-job/quoted-authorization/8707828a-9b81-4887-b76c-edbd1129d6e6

PR for testing 46b512c993c9a69203192e85c59211b4fcbca89b

/canonical/self-hosted-runners/run-workflows 46b512c993c9a69203192e85c59211b4fcbca89b


[9.1.1-ibm-0001-quarkus-full] DBACLD-141936: Removing warning about dev services

Commenting quarkus properties that don't need to be there.

Are we ready to merge this?

LGTM, thanks @LightGuard!


Post about multiple dependency builds

Hey @etagwerker @mauro-oto ,
This PR adds a new post to the blog about how to run multiple dependency builds.
Please check it out. Thanks!

@etagwerker updated!

@etagwerker done


Add KeeWeb

Project description
Keeweb webapp is a browser and desktop password manager compatible with KeePass databases.
It features an Electron-based desktop application.
Metadata

homepage URL: https://keeweb.info/
source URL: https://github.com/keeweb/keeweb
license: mit
platforms: Electron (unix, linux, darwin, windows) and Web

still important to me

While PR to nixpkgs is still open, I've added keeweb to NUR repo (nur.repos.sikmir.keeweb) as well.


Possible to use local rate limit by IP?

Title: Possible to use local rate limit by IP?
Description:
I have been unable to get rate limit by IP to work with local http rate limits. Pieces of docs seem to imply it might be possible, but I have been unable to find any full examples.
This is example of failed attempt:
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: httpbin-ratelimit
  namespace: test
spec:
  workloadSelector:
    labels:
      app : test
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        context: SIDECAR_INBOUND
        listener:
          filterChain:
            filter:
              name: "envoy.filters.network.http_connection_manager"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.local_ratelimit
          typed_config:
            "@type": type.googleapis.com/udpa.type.v1.TypedStruct
            type_url: type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
            value:
              stat_prefix: http_local_rate_limiter
              token_bucket:
                max_tokens: 100
                tokens_per_fill: 50
                fill_interval: 60s
              filter_enabled:
                runtime_key: local_rate_limit_enabled
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              filter_enforced:
                runtime_key: local_rate_limit_enforced
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              response_headers_to_add:
                - append_action: APPEND_IF_EXISTS_OR_ADD
                  header:
                    key: x-rate-limited
                    value: TOO_MANY_REQUESTS
              descriptors:
              - entries:
                - key: remote_address
                  value: "%DOWNSTREAM_DIRECT_REMOTE_ADDRESS_WITHOUT_PORT%"
                token_bucket:
                  max_tokens: 1
                  tokens_per_fill: 1
                  fill_interval: 60s
    - applyTo: VIRTUAL_HOST
      match:
        context: SIDECAR_INBOUND
        routeConfiguration:
          vhost:
            name: ""
            route:
              action: ANY
      patch:
        operation: MERGE
        value:
          rate_limits:
          - actions:
            - remote_address: {}

AFAIK, local ratelimit only support ip limit based on the ip configured, so here
              - entries:
                - key: remote_address
                  value: "%DOWNSTREAM_DIRECT_REMOTE_ADDRESS_WITHOUT_PORT%"

should be like:
              descriptors:
              - entries:
                - key: remote_address
                  value: <IP_ADDRESS>

It require lots of memory or resource to do a dynamic per IP limitation. Only the way that @StarryVae noticed is supported for now.
cc @mattklein123


Decouple Customers read model from ClientOrders in UpdatePaidOrdersSummary

Right now it's not easy to "join" the information with total_value and customer info from existing events.
This ticket might be solved by creating a Summary Event - which kind of combined OrderTotalValueCalculated with CustomerAssignedToOrder
https://verraes.net/2019/05/patterns-for-decoupling-distsys-summary-event/


Padding issue in GoogleNet

There is an issue when converting GoogleNet. Although the predicted labels seems to always be the same, the outputs when using Caffe and TensorFlow are different (in some cases the predicted labels are different). I tried removing all the layers except the first convolutional one and the outputs were still different. Only when I changed the padding from 3 to 0 I got the same outputs, so the problem seems to be related to the padding.
Below is the code to reproduce this:
import cv2
import numpy as np
import caffe
import tensorflow as tf
from googlenet import GoogleNet

filename = 'test.png'
mean = np.array([104, 117, 123])

# load tensorflow data
img = cv2.imread(filename)
img = img.astype('float32') - mean
tf_data = np.asarray([img])

# load caffe data
transformer = caffe.io.Transformer({'data': (1, 3, 224, 224)})
transformer.set_mean('data', mean)
transformer.set_raw_scale('data', 255)
transformer.set_transpose('data', (2, 0, 1))
transformer.set_channel_swap('data', (2, 1, 0))
caffe_data = transformer.preprocess('data', caffe.io.load_image(filename, color=True))[np.newaxis, :, :, :]

# check that both images are the same
print(np.max(abs(tf_data - caffe_data.transpose(0, 2, 3, 1))))

# tensorflow output
images_placeholder = tf.placeholder(tf.float32, [1, 224, 224, 3])
net = GoogleNet({'data': images_placeholder})
with tf.Session() as sess:
    net.load('googlenet.npy', sess)
    feed = {images_placeholder: tf_data}
    tensorflow_feat = sess.run(sess.graph.get_tensor_by_name('prob:0'), feed_dict=feed)

# caffe output
network = 'googlenet.prototxt'
weights = 'googlenet.caffemodel'
net = caffe.Net(network, weights, caffe.TEST)
out = net.forward()
net.blobs['data'].data[0] = caffe_data
net.forward()
caffe_feat = net.blobs['prob'].data[...]

# maximum difference between caffe and tensorflow features
print(np.max(tensorflow_feat - caffe_feat))

Edit: I've also realized that the converted model weights 28 MB instead of the 53.5 MB of the Caffe model. Something else might be wrong?

Edit: I've also realized that the converted model weights 28 MB instead of the 53.5 MB of the Caffe model. Something else might be wrong?

I was also confused by the same thing but convinced myself that the 53.5 MB caffemodel includes parameters from early loss layers in train_val.prototxt (13.37M total params) that do not exist in deploy.prototxt (6.99M total params).  Recall that each param is 4 bytes.

Maybe related to the issue, where did you get the file "googlenet.prototxt"


chore: Rust v1.76.0

#2643  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite

Merge activity

Mar 8, 7:54 AM EST: @Boshen merged this pull request with Graphite.


JupyterLab version incompatibility

hey jupyterlab!
I'm building a repo2docker / continuous build setup with a jupyter lab notebook, which means:

I have a Github repo with a binder folder
the binder folder has a requirements.txt and postBuild
it's building on CircleCI, pushing to DockerHub (and metadata back to Github pages).

I'm running into an error message about the line in the postBuild that installs extensions (from this repo). Specifically, this line:
jupyter labextension install<EMAIL_ADDRESS>jupyterlab-drawio

results in this:
 ---> Running in 0e9ed56fc33d
> /usr/bin/npm pack @jupyterlab/geojson-extension
jupyterlab-geojson-extension-0.17.0.tgz

"<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                        Extension          Package
>=0.4.3-0 <0.5.0-0                >=1.1.2-0 <2.0.0-0 @jupyterlab/rendermime-interfaces

Here are the original postBuild or requirements.txt:
traitlets>=4.3.1
ipython
pandas
vdom
jupyterlab_launcher>=0.5.0

It mentions updating via the package.json / npm, is this a part of repo2docker? Here is an example with jupyterlab-git --> https://github.com/jupyterlab/jupyterlab-git/issues/188 I tried updating the version (err, downgrading to an older one 0.0.16) and that didn't fix it.
I also tried installing from source, the same issue came up (and for both installs)

You can see more discussion (and things I've tried) here --> https://github.com/jupyter/repo2docker/issues/374#issuecomment-412268960 I am fairly new to jupyterlab and extensions and am not sure how to address the error but @betatim suggested I try one of your repos, and here i am! :)

Hi @vsoch.  It looks like your recipe is pulling in a much older version of JupyterLab.  The current version is 0.33.8, and is compatible with<EMAIL_ADDRESS>

Btw, the Rorschach test you have as an avatar is fascinating.

Btw, the Rorschach test you have as an avatar is fascinating.

Haha, thanks! I drew it in college, sort of wanted to make it look like a brain and a butterfly (kinda got the right effect?) and mostly made it so I could put hidden on posters and presentations. And now that I'm thinking this through, I think my advisor must have been internally /facepalming for years. Oh, what did you think it was, given Rorschach?
I did a bunch of debugging about this earlier today (this morning) and in case you have any insight --> https://github.com/jupyter/repo2docker/issues/374#issuecomment-412345727 I basically tested different ways to control the versions, and ultimately ended up with a version / dependency hell sort of situation (something with npm/node, a package.json? something with a circleci docker image used in the background?) I put immense notes there, in case the logic comes quickly to you. Thanks again for the pointer earlier!

I'll take a look in the morning, my brain is out of gas for the day.  I saw two terriers as conjoined twins.

Commented on the other issue.  My initial gut reaction was hip bones, but I can definitely see the brain/butterfly if I squint :smile:.

ha! oh my.

Can't hear that without thinking of Takei: https://www.youtube.com/watch?v=6nSKkwzwdW4


BUG: Fixing the gradient color of Nav Bar, Text not clearly visible

CSS fix needed
The top navigation bar having dark blue and sky blue blends of gradient colors makes the text 'search solver" less visible.
Refer Screenshot:

Assign this issue to me! @Spandan-Bhattacharya

This has been addressed by the issue #52