googleapis / java-firestore

Apache License 2.0
100 stars 66 forks source link

Synthesis failed for java-firestore #849

Closed yoshi-automation closed 2 years ago

yoshi-automation commented 2 years ago

Hello! Autosynth couldn't regenerate java-firestore. :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-firestore 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:

ud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java
 M google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java
 M grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
 M synth.metadata
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
2022-01-11 02:11:22,265 autosynth [DEBUG] > Running: git log 6355638dfed614fe5977a06d59dc010370f88582 -1 --no-decorate --pretty=%s
2022-01-11 02:11:22,269 autosynth [DEBUG] > Running: git log 6355638dfed614fe5977a06d59dc010370f88582 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2022-01-11 02:11:22,273 autosynth [DEBUG] > Running: git add -A
2022-01-11 02:11:22,285 autosynth [DEBUG] > Running: git status --porcelain
2022-01-11 02:11:22,292 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-168 e3b0b65] chore(java): update variable name to api_shortname in README template
 40 files changed, 8116 insertions(+), 227 deletions(-)
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
2022-01-11 02:11:22,323 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at e3b0b65 chore(java): update variable name to api_shortname in README template
2022-01-11 02:11:22,331 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-11 02:11:22,339 autosynth [DEBUG] > Running: git diff --binary HEAD..autosynth-168 -- . :(exclude)synth.metadata
2022-01-11 02:11:22,343 autosynth [DEBUG] > Running: git diff --binary HEAD autosynth-168
2022-01-11 02:11:22,348 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpzuy8pipl/autosynth-168.patch
2022-01-11 02:11:22,352 autosynth [DEBUG] > Running: git add -A
2022-01-11 02:11:22,359 autosynth [DEBUG] > Running: git status --porcelain
2022-01-11 02:11:22,367 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 59dddf5] chore(java): update variable name to api_shortname in README template
 3 files changed, 25 insertions(+), 10 deletions(-)
2022-01-11 02:11:22,377 autosynth [DEBUG] > Running: git diff --binary autosynth-168..autosynth-170 -- . :(exclude)synth.metadata
2022-01-11 02:11:22,381 autosynth [DEBUG] > Running: git diff autosynth-168..autosynth-170 -- synth.metadata
2022-01-11 02:11:22,386 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-firestore/pull/new/autosynth        
remote: 
To https://github.com/googleapis/java-firestore.git
 * [new branch]      autosynth -> autosynth
2022-01-11 02:11:23,715 autosynth [DEBUG] > Running: git log -2 --pretty=%b
2022-01-11 02:11:26,121 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

va.
2022-01-11 14:47:55,169 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-11 14:47:55,170 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-11 14:47:55,170 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-11 14:47:55,170 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-11 14:47:55,170 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-11 14:47:55,170 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-11 14:47:55,171 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-11 14:47:55,171 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-11 14:47:55,188 synthtool [INFO] > Running java formatter on 0 files
2022-01-11 14:47:55,453 synthtool [INFO] > Running java formatter on 11 files
2022-01-11 14:47:58,453 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpd1f987tk/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-11 14:47:58,455 synthtool [INFO] > Running java formatter on 100 files
2022-01-11 14:48:05,493 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-11 14:48:05,699 autosynth [ERROR] > Synthesis failed
2022-01-11 14:48:05,699 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 87a3306 chore: change name to api_shortname in .repo-metadata.json (#847)
2022-01-11 14:48:05,745 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-11 14:48:05,773 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-11 14:48:05,996 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-11 14:48:05,997 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:


2022-01-12 01:49:13,619 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-12 01:49:13,620 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-12 01:49:13,620 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-12 01:49:13,620 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-12 01:49:13,620 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-12 01:49:13,621 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-12 01:49:13,621 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-12 01:49:13,622 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-12 01:49:13,644 synthtool [INFO] > Running java formatter on 0 files
2022-01-12 01:49:13,949 synthtool [INFO] > Running java formatter on 11 files
2022-01-12 01:49:17,347 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp9gg_kam3/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-12 01:49:17,349 synthtool [INFO] > Running java formatter on 100 files
2022-01-12 01:49:26,049 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-12 01:49:26,297 autosynth [ERROR] > Synthesis failed
2022-01-12 01:49:26,297 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 87a3306 chore: change name to api_shortname in .repo-metadata.json (#847)
2022-01-12 01:49:26,349 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-12 01:49:26,378 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-12 01:49:26,617 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-12 01:49:26,617 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-12 14:45:24,821 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-12 14:45:24,822 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-12 14:45:24,822 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-12 14:45:24,822 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-12 14:45:24,823 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-12 14:45:24,823 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-12 14:45:24,824 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-12 14:45:24,843 synthtool [INFO] > Running java formatter on 0 files
2022-01-12 14:45:25,127 synthtool [INFO] > Running java formatter on 11 files
2022-01-12 14:45:28,427 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpsy5b76hs/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-12 14:45:28,428 synthtool [INFO] > Running java formatter on 100 files
2022-01-12 14:45:35,820 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-12 14:45:36,046 autosynth [ERROR] > Synthesis failed
2022-01-12 14:45:36,047 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7eeea7b test(deps): update dependency com.google.cloud:google-cloud-conformance-tests to v0.2.6 (#845)
2022-01-12 14:45:36,094 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-12 14:45:36,122 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-12 14:45:36,381 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-12 14:45:36,381 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ynthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-13 01:45:19,720 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-13 01:45:19,720 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-13 01:45:19,721 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-13 01:45:19,721 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-13 01:45:19,721 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-13 01:45:19,722 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-13 01:45:19,722 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-13 01:45:19,742 synthtool [INFO] > Running java formatter on 0 files
2022-01-13 01:45:20,027 synthtool [INFO] > Running java formatter on 11 files
2022-01-13 01:45:23,213 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpfebz2gv7/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-13 01:45:23,215 synthtool [INFO] > Running java formatter on 100 files
2022-01-13 01:45:31,024 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-13 01:45:31,235 autosynth [ERROR] > Synthesis failed
2022-01-13 01:45:31,236 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7eeea7b test(deps): update dependency com.google.cloud:google-cloud-conformance-tests to v0.2.6 (#845)
2022-01-13 01:45:31,282 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-13 01:45:31,309 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-13 01:45:31,548 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-13 01:45:31,548 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

taOrBuilder.java.
2022-01-13 14:44:09,618 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-13 14:44:09,618 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-13 14:44:09,618 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-13 14:44:09,619 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-13 14:44:09,619 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-13 14:44:09,619 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-13 14:44:09,620 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-13 14:44:09,621 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-13 14:44:09,647 synthtool [INFO] > Running java formatter on 0 files
2022-01-13 14:44:09,961 synthtool [INFO] > Running java formatter on 11 files
2022-01-13 14:44:13,200 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp1mg3wvv6/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-13 14:44:13,202 synthtool [INFO] > Running java formatter on 100 files
2022-01-13 14:44:20,937 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-13 14:44:21,147 autosynth [ERROR] > Synthesis failed
2022-01-13 14:44:21,147 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-13 14:44:21,194 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-13 14:44:21,221 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-13 14:44:21,462 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-13 14:44:21,462 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ava.
2022-01-14 01:44:37,595 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-14 01:44:37,595 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-14 01:44:37,596 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-14 01:44:37,596 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-14 01:44:37,596 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-14 01:44:37,596 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-14 01:44:37,598 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-14 01:44:37,598 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-14 01:44:37,620 synthtool [INFO] > Running java formatter on 0 files
2022-01-14 01:44:37,888 synthtool [INFO] > Running java formatter on 11 files
2022-01-14 01:44:40,886 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpdp6kuvhi/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-14 01:44:40,888 synthtool [INFO] > Running java formatter on 100 files
2022-01-14 01:44:48,474 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-14 01:44:48,688 autosynth [ERROR] > Synthesis failed
2022-01-14 01:44:48,688 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-14 01:44:48,735 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-14 01:44:48,763 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-14 01:44:49,002 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-14 01:44:49,002 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

a.
2022-01-14 14:44:28,662 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-14 14:44:28,662 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-14 14:44:28,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-14 14:44:28,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-14 14:44:28,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-14 14:44:28,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-14 14:44:28,664 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-14 14:44:28,664 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-14 14:44:28,683 synthtool [INFO] > Running java formatter on 0 files
2022-01-14 14:44:28,960 synthtool [INFO] > Running java formatter on 11 files
2022-01-14 14:44:32,002 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpx544k7jg/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-14 14:44:32,004 synthtool [INFO] > Running java formatter on 100 files
2022-01-14 14:44:39,422 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-14 14:44:39,647 autosynth [ERROR] > Synthesis failed
2022-01-14 14:44:39,648 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-14 14:44:39,695 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-14 14:44:39,723 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-14 14:44:39,950 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-14 14:44:39,950 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

mentOrBuilder.java.
2022-01-15 01:44:55,904 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-15 01:44:55,904 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-15 01:44:55,904 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-15 01:44:55,905 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-15 01:44:55,905 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-15 01:44:55,905 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-15 01:44:55,906 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-15 01:44:55,906 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-15 01:44:55,929 synthtool [INFO] > Running java formatter on 0 files
2022-01-15 01:44:56,209 synthtool [INFO] > Running java formatter on 11 files
2022-01-15 01:44:59,381 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp4ximnn8s/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-15 01:44:59,383 synthtool [INFO] > Running java formatter on 100 files
2022-01-15 01:45:06,978 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-15 01:45:07,209 autosynth [ERROR] > Synthesis failed
2022-01-15 01:45:07,210 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-15 01:45:07,257 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-15 01:45:07,284 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-15 01:45:07,488 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-15 01:45:07,488 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

DocumentMetadataOrBuilder.java.
2022-01-15 14:44:15,607 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-15 14:44:15,607 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-15 14:44:15,607 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-15 14:44:15,608 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-15 14:44:15,608 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-15 14:44:15,608 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-15 14:44:15,609 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-15 14:44:15,609 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-15 14:44:15,628 synthtool [INFO] > Running java formatter on 0 files
2022-01-15 14:44:15,905 synthtool [INFO] > Running java formatter on 11 files
2022-01-15 14:44:19,196 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpyf2y1otw/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-15 14:44:19,198 synthtool [INFO] > Running java formatter on 100 files
2022-01-15 14:44:26,776 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-15 14:44:26,994 autosynth [ERROR] > Synthesis failed
2022-01-15 14:44:26,994 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-15 14:44:27,041 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-15 14:44:27,068 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-15 14:44:27,296 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-15 14:44:27,296 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

rBuilder.java.
2022-01-16 01:44:03,281 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-16 01:44:03,281 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-16 01:44:03,282 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-16 01:44:03,282 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-16 01:44:03,282 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-16 01:44:03,282 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-16 01:44:03,283 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-16 01:44:03,283 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-16 01:44:03,306 synthtool [INFO] > Running java formatter on 0 files
2022-01-16 01:44:03,580 synthtool [INFO] > Running java formatter on 11 files
2022-01-16 01:44:06,707 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp97ejbs2z/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-16 01:44:06,709 synthtool [INFO] > Running java formatter on 100 files
2022-01-16 01:44:14,165 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-16 01:44:14,379 autosynth [ERROR] > Synthesis failed
2022-01-16 01:44:14,380 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-16 01:44:14,427 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-16 01:44:14,454 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-16 01:44:14,661 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-16 01:44:14,661 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

cumentMetadata.java.
2022-01-16 14:44:51,806 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-16 14:44:51,806 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-16 14:44:51,807 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-16 14:44:51,807 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-16 14:44:51,808 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-16 14:44:51,808 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-16 14:44:51,809 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-16 14:44:51,810 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-16 14:44:51,834 synthtool [INFO] > Running java formatter on 0 files
2022-01-16 14:44:52,162 synthtool [INFO] > Running java formatter on 11 files
2022-01-16 14:44:55,507 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp09q_hcl_/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-16 14:44:55,509 synthtool [INFO] > Running java formatter on 100 files
2022-01-16 14:45:03,522 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-16 14:45:03,764 autosynth [ERROR] > Synthesis failed
2022-01-16 14:45:03,764 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-16 14:45:03,813 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-16 14:45:03,841 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-16 14:45:04,119 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-16 14:45:04,119 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

edDocumentMetadataOrBuilder.java.
2022-01-17 01:44:19,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-17 01:44:19,941 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-17 01:44:19,941 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-17 01:44:19,941 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-17 01:44:19,942 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-17 01:44:19,942 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-17 01:44:19,943 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-17 01:44:19,944 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-17 01:44:19,968 synthtool [INFO] > Running java formatter on 0 files
2022-01-17 01:44:20,263 synthtool [INFO] > Running java formatter on 11 files
2022-01-17 01:44:23,347 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgf3nbuut/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-17 01:44:23,349 synthtool [INFO] > Running java formatter on 100 files
2022-01-17 01:44:31,112 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-17 01:44:31,332 autosynth [ERROR] > Synthesis failed
2022-01-17 01:44:31,332 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-17 01:44:31,379 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-17 01:44:31,407 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-17 01:44:31,621 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-17 01:44:31,622 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

.java.
2022-01-17 14:43:55,939 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-17 14:43:55,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-17 14:43:55,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-17 14:43:55,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-17 14:43:55,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-17 14:43:55,940 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-17 14:43:55,941 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-17 14:43:55,941 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-17 14:43:55,964 synthtool [INFO] > Running java formatter on 0 files
2022-01-17 14:43:56,245 synthtool [INFO] > Running java formatter on 11 files
2022-01-17 14:43:59,373 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpeowkw6vk/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-17 14:43:59,374 synthtool [INFO] > Running java formatter on 100 files
2022-01-17 14:44:06,689 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-17 14:44:06,897 autosynth [ERROR] > Synthesis failed
2022-01-17 14:44:06,897 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-17 14:44:06,945 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-17 14:44:06,973 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-17 14:44:07,169 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-17 14:44:07,169 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

MetadataOrBuilder.java.
2022-01-18 01:44:27,336 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-18 01:44:27,336 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-18 01:44:27,336 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-18 01:44:27,337 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-18 01:44:27,337 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-18 01:44:27,337 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-18 01:44:27,338 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-18 01:44:27,338 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-18 01:44:27,361 synthtool [INFO] > Running java formatter on 0 files
2022-01-18 01:44:27,685 synthtool [INFO] > Running java formatter on 11 files
2022-01-18 01:44:30,901 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpk8ck54_3/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-18 01:44:30,903 synthtool [INFO] > Running java formatter on 100 files
2022-01-18 01:44:38,963 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-18 01:44:39,187 autosynth [ERROR] > Synthesis failed
2022-01-18 01:44:39,187 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6a27f11 chore: update release-level in .repo-metadata.json (#853)
2022-01-18 01:44:39,233 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-18 01:44:39,261 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-18 01:44:39,548 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-18 01:44:39,548 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java
 M proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
 M proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
?? proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
?? proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
2022-01-18 14:58:53,260 autosynth [DEBUG] > Running: git log 10380880f030101709b3ebe1eb1dd121fa8b4116 -1 --no-decorate --pretty=%s
2022-01-18 14:58:53,264 autosynth [DEBUG] > Running: git log 10380880f030101709b3ebe1eb1dd121fa8b4116 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2022-01-18 14:58:53,268 autosynth [DEBUG] > Running: git add -A
2022-01-18 14:58:53,279 autosynth [DEBUG] > Running: git status --porcelain
2022-01-18 14:58:53,287 autosynth [DEBUG] > Running: git commit -m fix(php): only wrap top-level required oneof in tests

Updating to gapic-generator-php v1.3.1 carries this fix.

PiperOrigin-RevId: 420859180

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Jan 10 14:36:18 2022 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 10380880f030101709b3ebe1eb1dd121fa8b4116
Source-Link: https://github.com/googleapis/googleapis/commit/10380880f030101709b3ebe1eb1dd121fa8b4116
[autosynth-159 faac1b2] fix(php): only wrap top-level required oneof in tests
 37 files changed, 8091 insertions(+), 217 deletions(-)
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
 create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
2022-01-18 14:58:53,318 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at faac1b2 fix(php): only wrap top-level required oneof in tests
2022-01-18 14:58:53,325 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-01-18 14:58:53,332 autosynth [DEBUG] > Running: git diff --binary HEAD..autosynth-159 -- . :(exclude)synth.metadata
2022-01-18 14:58:53,336 autosynth [DEBUG] > Running: git diff HEAD..autosynth-159 -- synth.metadata
2022-01-18 14:58:53,340 autosynth [DEBUG] > Running: git diff --binary HEAD..autosynth-160 -- . :(exclude)synth.metadata
2022-01-18 14:58:53,344 autosynth [DEBUG] > Running: git diff --binary HEAD autosynth-160
2022-01-18 14:58:53,348 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp053sq06r/autosynth-160.patch
2022-01-18 14:58:53,352 autosynth [DEBUG] > Running: git add -A
2022-01-18 14:58:53,359 autosynth [DEBUG] > Running: git status --porcelain
2022-01-18 14:58:53,366 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 a73a3e1] chore(java): update variable name to api_shortname in README template
 2 files changed, 20 insertions(+), 5 deletions(-)
2022-01-18 14:58:53,375 autosynth [DEBUG] > Running: git diff --binary autosynth-160..autosynth-163 -- . :(exclude)synth.metadata
2022-01-18 14:58:53,379 autosynth [DEBUG] > Running: git diff autosynth-160..autosynth-163 -- synth.metadata
2022-01-18 14:58:53,384 autosynth [DEBUG] > Running: git diff --binary autosynth-163..autosynth-169 -- . :(exclude)synth.metadata
2022-01-18 14:58:53,387 autosynth [DEBUG] > Running: git diff autosynth-163..autosynth-169 -- synth.metadata
2022-01-18 14:58:53,391 autosynth [DEBUG] > Running: git diff --binary autosynth-169..autosynth-194 -- . :(exclude)synth.metadata
2022-01-18 14:58:53,395 autosynth [DEBUG] > Running: git diff autosynth-169..autosynth-194 -- synth.metadata
2022-01-18 14:58:53,399 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/java-firestore.git
 + 59dddf5...a73a3e1 autosynth -> autosynth (forced update)
2022-01-18 14:58:54,479 autosynth [DEBUG] > Running: git log -2 --pretty=%b
2022-01-18 14:58:55,791 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

,956 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-19 01:44:31,956 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-19 01:44:31,956 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-19 01:44:31,957 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-19 01:44:31,957 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-19 01:44:31,957 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-19 01:44:31,958 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-19 01:44:31,959 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-19 01:44:31,982 synthtool [INFO] > Running java formatter on 0 files
2022-01-19 01:44:32,278 synthtool [INFO] > Running java formatter on 11 files
2022-01-19 01:44:35,562 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmprbl3nbl1/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-19 01:44:35,564 synthtool [INFO] > Running java formatter on 100 files
2022-01-19 01:44:43,394 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-19 01:44:43,649 autosynth [ERROR] > Synthesis failed
2022-01-19 01:44:43,650 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at d61dcd7 build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.3.0 (#844)
2022-01-19 01:44:43,698 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-19 01:44:43,726 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-19 01:44:43,990 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-19 01:44:43,990 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

OrBuilder.java.
2022-01-19 14:44:14,438 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-19 14:44:14,438 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-19 14:44:14,439 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-19 14:44:14,439 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-19 14:44:14,439 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-19 14:44:14,440 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-19 14:44:14,441 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-19 14:44:14,441 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-19 14:44:14,461 synthtool [INFO] > Running java formatter on 0 files
2022-01-19 14:44:14,743 synthtool [INFO] > Running java formatter on 11 files
2022-01-19 14:44:17,994 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpbbf7isln/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-19 14:44:17,996 synthtool [INFO] > Running java formatter on 100 files
2022-01-19 14:44:25,684 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-19 14:44:25,913 autosynth [ERROR] > Synthesis failed
2022-01-19 14:44:25,913 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-19 14:44:25,960 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-19 14:44:25,987 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-19 14:44:26,237 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-19 14:44:26,237 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

dQuery.java.
2022-01-20 01:44:08,828 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-20 01:44:08,828 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-20 01:44:08,829 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-20 01:44:08,829 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-20 01:44:08,829 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-20 01:44:08,829 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-20 01:44:08,830 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-20 01:44:08,830 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-20 01:44:08,850 synthtool [INFO] > Running java formatter on 0 files
2022-01-20 01:44:09,140 synthtool [INFO] > Running java formatter on 11 files
2022-01-20 01:44:12,291 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp3jxwz2sl/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-20 01:44:12,293 synthtool [INFO] > Running java formatter on 100 files
2022-01-20 01:44:20,080 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-20 01:44:20,310 autosynth [ERROR] > Synthesis failed
2022-01-20 01:44:20,310 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-20 01:44:20,357 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-20 01:44:20,384 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-20 01:44:20,625 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-20 01:44:20,625 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ryOrBuilder.java.
2022-01-20 14:44:10,194 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-20 14:44:10,194 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-20 14:44:10,194 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-20 14:44:10,194 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-20 14:44:10,195 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-20 14:44:10,195 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-20 14:44:10,196 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-20 14:44:10,196 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-20 14:44:10,217 synthtool [INFO] > Running java formatter on 0 files
2022-01-20 14:44:10,483 synthtool [INFO] > Running java formatter on 11 files
2022-01-20 14:44:13,630 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpwguzpwm7/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-20 14:44:13,632 synthtool [INFO] > Running java formatter on 100 files
2022-01-20 14:44:20,821 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-20 14:44:21,036 autosynth [ERROR] > Synthesis failed
2022-01-20 14:44:21,037 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-20 14:44:21,083 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-20 14:44:21,110 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-20 14:44:21,356 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-20 14:44:21,356 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

le/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-21 01:44:19,660 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-21 01:44:19,660 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-21 01:44:19,660 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-21 01:44:19,661 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-21 01:44:19,661 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-21 01:44:19,661 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-21 01:44:19,663 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-21 01:44:19,663 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-21 01:44:19,686 synthtool [INFO] > Running java formatter on 0 files
2022-01-21 01:44:19,967 synthtool [INFO] > Running java formatter on 11 files
2022-01-21 01:44:23,179 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp7uedugz6/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-21 01:44:23,180 synthtool [INFO] > Running java formatter on 100 files
2022-01-21 01:44:30,725 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-21 01:44:30,950 autosynth [ERROR] > Synthesis failed
2022-01-21 01:44:30,951 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-21 01:44:30,998 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-21 01:44:31,026 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-21 01:44:31,249 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-21 01:44:31,249 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

etadata.java.
2022-01-21 14:44:29,997 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-21 14:44:29,997 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-21 14:44:29,998 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-21 14:44:29,998 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-21 14:44:29,998 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-21 14:44:29,998 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-21 14:44:29,999 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-21 14:44:29,999 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-21 14:44:30,022 synthtool [INFO] > Running java formatter on 0 files
2022-01-21 14:44:30,311 synthtool [INFO] > Running java formatter on 11 files
2022-01-21 14:44:33,546 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpapfw4wkp/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-21 14:44:33,547 synthtool [INFO] > Running java formatter on 100 files
2022-01-21 14:44:41,043 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-21 14:44:41,280 autosynth [ERROR] > Synthesis failed
2022-01-21 14:44:41,280 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-21 14:44:41,328 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-21 14:44:41,357 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-21 14:44:41,595 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-21 14:44:41,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 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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/bundle/BundledQueryOrBuilder.java.
2022-01-22 01:43:44,415 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-22 01:43:44,415 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-22 01:43:44,415 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-22 01:43:44,416 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-22 01:43:44,416 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-22 01:43:44,416 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-22 01:43:44,418 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-22 01:43:44,418 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-22 01:43:44,438 synthtool [INFO] > Running java formatter on 0 files
2022-01-22 01:43:44,714 synthtool [INFO] > Running java formatter on 11 files
2022-01-22 01:43:47,804 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpth1qvdml/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-22 01:43:47,806 synthtool [INFO] > Running java formatter on 100 files
2022-01-22 01:43:55,237 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-22 01:43:55,448 autosynth [ERROR] > Synthesis failed
2022-01-22 01:43:55,449 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-22 01:43:55,495 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-22 01:43:55,522 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-22 01:43:55,712 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-22 01:43:55,712 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-22 14:44:33,239 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-22 14:44:33,239 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-22 14:44:33,240 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-22 14:44:33,240 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-22 14:44:33,240 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-22 14:44:33,241 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-22 14:44:33,241 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-22 14:44:33,242 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-22 14:44:33,268 synthtool [INFO] > Running java formatter on 0 files
2022-01-22 14:44:33,550 synthtool [INFO] > Running java formatter on 11 files
2022-01-22 14:44:36,857 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp298jzd6n/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-22 14:44:36,859 synthtool [INFO] > Running java formatter on 100 files
2022-01-22 14:44:45,042 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-22 14:44:45,286 autosynth [ERROR] > Synthesis failed
2022-01-22 14:44:45,286 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-22 14:44:45,335 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-22 14:44:45,363 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-22 14:44:45,593 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-22 14:44:45,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 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

dDocumentMetadataOrBuilder.java.
2022-01-23 01:43:56,299 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-23 01:43:56,299 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-23 01:43:56,300 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-23 01:43:56,300 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-23 01:43:56,300 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-23 01:43:56,301 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-23 01:43:56,301 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-23 01:43:56,302 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-23 01:43:56,323 synthtool [INFO] > Running java formatter on 0 files
2022-01-23 01:43:56,616 synthtool [INFO] > Running java formatter on 11 files
2022-01-23 01:43:59,661 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpx32qbqa0/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-23 01:43:59,663 synthtool [INFO] > Running java formatter on 100 files
2022-01-23 01:44:07,129 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-23 01:44:07,342 autosynth [ERROR] > Synthesis failed
2022-01-23 01:44:07,342 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-23 01:44:07,389 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-23 01:44:07,417 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-23 01:44:07,634 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-23 01:44:07,634 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

restore/bundle/BundledDocumentMetadata.java.
2022-01-23 14:44:03,695 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-23 14:44:03,695 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-23 14:44:03,695 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-23 14:44:03,696 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-23 14:44:03,696 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-23 14:44:03,696 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-23 14:44:03,698 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-23 14:44:03,698 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-23 14:44:03,720 synthtool [INFO] > Running java formatter on 0 files
2022-01-23 14:44:04,005 synthtool [INFO] > Running java formatter on 11 files
2022-01-23 14:44:07,143 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpkhefj19p/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-23 14:44:07,144 synthtool [INFO] > Running java formatter on 100 files
2022-01-23 14:44:14,578 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-23 14:44:14,793 autosynth [ERROR] > Synthesis failed
2022-01-23 14:44:14,794 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-23 14:44:14,841 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-23 14:44:14,869 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-23 14:44:15,065 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-23 14:44:15,065 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

Proto.java.
2022-01-24 01:44:17,458 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-24 01:44:17,458 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-24 01:44:17,459 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-24 01:44:17,459 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-24 01:44:17,459 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-24 01:44:17,459 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-24 01:44:17,461 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-24 01:44:17,461 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-24 01:44:17,487 synthtool [INFO] > Running java formatter on 0 files
2022-01-24 01:44:17,819 synthtool [INFO] > Running java formatter on 11 files
2022-01-24 01:44:21,375 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpa08kvqwn/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-24 01:44:21,377 synthtool [INFO] > Running java formatter on 100 files
2022-01-24 01:44:29,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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-24 01:44:29,667 autosynth [ERROR] > Synthesis failed
2022-01-24 01:44:29,667 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-24 01:44:29,713 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-24 01:44:29,741 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-24 01:44:30,022 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-24 01:44:30,023 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ava.
2022-01-24 14:43:58,402 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-24 14:43:58,403 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-24 14:43:58,403 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-24 14:43:58,403 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-24 14:43:58,404 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-24 14:43:58,404 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-24 14:43:58,405 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-24 14:43:58,405 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-24 14:43:58,425 synthtool [INFO] > Running java formatter on 0 files
2022-01-24 14:43:58,725 synthtool [INFO] > Running java formatter on 11 files
2022-01-24 14:44:01,787 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpiv1krpxf/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-24 14:44:01,789 synthtool [INFO] > Running java formatter on 100 files
2022-01-24 14:44:09,380 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-24 14:44:09,590 autosynth [ERROR] > Synthesis failed
2022-01-24 14:44:09,591 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-24 14:44:09,638 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-24 14:44:09,665 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-24 14:44:09,927 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-24 14:44:09,927 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ndle/BundleMetadataOrBuilder.java.
2022-01-25 01:44:26,003 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-25 01:44:26,003 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-25 01:44:26,003 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-25 01:44:26,003 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-25 01:44:26,003 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-25 01:44:26,004 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-25 01:44:26,004 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-25 01:44:26,005 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-25 01:44:26,026 synthtool [INFO] > Running java formatter on 0 files
2022-01-25 01:44:26,297 synthtool [INFO] > Running java formatter on 11 files
2022-01-25 01:44:29,342 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgt152ker/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-25 01:44:29,344 synthtool [INFO] > Running java formatter on 100 files
2022-01-25 01:44:37,018 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-25 01:44:37,234 autosynth [ERROR] > Synthesis failed
2022-01-25 01:44:37,234 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-25 01:44:37,282 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-25 01:44:37,310 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-25 01:44:37,560 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-25 01:44:37,560 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

undleElementOrBuilder.java.
2022-01-25 14:44:57,920 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-25 14:44:57,920 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-25 14:44:57,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-25 14:44:57,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-25 14:44:57,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-25 14:44:57,922 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-25 14:44:57,923 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-25 14:44:57,923 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-25 14:44:57,947 synthtool [INFO] > Running java formatter on 0 files
2022-01-25 14:44:58,227 synthtool [INFO] > Running java formatter on 11 files
2022-01-25 14:45:01,377 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpamto1rzo/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-25 14:45:01,379 synthtool [INFO] > Running java formatter on 100 files
2022-01-25 14:45:09,118 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-25 14:45:09,355 autosynth [ERROR] > Synthesis failed
2022-01-25 14:45:09,355 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-25 14:45:09,404 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-25 14:45:09,433 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-25 14:45:09,711 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-25 14:45:09,711 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

undledQuery.java.
2022-01-26 01:49:33,161 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-26 01:49:33,162 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-26 01:49:33,162 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-26 01:49:33,162 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-26 01:49:33,162 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-26 01:49:33,162 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-26 01:49:33,163 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-26 01:49:33,163 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-26 01:49:33,181 synthtool [INFO] > Running java formatter on 0 files
2022-01-26 01:49:33,438 synthtool [INFO] > Running java formatter on 11 files
2022-01-26 01:49:36,442 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpmtot6uo6/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-26 01:49:36,444 synthtool [INFO] > Running java formatter on 100 files
2022-01-26 01:49:43,696 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-26 01:49:43,900 autosynth [ERROR] > Synthesis failed
2022-01-26 01:49:43,901 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-26 01:49:43,946 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-26 01:49:43,973 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-26 01:49:44,170 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-26 01:49:44,170 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

rBuilder.java.
2022-01-26 14:46:15,841 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-26 14:46:15,842 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-26 14:46:15,842 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-26 14:46:15,842 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-26 14:46:15,842 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-26 14:46:15,843 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-26 14:46:15,843 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-26 14:46:15,844 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-26 14:46:15,863 synthtool [INFO] > Running java formatter on 0 files
2022-01-26 14:46:16,144 synthtool [INFO] > Running java formatter on 11 files
2022-01-26 14:46:19,270 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpt5crb3ay/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-26 14:46:19,272 synthtool [INFO] > Running java formatter on 100 files
2022-01-26 14:46:26,823 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-26 14:46:27,033 autosynth [ERROR] > Synthesis failed
2022-01-26 14:46:27,033 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-26 14:46:27,080 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-26 14:46:27,108 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-26 14:46:27,325 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-26 14:46:27,325 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

/bundle/BundleElement.java.
2022-01-27 01:46:19,301 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-27 01:46:19,301 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-27 01:46:19,302 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-27 01:46:19,302 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-27 01:46:19,302 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-27 01:46:19,302 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-27 01:46:19,303 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-27 01:46:19,303 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-27 01:46:19,322 synthtool [INFO] > Running java formatter on 0 files
2022-01-27 01:46:19,586 synthtool [INFO] > Running java formatter on 11 files
2022-01-27 01:46:22,769 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpuvz79odm/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-27 01:46:22,771 synthtool [INFO] > Running java formatter on 100 files
2022-01-27 01:46:30,176 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-27 01:46:30,385 autosynth [ERROR] > Synthesis failed
2022-01-27 01:46:30,386 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-27 01:46:30,432 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-27 01:46:30,459 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-27 01:46:30,677 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-27 01:46:30,677 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

tore/bundle/BundledQueryOrBuilder.java.
2022-01-27 14:46:26,898 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-27 14:46:26,899 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-27 14:46:26,899 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-27 14:46:26,899 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-27 14:46:26,899 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-27 14:46:26,900 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-27 14:46:26,901 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-27 14:46:26,901 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-27 14:46:26,926 synthtool [INFO] > Running java formatter on 0 files
2022-01-27 14:46:27,302 synthtool [INFO] > Running java formatter on 11 files
2022-01-27 14:46:30,475 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp_c823q0u/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-27 14:46:30,477 synthtool [INFO] > Running java formatter on 100 files
2022-01-27 14:46:38,387 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-27 14:46:38,610 autosynth [ERROR] > Synthesis failed
2022-01-27 14:46:38,611 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b360ce9 chore: cleanup cloud rad gen profile (#855)
2022-01-27 14:46:38,657 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-27 14:46:38,685 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-27 14:46:38,929 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-27 14:46:38,929 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ery.java.
2022-01-28 01:46:47,341 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-28 01:46:47,341 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-28 01:46:47,342 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-28 01:46:47,342 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-28 01:46:47,342 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-28 01:46:47,342 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-28 01:46:47,343 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-28 01:46:47,344 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-28 01:46:47,363 synthtool [INFO] > Running java formatter on 0 files
2022-01-28 01:46:47,631 synthtool [INFO] > Running java formatter on 11 files
2022-01-28 01:46:50,887 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpwc42kqsz/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-28 01:46:50,889 synthtool [INFO] > Running java formatter on 100 files
2022-01-28 01:46:58,646 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-28 01:46:58,878 autosynth [ERROR] > Synthesis failed
2022-01-28 01:46:58,879 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 077c9be fix: close the Watch stream when we receive an error (#834)
2022-01-28 01:46:58,926 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-28 01:46:58,954 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-28 01:46:59,205 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-28 01:46:59,205 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

bundle/BundledQueryOrBuilder.java.
2022-01-28 14:47:04,603 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-28 14:47:04,603 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-28 14:47:04,603 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-28 14:47:04,604 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-28 14:47:04,604 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-28 14:47:04,604 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-28 14:47:04,605 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-28 14:47:04,605 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-28 14:47:04,625 synthtool [INFO] > Running java formatter on 0 files
2022-01-28 14:47:04,913 synthtool [INFO] > Running java formatter on 11 files
2022-01-28 14:47:08,332 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpn26mmrr3/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-28 14:47:08,334 synthtool [INFO] > Running java formatter on 100 files
2022-01-28 14:47:16,407 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-28 14:47:16,649 autosynth [ERROR] > Synthesis failed
2022-01-28 14:47:16,650 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-28 14:47:16,697 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-28 14:47:16,725 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-28 14:47:16,969 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-28 14:47:16,969 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ataOrBuilder.java.
2022-01-29 01:46:19,920 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-01-29 01:46:19,920 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-29 01:46:19,920 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-29 01:46:19,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-29 01:46:19,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-29 01:46:19,921 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-29 01:46:19,922 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-29 01:46:19,922 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-29 01:46:19,939 synthtool [INFO] > Running java formatter on 0 files
2022-01-29 01:46:20,197 synthtool [INFO] > Running java formatter on 11 files
2022-01-29 01:46:23,221 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpfs3bckfm/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-29 01:46:23,223 synthtool [INFO] > Running java formatter on 100 files
2022-01-29 01:46:30,772 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-29 01:46:30,991 autosynth [ERROR] > Synthesis failed
2022-01-29 01:46:30,992 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-29 01:46:31,038 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-29 01:46:31,062 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-29 01:46:31,277 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-29 01:46:31,278 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

estore/bundle/BundleElementOrBuilder.java.
2022-01-29 14:46:27,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-29 14:46:27,663 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-29 14:46:27,664 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-29 14:46:27,664 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-29 14:46:27,664 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-29 14:46:27,664 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-29 14:46:27,665 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-29 14:46:27,665 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-29 14:46:27,686 synthtool [INFO] > Running java formatter on 0 files
2022-01-29 14:46:27,960 synthtool [INFO] > Running java formatter on 11 files
2022-01-29 14:46:31,189 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmph1nr1zsu/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-29 14:46:31,191 synthtool [INFO] > Running java formatter on 100 files
2022-01-29 14:46:38,888 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-29 14:46:39,105 autosynth [ERROR] > Synthesis failed
2022-01-29 14:46:39,106 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-29 14:46:39,152 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-29 14:46:39,179 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-29 14:46:39,383 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-29 14:46:39,383 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-30 01:45:57,558 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-30 01:45:57,559 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-30 01:45:57,559 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-30 01:45:57,559 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-30 01:45:57,559 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-30 01:45:57,559 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-30 01:45:57,560 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-30 01:45:57,560 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-30 01:45:57,578 synthtool [INFO] > Running java formatter on 0 files
2022-01-30 01:45:57,853 synthtool [INFO] > Running java formatter on 11 files
2022-01-30 01:46:00,880 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpybxi4m_5/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-30 01:46:00,882 synthtool [INFO] > Running java formatter on 100 files
2022-01-30 01:46:08,215 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-30 01:46:08,416 autosynth [ERROR] > Synthesis failed
2022-01-30 01:46:08,416 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-30 01:46:08,460 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-30 01:46:08,487 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-30 01:46:08,729 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-30 01:46:08,729 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

dledQueryOrBuilder.java.
2022-01-30 14:46:59,700 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-30 14:46:59,701 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-30 14:46:59,701 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-01-30 14:46:59,701 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-30 14:46:59,701 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-30 14:46:59,701 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-30 14:46:59,702 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-30 14:46:59,703 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-30 14:46:59,723 synthtool [INFO] > Running java formatter on 0 files
2022-01-30 14:47:00,014 synthtool [INFO] > Running java formatter on 11 files
2022-01-30 14:47:03,242 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpaf2pvin_/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-30 14:47:03,244 synthtool [INFO] > Running java formatter on 100 files
2022-01-30 14:47:11,235 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-30 14:47:11,471 autosynth [ERROR] > Synthesis failed
2022-01-30 14:47:11,471 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-30 14:47:11,519 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-30 14:47:11,548 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-30 14:47:11,790 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-30 14:47:11,790 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

dQueryOrBuilder.java.
2022-01-31 01:47:06,656 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-01-31 01:47:06,656 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-31 01:47:06,656 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-31 01:47:06,657 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-01-31 01:47:06,657 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-31 01:47:06,657 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-01-31 01:47:06,658 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-31 01:47:06,658 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-31 01:47:06,680 synthtool [INFO] > Running java formatter on 0 files
2022-01-31 01:47:06,952 synthtool [INFO] > Running java formatter on 11 files
2022-01-31 01:47:10,140 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpaldhnd93/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-31 01:47:10,142 synthtool [INFO] > Running java formatter on 100 files
2022-01-31 01:47:17,947 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-31 01:47:18,182 autosynth [ERROR] > Synthesis failed
2022-01-31 01:47:18,182 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-31 01:47:18,230 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-31 01:47:18,258 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-31 01:47:18,504 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-31 01:47:18,505 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

ndledQueryOrBuilder.java.
2022-01-31 14:47:11,916 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-01-31 14:47:11,916 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-01-31 14:47:11,917 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-01-31 14:47:11,917 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-01-31 14:47:11,917 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-01-31 14:47:11,917 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-01-31 14:47:11,918 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-01-31 14:47:11,918 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-31 14:47:11,941 synthtool [INFO] > Running java formatter on 0 files
2022-01-31 14:47:12,251 synthtool [INFO] > Running java formatter on 11 files
2022-01-31 14:47:15,478 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmp0p1sccl7/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-01-31 14:47:15,479 synthtool [INFO] > Running java formatter on 100 files
2022-01-31 14:47:22,931 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-31 14:47:23,158 autosynth [ERROR] > Synthesis failed
2022-01-31 14:47:23,158 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 10aba92 chore(main): release 3.0.11 (#858)
2022-01-31 14:47:23,206 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-01-31 14:47:23,234 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-01-31 14:47:23,522 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-01-31 14:47:23,522 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

:35,320 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-02-01 01:46:35,320 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java.
2022-02-01 01:46:35,320 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-02-01 01:46:35,321 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-02-01 01:46:35,321 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-02-01 01:46:35,321 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-02-01 01:46:35,322 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-02-01 01:46:35,322 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-01 01:46:35,341 synthtool [INFO] > Running java formatter on 0 files
2022-02-01 01:46:35,617 synthtool [INFO] > Running java formatter on 11 files
2022-02-01 01:46:38,670 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpcf6a8om6/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-01 01:46:38,672 synthtool [INFO] > Running java formatter on 100 files
2022-02-01 01:46:45,999 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-02-01 01:46:46,211 autosynth [ERROR] > Synthesis failed
2022-02-01 01:46:46,211 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at bf48381 deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#860)
2022-02-01 01:46:46,260 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-02-01 01:46:46,287 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-02-01 01:46:46,532 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-02-01 01:46:46,532 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

a.
2022-02-01 14:49:28,120 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-02-01 14:49:28,120 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-02-01 14:49:28,120 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-02-01 14:49:28,120 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-02-01 14:49:28,121 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQuery.java.
2022-02-01 14:49:28,121 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-02-01 14:49:28,121 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-02-01 14:49:28,122 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-01 14:49:28,140 synthtool [INFO] > Running java formatter on 0 files
2022-02-01 14:49:28,420 synthtool [INFO] > Running java formatter on 11 files
2022-02-01 14:49:31,517 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpj_i4i8y0/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-01 14:49:31,519 synthtool [INFO] > Running java formatter on 100 files
2022-02-01 14:49:39,295 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-02-01 14:49:39,520 autosynth [ERROR] > Synthesis failed
2022-02-01 14:49:39,520 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at bf48381 deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#860)
2022-02-01 14:49:39,566 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-02-01 14:49:39,594 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-02-01 14:49:39,841 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-02-01 14:49:39,841 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

r.java.
2022-02-02 14:46:55,713 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-02-02 14:46:55,713 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-02-02 14:46:55,713 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java.
2022-02-02 14:46:55,713 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-02-02 14:46:55,714 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-02-02 14:46:55,714 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-02-02 14:46:55,714 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-02-02 14:46:55,715 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-02 14:46:55,737 synthtool [INFO] > Running java formatter on 0 files
2022-02-02 14:46:56,044 synthtool [INFO] > Running java formatter on 11 files
2022-02-02 14:46:59,103 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpn90natnf/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-02 14:46:59,105 synthtool [INFO] > Running java formatter on 100 files
2022-02-02 14:47:07,127 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-02-02 14:47:07,357 autosynth [ERROR] > Synthesis failed
2022-02-02 14:47:07,357 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at efc73bd deps: update dependency org.apache.commons:commons-lang3 to v3.12.0 (#846)
2022-02-02 14:47:07,406 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-02-02 14:47:07,435 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-02-02 14:47:07,699 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-02-02 14:47:07,699 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

:46:58,862 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java.
2022-02-03 01:46:58,862 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-02-03 01:46:58,862 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-02-03 01:46:58,863 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java.
2022-02-03 01:46:58,863 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-02-03 01:46:58,863 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-02-03 01:46:58,864 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-02-03 01:46:58,865 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-03 01:46:58,885 synthtool [INFO] > Running java formatter on 0 files
2022-02-03 01:46:59,161 synthtool [INFO] > Running java formatter on 11 files
2022-02-03 01:47:02,272 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpgw8jimy4/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-03 01:47:02,274 synthtool [INFO] > Running java formatter on 100 files
2022-02-03 01:47:10,006 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-02-03 01:47:10,214 autosynth [ERROR] > Synthesis failed
2022-02-03 01:47:10,215 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at efc73bd deps: update dependency org.apache.commons:commons-lang3 to v3.12.0 (#846)
2022-02-03 01:47:10,261 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-02-03 01:47:10,289 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-02-03 01:47:10,523 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-02-03 01:47:10,523 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

tadata.java.
2022-02-03 14:49:50,991 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleProto.java.
2022-02-03 14:49:50,992 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java.
2022-02-03 14:49:50,992 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/NamedQuery.java.
2022-02-03 14:49:50,992 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleElement.java.
2022-02-03 14:49:50,992 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadata.java.
2022-02-03 14:49:50,993 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/proto-google-cloud-firestore-bundle-v1-java/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java.
2022-02-03 14:49:50,993 synthtool [WARNING] > No replacements made in /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src/**/*.java for pattern package com.google.firestore-bundle.v1;, maybe replacement is no longer needed?
2022-02-03 14:49:50,993 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/grpc-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-03 14:49:51,012 synthtool [INFO] > Running java formatter on 0 files
2022-02-03 14:49:51,286 synthtool [INFO] > Running java formatter on 11 files
2022-02-03 14:49:54,234 synthtool [WARNING] > No files in sources /tmpfs/tmp/tmpiyu5zfl6/google-cloud-firestore-bundle-v1-java/gapic-google-cloud-firestore-bundle-v1-java/src were copied. Does the source contain files?
2022-02-03 14:49:54,236 synthtool [INFO] > Running java formatter on 100 files
2022-02-03 14:50:01,789 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-firestore/synth.py", line 136, in <module>
    '.kokoro/nightly/samples.cfg'
  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-02-03 14:50:02,000 autosynth [ERROR] > Synthesis failed
2022-02-03 14:50:02,000 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at efc73bd deps: update dependency org.apache.commons:commons-lang3 to v3.12.0 (#846)
2022-02-03 14:50:02,043 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2022-02-03 14:50:02,069 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2022-02-03 14:50:02,416 autosynth [INFO] > PR already exists: https://github.com/googleapis/java-firestore/pull/848
2022-02-03 14:50:02,416 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

)
Collecting MarkupSafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting protobuf==3.19.4
  Using cached protobuf-3.19.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pypandoc==1.7.2
  Using cached pypandoc-1.7.2-py2.py3-none-any.whl (29 kB)
Collecting PyYAML==6.0
  Using cached PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting dataclasses==0.6
  Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
 (ERROR: Could not find a version that satisfies the requirement setuptools==60.5.0 (from versions: 0.6b1, 0.6b2, 0.6b3, 0.6b4, 0.6rc1, 0.6rc2, 0.6rc3, 0.6rc4, 0.6rc5, 0.6rc6, 0.6rc7, 0.6rc8, 0.6rc9, 0.6rc10, 0.6rc11, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.1, 1.4.2, 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.2, 3.0, 3.0.1, 3.0.2, 3.1, 3.2, 3.3, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.5, 3.5.1, 3.5.2, 3.6, 3.7, 3.7.1, 3.8, 3.8.1, 4.0, 4.0.1, 5.0, 5.0.1, 5.0.2, 5.1, 5.2, 5.3, 5.4, 5.4.1, 5.4.2, 5.5, 5.5.1, 5.6, 5.7, 5.8, 6.0.1, 6.0.2, 6.1, 7.0, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.1, 8.2, 8.2.1, 8.3, 9.0, 9.0.1, 9.1, 10.0, 10.0.1, 10.1, 10.2, 10.2.1, 11.0, 11.1, 11.2, 11.3, 11.3.1, 12.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.1, 12.2, 12.3, 12.4, 13.0.1, 13.0.2, 14.0, 14.1, 14.1.1, 14.2, 14.3, 14.3.1, 15.0, 15.1, 15.2, 16.0, 17.0, 17.1, 17.1.1, 18.0, 18.0.1, 18.1, 18.2, 18.3, 18.3.1, 18.3.2, 18.4, 18.5, 18.6, 18.6.1, 18.7, 18.7.1, 18.8, 18.8.1, 19.0, 19.1, 19.1.1, 19.2, 19.3, 19.4, 19.4.1, 19.5, 19.6, 19.6.1, 19.6.2, 19.7, 20.0, 20.1, 20.1.1, 20.2.2, 20.3, 20.3.1, 20.4, 20.6.6, 20.6.7, 20.6.8, 20.7.0, 20.8.0, 20.8.1, 20.9.0, 20.10.1, 21.0.0, 21.1.0, 21.2.0, 21.2.1, 21.2.2, 22.0.0, 22.0.1, 22.0.2, 22.0.4, 22.0.5, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 24.3.0, 24.3.1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1, 25.1.2, 25.1.3, 25.1.4, 25.1.5, 25.1.6, 25.2.0, 25.3.0, 25.4.0, 26.0.0, 26.1.0, 26.1.1, 27.0.0, 27.1.0, 27.1.2, 27.2.0, 27.3.0, 27.3.1, 28.0.0, 28.1.0, 28.2.0, 28.3.0, 28.4.0, 28.5.0, 28.6.0, 28.6.1, 28.7.0, 28.7.1, 28.8.0, 28.8.1, 29.0.0, 29.0.1, 30.0.0, 30.1.0, 30.2.0, 30.2.1, 30.3.0, 30.4.0, 31.0.0, 31.0.1, 32.0.0, 32.1.0, 32.1.1, 32.1.2, 32.1.3, 32.2.0, 32.3.0, 32.3.1, 33.1.0, 33.1.1, 34.0.0, 34.0.1, 34.0.2, 34.0.3, 34.1.0, 34.1.1, 34.2.0, 34.3.0, 34.3.1, 34.3.2, 34.3.3, 34.4.0, 34.4.1, 35.0.0, 35.0.1, 35.0.2, 36.0.1, 36.1.0, 36.1.1, 36.2.0, 36.2.1, 36.2.2, 36.2.3, 36.2.4, 36.2.5, 36.2.6, 36.2.7, 36.3.0, 36.4.0, 36.5.0, 36.6.0, 36.6.1, 36.7.0, 36.7.1, 36.7.2, 36.8.0, 37.0.0, 38.0.0, 38.1.0, 38.2.0, 38.2.1, 38.2.3, 38.2.4, 38.2.5, 38.3.0, 38.4.0, 38.4.1, 38.5.0, 38.5.1, 38.5.2, 38.6.0, 38.6.1, 38.7.0, 39.0.0, 39.0.1, 39.1.0, 39.2.0, 40.0.0, 40.1.0, 40.1.1, 40.2.0, 40.3.0, 40.4.0, 40.4.1, 40.4.2, 40.4.3, 40.5.0, 40.6.0, 40.6.1, 40.6.2, 40.6.3, 40.7.0, 40.7.1, 40.7.2, 40.7.3, 40.8.0, 40.9.0, 41.0.0, 41.0.1, 41.1.0, 41.2.0, 41.3.0, 41.4.0, 41.5.0, 41.5.1, 41.6.0, 42.0.0, 42.0.1, 42.0.2, 43.0.0, 44.0.0, 44.1.0, 44.1.1, 45.0.0, 45.1.0, 45.2.0, 45.3.0, 46.0.0, 46.1.0, 46.1.1, 46.1.2, 46.1.3, 46.2.0, 46.3.0, 46.3.1, 46.4.0, 47.0.0, 47.1.0, 47.1.1, 47.2.0, 47.3.0, 47.3.1, 47.3.2, 48.0.0, 49.0.0, 49.0.1, 49.1.0, 49.1.1, 49.1.2, 49.1.3, 49.2.0, 49.2.1, 49.3.0, 49.3.1, 49.3.2, 49.4.0, 49.5.0, 49.6.0, 50.0.0, 50.0.1, 50.0.2, 50.0.3, 50.1.0, 50.2.0, 50.3.0, 50.3.1, 50.3.2, 51.0.0, 51.1.0, 51.1.0.post20201221, 51.1.1, 51.1.2, 51.2.0, 51.3.0, 51.3.1, 51.3.2, 51.3.3, 52.0.0, 53.0.0, 53.1.0, 54.0.0, 54.1.0, 54.1.1, 54.1.2, 54.1.3, 54.2.0, 56.0.0, 56.1.0, 56.2.0, 57.0.0, 57.1.0, 57.2.0, 57.3.0, 57.4.0, 57.5.0, 58.0.0, 58.0.1, 58.0.2, 58.0.3, 58.0.4, 58.1.0, 58.2.0, 58.3.0, 58.4.0, 58.5.0, 58.5.1, 58.5.2, 58.5.3, 59.0.1, 59.1.0, 59.1.1, 59.2.0, 59.3.0, 59.4.0, 59.5.0, 59.6.0)
ERROR: No matching distribution found for setuptools==60.5.0
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 "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__main__.py", line 5, in <module>
    main()
  File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__init__.py", line 82, in main
    subprocess.run(pip_args, check=True, env=env, cwd=str(pathlib.Path(args.requirements).parent.resolve()))
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'pip', '--isolated', 'wheel', '-r', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt', '--wheel-dir', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python_pip_deps']' returned non-zero exit status 1.
)
INFO: Elapsed time: 3.098s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
2022-02-04 14:34:45,177 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/firestore/admin/v1:google-cloud-firestore-admin-v1-java:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 114, in <module>
    include_gapic=True
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 64, in generate_client
    bazel_target=bazel_target if bazel_target else f'//google/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/firestore/admin/v1:google-cloud-firestore-admin-v1-java']' returned non-zero exit status 1.
2022-02-04 14:34:45,256 autosynth [ERROR] > Synthesis failed
2022-02-04 14:34:45,257 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8ea83fa chore(main): release 3.0.12 (#862)
2022-02-04 14:34:45,263 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-02-04 14:34:45,268 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

)
Collecting MarkupSafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting protobuf==3.19.4
  Using cached protobuf-3.19.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pypandoc==1.7.2
  Using cached pypandoc-1.7.2-py2.py3-none-any.whl (29 kB)
Collecting PyYAML==6.0
  Using cached PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting dataclasses==0.6
  Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
 (ERROR: Could not find a version that satisfies the requirement setuptools==60.5.0 (from versions: 0.6b1, 0.6b2, 0.6b3, 0.6b4, 0.6rc1, 0.6rc2, 0.6rc3, 0.6rc4, 0.6rc5, 0.6rc6, 0.6rc7, 0.6rc8, 0.6rc9, 0.6rc10, 0.6rc11, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.1, 1.4.2, 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.2, 3.0, 3.0.1, 3.0.2, 3.1, 3.2, 3.3, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.5, 3.5.1, 3.5.2, 3.6, 3.7, 3.7.1, 3.8, 3.8.1, 4.0, 4.0.1, 5.0, 5.0.1, 5.0.2, 5.1, 5.2, 5.3, 5.4, 5.4.1, 5.4.2, 5.5, 5.5.1, 5.6, 5.7, 5.8, 6.0.1, 6.0.2, 6.1, 7.0, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.1, 8.2, 8.2.1, 8.3, 9.0, 9.0.1, 9.1, 10.0, 10.0.1, 10.1, 10.2, 10.2.1, 11.0, 11.1, 11.2, 11.3, 11.3.1, 12.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.1, 12.2, 12.3, 12.4, 13.0.1, 13.0.2, 14.0, 14.1, 14.1.1, 14.2, 14.3, 14.3.1, 15.0, 15.1, 15.2, 16.0, 17.0, 17.1, 17.1.1, 18.0, 18.0.1, 18.1, 18.2, 18.3, 18.3.1, 18.3.2, 18.4, 18.5, 18.6, 18.6.1, 18.7, 18.7.1, 18.8, 18.8.1, 19.0, 19.1, 19.1.1, 19.2, 19.3, 19.4, 19.4.1, 19.5, 19.6, 19.6.1, 19.6.2, 19.7, 20.0, 20.1, 20.1.1, 20.2.2, 20.3, 20.3.1, 20.4, 20.6.6, 20.6.7, 20.6.8, 20.7.0, 20.8.0, 20.8.1, 20.9.0, 20.10.1, 21.0.0, 21.1.0, 21.2.0, 21.2.1, 21.2.2, 22.0.0, 22.0.1, 22.0.2, 22.0.4, 22.0.5, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 24.3.0, 24.3.1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1, 25.1.2, 25.1.3, 25.1.4, 25.1.5, 25.1.6, 25.2.0, 25.3.0, 25.4.0, 26.0.0, 26.1.0, 26.1.1, 27.0.0, 27.1.0, 27.1.2, 27.2.0, 27.3.0, 27.3.1, 28.0.0, 28.1.0, 28.2.0, 28.3.0, 28.4.0, 28.5.0, 28.6.0, 28.6.1, 28.7.0, 28.7.1, 28.8.0, 28.8.1, 29.0.0, 29.0.1, 30.0.0, 30.1.0, 30.2.0, 30.2.1, 30.3.0, 30.4.0, 31.0.0, 31.0.1, 32.0.0, 32.1.0, 32.1.1, 32.1.2, 32.1.3, 32.2.0, 32.3.0, 32.3.1, 33.1.0, 33.1.1, 34.0.0, 34.0.1, 34.0.2, 34.0.3, 34.1.0, 34.1.1, 34.2.0, 34.3.0, 34.3.1, 34.3.2, 34.3.3, 34.4.0, 34.4.1, 35.0.0, 35.0.1, 35.0.2, 36.0.1, 36.1.0, 36.1.1, 36.2.0, 36.2.1, 36.2.2, 36.2.3, 36.2.4, 36.2.5, 36.2.6, 36.2.7, 36.3.0, 36.4.0, 36.5.0, 36.6.0, 36.6.1, 36.7.0, 36.7.1, 36.7.2, 36.8.0, 37.0.0, 38.0.0, 38.1.0, 38.2.0, 38.2.1, 38.2.3, 38.2.4, 38.2.5, 38.3.0, 38.4.0, 38.4.1, 38.5.0, 38.5.1, 38.5.2, 38.6.0, 38.6.1, 38.7.0, 39.0.0, 39.0.1, 39.1.0, 39.2.0, 40.0.0, 40.1.0, 40.1.1, 40.2.0, 40.3.0, 40.4.0, 40.4.1, 40.4.2, 40.4.3, 40.5.0, 40.6.0, 40.6.1, 40.6.2, 40.6.3, 40.7.0, 40.7.1, 40.7.2, 40.7.3, 40.8.0, 40.9.0, 41.0.0, 41.0.1, 41.1.0, 41.2.0, 41.3.0, 41.4.0, 41.5.0, 41.5.1, 41.6.0, 42.0.0, 42.0.1, 42.0.2, 43.0.0, 44.0.0, 44.1.0, 44.1.1, 45.0.0, 45.1.0, 45.2.0, 45.3.0, 46.0.0, 46.1.0, 46.1.1, 46.1.2, 46.1.3, 46.2.0, 46.3.0, 46.3.1, 46.4.0, 47.0.0, 47.1.0, 47.1.1, 47.2.0, 47.3.0, 47.3.1, 47.3.2, 48.0.0, 49.0.0, 49.0.1, 49.1.0, 49.1.1, 49.1.2, 49.1.3, 49.2.0, 49.2.1, 49.3.0, 49.3.1, 49.3.2, 49.4.0, 49.5.0, 49.6.0, 50.0.0, 50.0.1, 50.0.2, 50.0.3, 50.1.0, 50.2.0, 50.3.0, 50.3.1, 50.3.2, 51.0.0, 51.1.0, 51.1.0.post20201221, 51.1.1, 51.1.2, 51.2.0, 51.3.0, 51.3.1, 51.3.2, 51.3.3, 52.0.0, 53.0.0, 53.1.0, 54.0.0, 54.1.0, 54.1.1, 54.1.2, 54.1.3, 54.2.0, 56.0.0, 56.1.0, 56.2.0, 57.0.0, 57.1.0, 57.2.0, 57.3.0, 57.4.0, 57.5.0, 58.0.0, 58.0.1, 58.0.2, 58.0.3, 58.0.4, 58.1.0, 58.2.0, 58.3.0, 58.4.0, 58.5.0, 58.5.1, 58.5.2, 58.5.3, 59.0.1, 59.1.0, 59.1.1, 59.2.0, 59.3.0, 59.4.0, 59.5.0, 59.6.0)
ERROR: No matching distribution found for setuptools==60.5.0
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 "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__main__.py", line 5, in <module>
    main()
  File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__init__.py", line 82, in main
    subprocess.run(pip_args, check=True, env=env, cwd=str(pathlib.Path(args.requirements).parent.resolve()))
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'pip', '--isolated', 'wheel', '-r', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt', '--wheel-dir', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python_pip_deps']' returned non-zero exit status 1.
)
INFO: Elapsed time: 2.940s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
2022-02-05 01:34:44,132 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/firestore/admin/v1:google-cloud-firestore-admin-v1-java:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 114, in <module>
    include_gapic=True
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 64, in generate_client
    bazel_target=bazel_target if bazel_target else f'//google/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/firestore/admin/v1:google-cloud-firestore-admin-v1-java']' returned non-zero exit status 1.
2022-02-05 01:34:44,192 autosynth [ERROR] > Synthesis failed
2022-02-05 01:34:44,192 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8ea83fa chore(main): release 3.0.12 (#862)
2022-02-05 01:34:44,198 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-02-05 01:34:44,203 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

)
Collecting MarkupSafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting protobuf==3.19.4
  Using cached protobuf-3.19.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pypandoc==1.7.2
  Using cached pypandoc-1.7.2-py2.py3-none-any.whl (29 kB)
Collecting PyYAML==6.0
  Using cached PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting dataclasses==0.6
  Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
 (ERROR: Could not find a version that satisfies the requirement setuptools==60.5.0 (from versions: 0.6b1, 0.6b2, 0.6b3, 0.6b4, 0.6rc1, 0.6rc2, 0.6rc3, 0.6rc4, 0.6rc5, 0.6rc6, 0.6rc7, 0.6rc8, 0.6rc9, 0.6rc10, 0.6rc11, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.1, 1.4.2, 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.2, 3.0, 3.0.1, 3.0.2, 3.1, 3.2, 3.3, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.5, 3.5.1, 3.5.2, 3.6, 3.7, 3.7.1, 3.8, 3.8.1, 4.0, 4.0.1, 5.0, 5.0.1, 5.0.2, 5.1, 5.2, 5.3, 5.4, 5.4.1, 5.4.2, 5.5, 5.5.1, 5.6, 5.7, 5.8, 6.0.1, 6.0.2, 6.1, 7.0, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.1, 8.2, 8.2.1, 8.3, 9.0, 9.0.1, 9.1, 10.0, 10.0.1, 10.1, 10.2, 10.2.1, 11.0, 11.1, 11.2, 11.3, 11.3.1, 12.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.1, 12.2, 12.3, 12.4, 13.0.1, 13.0.2, 14.0, 14.1, 14.1.1, 14.2, 14.3, 14.3.1, 15.0, 15.1, 15.2, 16.0, 17.0, 17.1, 17.1.1, 18.0, 18.0.1, 18.1, 18.2, 18.3, 18.3.1, 18.3.2, 18.4, 18.5, 18.6, 18.6.1, 18.7, 18.7.1, 18.8, 18.8.1, 19.0, 19.1, 19.1.1, 19.2, 19.3, 19.4, 19.4.1, 19.5, 19.6, 19.6.1, 19.6.2, 19.7, 20.0, 20.1, 20.1.1, 20.2.2, 20.3, 20.3.1, 20.4, 20.6.6, 20.6.7, 20.6.8, 20.7.0, 20.8.0, 20.8.1, 20.9.0, 20.10.1, 21.0.0, 21.1.0, 21.2.0, 21.2.1, 21.2.2, 22.0.0, 22.0.1, 22.0.2, 22.0.4, 22.0.5, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 24.3.0, 24.3.1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1, 25.1.2, 25.1.3, 25.1.4, 25.1.5, 25.1.6, 25.2.0, 25.3.0, 25.4.0, 26.0.0, 26.1.0, 26.1.1, 27.0.0, 27.1.0, 27.1.2, 27.2.0, 27.3.0, 27.3.1, 28.0.0, 28.1.0, 28.2.0, 28.3.0, 28.4.0, 28.5.0, 28.6.0, 28.6.1, 28.7.0, 28.7.1, 28.8.0, 28.8.1, 29.0.0, 29.0.1, 30.0.0, 30.1.0, 30.2.0, 30.2.1, 30.3.0, 30.4.0, 31.0.0, 31.0.1, 32.0.0, 32.1.0, 32.1.1, 32.1.2, 32.1.3, 32.2.0, 32.3.0, 32.3.1, 33.1.0, 33.1.1, 34.0.0, 34.0.1, 34.0.2, 34.0.3, 34.1.0, 34.1.1, 34.2.0, 34.3.0, 34.3.1, 34.3.2, 34.3.3, 34.4.0, 34.4.1, 35.0.0, 35.0.1, 35.0.2, 36.0.1, 36.1.0, 36.1.1, 36.2.0, 36.2.1, 36.2.2, 36.2.3, 36.2.4, 36.2.5, 36.2.6, 36.2.7, 36.3.0, 36.4.0, 36.5.0, 36.6.0, 36.6.1, 36.7.0, 36.7.1, 36.7.2, 36.8.0, 37.0.0, 38.0.0, 38.1.0, 38.2.0, 38.2.1, 38.2.3, 38.2.4, 38.2.5, 38.3.0, 38.4.0, 38.4.1, 38.5.0, 38.5.1, 38.5.2, 38.6.0, 38.6.1, 38.7.0, 39.0.0, 39.0.1, 39.1.0, 39.2.0, 40.0.0, 40.1.0, 40.1.1, 40.2.0, 40.3.0, 40.4.0, 40.4.1, 40.4.2, 40.4.3, 40.5.0, 40.6.0, 40.6.1, 40.6.2, 40.6.3, 40.7.0, 40.7.1, 40.7.2, 40.7.3, 40.8.0, 40.9.0, 41.0.0, 41.0.1, 41.1.0, 41.2.0, 41.3.0, 41.4.0, 41.5.0, 41.5.1, 41.6.0, 42.0.0, 42.0.1, 42.0.2, 43.0.0, 44.0.0, 44.1.0, 44.1.1, 45.0.0, 45.1.0, 45.2.0, 45.3.0, 46.0.0, 46.1.0, 46.1.1, 46.1.2, 46.1.3, 46.2.0, 46.3.0, 46.3.1, 46.4.0, 47.0.0, 47.1.0, 47.1.1, 47.2.0, 47.3.0, 47.3.1, 47.3.2, 48.0.0, 49.0.0, 49.0.1, 49.1.0, 49.1.1, 49.1.2, 49.1.3, 49.2.0, 49.2.1, 49.3.0, 49.3.1, 49.3.2, 49.4.0, 49.5.0, 49.6.0, 50.0.0, 50.0.1, 50.0.2, 50.0.3, 50.1.0, 50.2.0, 50.3.0, 50.3.1, 50.3.2, 51.0.0, 51.1.0, 51.1.0.post20201221, 51.1.1, 51.1.2, 51.2.0, 51.3.0, 51.3.1, 51.3.2, 51.3.3, 52.0.0, 53.0.0, 53.1.0, 54.0.0, 54.1.0, 54.1.1, 54.1.2, 54.1.3, 54.2.0, 56.0.0, 56.1.0, 56.2.0, 57.0.0, 57.1.0, 57.2.0, 57.3.0, 57.4.0, 57.5.0, 58.0.0, 58.0.1, 58.0.2, 58.0.3, 58.0.4, 58.1.0, 58.2.0, 58.3.0, 58.4.0, 58.5.0, 58.5.1, 58.5.2, 58.5.3, 59.0.1, 59.1.0, 59.1.1, 59.2.0, 59.3.0, 59.4.0, 59.5.0, 59.6.0)
ERROR: No matching distribution found for setuptools==60.5.0
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 "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__main__.py", line 5, in <module>
    main()
  File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__init__.py", line 82, in main
    subprocess.run(pip_args, check=True, env=env, cwd=str(pathlib.Path(args.requirements).parent.resolve()))
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'pip', '--isolated', 'wheel', '-r', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt', '--wheel-dir', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python_pip_deps']' returned non-zero exit status 1.
)
INFO: Elapsed time: 3.199s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
2022-02-05 14:34:38,137 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/firestore/admin/v1:google-cloud-firestore-admin-v1-java:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 114, in <module>
    include_gapic=True
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 64, in generate_client
    bazel_target=bazel_target if bazel_target else f'//google/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/firestore/admin/v1:google-cloud-firestore-admin-v1-java']' returned non-zero exit status 1.
2022-02-05 14:34:38,197 autosynth [ERROR] > Synthesis failed
2022-02-05 14:34:38,197 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8ea83fa chore(main): release 3.0.12 (#862)
2022-02-05 14:34:38,203 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-02-05 14:34:38,208 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.

yoshi-automation commented 2 years ago

Autosynth is still having trouble generating java-firestore. :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-firestore 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:

)
Collecting MarkupSafe==2.0.1
  Using cached MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting protobuf==3.19.4
  Using cached protobuf-3.19.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pypandoc==1.7.2
  Using cached pypandoc-1.7.2-py2.py3-none-any.whl (29 kB)
Collecting PyYAML==6.0
  Using cached PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting dataclasses==0.6
  Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
 (ERROR: Could not find a version that satisfies the requirement setuptools==60.5.0 (from versions: 0.6b1, 0.6b2, 0.6b3, 0.6b4, 0.6rc1, 0.6rc2, 0.6rc3, 0.6rc4, 0.6rc5, 0.6rc6, 0.6rc7, 0.6rc8, 0.6rc9, 0.6rc10, 0.6rc11, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2, 1.3, 1.3.1, 1.3.2, 1.4, 1.4.1, 1.4.2, 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.2, 3.0, 3.0.1, 3.0.2, 3.1, 3.2, 3.3, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.5, 3.5.1, 3.5.2, 3.6, 3.7, 3.7.1, 3.8, 3.8.1, 4.0, 4.0.1, 5.0, 5.0.1, 5.0.2, 5.1, 5.2, 5.3, 5.4, 5.4.1, 5.4.2, 5.5, 5.5.1, 5.6, 5.7, 5.8, 6.0.1, 6.0.2, 6.1, 7.0, 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.1, 8.2, 8.2.1, 8.3, 9.0, 9.0.1, 9.1, 10.0, 10.0.1, 10.1, 10.2, 10.2.1, 11.0, 11.1, 11.2, 11.3, 11.3.1, 12.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.1, 12.2, 12.3, 12.4, 13.0.1, 13.0.2, 14.0, 14.1, 14.1.1, 14.2, 14.3, 14.3.1, 15.0, 15.1, 15.2, 16.0, 17.0, 17.1, 17.1.1, 18.0, 18.0.1, 18.1, 18.2, 18.3, 18.3.1, 18.3.2, 18.4, 18.5, 18.6, 18.6.1, 18.7, 18.7.1, 18.8, 18.8.1, 19.0, 19.1, 19.1.1, 19.2, 19.3, 19.4, 19.4.1, 19.5, 19.6, 19.6.1, 19.6.2, 19.7, 20.0, 20.1, 20.1.1, 20.2.2, 20.3, 20.3.1, 20.4, 20.6.6, 20.6.7, 20.6.8, 20.7.0, 20.8.0, 20.8.1, 20.9.0, 20.10.1, 21.0.0, 21.1.0, 21.2.0, 21.2.1, 21.2.2, 22.0.0, 22.0.1, 22.0.2, 22.0.4, 22.0.5, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 24.3.0, 24.3.1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1, 25.1.2, 25.1.3, 25.1.4, 25.1.5, 25.1.6, 25.2.0, 25.3.0, 25.4.0, 26.0.0, 26.1.0, 26.1.1, 27.0.0, 27.1.0, 27.1.2, 27.2.0, 27.3.0, 27.3.1, 28.0.0, 28.1.0, 28.2.0, 28.3.0, 28.4.0, 28.5.0, 28.6.0, 28.6.1, 28.7.0, 28.7.1, 28.8.0, 28.8.1, 29.0.0, 29.0.1, 30.0.0, 30.1.0, 30.2.0, 30.2.1, 30.3.0, 30.4.0, 31.0.0, 31.0.1, 32.0.0, 32.1.0, 32.1.1, 32.1.2, 32.1.3, 32.2.0, 32.3.0, 32.3.1, 33.1.0, 33.1.1, 34.0.0, 34.0.1, 34.0.2, 34.0.3, 34.1.0, 34.1.1, 34.2.0, 34.3.0, 34.3.1, 34.3.2, 34.3.3, 34.4.0, 34.4.1, 35.0.0, 35.0.1, 35.0.2, 36.0.1, 36.1.0, 36.1.1, 36.2.0, 36.2.1, 36.2.2, 36.2.3, 36.2.4, 36.2.5, 36.2.6, 36.2.7, 36.3.0, 36.4.0, 36.5.0, 36.6.0, 36.6.1, 36.7.0, 36.7.1, 36.7.2, 36.8.0, 37.0.0, 38.0.0, 38.1.0, 38.2.0, 38.2.1, 38.2.3, 38.2.4, 38.2.5, 38.3.0, 38.4.0, 38.4.1, 38.5.0, 38.5.1, 38.5.2, 38.6.0, 38.6.1, 38.7.0, 39.0.0, 39.0.1, 39.1.0, 39.2.0, 40.0.0, 40.1.0, 40.1.1, 40.2.0, 40.3.0, 40.4.0, 40.4.1, 40.4.2, 40.4.3, 40.5.0, 40.6.0, 40.6.1, 40.6.2, 40.6.3, 40.7.0, 40.7.1, 40.7.2, 40.7.3, 40.8.0, 40.9.0, 41.0.0, 41.0.1, 41.1.0, 41.2.0, 41.3.0, 41.4.0, 41.5.0, 41.5.1, 41.6.0, 42.0.0, 42.0.1, 42.0.2, 43.0.0, 44.0.0, 44.1.0, 44.1.1, 45.0.0, 45.1.0, 45.2.0, 45.3.0, 46.0.0, 46.1.0, 46.1.1, 46.1.2, 46.1.3, 46.2.0, 46.3.0, 46.3.1, 46.4.0, 47.0.0, 47.1.0, 47.1.1, 47.2.0, 47.3.0, 47.3.1, 47.3.2, 48.0.0, 49.0.0, 49.0.1, 49.1.0, 49.1.1, 49.1.2, 49.1.3, 49.2.0, 49.2.1, 49.3.0, 49.3.1, 49.3.2, 49.4.0, 49.5.0, 49.6.0, 50.0.0, 50.0.1, 50.0.2, 50.0.3, 50.1.0, 50.2.0, 50.3.0, 50.3.1, 50.3.2, 51.0.0, 51.1.0, 51.1.0.post20201221, 51.1.1, 51.1.2, 51.2.0, 51.3.0, 51.3.1, 51.3.2, 51.3.3, 52.0.0, 53.0.0, 53.1.0, 54.0.0, 54.1.0, 54.1.1, 54.1.2, 54.1.3, 54.2.0, 56.0.0, 56.1.0, 56.2.0, 57.0.0, 57.1.0, 57.2.0, 57.3.0, 57.4.0, 57.5.0, 58.0.0, 58.0.1, 58.0.2, 58.0.3, 58.0.4, 58.1.0, 58.2.0, 58.3.0, 58.4.0, 58.5.0, 58.5.1, 58.5.2, 58.5.3, 59.0.1, 59.1.0, 59.1.1, 59.2.0, 59.3.0, 59.4.0, 59.5.0, 59.6.0)
ERROR: No matching distribution found for setuptools==60.5.0
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 "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__main__.py", line 5, in <module>
    main()
  File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip_install/extract_wheels/__init__.py", line 82, in main
    subprocess.run(pip_args, check=True, env=env, cwd=str(pathlib.Path(args.requirements).parent.resolve()))
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'pip', '--isolated', 'wheel', '-r', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt', '--wheel-dir', '/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python_pip_deps']' returned non-zero exit status 1.
)
INFO: Elapsed time: 3.123s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
FAILED: Build did NOT complete successfully (3 packages loaded, 13 targets configured)
2022-02-06 01:34:44,638 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/firestore/admin/v1:google-cloud-firestore-admin-v1-java:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 114, in <module>
    include_gapic=True
  File "/home/kbuilder/.cache/synthtool/java-firestore/synth.py", line 64, in generate_client
    bazel_target=bazel_target if bazel_target else f'//google/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/firestore/admin/v1:google-cloud-firestore-admin-v1-java']' returned non-zero exit status 1.
2022-02-06 01:34:44,724 autosynth [ERROR] > Synthesis failed
2022-02-06 01:34:44,725 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8ea83fa chore(main): release 3.0.12 (#862)
2022-02-06 01:34:44,731 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2022-02-06 01:34:44,737 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.