googleapis / nodejs-local-auth

A standalone library for receiving Google OAuth tokens
Apache License 2.0
34 stars 15 forks source link

Synthesis failed for nodejs-local-auth #59

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 3 years ago

Hello! Autosynth couldn't regenerate nodejs-local-auth. :broken_heart:

Please investigate and fix this issue within 5 business days. While it remains broken, this library cannot be updated with changes to the nodejs-local-auth API, and the library grows stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md for trouble shooting tips.

Here's the output from running synth.py:

acd3f907da614db606ed6eac8f865d
2021-03-17 04:28:00,084 autosynth [DEBUG] > Running: git log -1 --pretty=%at ef9d8ee2abf22c8f4d900075444e24f5a444eae3
2021-03-17 04:28:00,087 autosynth [DEBUG] > Running: git log -1 --pretty=%at 731626b6cca16e411c758ac923333aa266c789e5
2021-03-17 04:28:00,090 autosynth [DEBUG] > Running: git log -1 --pretty=%at fa172c656b1127c2158a7c25ce52854c60131537
2021-03-17 04:28:00,093 autosynth [DEBUG] > Running: git log -1 --pretty=%at e5fa6d93e42918dd4a000a80b92be23f5f4c6ac7
2021-03-17 04:28:00,096 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0b064d767537e0675fc053e53fca473c5c701fb8
2021-03-17 04:28:00,099 autosynth [DEBUG] > Running: git log -1 --pretty=%at ac8f20f12e7a4c0b0ae1c6fa415f684a25ea82b7
2021-03-17 04:28:00,102 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2c54c473779ea731128cea61a3a6c975a08a5378
2021-03-17 04:28:00,104 autosynth [DEBUG] > Running: git log -1 --pretty=%at 94686b06034ff6e11217236fcaa217ec6e24bc39
2021-03-17 04:28:00,107 autosynth [DEBUG] > Running: git log -1 --pretty=%at eda422b90c3dde4a872a13e6b78a8f802c40d0db
2021-03-17 04:28:00,110 autosynth [DEBUG] > Running: git log -1 --pretty=%at a839c7d88ae571e2ce13e8965babea4b2b84a40f
2021-03-17 04:28:00,113 autosynth [DEBUG] > Running: git checkout f5b29b144951b4fff8e1310346995a53288d29b6
Note: checking out 'f5b29b144951b4fff8e1310346995a53288d29b6'.

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 f5b29b1 chore: release 1.0.1 (#56)
2021-03-17 04:28:00,118 autosynth [DEBUG] > Running: git checkout a839c7d88ae571e2ce13e8965babea4b2b84a40f
Note: checking out 'a839c7d88ae571e2ce13e8965babea4b2b84a40f'.

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 a839c7d feat(node): invoke owlbot_main() where there's no owlbot.py in the repo (#987)
2021-03-17 04:28:00,123 autosynth [DEBUG] > Running: git branch -f autosynth-43
2021-03-17 04:28:00,126 autosynth [DEBUG] > Running: git checkout autosynth-43
Switched to branch 'autosynth-43'
2021-03-17 04:28:00,130 autosynth [INFO] > Running synthtool
2021-03-17 04:28:00,130 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-17 04:28:00,130 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/nodejs-local-auth/43/sponge_log.log
2021-03-17 04:28:00,132 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-17 04:28:00,372 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/nodejs-local-auth/synth.py.
On branch autosynth-43
nothing to commit, working tree clean
2021-03-17 04:28:00,506 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.eslintignore
.eslintrc.json
.gitattributes
.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/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
2021-03-17 04:28:00,648 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated ts-simple-ast@12.4.0: NOTICE: ts-simple-ast has been renamed to ts-morph and version reset to 1.0.0. Switch at your leisure...
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated opn@6.0.0: The package has been renamed to `open`
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2021-03-17T11_28_11_943Z-debug.log
2021-03-17 04:28:11,960 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 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/nodejs-local-auth/synth.py", line 12, in <module>
    node.install()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 171, in install
    shell.run(["npm", "install"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
2021-03-17 04:28:11,999 autosynth [ERROR] > Synthesis failed
2021-03-17 04:28:11,999 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f5b29b1 chore: release 1.0.1 (#56)
2021-03-17 04:28:12,007 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-03-17 04:28:12,011 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth passed, closing! :green_heart: