-
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:
N npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> google-gax@2.3.1 precompile /home/kbuilder/.cache/synthtool/gax-nodejs
> gts clean
version: 12
Removing build ...
> google-gax@2.3.1 compile /home/kbuilder/.cache/synthtool/gax-nodejs
> tsc -p . && cp src/*.json build/src && cp src/*.js build/src && cp -r test/fixtures build/test
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m93�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m93�[0m assert(echoStub.echo instanceof Function);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m94�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'pagedExpand' does not exist on type 'Service'.
�[7m94�[0m assert(echoStub.pagedExpand instanceof Function);
�[7m �[0m �[91m ~~~~~~~~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m95�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'wait' does not exist on type 'Service'.
�[7m95�[0m assert(echoStub.wait instanceof Function);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m101�[0m:�[93m33�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m101�[0m assert.strictEqual(echoStub.echo.length, 4);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m114�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m114�[0m assert(echoStub.echo instanceof Function);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m115�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'collect' does not exist on type 'Service'.
�[7m115�[0m assert(echoStub.collect instanceof Function);
�[7m �[0m �[91m ~~~~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m116�[0m:�[93m21�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'chat' does not exist on type 'Service'.
�[7m116�[0m assert(echoStub.chat instanceof Function);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/browser-test/test.grpc-fallback.ts�[0m:�[93m122�[0m:�[93m33�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m122�[0m assert.strictEqual(echoStub.echo.length, 4);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m98�[0m:�[93m35�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m98�[0m assert.strict(typeof echoStub.echo, 'function');
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m99�[0m:�[93m35�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'pagedExpand' does not exist on type 'Service'.
�[7m99�[0m assert.strict(typeof echoStub.pagedExpand, 'function');
�[7m �[0m �[91m ~~~~~~~~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m100�[0m:�[93m35�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'wait' does not exist on type 'Service'.
�[7m100�[0m assert.strict(typeof echoStub.wait, 'function');
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m106�[0m:�[93m33�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m106�[0m assert.strictEqual(echoStub.echo.length, 4);
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m119�[0m:�[93m40�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m119�[0m assert.strictEqual(typeof echoStub.echo, 'function');
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m120�[0m:�[93m40�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'collect' does not exist on type 'Service'.
�[7m120�[0m assert.strictEqual(typeof echoStub.collect, 'function');
�[7m �[0m �[91m ~~~~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m121�[0m:�[93m40�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'chat' does not exist on type 'Service'.
�[7m121�[0m assert.strictEqual(typeof echoStub.chat, 'function');
�[7m �[0m �[91m ~~~~�[0m
�[96mtest/unit/grpc-fallback.ts�[0m:�[93m127�[0m:�[93m33�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'echo' does not exist on type 'Service'.
�[7m127�[0m assert.strictEqual(echoStub.echo.length, 4);
�[7m �[0m �[91m ~~~~�[0m
Found 16 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! google-gax@2.3.1 compile: `tsc -p . && cp src/*.json build/src && cp src/*.js build/src && cp -r test/fixtures build/test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-gax@2.3.1 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-20T12_11_07_295Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! google-gax@2.3.1 prepare: `npm run compile && node ./build/tools/prepublish.js && mkdirp build/protos && cp -r protos/* build/protos/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-gax@2.3.1 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-20T12_11_07_316Z-debug.log
2020-05-20 05:11:07,333 synthtool [ERROR] > Failed executing npm install:
None
ERROR:synthtool:Failed executing npm install:
None
2020-05-20 05:11:07,334 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/gax-nodejs/synth.py", line 27, in <module>
node.install()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, 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.
2020-05-20 05:11:07,372 autosynth [ERROR] > Synthesis failed
2020-05-20 05:11:07,373 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 90034ce fix: new typescript, strict types (#824)
2020-05-20 05:11:07,380 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-20 05:11:07,384 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
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 615, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.
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.