Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-06-30 01:34:03,208 autosynth [ERROR] > Synthesis failed
2020-06-30 01:34:03,209 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 01:34:03,215 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-30 01:34:03,222 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-30 01:34:03,341 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 01:34:03,348 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-06-30 01:34:03,352 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-06-30 01:34:03,357 autosynth [INFO] > Running synthtool
2020-06-30 01:34:03,358 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-30 01:34:03,358 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-06-30 01:34:03,360 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-30 01:34:03,583 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-06-30 01:34:04,076 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-06-30 01:34:04,120 autosynth [ERROR] > Synthesis failed
2020-06-30 01:34:04,121 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 01:34:04,127 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-06-30 01:34:04,133 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-06-30 14:36:24,748 autosynth [ERROR] > Synthesis failed
2020-06-30 14:36:24,749 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 14:36:24,755 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-30 14:36:24,761 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-30 14:36:24,893 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 14:36:24,899 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-06-30 14:36:24,903 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-06-30 14:36:24,909 autosynth [INFO] > Running synthtool
2020-06-30 14:36:24,909 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-30 14:36:24,909 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-06-30 14:36:24,911 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-30 14:36:25,133 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-06-30 14:36:25,616 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-06-30 14:36:25,657 autosynth [ERROR] > Synthesis failed
2020-06-30 14:36:25,657 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-06-30 14:36:25,664 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-06-30 14:36:25,669 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-01 01:34:14,046 autosynth [ERROR] > Synthesis failed
2020-07-01 01:34:14,046 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 01:34:14,074 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-01 01:34:14,081 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-01 01:34:14,215 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 01:34:14,222 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-01 01:34:14,226 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-01 01:34:14,232 autosynth [INFO] > Running synthtool
2020-07-01 01:34:14,233 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-01 01:34:14,233 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-01 01:34:14,235 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-01 01:34:14,448 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-01 01:34:15,206 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-01 01:34:15,251 autosynth [ERROR] > Synthesis failed
2020-07-01 01:34:15,251 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 01:34:15,258 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-01 01:34:15,265 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-01 14:34:00,778 autosynth [ERROR] > Synthesis failed
2020-07-01 14:34:00,779 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 14:34:00,786 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-01 14:34:00,793 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-01 14:34:00,947 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 14:34:00,954 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-01 14:34:00,958 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-01 14:34:00,964 autosynth [INFO] > Running synthtool
2020-07-01 14:34:00,965 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-01 14:34:00,965 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-01 14:34:00,967 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-01 14:34:01,182 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-01 14:34:02,182 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-01 14:34:02,235 autosynth [ERROR] > Synthesis failed
2020-07-01 14:34:02,235 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-01 14:34:02,243 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-01 14:34:02,249 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-02 01:34:14,330 autosynth [ERROR] > Synthesis failed
2020-07-02 01:34:14,330 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 01:34:14,358 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-02 01:34:14,364 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-02 01:34:14,504 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 01:34:14,510 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-02 01:34:14,513 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-02 01:34:14,519 autosynth [INFO] > Running synthtool
2020-07-02 01:34:14,520 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-02 01:34:14,520 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-02 01:34:14,522 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-02 01:34:14,749 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-02 01:34:15,556 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-02 01:34:15,596 autosynth [ERROR] > Synthesis failed
2020-07-02 01:34:15,596 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 01:34:15,602 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-02 01:34:15,608 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-02 14:33:55,627 autosynth [ERROR] > Synthesis failed
2020-07-02 14:33:55,627 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 14:33:55,633 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-02 14:33:55,639 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-02 14:33:55,766 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 14:33:55,773 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-02 14:33:55,776 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-02 14:33:55,781 autosynth [INFO] > Running synthtool
2020-07-02 14:33:55,781 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-02 14:33:55,781 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-02 14:33:55,783 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-02 14:33:56,000 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-02 14:33:56,747 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-02 14:33:56,785 autosynth [ERROR] > Synthesis failed
2020-07-02 14:33:56,786 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-02 14:33:56,792 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-02 14:33:56,797 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-03 01:34:06,013 autosynth [ERROR] > Synthesis failed
2020-07-03 01:34:06,013 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 01:34:06,040 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-03 01:34:06,045 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-03 01:34:06,167 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 01:34:06,173 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-03 01:34:06,176 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-03 01:34:06,181 autosynth [INFO] > Running synthtool
2020-07-03 01:34:06,181 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-03 01:34:06,182 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-03 01:34:06,183 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-03 01:34:06,396 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-03 01:34:07,150 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-03 01:34:07,183 autosynth [ERROR] > Synthesis failed
2020-07-03 01:34:07,183 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 01:34:07,190 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-03 01:34:07,195 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-03 14:33:49,693 autosynth [ERROR] > Synthesis failed
2020-07-03 14:33:49,694 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 14:33:49,721 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-03 14:33:49,726 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-03 14:33:49,865 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 14:33:49,871 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-03 14:33:49,874 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-03 14:33:49,879 autosynth [INFO] > Running synthtool
2020-07-03 14:33:49,879 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-03 14:33:49,880 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-03 14:33:49,881 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-03 14:33:50,093 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-03 14:33:50,559 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-03 14:33:50,603 autosynth [ERROR] > Synthesis failed
2020-07-03 14:33:50,603 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-03 14:33:50,610 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-03 14:33:50,616 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-04 01:33:56,436 autosynth [ERROR] > Synthesis failed
2020-07-04 01:33:56,437 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 01:33:56,464 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-04 01:33:56,470 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-04 01:33:56,626 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 01:33:56,633 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-04 01:33:56,636 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-04 01:33:56,641 autosynth [INFO] > Running synthtool
2020-07-04 01:33:56,642 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-04 01:33:56,642 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-04 01:33:56,644 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-04 01:33:56,863 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-04 01:33:57,346 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-04 01:33:57,384 autosynth [ERROR] > Synthesis failed
2020-07-04 01:33:57,384 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 01:33:57,390 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-04 01:33:57,396 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-04 14:33:44,994 autosynth [ERROR] > Synthesis failed
2020-07-04 14:33:44,994 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 14:33:45,021 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-04 14:33:45,026 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-04 14:33:45,190 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 14:33:45,196 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-04 14:33:45,200 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-04 14:33:45,205 autosynth [INFO] > Running synthtool
2020-07-04 14:33:45,205 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-04 14:33:45,205 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-04 14:33:45,207 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-04 14:33:45,405 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-04 14:33:45,859 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-04 14:33:45,894 autosynth [ERROR] > Synthesis failed
2020-07-04 14:33:45,894 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-04 14:33:45,901 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-04 14:33:45,907 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-05 01:33:52,685 autosynth [ERROR] > Synthesis failed
2020-07-05 01:33:52,685 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 01:33:52,713 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-05 01:33:52,719 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-05 01:33:52,883 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 01:33:52,890 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-05 01:33:52,893 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-05 01:33:52,899 autosynth [INFO] > Running synthtool
2020-07-05 01:33:52,899 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-05 01:33:52,899 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-05 01:33:52,901 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-05 01:33:53,108 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-05 01:33:53,580 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-05 01:33:53,624 autosynth [ERROR] > Synthesis failed
2020-07-05 01:33:53,625 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 01:33:53,631 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-05 01:33:53,638 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-05 14:33:58,428 autosynth [ERROR] > Synthesis failed
2020-07-05 14:33:58,428 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 14:33:58,435 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-05 14:33:58,442 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-05 14:33:58,575 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 14:33:58,581 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-05 14:33:58,586 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-05 14:33:58,592 autosynth [INFO] > Running synthtool
2020-07-05 14:33:58,592 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-05 14:33:58,592 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-05 14:33:58,594 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-05 14:33:58,804 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-05 14:33:59,587 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-05 14:33:59,637 autosynth [ERROR] > Synthesis failed
2020-07-05 14:33:59,637 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-05 14:33:59,644 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-05 14:33:59,650 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-06 01:33:47,645 autosynth [ERROR] > Synthesis failed
2020-07-06 01:33:47,645 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 01:33:47,672 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-06 01:33:47,678 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-06 01:33:47,808 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 01:33:47,814 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-06 01:33:47,817 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-06 01:33:47,823 autosynth [INFO] > Running synthtool
2020-07-06 01:33:47,823 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-06 01:33:47,823 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-06 01:33:47,825 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-06 01:33:48,024 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-06 01:33:48,486 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-06 01:33:48,528 autosynth [ERROR] > Synthesis failed
2020-07-06 01:33:48,528 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 01:33:48,535 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-06 01:33:48,541 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-06 14:33:52,539 autosynth [ERROR] > Synthesis failed
2020-07-06 14:33:52,539 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 14:33:52,566 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-06 14:33:52,572 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-06 14:33:52,708 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 14:33:52,715 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-06 14:33:52,719 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-06 14:33:52,725 autosynth [INFO] > Running synthtool
2020-07-06 14:33:52,725 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-06 14:33:52,725 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-06 14:33:52,727 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-06 14:33:52,925 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-06 14:33:53,384 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-06 14:33:53,429 autosynth [ERROR] > Synthesis failed
2020-07-06 14:33:53,429 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-06 14:33:53,436 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-06 14:33:53,442 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-07 01:33:56,693 autosynth [ERROR] > Synthesis failed
2020-07-07 01:33:56,693 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 01:33:56,720 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-07 01:33:56,725 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-07 01:33:56,880 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 01:33:56,886 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-07 01:33:56,889 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-07 01:33:56,894 autosynth [INFO] > Running synthtool
2020-07-07 01:33:56,894 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-07 01:33:56,895 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-07 01:33:56,896 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-07 01:33:57,109 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-07 01:33:57,579 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-07 01:33:57,613 autosynth [ERROR] > Synthesis failed
2020-07-07 01:33:57,613 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 01:33:57,619 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-07 01:33:57,624 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-07 14:34:02,078 autosynth [ERROR] > Synthesis failed
2020-07-07 14:34:02,078 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 14:34:02,085 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-07 14:34:02,091 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-07 14:34:02,248 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 14:34:02,255 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-07 14:34:02,259 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-07 14:34:02,265 autosynth [INFO] > Running synthtool
2020-07-07 14:34:02,265 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-07 14:34:02,265 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-07 14:34:02,267 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-07 14:34:02,487 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-07 14:34:03,392 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-07 14:34:03,449 autosynth [ERROR] > Synthesis failed
2020-07-07 14:34:03,450 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-07 14:34:03,457 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-07 14:34:03,463 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth is still having trouble generating google-api-java-client. :sob:
Here's the output from running synth.py
:
er(**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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-08 01:34:04,377 autosynth [ERROR] > Synthesis failed
2020-07-08 01:34:04,377 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-08 01:34:04,384 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-07-08 01:34:04,390 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-08 01:34:04,537 autosynth [DEBUG] > Running: git checkout 9298194a86f31e77edbd8ea2adc672ef8fac6013
Note: checking out '9298194a86f31e77edbd8ea2adc672ef8fac6013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-08 01:34:04,544 autosynth [DEBUG] > Running: git branch -f autosynth-0
2020-07-08 01:34:04,547 autosynth [DEBUG] > Running: git checkout autosynth-0
Switched to branch 'autosynth-0'
2020-07-08 01:34:04,553 autosynth [INFO] > Running synthtool
2020-07-08 01:34:04,553 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-08 01:34:04,553 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-api-java-client/0/sponge_log.log
2020-07-08 01:34:04,555 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-08 01:34:04,781 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client/synth.py.
On branch autosynth-0
nothing to commit, working tree clean
.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/release-please.yml
.github/trusted-contribution.yml
.github/workflows/ci.yaml
2020-07-08 01:34:05,270 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/google-api-java-client/synth.py", line 22, in <module>
templates = common_templates.java_library()
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 104, in java_library
return self._generic_library("java_library", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/common.py", line 57, 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 1313, in dump
fp.writelines(iterable)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1357, in __next__
return self._next()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 1125, in generate
yield self.environment.handle_exception()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/kbuilder/.cache/synthtool/synthtool/synthtool/gcp/templates/java_library/.github/workflows/ci.yaml", line 12, in top-level template code
java: [{% if metadata['min_java_version'] <= 7 %}7, {% endif %}8, 11]
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'min_java_version'
2020-07-08 01:34:05,309 autosynth [ERROR] > Synthesis failed
2020-07-08 01:34:05,310 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9298194a chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0-m5 (#1545)
2020-07-08 01:34:05,316 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-08 01:34:05,322 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
synthesize_inner_loop(fork, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
During handling of the above exception, another exception occurred:
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 657, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 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.
Hello! Autosynth couldn't regenerate google-api-java-client. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.