Closed yoshi-automation closed 3 years ago
Autosynth is still having trouble generating nodejs-recaptcha-enterprise. :sob:
Here's the output from running synth.py
:
75d4d8174e7b4558f48e76f8a1
2020-12-11 21:51:14,820 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
2020-12-11 21:51:14,823 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f
2020-12-11 21:51:14,826 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280
2020-12-11 21:51:14,828 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525
2020-12-11 21:51:14,831 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717
2020-12-11 21:51:14,834 autosynth [DEBUG] > Running: git checkout 4d19887174a68c8afb401294274cd3df17a6bb53
Note: checking out '4d19887174a68c8afb401294274cd3df17a6bb53'.
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 4d19887 chore: generate GAPIC metadata JSON file (#229)
2020-12-11 21:51:14,838 autosynth [DEBUG] > Running: git checkout 996775eca5fd934edac3c2ae34b80ff0395b1717
Note: checking out '996775eca5fd934edac3c2ae34b80ff0395b1717'.
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 996775e fix(python): skip samples readmegen in synthtool (#875)
2020-12-11 21:51:14,843 autosynth [DEBUG] > Running: git checkout dd372aa22ded7a8ba6f0e03a80e06358a3fa0907
Note: checking out 'dd372aa22ded7a8ba6f0e03a80e06358a3fa0907'.
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 dd372aa2 fix: remove client recv msg limit fix: add enums to `types/__init__.py`
2020-12-11 21:51:14,859 autosynth [DEBUG] > Running: git branch -f autosynth-60
2020-12-11 21:51:14,862 autosynth [DEBUG] > Running: git checkout autosynth-60
Switched to branch 'autosynth-60'
2020-12-11 21:51:14,866 autosynth [INFO] > Running synthtool
2020-12-11 21:51:14,866 autosynth [INFO] > ['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-12-11 21:51:14,866 autosynth [DEBUG] > log_file_path: /kokoro/artifacts/logs/nodejs-recaptcha-enterprise/60/sponge_log.log
2020-12-11 21:51:14,868 autosynth [DEBUG] > Running: /usr/local/bin/python -m synthtool --metadata synth.metadata synth.py --
2020-12-11 21:51:15,075 synthtool [DEBUG] > Executing /root/.cache/synthtool/nodejs-recaptcha-enterprise/synth.py.
On branch autosynth-60
nothing to commit, working tree clean
2020-12-11 21:51:15,203 synthtool [DEBUG] > Ensuring dependencies.
DEBUG:synthtool:Ensuring dependencies.
2020-12-11 21:51:15,213 synthtool [DEBUG] > Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2020-12-11 21:51:15,214 synthtool [DEBUG] > Using precloned repo /root/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /root/.cache/synthtool/googleapis
2020-12-11 21:51:15,218 synthtool [DEBUG] > Generating code for: //google/cloud/recaptchaenterprise/v1beta1:recaptchaenterprise-v1beta1-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/recaptchaenterprise/v1beta1:recaptchaenterprise-v1beta1-nodejs.
2020-12-11 21:51:22,408 synthtool [SUCCESS] > Generated code into /tmp/tmp99ffw5x1.
SUCCESS:synthtool:Generated code into /tmp/tmp99ffw5x1.
2020-12-11 21:51:22,437 synthtool [DEBUG] > Generating code for: //google/cloud/recaptchaenterprise/v1:recaptchaenterprise-v1-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/recaptchaenterprise/v1:recaptchaenterprise-v1-nodejs.
2020-12-11 21:51:29,285 synthtool [SUCCESS] > Generated code into /tmp/tmpbbi3bdf_.
SUCCESS:synthtool:Generated code into /tmp/tmpbbi3bdf_.
2020-12-11 21:51:29,316 synthtool [DEBUG] > Using precloned repo /root/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /root/.cache/synthtool/synthtool
2020-12-11 21:51:29,332 synthtool [INFO] > successfully generate `src/index.ts`
INFO:synthtool:successfully generate `src/index.ts`
.eslintignore
.eslintrc.json
.gitattributes
.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/workflows/ci.yaml
.kokoro/.gitattributes
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/lint.cfg
.kokoro/continuous/node12/samples-test.cfg
.kokoro/continuous/node12/system-test.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/populate-secrets.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/samples-test.cfg
.kokoro/presubmit/node12/system-test.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/publish.sh
.kokoro/release/docs-devsite.cfg
.kokoro/release/docs-devsite.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.kokoro/trampoline_v2.sh
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
.trampolinerc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
api-extractor.json
renovate.json
samples/README.md
2020-12-11 21:51:29,483 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-11 21:51:29,483 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/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 "/root/.cache/synthtool/nodejs-recaptcha-enterprise/synth.py", line 39, in <module>
node.postprocess_gapic_library()
File "/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
install(hide_output=hide_output)
File "/synthtool/synthtool/languages/node.py", line 167, in install
shell.run(["npm", "install"], hide_output=hide_output)
File "/synthtool/synthtool/shell.py", line 33, in run
encoding="utf-8",
File "/usr/local/lib/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/local/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npm': 'npm'
2020-12-11 21:51:29,547 autosynth [ERROR] > Synthesis failed
2020-12-11 21:51:29,547 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4d19887 chore: generate GAPIC metadata JSON file (#229)
2020-12-11 21:51:29,558 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-11 21:51:29,566 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/synthtool/autosynth/synth.py", line 354, in <module>
main()
File "/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/synthtool/autosynth/synth.py", line 334, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/synthtool/autosynth/synth.py", line 65, in synthesize_loop
has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
File "/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/synthtool/autosynth/synthesizer.py", line 120, in synthesize
synth_proc.check_returncode() # Raise an exception.
File "/usr/local/lib/python3.6/subprocess.py", line 389, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate nodejs-recaptcha-enterprise. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.