Closed yoshi-automation closed 2 years ago
Autosynth is still having trouble generating java-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-24 01:50:03,945 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-24 01:50:03,947 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-24 01:50:03,949 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-24 01:50:03,951 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-24 01:50:03,960 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-24 01:50:03,961 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-24 01:50:03,963 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-24 01:50:03,972 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-24 01:50:03,973 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-24 01:50:03,974 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-24 01:50:04,035 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-24 01:50:04,131 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-24 01:50:04,133 synthtool [INFO] > Running java formatter on 2 files
2021-12-24 01:50:07,650 synthtool [INFO] > Running java formatter on 149 files
2021-12-24 01:50:20,236 synthtool [INFO] > Running java formatter on 239 files
2021-12-24 01:50:30,067 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-24 01:50:30,289 autosynth [ERROR] > Synthesis failed
2021-12-24 01:50:30,290 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-24 01:50:30,341 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-24 01:50:30,375 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-24 14:50:03,534 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-24 14:50:03,536 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-24 14:50:03,537 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-24 14:50:03,539 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-24 14:50:03,548 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-24 14:50:03,549 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-24 14:50:03,551 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-24 14:50:03,559 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-24 14:50:03,561 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-24 14:50:03,562 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-24 14:50:03,625 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-24 14:50:03,725 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-24 14:50:03,726 synthtool [INFO] > Running java formatter on 2 files
2021-12-24 14:50:07,046 synthtool [INFO] > Running java formatter on 149 files
2021-12-24 14:50:19,078 synthtool [INFO] > Running java formatter on 239 files
2021-12-24 14:50:28,687 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-24 14:50:28,912 autosynth [ERROR] > Synthesis failed
2021-12-24 14:50:28,913 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-24 14:50:28,964 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-24 14:50:28,998 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-25 01:49:54,240 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-25 01:49:54,242 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-25 01:49:54,243 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-25 01:49:54,245 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-25 01:49:54,253 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-25 01:49:54,255 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-25 01:49:54,256 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-25 01:49:54,265 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-25 01:49:54,266 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-25 01:49:54,267 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-25 01:49:54,327 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-25 01:49:54,423 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-25 01:49:54,425 synthtool [INFO] > Running java formatter on 2 files
2021-12-25 01:49:57,850 synthtool [INFO] > Running java formatter on 149 files
2021-12-25 01:50:10,486 synthtool [INFO] > Running java formatter on 239 files
2021-12-25 01:50:20,272 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-25 01:50:20,505 autosynth [ERROR] > Synthesis failed
2021-12-25 01:50:20,506 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-25 01:50:20,559 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-25 01:50:20,593 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-25 14:50:51,051 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-25 14:50:51,054 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-25 14:50:51,056 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-25 14:50:51,058 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-25 14:50:51,067 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-25 14:50:51,068 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-25 14:50:51,070 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-25 14:50:51,080 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-25 14:50:51,082 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-25 14:50:51,083 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-25 14:50:51,144 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-25 14:50:51,242 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-25 14:50:51,243 synthtool [INFO] > Running java formatter on 2 files
2021-12-25 14:50:55,080 synthtool [INFO] > Running java formatter on 149 files
2021-12-25 14:51:08,299 synthtool [INFO] > Running java formatter on 239 files
2021-12-25 14:51:18,545 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-25 14:51:18,807 autosynth [ERROR] > Synthesis failed
2021-12-25 14:51:18,809 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-25 14:51:18,870 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-25 14:51:18,905 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-26 01:50:15,636 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-26 01:50:15,638 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-26 01:50:15,639 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-26 01:50:15,641 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-26 01:50:15,650 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-26 01:50:15,652 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-26 01:50:15,654 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-26 01:50:15,663 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-26 01:50:15,665 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-26 01:50:15,666 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-26 01:50:15,726 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-26 01:50:15,824 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-26 01:50:15,825 synthtool [INFO] > Running java formatter on 2 files
2021-12-26 01:50:19,293 synthtool [INFO] > Running java formatter on 149 files
2021-12-26 01:50:31,659 synthtool [INFO] > Running java formatter on 239 files
2021-12-26 01:50:41,169 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-26 01:50:41,391 autosynth [ERROR] > Synthesis failed
2021-12-26 01:50:41,392 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-26 01:50:41,442 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-26 01:50:41,476 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-26 14:50:16,575 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-26 14:50:16,578 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-26 14:50:16,579 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-26 14:50:16,580 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-26 14:50:16,589 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-26 14:50:16,590 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-26 14:50:16,592 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-26 14:50:16,601 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-26 14:50:16,602 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-26 14:50:16,603 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-26 14:50:16,662 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-26 14:50:16,759 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-26 14:50:16,760 synthtool [INFO] > Running java formatter on 2 files
2021-12-26 14:50:20,150 synthtool [INFO] > Running java formatter on 149 files
2021-12-26 14:50:32,640 synthtool [INFO] > Running java formatter on 239 files
2021-12-26 14:50:42,388 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-26 14:50:42,611 autosynth [ERROR] > Synthesis failed
2021-12-26 14:50:42,611 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-26 14:50:42,664 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-26 14:50:42,698 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-27 01:50:16,257 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-27 01:50:16,259 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-27 01:50:16,260 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-27 01:50:16,262 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-27 01:50:16,271 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-27 01:50:16,272 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-27 01:50:16,274 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-27 01:50:16,283 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-27 01:50:16,284 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-27 01:50:16,285 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-27 01:50:16,345 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-27 01:50:16,441 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-27 01:50:16,443 synthtool [INFO] > Running java formatter on 2 files
2021-12-27 01:50:19,924 synthtool [INFO] > Running java formatter on 149 files
2021-12-27 01:50:32,330 synthtool [INFO] > Running java formatter on 239 files
2021-12-27 01:50:42,005 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-27 01:50:42,249 autosynth [ERROR] > Synthesis failed
2021-12-27 01:50:42,249 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-27 01:50:42,303 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-27 01:50:42,337 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-27 14:50:00,353 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-27 14:50:00,356 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-27 14:50:00,357 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-27 14:50:00,359 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-27 14:50:00,368 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-27 14:50:00,370 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-27 14:50:00,372 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-27 14:50:00,381 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-27 14:50:00,383 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-27 14:50:00,384 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-27 14:50:00,444 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-27 14:50:00,541 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-27 14:50:00,542 synthtool [INFO] > Running java formatter on 2 files
2021-12-27 14:50:04,004 synthtool [INFO] > Running java formatter on 149 files
2021-12-27 14:50:16,890 synthtool [INFO] > Running java formatter on 239 files
2021-12-27 14:50:26,388 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-27 14:50:26,609 autosynth [ERROR] > Synthesis failed
2021-12-27 14:50:26,610 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-27 14:50:26,662 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-27 14:50:26,697 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-28 01:49:54,910 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-28 01:49:54,912 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-28 01:49:54,914 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-28 01:49:54,915 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-28 01:49:54,924 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-28 01:49:54,925 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-28 01:49:54,927 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-28 01:49:54,936 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-28 01:49:54,937 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-28 01:49:54,938 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-28 01:49:54,998 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-28 01:49:55,095 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-28 01:49:55,097 synthtool [INFO] > Running java formatter on 2 files
2021-12-28 01:49:58,530 synthtool [INFO] > Running java formatter on 149 files
2021-12-28 01:50:11,268 synthtool [INFO] > Running java formatter on 239 files
2021-12-28 01:50:20,884 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-28 01:50:21,119 autosynth [ERROR] > Synthesis failed
2021-12-28 01:50:21,120 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-28 01:50:21,183 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-28 01:50:21,217 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-28 14:50:01,862 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-28 14:50:01,864 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-28 14:50:01,865 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-28 14:50:01,867 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-28 14:50:01,876 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-28 14:50:01,877 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-28 14:50:01,878 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-28 14:50:01,887 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-28 14:50:01,888 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-28 14:50:01,889 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-28 14:50:01,949 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-28 14:50:02,045 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-28 14:50:02,046 synthtool [INFO] > Running java formatter on 2 files
2021-12-28 14:50:05,376 synthtool [INFO] > Running java formatter on 149 files
2021-12-28 14:50:17,299 synthtool [INFO] > Running java formatter on 239 files
2021-12-28 14:50:27,036 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-28 14:50:27,250 autosynth [ERROR] > Synthesis failed
2021-12-28 14:50:27,250 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-28 14:50:27,300 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-28 14:50:27,335 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-29 01:49:56,587 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-29 01:49:56,589 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-29 01:49:56,591 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-29 01:49:56,592 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-29 01:49:56,601 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-29 01:49:56,602 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-29 01:49:56,604 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-29 01:49:56,613 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-29 01:49:56,614 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-29 01:49:56,616 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-29 01:49:56,679 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-29 01:49:56,780 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-29 01:49:56,781 synthtool [INFO] > Running java formatter on 2 files
2021-12-29 01:50:00,036 synthtool [INFO] > Running java formatter on 149 files
2021-12-29 01:50:12,178 synthtool [INFO] > Running java formatter on 239 files
2021-12-29 01:50:22,212 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-29 01:50:22,431 autosynth [ERROR] > Synthesis failed
2021-12-29 01:50:22,432 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-29 01:50:22,482 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-29 01:50:22,516 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-29 14:49:59,514 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-29 14:49:59,517 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-29 14:49:59,518 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-29 14:49:59,520 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-29 14:49:59,528 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-29 14:49:59,529 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-29 14:49:59,531 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-29 14:49:59,540 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-29 14:49:59,541 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-29 14:49:59,542 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-29 14:49:59,601 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-29 14:49:59,697 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-29 14:49:59,699 synthtool [INFO] > Running java formatter on 2 files
2021-12-29 14:50:03,075 synthtool [INFO] > Running java formatter on 149 files
2021-12-29 14:50:15,006 synthtool [INFO] > Running java formatter on 239 files
2021-12-29 14:50:24,456 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-29 14:50:24,674 autosynth [ERROR] > Synthesis failed
2021-12-29 14:50:24,674 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-29 14:50:24,724 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-29 14:50:24,758 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-30 01:50:05,311 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-30 01:50:05,314 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-30 01:50:05,315 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-30 01:50:05,317 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-30 01:50:05,325 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-30 01:50:05,326 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-30 01:50:05,328 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-30 01:50:05,337 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-30 01:50:05,338 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-30 01:50:05,339 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-30 01:50:05,400 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-30 01:50:05,497 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-30 01:50:05,498 synthtool [INFO] > Running java formatter on 2 files
2021-12-30 01:50:08,767 synthtool [INFO] > Running java formatter on 149 files
2021-12-30 01:50:21,243 synthtool [INFO] > Running java formatter on 239 files
2021-12-30 01:50:30,607 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-30 01:50:30,829 autosynth [ERROR] > Synthesis failed
2021-12-30 01:50:30,830 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-30 01:50:30,886 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-30 01:50:30,920 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-30 14:50:01,693 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-30 14:50:01,695 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-30 14:50:01,696 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-30 14:50:01,698 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-30 14:50:01,707 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-30 14:50:01,708 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-30 14:50:01,710 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-30 14:50:01,718 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-30 14:50:01,719 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-30 14:50:01,720 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-30 14:50:01,780 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-30 14:50:01,876 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-30 14:50:01,877 synthtool [INFO] > Running java formatter on 2 files
2021-12-30 14:50:05,240 synthtool [INFO] > Running java formatter on 149 files
2021-12-30 14:50:17,151 synthtool [INFO] > Running java formatter on 239 files
2021-12-30 14:50:26,938 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-30 14:50:27,158 autosynth [ERROR] > Synthesis failed
2021-12-30 14:50:27,158 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-30 14:50:27,209 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-30 14:50:27,242 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-31 01:50:17,775 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-31 01:50:17,778 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-31 01:50:17,779 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-31 01:50:17,780 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-31 01:50:17,789 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-31 01:50:17,790 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-31 01:50:17,792 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-31 01:50:17,801 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-31 01:50:17,802 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-31 01:50:17,804 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-31 01:50:17,865 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-31 01:50:17,961 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-31 01:50:17,962 synthtool [INFO] > Running java formatter on 2 files
2021-12-31 01:50:21,320 synthtool [INFO] > Running java formatter on 149 files
2021-12-31 01:50:33,723 synthtool [INFO] > Running java formatter on 239 files
2021-12-31 01:50:43,748 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-31 01:50:43,982 autosynth [ERROR] > Synthesis failed
2021-12-31 01:50:43,982 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-31 01:50:44,035 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-31 01:50:44,062 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-31 14:49:57,902 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-31 14:49:57,905 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-31 14:49:57,906 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2021-12-31 14:49:57,908 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2021-12-31 14:49:57,917 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2021-12-31 14:49:57,919 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2021-12-31 14:49:57,920 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2021-12-31 14:49:57,929 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2021-12-31 14:49:57,930 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2021-12-31 14:49:57,931 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2021-12-31 14:49:57,992 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2021-12-31 14:49:58,088 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2021-12-31 14:49:58,090 synthtool [INFO] > Running java formatter on 2 files
2021-12-31 14:50:01,513 synthtool [INFO] > Running java formatter on 149 files
2021-12-31 14:50:14,234 synthtool [INFO] > Running java formatter on 239 files
2021-12-31 14:50:24,163 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2021-12-31 14:50:24,388 autosynth [ERROR] > Synthesis failed
2021-12-31 14:50:24,389 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2021-12-31 14:50:24,439 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-12-31 14:50:24,473 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-01 01:50:04,722 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-01 01:50:04,725 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-01 01:50:04,725 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-01 01:50:04,727 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-01 01:50:04,736 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-01 01:50:04,737 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-01 01:50:04,738 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-01 01:50:04,747 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-01 01:50:04,749 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-01 01:50:04,750 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-01 01:50:04,812 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-01 01:50:04,913 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-01 01:50:04,914 synthtool [INFO] > Running java formatter on 2 files
2022-01-01 01:50:08,444 synthtool [INFO] > Running java formatter on 149 files
2022-01-01 01:50:20,463 synthtool [INFO] > Running java formatter on 239 files
2022-01-01 01:50:30,429 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-01 01:50:30,666 autosynth [ERROR] > Synthesis failed
2022-01-01 01:50:30,666 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-01 01:50:30,722 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-01 01:50:30,756 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-01 14:49:54,417 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-01 14:49:54,419 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-01 14:49:54,420 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-01 14:49:54,422 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-01 14:49:54,430 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-01 14:49:54,431 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-01 14:49:54,433 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-01 14:49:54,441 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-01 14:49:54,442 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-01 14:49:54,443 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-01 14:49:54,504 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-01 14:49:54,600 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-01 14:49:54,601 synthtool [INFO] > Running java formatter on 2 files
2022-01-01 14:49:58,087 synthtool [INFO] > Running java formatter on 149 files
2022-01-01 14:50:10,130 synthtool [INFO] > Running java formatter on 239 files
2022-01-01 14:50:20,460 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-01 14:50:20,679 autosynth [ERROR] > Synthesis failed
2022-01-01 14:50:20,680 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-01 14:50:20,729 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-01 14:50:20,763 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-02 01:51:12,097 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-02 01:51:12,100 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-02 01:51:12,101 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-02 01:51:12,103 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-02 01:51:12,112 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-02 01:51:12,114 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-02 01:51:12,116 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-02 01:51:12,124 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-02 01:51:12,126 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-02 01:51:12,127 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-02 01:51:12,188 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-02 01:51:12,286 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-02 01:51:12,288 synthtool [INFO] > Running java formatter on 2 files
2022-01-02 01:51:15,965 synthtool [INFO] > Running java formatter on 149 files
2022-01-02 01:51:29,963 synthtool [INFO] > Running java formatter on 239 files
2022-01-02 01:51:40,825 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-02 01:51:41,094 autosynth [ERROR] > Synthesis failed
2022-01-02 01:51:41,094 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-02 01:51:41,154 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-02 01:51:41,190 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-02 14:50:01,320 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-02 14:50:01,322 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-02 14:50:01,323 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-02 14:50:01,325 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-02 14:50:01,334 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-02 14:50:01,335 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-02 14:50:01,336 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-02 14:50:01,345 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-02 14:50:01,346 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-02 14:50:01,347 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-02 14:50:01,407 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-02 14:50:01,504 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-02 14:50:01,505 synthtool [INFO] > Running java formatter on 2 files
2022-01-02 14:50:05,000 synthtool [INFO] > Running java formatter on 149 files
2022-01-02 14:50:17,358 synthtool [INFO] > Running java formatter on 239 files
2022-01-02 14:50:27,655 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-02 14:50:27,911 autosynth [ERROR] > Synthesis failed
2022-01-02 14:50:27,912 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-02 14:50:27,980 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-02 14:50:28,015 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-03 01:49:57,219 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-03 01:49:57,222 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-03 01:49:57,223 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-03 01:49:57,225 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-03 01:49:57,233 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-03 01:49:57,234 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-03 01:49:57,236 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-03 01:49:57,244 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-03 01:49:57,246 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-03 01:49:57,247 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-03 01:49:57,307 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-03 01:49:57,403 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-03 01:49:57,404 synthtool [INFO] > Running java formatter on 2 files
2022-01-03 01:50:00,691 synthtool [INFO] > Running java formatter on 149 files
2022-01-03 01:50:12,824 synthtool [INFO] > Running java formatter on 239 files
2022-01-03 01:50:22,312 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-03 01:50:22,532 autosynth [ERROR] > Synthesis failed
2022-01-03 01:50:22,532 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-03 01:50:22,586 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-03 01:50:22,620 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-03 14:49:59,588 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-03 14:49:59,591 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-03 14:49:59,592 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-03 14:49:59,593 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-03 14:49:59,602 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-03 14:49:59,603 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-03 14:49:59,605 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-03 14:49:59,613 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-03 14:49:59,614 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-03 14:49:59,616 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-03 14:49:59,676 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-03 14:49:59,772 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-03 14:49:59,773 synthtool [INFO] > Running java formatter on 2 files
2022-01-03 14:50:03,141 synthtool [INFO] > Running java formatter on 149 files
2022-01-03 14:50:15,422 synthtool [INFO] > Running java formatter on 239 files
2022-01-03 14:50:24,896 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-03 14:50:25,115 autosynth [ERROR] > Synthesis failed
2022-01-03 14:50:25,115 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-03 14:50:25,166 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-03 14:50:25,200 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-04 01:50:04,035 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-04 01:50:04,037 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-04 01:50:04,039 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-04 01:50:04,040 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-04 01:50:04,049 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-04 01:50:04,050 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-04 01:50:04,052 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-04 01:50:04,061 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-04 01:50:04,062 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-04 01:50:04,063 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-04 01:50:04,123 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-04 01:50:04,219 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-04 01:50:04,220 synthtool [INFO] > Running java formatter on 2 files
2022-01-04 01:50:07,596 synthtool [INFO] > Running java formatter on 149 files
2022-01-04 01:50:19,888 synthtool [INFO] > Running java formatter on 239 files
2022-01-04 01:50:29,209 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-04 01:50:29,426 autosynth [ERROR] > Synthesis failed
2022-01-04 01:50:29,426 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-04 01:50:29,478 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-04 01:50:29,511 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-04 14:50:07,759 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-04 14:50:07,761 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-04 14:50:07,762 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-04 14:50:07,764 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-04 14:50:07,773 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-04 14:50:07,773 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-04 14:50:07,775 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-04 14:50:07,784 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-04 14:50:07,785 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-04 14:50:07,786 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-04 14:50:07,846 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-04 14:50:07,941 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-04 14:50:07,942 synthtool [INFO] > Running java formatter on 2 files
2022-01-04 14:50:11,183 synthtool [INFO] > Running java formatter on 149 files
2022-01-04 14:50:22,912 synthtool [INFO] > Running java formatter on 239 files
2022-01-04 14:50:32,074 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-04 14:50:32,286 autosynth [ERROR] > Synthesis failed
2022-01-04 14:50:32,287 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-04 14:50:32,336 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-04 14:50:32,369 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-bigtable. :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-bigtable 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
:
tatic).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-05 01:49:58,343 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-05 01:49:58,346 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-05 01:49:58,347 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-05 01:49:58,348 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-05 01:49:58,357 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-05 01:49:58,358 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-05 01:49:58,359 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-05 01:49:58,368 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-05 01:49:58,369 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-05 01:49:58,370 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-05 01:49:58,430 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-05 01:49:58,526 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-05 01:49:58,527 synthtool [INFO] > Running java formatter on 2 files
2022-01-05 01:50:01,968 synthtool [INFO] > Running java formatter on 149 files
2022-01-05 01:50:13,953 synthtool [INFO] > Running java formatter on 239 files
2022-01-05 01:50:23,770 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-05 01:50:23,993 autosynth [ERROR] > Synthesis failed
2022-01-05 01:50:23,993 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1ee57733 chore: change name to api_shortname in .repo-metadata.json (#1114)
2022-01-05 01:50:24,045 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-05 01:50:24,076 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-bigtable. :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-bigtable 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
:
google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-05 14:49:58,647 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-05 14:49:58,649 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-05 14:49:58,651 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-05 14:49:58,652 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-05 14:49:58,661 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-05 14:49:58,662 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-05 14:49:58,664 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-05 14:49:58,672 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-05 14:49:58,673 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-05 14:49:58,674 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-05 14:49:58,734 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-05 14:49:58,830 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-05 14:49:58,831 synthtool [INFO] > Running java formatter on 2 files
2022-01-05 14:50:02,246 synthtool [INFO] > Running java formatter on 149 files
2022-01-05 14:50:14,267 synthtool [INFO] > Running java formatter on 239 files
2022-01-05 14:50:23,655 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-05 14:50:23,871 autosynth [ERROR] > Synthesis failed
2022-01-05 14:50:23,871 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6044cbdf chore(deps): update dependency com.google.cloud:google-cloud-bigtable to v2.5.0 (#1121)
2022-01-05 14:50:23,920 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-05 14:50:23,953 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-bigtable. :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-bigtable 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
:
google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-06 01:50:12,060 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-06 01:50:12,062 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-06 01:50:12,063 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-06 01:50:12,065 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-06 01:50:12,073 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-06 01:50:12,075 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-06 01:50:12,076 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-06 01:50:12,085 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-06 01:50:12,086 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-06 01:50:12,088 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-06 01:50:12,147 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-06 01:50:12,244 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-06 01:50:12,245 synthtool [INFO] > Running java formatter on 2 files
2022-01-06 01:50:15,616 synthtool [INFO] > Running java formatter on 149 files
2022-01-06 01:50:28,524 synthtool [INFO] > Running java formatter on 239 files
2022-01-06 01:50:38,106 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-06 01:50:38,342 autosynth [ERROR] > Synthesis failed
2022-01-06 01:50:38,344 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6044cbdf chore(deps): update dependency com.google.cloud:google-cloud-bigtable to v2.5.0 (#1121)
2022-01-06 01:50:38,406 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-06 01:50:38,440 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-06 14:50:38,705 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-06 14:50:38,707 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-06 14:50:38,708 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-06 14:50:38,709 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-06 14:50:38,717 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-06 14:50:38,718 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-06 14:50:38,720 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-06 14:50:38,728 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-06 14:50:38,729 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-06 14:50:38,730 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-06 14:50:38,790 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-06 14:50:38,887 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-06 14:50:38,888 synthtool [INFO] > Running java formatter on 2 files
2022-01-06 14:50:42,454 synthtool [INFO] > Running java formatter on 149 files
2022-01-06 14:50:55,255 synthtool [INFO] > Running java formatter on 239 files
2022-01-06 14:51:05,333 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-06 14:51:05,561 autosynth [ERROR] > Synthesis failed
2022-01-06 14:51:05,562 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 62862295 build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.4 (#1120)
2022-01-06 14:51:05,621 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-06 14:51:05,656 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-bigtable. :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-bigtable 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
:
\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-07 01:42:34,682 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-07 01:42:34,685 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-07 01:42:34,686 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-07 01:42:34,688 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-07 01:42:34,696 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-07 01:42:34,698 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-07 01:42:34,699 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-07 01:42:34,708 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-07 01:42:34,709 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-07 01:42:34,710 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-07 01:42:34,773 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-07 01:42:34,875 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-07 01:42:34,876 synthtool [INFO] > Running java formatter on 2 files
2022-01-07 01:42:38,184 synthtool [INFO] > Running java formatter on 149 files
2022-01-07 01:42:50,059 synthtool [INFO] > Running java formatter on 239 files
2022-01-07 01:42:59,603 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-07 01:42:59,840 autosynth [ERROR] > Synthesis failed
2022-01-07 01:42:59,841 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0ad5d34f chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#1123)
2022-01-07 01:42:59,895 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-07 01:42:59,928 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-07 14:40:55,253 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-07 14:40:55,256 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-07 14:40:55,257 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-07 14:40:55,258 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-07 14:40:55,266 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-07 14:40:55,268 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-07 14:40:55,269 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-07 14:40:55,277 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-07 14:40:55,279 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-07 14:40:55,279 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-07 14:40:55,339 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-07 14:40:55,435 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-07 14:40:55,437 synthtool [INFO] > Running java formatter on 2 files
2022-01-07 14:40:58,815 synthtool [INFO] > Running java formatter on 149 files
2022-01-07 14:41:10,917 synthtool [INFO] > Running java formatter on 239 files
2022-01-07 14:41:20,424 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-07 14:41:20,634 autosynth [ERROR] > Synthesis failed
2022-01-07 14:41:20,634 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-07 14:41:20,687 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-07 14:41:20,718 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-08 01:41:20,613 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-08 01:41:20,615 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-08 01:41:20,617 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-08 01:41:20,618 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-08 01:41:20,627 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-08 01:41:20,629 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-08 01:41:20,631 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-08 01:41:20,639 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-08 01:41:20,641 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-08 01:41:20,642 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-08 01:41:20,703 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-08 01:41:20,799 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-08 01:41:20,801 synthtool [INFO] > Running java formatter on 2 files
2022-01-08 01:41:24,171 synthtool [INFO] > Running java formatter on 149 files
2022-01-08 01:41:36,542 synthtool [INFO] > Running java formatter on 239 files
2022-01-08 01:41:46,282 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-08 01:41:46,508 autosynth [ERROR] > Synthesis failed
2022-01-08 01:41:46,509 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-08 01:41:46,560 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-08 01:41:46,595 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-08 14:41:00,455 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-08 14:41:00,458 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-08 14:41:00,458 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-08 14:41:00,460 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-08 14:41:00,469 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-08 14:41:00,470 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-08 14:41:00,471 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-08 14:41:00,480 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-08 14:41:00,481 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-08 14:41:00,482 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-08 14:41:00,542 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-08 14:41:00,638 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-08 14:41:00,639 synthtool [INFO] > Running java formatter on 2 files
2022-01-08 14:41:04,007 synthtool [INFO] > Running java formatter on 149 files
2022-01-08 14:41:16,352 synthtool [INFO] > Running java formatter on 239 files
2022-01-08 14:41:26,108 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-08 14:41:26,329 autosynth [ERROR] > Synthesis failed
2022-01-08 14:41:26,329 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-08 14:41:26,381 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-08 14:41:26,414 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-09 01:41:07,734 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-09 01:41:07,736 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-09 01:41:07,737 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-09 01:41:07,739 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-09 01:41:07,747 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-09 01:41:07,748 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-09 01:41:07,750 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-09 01:41:07,758 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-09 01:41:07,760 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-09 01:41:07,760 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-09 01:41:07,821 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-09 01:41:07,916 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-09 01:41:07,918 synthtool [INFO] > Running java formatter on 2 files
2022-01-09 01:41:11,361 synthtool [INFO] > Running java formatter on 149 files
2022-01-09 01:41:23,632 synthtool [INFO] > Running java formatter on 239 files
2022-01-09 01:41:33,223 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-09 01:41:33,452 autosynth [ERROR] > Synthesis failed
2022-01-09 01:41:33,452 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-09 01:41:33,504 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-09 01:41:33,538 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-09 14:41:33,919 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-09 14:41:33,922 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-09 14:41:33,923 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-09 14:41:33,925 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-09 14:41:33,933 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-09 14:41:33,935 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-09 14:41:33,936 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-09 14:41:33,945 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-09 14:41:33,946 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-09 14:41:33,947 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-09 14:41:34,007 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-09 14:41:34,104 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-09 14:41:34,105 synthtool [INFO] > Running java formatter on 2 files
2022-01-09 14:41:37,536 synthtool [INFO] > Running java formatter on 149 files
2022-01-09 14:41:50,192 synthtool [INFO] > Running java formatter on 239 files
2022-01-09 14:42:00,694 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-09 14:42:00,926 autosynth [ERROR] > Synthesis failed
2022-01-09 14:42:00,927 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-09 14:42:00,984 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-09 14:42:01,018 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-bigtable. :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-bigtable 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
:
e-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-10 01:41:23,848 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-10 01:41:23,851 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-10 01:41:23,852 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-10 01:41:23,854 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-10 01:41:23,862 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-10 01:41:23,863 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-10 01:41:23,865 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-10 01:41:23,873 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-10 01:41:23,874 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-10 01:41:23,875 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-10 01:41:23,935 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-10 01:41:24,035 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-10 01:41:24,036 synthtool [INFO] > Running java formatter on 2 files
2022-01-10 01:41:27,639 synthtool [INFO] > Running java formatter on 149 files
2022-01-10 01:41:40,067 synthtool [INFO] > Running java formatter on 239 files
2022-01-10 01:41:49,451 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-10 01:41:49,661 autosynth [ERROR] > Synthesis failed
2022-01-10 01:41:49,661 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at be4c5ff6 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#1126)
2022-01-10 01:41:49,711 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-10 01:41:49,749 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-bigtable. :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-bigtable 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
:
loud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-10 14:41:25,629 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-10 14:41:25,631 synthtool [INFO] > Replaced '^(import (?!static).*?\\n)\\n' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-10 14:41:25,633 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java.
2022-01-10 14:41:25,634 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java.
2022-01-10 14:41:25,643 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-10 14:41:25,644 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-10 14:41:25,645 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-10 14:41:25,654 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-10 14:41:25,655 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-10 14:41:25,656 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-10 14:41:25,716 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-10 14:41:25,811 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-10 14:41:25,813 synthtool [INFO] > Running java formatter on 2 files
2022-01-10 14:41:29,257 synthtool [INFO] > Running java formatter on 149 files
2022-01-10 14:41:41,555 synthtool [INFO] > Running java formatter on 239 files
2022-01-10 14:41:51,135 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
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-bigtable/synth.py", line 160, in <module>
main()
File "/home/kbuilder/.cache/synthtool/java-bigtable/synth.py", line 45, in main
'codecov.yaml'
File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 487, in common_templates
templates = gcp.CommonTemplates(template_path=template_path).java_library(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 301, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 73, in _generic_library
result = t.render(**kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 83, in render
_render_to_path(self.env, template_name, self.dir / subdir, kwargs)
File "/tmpfs/src/github/synthtool/synthtool/sources/templates.py", line 53, in _render_to_path
output.dump(fh)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1612, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1656, in __next__
return self._next() # type: ignore
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1348, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/README.md", line 23, in top-level template code
{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['name'] + '_install_with_bom'] -%}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'name'
2022-01-10 14:41:51,357 autosynth [ERROR] > Synthesis failed
2022-01-10 14:41:51,357 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at ff026684 test(deps): update dependency com.google.cloud:google-cloud-conformance-tests to v0.2.6 (#1127)
2022-01-10 14:41:51,407 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-10 14:41:51,442 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-bigtable. :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-bigtable 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
:
tanceAdminStub.java.
2022-01-11 01:50:17,067 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java.
2022-01-11 01:50:17,068 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java.
2022-01-11 01:50:17,069 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java.
2022-01-11 01:50:17,078 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java.
2022-01-11 01:50:17,079 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java.
2022-01-11 01:50:17,080 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java.
2022-01-11 01:50:17,141 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java.
2022-01-11 01:50:17,237 synthtool [INFO] > Replaced '/\\*\\*.+?\\*/\\n(?:^@[^\\n]*\\n)*(?=public [a-zA-B ]*class)' in google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java.
2022-01-11 01:50:17,238 synthtool [INFO] > Running java formatter on 2 files
2022-01-11 01:50:20,643 synthtool [INFO] > Running java formatter on 149 files
2022-01-11 01:50:32,997 synthtool [INFO] > Running java formatter on 239 files
2022-01-11 01:50:42,768 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/blunderbuss.yml
.github/generated-files-bot.yml
.github/release-please.yml
.github/release-trigger.yml
.github/snippet-bot.yml
.github/sync-repo-settings.yaml
.github/trusted-contribution.yml
.github/workflows/approve-readme.yaml
.github/workflows/auto-release.yaml
.github/workflows/ci.yaml
.github/workflows/samples.yaml
.kokoro/build.bat
.kokoro/build.sh
.kokoro/coerce_logs.sh
.kokoro/common.cfg
.kokoro/common.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/java8.cfg
.kokoro/dependencies.sh
.kokoro/nightly/common.cfg
.kokoro/nightly/integration.cfg
.kokoro/nightly/java11.cfg
.kokoro/nightly/java7.cfg
.kokoro/nightly/java8-osx.cfg
.kokoro/nightly/java8-win.cfg
.kokoro/nightly/java8.cfg
.kokoro/nightly/samples.cfg
.kokoro/populate-secrets.sh
.kokoro/presubmit/clirr.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/dependencies.cfg
.kokoro/presubmit/graalvm-native.cfg
.kokoro/presubmit/integration.cfg
.kokoro/presubmit/java11.cfg
.kokoro/presubmit/java7.cfg
.kokoro/presubmit/java8-osx.cfg
.kokoro/presubmit/java8-win.cfg
.kokoro/presubmit/java8.cfg
.kokoro/presubmit/linkage-monitor.cfg
.kokoro/presubmit/lint.cfg
.kokoro/presubmit/samples.cfg
.kokoro/readme.sh
.kokoro/release/bump_snapshot.cfg
.kokoro/release/common.cfg
.kokoro/release/common.sh
.kokoro/release/drop.cfg
.kokoro/release/drop.sh
.kokoro/release/promote.cfg
.kokoro/release/promote.sh
.kokoro/release/publish_javadoc.cfg
.kokoro/release/publish_javadoc.sh
.kokoro/release/publish_javadoc11.cfg
.kokoro/release/publish_javadoc11.sh
.kokoro/release/snapshot.cfg
.kokoro/release/snapshot.sh
.kokoro/release/stage.cfg
.kokoro/release/stage.sh
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
SECURITY.md
codecov.yaml
java.header
license-checks.xml
renovate.json
samples/install-without-bom/pom.xml
samples/pom.xml
samples/snapshot/pom.xml
samples/snippets/pom.xml
2022-01-11 01:50:43,041 synthtool [DEBUG] > existing pom file found (samples/pom.xml) - keeping the existing
2022-01-11 01:50:43,043 synthtool [DEBUG] > existing pom file found (samples/snippets/pom.xml) - keeping the existing
2022-01-11 01:50:43,045 synthtool [DEBUG] > existing pom file found (samples/snapshot/pom.xml) - keeping the existing
2022-01-11 01:50:43,047 synthtool [DEBUG] > existing pom file found (samples/install-without-bom/pom.xml) - keeping the existing
2022-01-11 01:50:43,053 synthtool [DEBUG] > existing pom file found (.github/sync-repo-settings.yaml) - keeping the existing
2022-01-11 01:50:46,100 synthtool [DEBUG] > Wrote metadata to synth.metadata.
2022-01-11 01:50:46,195 autosynth [INFO] > Changed files:
2022-01-11 01:50:46,195 autosynth [INFO] > M .kokoro/build.sh
M synth.metadata
2022-01-11 01:50:46,195 autosynth [DEBUG] > Running: git log 6355638dfed614fe5977a06d59dc010370f88582 -1 --no-decorate --pretty=%s
2022-01-11 01:50:46,199 autosynth [DEBUG] > Running: git log 6355638dfed614fe5977a06d59dc010370f88582 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2022-01-11 01:50:46,203 autosynth [DEBUG] > Running: git add -A
2022-01-11 01:50:46,211 autosynth [DEBUG] > Running: git status --porcelain
2022-01-11 01:50:46,220 autosynth [DEBUG] > Running: git commit -m chore(java): update variable name to api_shortname in README template
* chore(java): update variable name to api_shortname in README template
* chore: fix test
* chore: fix test
Source-Author: Neenu Shaji <Neenu1995@users.noreply.github.com>
Source-Date: Mon Jan 10 20:41:34 2022 -0500
Source-Repo: googleapis/synthtool
Source-Sha: 6355638dfed614fe5977a06d59dc010370f88582
Source-Link: https://github.com/googleapis/synthtool/commit/6355638dfed614fe5977a06d59dc010370f88582
[autosynth-133 96e2dcfb] chore(java): update variable name to api_shortname in README template
2 files changed, 9 insertions(+), 9 deletions(-)
2022-01-11 01:50:46,230 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 96e2dcfb chore(java): update variable name to api_shortname in README template
2022-01-11 01:50:46,237 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-11 01:50:46,244 autosynth [DEBUG] > Running: git diff --binary HEAD..autosynth-133 -- . :(exclude)synth.metadata
2022-01-11 01:50:46,248 autosynth [DEBUG] > Running: git diff --binary HEAD autosynth-133
2022-01-11 01:50:46,252 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp7v572vqs/autosynth-133.patch
2022-01-11 01:50:46,256 autosynth [DEBUG] > Running: git add -A
2022-01-11 01:50:46,263 autosynth [DEBUG] > Running: git status --porcelain
2022-01-11 01:50:46,272 autosynth [DEBUG] > Running: git commit -m chore(java): update variable name to api_shortname in README template
* chore(java): update variable name to api_shortname in README template
* chore: fix test
* chore: fix test
Source-Author: Neenu Shaji <Neenu1995@users.noreply.github.com>
Source-Date: Mon Jan 10 20:41:34 2022 -0500
Source-Repo: googleapis/synthtool
Source-Sha: 6355638dfed614fe5977a06d59dc010370f88582
Source-Link: https://github.com/googleapis/synthtool/commit/6355638dfed614fe5977a06d59dc010370f88582
[autosynth 96e2dcfb] chore(java): update variable name to api_shortname in README template
2 files changed, 9 insertions(+), 9 deletions(-)
2022-01-11 01:50:46,281 autosynth [DEBUG] > Running: git diff --binary autosynth-133..autosynth-135 -- . :(exclude)synth.metadata
2022-01-11 01:50:46,284 autosynth [DEBUG] > Running: git diff autosynth-133..autosynth-135 -- synth.metadata
2022-01-11 01:50:46,288 autosynth [DEBUG] > Running: git log -1 --no-decorate --format=%B
2022-01-11 01:50:46,292 autosynth [DEBUG] > Running: git push --force origin autosynth
remote:
remote: Create a pull request for 'autosynth' on GitHub by visiting:
remote: https://github.com/googleapis/java-bigtable/pull/new/autosynth
remote:
To https://github.com/googleapis/java-bigtable.git
* [new branch] autosynth -> autosynth
2022-01-11 01:50:47,224 autosynth [DEBUG] > Running: git log -1 --pretty=%b
2022-01-11 01:50:49,500 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 95, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 139, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
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:
Hello! Autosynth couldn't regenerate java-bigtable. :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-bigtable 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
:Google internal developers can see the full log here.