-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
autosynth failurepriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Hello! Autosynth couldn't regenerate gax-nodejs. 💔
Here's the output from running synth.py:
b'3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/live-server/node_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\n\naudited 1393 packages in 19.229s\nfound 0 vulnerabilities\n\n2020-05-29 04:11:54,414 synthtool [DEBUG] > Running prelint...\nDEBUG:synthtool:Running prelint...\nnpm WARN npm npm does not support Node.js v12.17.0\nnpm WARN npm You should probably upgrade to a newer version of node as we\nnpm WARN npm can\'t make any promises that npm will work with this version.\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.\nnpm WARN npm You can find the latest version at https://nodejs.org/\n\n> google-gax@2.4.1 prelint /home/kbuilder/.cache/synthtool/gax-nodejs\n> cd samples; npm link ../; npm install\n\nnpm WARN npm npm does not support Node.js v12.17.0\nnpm WARN npm You should probably upgrade to a newer version of node as we\nnpm WARN npm can\'t make any promises that npm will work with this version.\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.\nnpm WARN npm You can find the latest version at https://nodejs.org/\nnpm ERR! path /home/kbuilder/.cache/synthtool/gax-nodejs\nnpm ERR! code EACCES\nnpm ERR! errno -13\nnpm ERR! syscall symlink\nnpm ERR! Error: EACCES: permission denied, symlink \'/home/kbuilder/.cache/synthtool/gax-nodejs\' -> \'/usr/lib/node_modules/google-gax\'\nnpm ERR! [Error: EACCES: permission denied, symlink \'/home/kbuilder/.cache/synthtool/gax-nodejs\' -> \'/usr/lib/node_modules/google-gax\'] {\nnpm ERR! errno: -13,\nnpm ERR! code: \'EACCES\',\nnpm ERR! syscall: \'symlink\',\nnpm ERR! path: \'/home/kbuilder/.cache/synthtool/gax-nodejs\',\nnpm ERR! dest: \'/usr/lib/node_modules/google-gax\'\nnpm ERR! }\nnpm ERR! \nnpm ERR! The operation was rejected by your operating system.\nnpm ERR! It is likely you do not have the permissions to access this file as the current user\nnpm ERR! \nnpm ERR! If you believe this might be a permissions issue, please double-check the\nnpm ERR! permissions of the file and its containing directories, or try running\nnpm ERR! the command again as root/Administrator (though this is not recommended).\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/kbuilder/.npm/_logs/2020-05-29T11_11_54_854Z-debug.log\nnpm WARN npm npm does not support Node.js v12.17.0\nnpm WARN npm You should probably upgrade to a newer version of node as we\nnpm WARN npm can\'t make any promises that npm will work with this version.\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.\nnpm WARN npm You can find the latest version at https://nodejs.org/\nnpm ERR! code ETARGET\nnpm ERR! notarget No matching version found for google-gax@^2.4.1\nnpm ERR! notarget In most cases you or one of your dependencies are requesting\nnpm ERR! notarget a package version that doesn\'t exist.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/kbuilder/.npm/_logs/2020-05-29T11_11_56_816Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! google-gax@2.4.1 prelint: `cd samples; npm link ../; npm install`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the google-gax@2.4.1 prelint script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/kbuilder/.npm/_logs/2020-05-29T11_11_56_834Z-debug.log\n2020-05-29 04:11:56,842 synthtool [DEBUG] > Running fix...\nDEBUG:synthtool:Running fix...\nnpm WARN npm npm does not support Node.js v12.17.0\nnpm WARN npm You should probably upgrade to a newer version of node as we\nnpm WARN npm can\'t make any promises that npm will work with this version.\nnpm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.\nnpm WARN npm You can find the latest version at https://nodejs.org/\n\n> google-gax@2.4.1 fix /home/kbuilder/.cache/synthtool/gax-nodejs\n> gts fix\n\nversion: 12\n\n/home/kbuilder/.cache/synthtool/gax-nodejs/samples/pagination.js\n 21:23 error "google-gax" is not found node/no-missing-require\n\n/home/kbuilder/.cache/synthtool/gax-nodejs/samples/quickstart.js\n 23:23 error "google-gax" is not found node/no-missing-require\n\n\xe2\x9c\x96 2 problems (2 errors, 0 warnings)\n\nError: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern\n at makeError (/home/kbuilder/.cache/synthtool/gax-nodejs/node_modules/execa/lib/error.js:59:11)\n at handlePromise (/home/kbuilder/.cache/synthtool/gax-nodejs/node_modules/execa/index.js:114:26)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async run (/home/kbuilder/.cache/synthtool/gax-nodejs/node_modules/gts/build/src/cli.js:120:17) {\n shortMessage: \'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern\',\n command: \'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern\',\n exitCode: 1,\n signal: undefined,\n signalDescription: undefined,\n stdout: undefined,\n stderr: undefined,\n failed: true,\n timedOut: false,\n isCanceled: false,\n killed: false\n}\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! google-gax@2.4.1 fix: `gts fix`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the google-gax@2.4.1 fix script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/kbuilder/.npm/_logs/2020-05-29T11_12_04_541Z-debug.log\n2020-05-29 04:12:04,550 synthtool [ERROR] > Failed executing npm run fix:\n\nNone\nERROR:synthtool:Failed executing npm run fix:\n\nNone\n2020-05-29 04:12:04,551 synthtool [DEBUG] > Wrote metadata to synth.metadata.\nDEBUG:synthtool:Wrote metadata to synth.metadata.\nTraceback (most recent call last):\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n "__main__", mod_spec)\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>\n main()\n File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__\n return self.main(*args, **kwargs)\n File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main\n rv = self.invoke(ctx)\n File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke\n return callback(*args, **kwargs)\n File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main\n spec.loader.exec_module(synth_module) # type: ignore\n File "<frozen importlib._bootstrap_external>", line 678, in exec_module\n File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\n File "/home/kbuilder/.cache/synthtool/gax-nodejs/synth.py", line 28, in <module>\n node.fix()\n File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix\n shell.run(["npm", "run", "fix"], hide_output=hide_output)\n File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run\n raise exc\n File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run\n encoding="utf-8",\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run\n output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'npm\', \'run\', \'fix\']\' returned non-zero exit status 1.\n2020-05-29 04:12:04,593 autosynth [ERROR] > Synthesis failed\n2020-05-29 04:12:04,593 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at d94c2dd chore: release 2.4.1 (#835)\n2020-05-29 04:12:04,600 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-05-29 04:12:04,605 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nRemoving build/\nRemoving node_modules/\nRemoving package-lock.json\nRemoving protos/google/\nTraceback (most recent call last):\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n "__main__", mod_spec)\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n main()\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n return _inner_main(temp_dir)\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main\n commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop\n synthesize_inner_loop(toolbox, synthesizer)\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, in synthesize_inner_loop\n synthesizer, len(toolbox.versions) - 1\n File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch\n synthesizer.synthesize(synth_log_path, self.environ)\n File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 119, in synthesize\n synth_proc.check_returncode() # Raise an exception.\n File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode\n self.stderr)\nsubprocess.CalledProcessError: Command \'[\'/tmpfs/src/github/synthtool/env/bin/python3\', \'-m\', \'synthtool\', \'--metadata\', \'synth.metadata\', \'synth.py\', \'--\']\' returned non-zero exit status 1.\n'
Google internal developers can see the full log here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
autosynth failurepriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.