Closed yoshi-automation closed 3 years ago
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
g code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-18 01:13:15,924 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpu7qic9iq.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpu7qic9iq.
2020-12-18 01:13:15,968 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-18 01:13:15,986 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
Skipping: samples/README.md
2020-12-18 01:13:16,149 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-18 01:13:16,149 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 658 packages from 764 contributors and audited 659 packages in 29.921s
64 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-18 01:13:46,771 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-18T09_13_47_034Z-debug.log
2020-12-18 01:13:47,042 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-18T09_13_53_060Z-debug.log
2020-12-18 01:13:53,069 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-18 01:13:53,154 autosynth [ERROR] > Synthesis failed
2020-12-18 01:13:53,155 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d9b3d5 docs: add allowlist warning to README (#4)
2020-12-18 01:13:53,169 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-18 01:13:53,185 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
g code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-19 01:12:52,398 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmppkr8vvpp.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmppkr8vvpp.
2020-12-19 01:12:52,438 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-19 01:12:52,456 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
Skipping: samples/README.md
2020-12-19 01:12:52,614 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-19 01:12:52,614 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 764 contributors and audited 650 packages in 29.406s
65 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-19 01:13:22,730 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-19T09_13_22_980Z-debug.log
2020-12-19 01:13:22,988 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-19T09_13_28_992Z-debug.log
2020-12-19 01:13:29,001 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-19 01:13:29,092 autosynth [ERROR] > Synthesis failed
2020-12-19 01:13:29,093 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d9b3d5 docs: add allowlist warning to README (#4)
2020-12-19 01:13:29,107 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-19 01:13:29,124 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
g code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-20 01:13:19,766 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpbjyz5ua6.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpbjyz5ua6.
2020-12-20 01:13:19,825 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-20 01:13:19,850 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
Skipping: samples/README.md
2020-12-20 01:13:20,097 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-20 01:13:20,097 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 764 contributors and audited 650 packages in 31.238s
65 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-20 01:13:52,327 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-20T09_13_52_600Z-debug.log
2020-12-20 01:13:52,611 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-20T09_13_58_829Z-debug.log
2020-12-20 01:13:58,838 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-20 01:13:58,937 autosynth [ERROR] > Synthesis failed
2020-12-20 01:13:58,938 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d9b3d5 docs: add allowlist warning to README (#4)
2020-12-20 01:13:58,953 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-20 01:13:58,969 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
g code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-21 01:12:04,702 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_w00tu4r.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp_w00tu4r.
2020-12-21 01:12:04,733 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-21 01:12:04,749 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
Skipping: samples/README.md
2020-12-21 01:12:04,888 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-21 01:12:04,888 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 764 contributors and audited 650 packages in 26.606s
66 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-21 01:12:32,122 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-21T09_12_32_354Z-debug.log
2020-12-21 01:12:32,361 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-21T09_12_37_895Z-debug.log
2020-12-21 01:12:37,904 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-21 01:12:37,972 autosynth [ERROR] > Synthesis failed
2020-12-21 01:12:37,972 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d9b3d5 docs: add allowlist warning to README (#4)
2020-12-21 01:12:37,986 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-21 01:12:38,002 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
DEBUG] > Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-22 01:53:20,389 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpqhux7mnv.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpqhux7mnv.
2020-12-22 01:53:20,425 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-22 01:53:20,443 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
Skipping: samples/README.md
2020-12-22 01:53:20,586 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-22 01:53:20,586 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 764 contributors and audited 650 packages in 26.251s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-22 01:53:47,464 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-22T09_53_47_689Z-debug.log
2020-12-22 01:53:47,696 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-22T09_53_53_060Z-debug.log
2020-12-22 01:53:53,069 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-22 01:53:53,134 autosynth [ERROR] > Synthesis failed
2020-12-22 01:53:53,134 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-22 01:53:53,148 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-22 01:53:53,163 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
DEBUG] > Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-23 01:12:41,225 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmprlmfl1_v.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmprlmfl1_v.
2020-12-23 01:12:41,234 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-23 01:12:41,251 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
Skipping: samples/README.md
2020-12-23 01:12:41,362 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-23 01:12:41,362 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 764 contributors and audited 650 packages in 28.146s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-23 01:13:10,201 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-23T09_13_10_459Z-debug.log
2020-12-23 01:13:10,467 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-23T09_13_16_544Z-debug.log
2020-12-23 01:13:16,552 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-23 01:13:16,617 autosynth [ERROR] > Synthesis failed
2020-12-23 01:13:16,618 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-23 01:13:16,633 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-23 01:13:16,650 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
DEBUG] > Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-24 01:13:04,116 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpspa5ouaz.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpspa5ouaz.
2020-12-24 01:13:04,123 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-24 01:13:04,141 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
Skipping: samples/README.md
2020-12-24 01:13:04,255 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-24 01:13:04,255 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 763 contributors and audited 650 packages in 29.712s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-24 01:13:34,694 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-24T09_13_34_974Z-debug.log
2020-12-24 01:13:34,984 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-24T09_13_41_227Z-debug.log
2020-12-24 01:13:41,239 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-24 01:13:41,299 autosynth [ERROR] > Synthesis failed
2020-12-24 01:13:41,300 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-24 01:13:41,315 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-24 01:13:41,333 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
DEBUG] > Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-25 01:13:16,529 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp26sdfc2o.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp26sdfc2o.
2020-12-25 01:13:16,538 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-25 01:13:16,555 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
Skipping: samples/README.md
2020-12-25 01:13:16,665 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-25 01:13:16,666 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 649 packages from 763 contributors and audited 650 packages in 28.763s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-25 01:13:46,115 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-25T09_13_46_362Z-debug.log
2020-12-25 01:13:46,370 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-25T09_13_52_379Z-debug.log
2020-12-25 01:13:52,388 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-25 01:13:52,442 autosynth [ERROR] > Synthesis failed
2020-12-25 01:13:52,442 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-25 01:13:52,457 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-25 01:13:52,473 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-26 01:13:24,711 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp7_cd29l4.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp7_cd29l4.
2020-12-26 01:13:24,720 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-26 01:13:24,738 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
Skipping: samples/README.md
2020-12-26 01:13:24,861 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-26 01:13:24,861 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 638 packages from 764 contributors and audited 639 packages in 31.858s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-26 01:13:57,484 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-26T09_13_57_751Z-debug.log
2020-12-26 01:13:57,760 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-26T09_14_03_874Z-debug.log
2020-12-26 01:14:03,884 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-26 01:14:03,927 autosynth [ERROR] > Synthesis failed
2020-12-26 01:14:03,928 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-26 01:14:03,942 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-26 01:14:03,956 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-27 01:12:18,524 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_5s7lmxa.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp_5s7lmxa.
2020-12-27 01:12:18,533 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-27 01:12:18,552 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
Skipping: samples/README.md
2020-12-27 01:12:18,670 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-27 01:12:18,670 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 638 packages from 764 contributors and audited 639 packages in 30.945s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-27 01:12:50,378 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-27T09_12_50_667Z-debug.log
2020-12-27 01:12:50,678 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-27T09_12_57_335Z-debug.log
2020-12-27 01:12:57,349 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-27 01:12:57,413 autosynth [ERROR] > Synthesis failed
2020-12-27 01:12:57,413 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-27 01:12:57,431 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-27 01:12:57,449 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-28 01:13:22,177 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmplqzapxcd.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmplqzapxcd.
2020-12-28 01:13:22,185 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-28 01:13:22,202 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
Skipping: samples/README.md
2020-12-28 01:13:22,324 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-28 01:13:22,324 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 638 packages from 764 contributors and audited 639 packages in 29.768s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-28 01:13:52,856 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-28T09_13_53_115Z-debug.log
2020-12-28 01:13:53,123 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-28T09_13_59_102Z-debug.log
2020-12-28 01:13:59,111 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-28 01:13:59,150 autosynth [ERROR] > Synthesis failed
2020-12-28 01:13:59,150 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-28 01:13:59,164 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-28 01:13:59,179 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-29 01:12:00,894 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpxsechhwk.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpxsechhwk.
2020-12-29 01:12:00,901 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-29 01:12:00,917 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
Skipping: samples/README.md
2020-12-29 01:12:01,024 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-29 01:12:01,024 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 638 packages from 764 contributors and audited 639 packages in 26.263s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-29 01:12:27,934 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-29T09_12_28_177Z-debug.log
2020-12-29 01:12:28,185 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-29T09_12_33_901Z-debug.log
2020-12-29 01:12:33,909 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-29 01:12:33,953 autosynth [ERROR] > Synthesis failed
2020-12-29 01:12:33,953 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-29 01:12:33,968 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-29 01:12:33,983 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-30 01:13:15,260 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpjdskmumb.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpjdskmumb.
2020-12-30 01:13:15,268 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-30 01:13:15,286 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
Skipping: samples/README.md
2020-12-30 01:13:15,402 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-30 01:13:15,403 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 762 contributors and audited 625 packages in 29.278s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-30 01:13:45,368 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-30T09_13_45_636Z-debug.log
2020-12-30 01:13:45,646 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-30T09_13_51_713Z-debug.log
2020-12-30 01:13:51,724 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-30 01:13:51,776 autosynth [ERROR] > Synthesis failed
2020-12-30 01:13:51,777 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-30 01:13:51,792 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-30 01:13:51,808 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2020-12-31 01:12:41,972 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpizmg9yu8.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpizmg9yu8.
2020-12-31 01:12:41,980 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-12-31 01:12:41,996 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
Skipping: samples/README.md
2020-12-31 01:12:42,104 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-12-31 01:12:42,104 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 762 contributors and audited 625 packages in 26.048s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-12-31 01:13:08,802 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-12-31T09_13_09_043Z-debug.log
2020-12-31 01:13:09,052 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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-12-31T09_13_14_775Z-debug.log
2020-12-31 01:13:14,784 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2020-12-31 01:13:14,828 autosynth [ERROR] > Synthesis failed
2020-12-31 01:13:14,829 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2020-12-31 01:13:14,842 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-31 01:13:14,858 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-01 01:30:17,930 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp92s67j8p.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp92s67j8p.
2021-01-01 01:30:17,942 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-01 01:30:17,958 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
Skipping: samples/README.md
2021-01-01 01:30:18,057 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-01 01:30:18,058 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 621 packages from 762 contributors and audited 622 packages in 24.994s
75 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-01 01:30:43,896 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-01T09_30_44_308Z-debug.log
2021-01-01 01:30:44,316 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-01T09_30_49_665Z-debug.log
2021-01-01 01:30:49,674 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-01 01:30:49,716 autosynth [ERROR] > Synthesis failed
2021-01-01 01:30:49,717 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-01 01:30:49,730 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-01 01:30:49,744 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-02 01:21:04,328 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmptkruneml.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmptkruneml.
2021-01-02 01:21:04,340 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-02 01:21:04,362 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
Skipping: samples/README.md
2021-01-02 01:21:04,470 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-02 01:21:04,470 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 763 contributors and audited 625 packages in 25.848s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-02 01:21:30,966 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-02T09_21_31_213Z-debug.log
2021-01-02 01:21:31,221 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-02T09_21_36_901Z-debug.log
2021-01-02 01:21:36,908 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-02 01:21:36,954 autosynth [ERROR] > Synthesis failed
2021-01-02 01:21:36,954 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-02 01:21:36,967 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-02 01:21:36,983 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
lpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-03 01:21:00,406 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp2ga5dunm.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp2ga5dunm.
2021-01-03 01:21:00,413 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-03 01:21:00,430 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
Skipping: samples/README.md
2021-01-03 01:21:00,539 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-03 01:21:00,539 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 763 contributors and audited 625 packages in 26.59s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-03 01:21:27,780 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-03T09_21_28_026Z-debug.log
2021-01-03 01:21:28,034 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-03T09_21_33_831Z-debug.log
2021-01-03 01:21:33,840 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-03 01:21:33,891 autosynth [ERROR] > Synthesis failed
2021-01-03 01:21:33,891 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-03 01:21:33,905 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-03 01:21:33,922 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-04 01:23:29,161 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpj9qn9j3e.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpj9qn9j3e.
2021-01-04 01:23:29,169 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-04 01:23:29,187 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
Skipping: samples/README.md
2021-01-04 01:23:29,297 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-04 01:23:29,297 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 763 contributors and audited 625 packages in 29.706s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-04 01:23:59,707 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-04T09_23_59_978Z-debug.log
2021-01-04 01:23:59,987 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-04T09_24_06_299Z-debug.log
2021-01-04 01:24:06,308 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-04 01:24:06,377 autosynth [ERROR] > Synthesis failed
2021-01-04 01:24:06,378 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-04 01:24:06,394 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-04 01:24:06,411 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
pha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-05 01:19:51,785 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpep2tdrrs.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpep2tdrrs.
2021-01-05 01:19:51,792 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-05 01:19:51,807 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
Skipping: samples/README.md
2021-01-05 01:19:51,910 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-05 01:19:51,910 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 624 packages from 764 contributors and audited 625 packages in 25.504s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-05 01:20:18,029 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-05T09_20_18_252Z-debug.log
2021-01-05 01:20:18,260 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-05T09_20_23_761Z-debug.log
2021-01-05 01:20:23,770 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-05 01:20:23,812 autosynth [ERROR] > Synthesis failed
2021-01-05 01:20:23,813 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-05 01:20:23,827 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-05 01:20:23,842 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-06 01:25:36,071 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_nmz99t1.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp_nmz99t1.
2021-01-06 01:25:36,080 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-06 01:25:36,096 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
Skipping: samples/README.md
2021-01-06 01:25:36,197 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-06 01:25:36,197 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 606 packages from 764 contributors and audited 607 packages in 24.955s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-06 01:26:01,764 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-06T09_26_01_999Z-debug.log
2021-01-06 01:26:02,007 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-06T09_26_07_400Z-debug.log
2021-01-06 01:26:07,409 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-06 01:26:07,449 autosynth [ERROR] > Synthesis failed
2021-01-06 01:26:07,450 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-06 01:26:07,463 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-06 01:26:07,478 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
g dependencies.
2021-01-07 01:20:11,804 synthtool [DEBUG] > Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2021-01-07 01:20:11,805 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-01-07 01:20:11,810 synthtool [DEBUG] > Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-07 01:20:34,918 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpumjipzw0.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpumjipzw0.
2021-01-07 01:20:34,925 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-07 01:20:34,942 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
Skipping: samples/README.md
2021-01-07 01:20:35,054 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-07 01:20:35,054 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 605 packages from 765 contributors and audited 606 packages in 26.305s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-07 01:21:02,006 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-07T09_21_02_261Z-debug.log
2021-01-07 01:21:02,269 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/meow/index.js:61
throw new Error(`Flag keys may not contain '-': ${invalidFlags.join(', ')}`);
^
Error: Flag keys may not contain '-': dry-run
at validateOptions (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/meow/index.js:61:9)
at meow (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/meow/index.js:136:2)
at Object.<anonymous> (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:30:13)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-07T09_21_02_840Z-debug.log
2021-01-07 01:21:02,850 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-07 01:21:02,895 autosynth [ERROR] > Synthesis failed
2021-01-07 01:21:02,895 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-07 01:21:02,909 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-07 01:21:02,925 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-08 01:29:40,487 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpsvtgm521.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpsvtgm521.
2021-01-08 01:29:40,495 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-08 01:29:40,574 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
Skipping: samples/README.md
2021-01-08 01:29:40,700 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-08 01:29:40,700 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 605 packages from 765 contributors and audited 606 packages in 26.975s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-08 01:30:08,342 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-08T09_30_08_590Z-debug.log
2021-01-08 01:30:08,599 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-08T09_30_14_470Z-debug.log
2021-01-08 01:30:14,478 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-08 01:30:14,524 autosynth [ERROR] > Synthesis failed
2021-01-08 01:30:14,525 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-08 01:30:14,540 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-08 01:30:14,556 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-09 01:19:35,144 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpasj6ek09.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpasj6ek09.
2021-01-09 01:19:35,152 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-09 01:19:35,169 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
Skipping: samples/README.md
2021-01-09 01:19:35,279 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-09 01:19:35,280 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 605 packages from 765 contributors and audited 606 packages in 27.099s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-09 01:20:03,028 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-09T09_20_03_287Z-debug.log
2021-01-09 01:20:03,296 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-09T09_20_09_218Z-debug.log
2021-01-09 01:20:09,228 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-09 01:20:09,273 autosynth [ERROR] > Synthesis failed
2021-01-09 01:20:09,274 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-09 01:20:09,288 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-09 01:20:09,305 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
EBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-10 01:16:52,589 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpma0kkc5w.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpma0kkc5w.
2021-01-10 01:16:52,597 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-10 01:16:52,614 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
Skipping: samples/README.md
2021-01-10 01:16:52,722 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-10 01:16:52,722 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 605 packages from 765 contributors and audited 606 packages in 26.54s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-10 01:17:19,894 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-10T09_17_20_138Z-debug.log
2021-01-10 01:17:20,146 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-10T09_17_26_004Z-debug.log
2021-01-10 01:17:26,013 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-10 01:17:26,063 autosynth [ERROR] > Synthesis failed
2021-01-10 01:17:26,064 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-10 01:17:26,078 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-10 01:17:26,094 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-11 01:17:47,621 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpzqml61dj.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpzqml61dj.
2021-01-11 01:17:47,629 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-11 01:17:47,646 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
Skipping: samples/README.md
2021-01-11 01:17:47,759 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-11 01:17:47,759 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 601 packages from 765 contributors and audited 602 packages in 27.374s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-11 01:18:15,788 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-11T09_18_16_040Z-debug.log
2021-01-11 01:18:16,048 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-11T09_18_22_018Z-debug.log
2021-01-11 01:18:22,026 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-11 01:18:22,079 autosynth [ERROR] > Synthesis failed
2021-01-11 01:18:22,080 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-11 01:18:22,094 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-11 01:18:22,111 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-12 01:25:48,839 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpa6mp2p98.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpa6mp2p98.
2021-01-12 01:25:48,847 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-12 01:25:48,865 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
Skipping: samples/README.md
2021-01-12 01:25:48,984 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-12 01:25:48,984 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 601 packages from 765 contributors and audited 602 packages in 27.713s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-12 01:26:17,381 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-12T09_26_17_633Z-debug.log
2021-01-12 01:26:17,641 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-12T09_26_23_535Z-debug.log
2021-01-12 01:26:23,543 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-12 01:26:23,591 autosynth [ERROR] > Synthesis failed
2021-01-12 01:26:23,592 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-12 01:26:23,606 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-12 01:26:23,622 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-13 01:23:18,600 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpdbdhta_7.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpdbdhta_7.
2021-01-13 01:23:18,608 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-13 01:23:18,627 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
Skipping: samples/README.md
2021-01-13 01:23:18,739 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-13 01:23:18,739 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 601 packages from 765 contributors and audited 602 packages in 26.758s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-13 01:23:46,135 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-13T09_23_46_374Z-debug.log
2021-01-13 01:23:46,381 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-13T09_23_52_179Z-debug.log
2021-01-13 01:23:52,187 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-13 01:23:52,233 autosynth [ERROR] > Synthesis failed
2021-01-13 01:23:52,233 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-13 01:23:52,247 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-13 01:23:52,263 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-14 01:24:20,263 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp1zzrm0i_.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp1zzrm0i_.
2021-01-14 01:24:20,275 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-14 01:24:20,293 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
Skipping: samples/README.md
2021-01-14 01:24:20,404 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-14 01:24:20,404 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 28.015s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-14 01:24:49,111 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-14T09_24_49_364Z-debug.log
2021-01-14 01:24:49,374 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-14T09_24_55_391Z-debug.log
2021-01-14 01:24:55,400 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-14 01:24:55,453 autosynth [ERROR] > Synthesis failed
2021-01-14 01:24:55,454 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-14 01:24:55,468 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-14 01:24:55,484 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-15 01:19:35,632 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmplf4c9m42.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmplf4c9m42.
2021-01-15 01:19:35,639 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-15 01:19:35,656 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
Skipping: samples/README.md
2021-01-15 01:19:35,766 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-15 01:19:35,767 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 28.109s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-15 01:20:04,547 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-15T09_20_04_808Z-debug.log
2021-01-15 01:20:04,818 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-15T09_20_10_825Z-debug.log
2021-01-15 01:20:10,836 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-15 01:20:10,886 autosynth [ERROR] > Synthesis failed
2021-01-15 01:20:10,887 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-15 01:20:10,901 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-15 01:20:10,918 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-16 01:18:04,846 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpxqpy8g8h.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpxqpy8g8h.
2021-01-16 01:18:04,855 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-16 01:18:04,870 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
Skipping: samples/README.md
2021-01-16 01:18:04,979 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-16 01:18:04,979 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 25.079s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-16 01:18:30,687 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-16T09_18_30_924Z-debug.log
2021-01-16 01:18:30,931 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-16T09_18_36_560Z-debug.log
2021-01-16 01:18:36,567 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-16 01:18:36,609 autosynth [ERROR] > Synthesis failed
2021-01-16 01:18:36,609 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-16 01:18:36,622 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-16 01:18:36,638 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-17 01:18:29,703 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpxb4o62bg.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpxb4o62bg.
2021-01-17 01:18:29,712 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-17 01:18:29,728 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
Skipping: samples/README.md
2021-01-17 01:18:29,844 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-17 01:18:29,844 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 25.905s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-17 01:18:56,379 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-17T09_18_56_622Z-debug.log
2021-01-17 01:18:56,629 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-17T09_19_02_334Z-debug.log
2021-01-17 01:19:02,342 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-17 01:19:02,384 autosynth [ERROR] > Synthesis failed
2021-01-17 01:19:02,385 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-17 01:19:02,398 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-17 01:19:02,413 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
.
DEBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-18 01:18:38,795 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp5kh26wl6.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp5kh26wl6.
2021-01-18 01:18:38,802 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-18 01:18:38,819 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
Skipping: samples/README.md
2021-01-18 01:18:38,928 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-18 01:18:38,928 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 26s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-18 01:19:05,571 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-18T09_19_05_820Z-debug.log
2021-01-18 01:19:05,828 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-18T09_19_11_586Z-debug.log
2021-01-18 01:19:11,594 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-18 01:19:11,638 autosynth [ERROR] > Synthesis failed
2021-01-18 01:19:11,639 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-18 01:19:11,653 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-18 01:19:11,668 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-19 01:20:24,478 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp5k34d3x8.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp5k34d3x8.
2021-01-19 01:20:24,486 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-19 01:20:24,503 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
Skipping: samples/README.md
2021-01-19 01:20:24,616 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-19 01:20:24,617 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 602 packages from 766 contributors and audited 603 packages in 28.671s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-19 01:20:53,987 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-19T09_20_54_242Z-debug.log
2021-01-19 01:20:54,251 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-19T09_21_00_553Z-debug.log
2021-01-19 01:21:00,562 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-19 01:21:00,629 autosynth [ERROR] > Synthesis failed
2021-01-19 01:21:00,629 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-19 01:21:00,645 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-19 01:21:00,662 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
EBUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-20 01:17:30,365 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_lzbup5q.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp_lzbup5q.
2021-01-20 01:17:30,371 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-20 01:17:30,387 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
Skipping: samples/README.md
2021-01-20 01:17:30,487 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-20 01:17:30,487 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 24.35s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-20 01:17:55,438 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-20T09_17_55_668Z-debug.log
2021-01-20 01:17:55,676 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-20T09_18_01_166Z-debug.log
2021-01-20 01:18:01,177 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-20 01:18:01,217 autosynth [ERROR] > Synthesis failed
2021-01-20 01:18:01,217 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-20 01:18:01,231 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-20 01:18:01,246 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-21 01:23:13,618 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpnk9uixz0.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpnk9uixz0.
2021-01-21 01:23:13,627 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-21 01:23:13,645 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
Skipping: samples/README.md
2021-01-21 01:23:13,762 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-21 01:23:13,762 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 27.724s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-21 01:23:42,161 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-21T09_23_42_416Z-debug.log
2021-01-21 01:23:42,425 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-21T09_23_48_377Z-debug.log
2021-01-21 01:23:48,387 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-21 01:23:48,438 autosynth [ERROR] > Synthesis failed
2021-01-21 01:23:48,439 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-21 01:23:48,453 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-21 01:23:48,470 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
BUG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-22 01:21:51,287 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmprof2wrin.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmprof2wrin.
2021-01-22 01:21:51,297 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-22 01:21:51,314 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
Skipping: samples/README.md
2021-01-22 01:21:51,420 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-22 01:21:51,420 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 25.476s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-22 01:22:17,527 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-22T09_22_17_761Z-debug.log
2021-01-22 01:22:17,769 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-22T09_22_23_380Z-debug.log
2021-01-22 01:22:23,392 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-22 01:22:23,436 autosynth [ERROR] > Synthesis failed
2021-01-22 01:22:23,436 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 48558f2 fix: fix docs links (#6)
2021-01-22 01:22:23,450 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-22 01:22:23,466 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-23 01:22:38,898 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp2k8egx95.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp2k8egx95.
2021-01-23 01:22:38,906 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-23 01:22:38,923 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
Skipping: samples/README.md
2021-01-23 01:22:39,031 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-23 01:22:39,031 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 26.076s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-23 01:23:05,771 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-23T09_23_06_018Z-debug.log
2021-01-23 01:23:06,027 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-23T09_23_11_928Z-debug.log
2021-01-23 01:23:11,937 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-23 01:23:11,988 autosynth [ERROR] > Synthesis failed
2021-01-23 01:23:11,988 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-23 01:23:12,003 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-23 01:23:12,020 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-24 01:22:27,844 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp0lgna36y.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp0lgna36y.
2021-01-24 01:22:27,852 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-24 01:22:27,868 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
Skipping: samples/README.md
2021-01-24 01:22:27,977 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-24 01:22:27,977 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 26.776s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-24 01:22:55,412 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-24T09_22_55_662Z-debug.log
2021-01-24 01:22:55,670 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-24T09_23_01_507Z-debug.log
2021-01-24 01:23:01,515 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-24 01:23:01,560 autosynth [ERROR] > Synthesis failed
2021-01-24 01:23:01,560 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-24 01:23:01,574 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-24 01:23:01,591 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-25 01:23:37,894 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpj1sjig8e.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpj1sjig8e.
2021-01-25 01:23:37,905 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-25 01:23:37,923 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
Skipping: samples/README.md
2021-01-25 01:23:38,038 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-25 01:23:38,038 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 28.724s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-25 01:24:07,428 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-25T09_24_07_698Z-debug.log
2021-01-25 01:24:07,709 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-25T09_24_13_820Z-debug.log
2021-01-25 01:24:13,833 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-25 01:24:13,890 autosynth [ERROR] > Synthesis failed
2021-01-25 01:24:13,890 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-25 01:24:13,905 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-25 01:24:13,922 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-26 01:22:25,877 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpsawayjwt.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpsawayjwt.
2021-01-26 01:22:25,885 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-26 01:22:25,903 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
Skipping: samples/README.md
2021-01-26 01:22:26,017 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-26 01:22:26,017 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 26.844s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-26 01:22:53,525 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-26T09_22_53_777Z-debug.log
2021-01-26 01:22:53,787 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-26T09_22_59_775Z-debug.log
2021-01-26 01:22:59,785 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-26 01:22:59,835 autosynth [ERROR] > Synthesis failed
2021-01-26 01:22:59,835 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-26 01:22:59,850 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-26 01:22:59,867 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-27 02:35:37,781 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpqx4dts9q.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpqx4dts9q.
2021-01-27 02:35:37,789 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-27 02:35:37,805 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
Skipping: samples/README.md
2021-01-27 02:35:37,917 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-27 02:35:37,917 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 26.618s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-27 02:36:05,182 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-27T10_36_05_429Z-debug.log
2021-01-27 02:36:05,437 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-27T10_36_11_270Z-debug.log
2021-01-27 02:36:11,280 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-27 02:36:11,325 autosynth [ERROR] > Synthesis failed
2021-01-27 02:36:11,326 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-27 02:36:11,339 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-27 02:36:11,355 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-28 01:21:41,773 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp8962sgm0.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp8962sgm0.
2021-01-28 01:21:41,781 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-28 01:21:41,798 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
Skipping: samples/README.md
2021-01-28 01:21:41,912 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-28 01:21:41,912 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 27.567s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-28 01:22:10,149 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-28T09_22_10_400Z-debug.log
2021-01-28 01:22:10,409 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-28T09_22_16_457Z-debug.log
2021-01-28 01:22:16,466 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-28 01:22:16,516 autosynth [ERROR] > Synthesis failed
2021-01-28 01:22:16,516 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-28 01:22:16,531 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-28 01:22:16,548 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
UG:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-29 01:21:10,889 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpkl_no3j_.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpkl_no3j_.
2021-01-29 01:21:10,897 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-29 01:21:10,914 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
Skipping: samples/README.md
2021-01-29 01:21:11,025 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-29 01:21:11,025 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 27.36s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-29 01:21:39,038 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-29T09_21_39_283Z-debug.log
2021-01-29 01:21:39,291 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-29T09_21_45_298Z-debug.log
2021-01-29 01:21:45,309 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-29 01:21:45,360 autosynth [ERROR] > Synthesis failed
2021-01-29 01:21:45,360 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-29 01:21:45,375 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-29 01:21:45,391 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-30 01:20:08,459 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpgog_b_02.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpgog_b_02.
2021-01-30 01:20:08,468 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-30 01:20:08,485 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
Skipping: samples/README.md
2021-01-30 01:20:08,597 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-30 01:20:08,597 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 26.762s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-30 01:20:36,067 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-30T09_20_36_324Z-debug.log
2021-01-30 01:20:36,333 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-30T09_20_42_313Z-debug.log
2021-01-30 01:20:42,324 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-30 01:20:42,379 autosynth [ERROR] > Synthesis failed
2021-01-30 01:20:42,379 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-30 01:20:42,393 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-30 01:20:42,410 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-01-31 01:18:59,599 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp3afftpeu.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp3afftpeu.
2021-01-31 01:18:59,606 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-01-31 01:18:59,622 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
Skipping: samples/README.md
2021-01-31 01:18:59,732 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-01-31 01:18:59,733 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 25.458s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-01-31 01:19:25,812 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-01-31T09_19_26_051Z-debug.log
2021-01-31 01:19:26,058 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-01-31T09_19_31_746Z-debug.log
2021-01-31 01:19:31,754 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-01-31 01:19:31,797 autosynth [ERROR] > Synthesis failed
2021-01-31 01:19:31,798 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-01-31 01:19:31,811 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-31 01:19:31,827 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-01 01:20:39,811 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpit41hws6.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpit41hws6.
2021-02-01 01:20:39,819 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-01 01:20:39,836 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
Skipping: samples/README.md
2021-02-01 01:20:39,952 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-01 01:20:39,952 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 27.929s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-01 01:21:08,565 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-02-01T09_21_08_813Z-debug.log
2021-02-01 01:21:08,822 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-02-01T09_21_14_758Z-debug.log
2021-02-01 01:21:14,768 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-02-01 01:21:14,821 autosynth [ERROR] > Synthesis failed
2021-02-01 01:21:14,821 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-02-01 01:21:14,835 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-01 01:21:14,852 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
G:synthtool:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-02 02:12:00,903 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp1v4map8o.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp1v4map8o.
2021-02-02 02:12:00,910 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-02 02:12:00,928 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
Skipping: samples/README.md
2021-02-02 02:12:01,038 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-02 02:12:01,038 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 608 packages from 771 contributors and audited 609 packages in 27.256s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-02 02:12:28,965 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-02-02T10_12_29_214Z-debug.log
2021-02-02 02:12:29,222 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-02-02T10_12_35_179Z-debug.log
2021-02-02 02:12:35,192 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-02-02 02:12:35,250 autosynth [ERROR] > Synthesis failed
2021-02-02 02:12:35,251 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0bb26ae chore: release 1.0.1 (#10)
2021-02-02 02:12:35,266 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-02 02:12:35,282 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
:Generating code for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-03 01:37:22,498 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp6hof6wn3.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp6hof6wn3.
2021-02-03 01:37:22,507 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-03 01:37:22,524 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
Skipping: samples/README.md
2021-02-03 01:37:22,636 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-03 01:37:22,636 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 607 packages from 771 contributors and audited 608 packages in 28.155s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-03 01:37:51,453 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-02-03T09_37_51_707Z-debug.log
2021-02-03 01:37:51,716 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-02-03T09_37_57_803Z-debug.log
2021-02-03 01:37:57,814 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-02-03 01:37:57,874 autosynth [ERROR] > Synthesis failed
2021-02-03 01:37:57,874 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8355dcd chore: update CODEOWNERS config (#12)
2021-02-03 01:37:57,889 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-03 01:37:57,906 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
de for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-04 02:01:44,009 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpb6_54wig.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpb6_54wig.
2021-02-04 02:01:44,017 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-04 02:01:44,034 synthtool [INFO] > successfully generate `src/index.ts`
INFO:synthtool:successfully generate `src/index.ts`
.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
Skipping: samples/README.md
2021-02-04 02:01:44,147 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-04 02:01:44,147 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 606 packages from 770 contributors and audited 608 packages in 26.792s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-04 02:02:11,583 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-02-04T10_02_11_832Z-debug.log
2021-02-04 02:02:11,841 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-02-04T10_02_17_776Z-debug.log
2021-02-04 02:02:17,785 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-02-04 02:02:17,836 autosynth [ERROR] > Synthesis failed
2021-02-04 02:02:17,836 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-04 02:02:17,851 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-04 02:02:17,868 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Autosynth is still having trouble generating nodejs-data-qna. :sob:
Here's the output from running synth.py
:
ode for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-05 01:13:51,369 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpijyhj8q9.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpijyhj8q9.
2021-02-05 01:13:51,377 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-05 01:13:51,394 synthtool [INFO] > successfully generate `src/index.ts`
INFO:synthtool:successfully generate `src/index.ts`
.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
Skipping: samples/README.md
2021-02-05 01:13:51,510 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-05 01:13:51,510 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated cheerio-select-tmp@0.1.1: Use cheerio-select instead
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
> protobufjs@6.10.2 postinstall /home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/data-qna@0.1.0 prepare /home/kbuilder/.cache/synthtool/nodejs-data-qna
> npm run compile-protos && npm run compile
> @google-cloud/data-qna@0.1.0 compile-protos /home/kbuilder/.cache/synthtool/nodejs-data-qna
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/data-qna@0.1.0 compile /home/kbuilder/.cache/synthtool/nodejs-data-qna
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 606 packages from 770 contributors and audited 608 packages in 28.34s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-05 01:14:20,532 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
npm ERR! missing script: prelint
npm ERR!
npm ERR! Did you mean this?
npm ERR! lint
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2021-02-05T09_14_20_804Z-debug.log
2021-02-05 01:14:20,814 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/data-qna@0.1.0 fix /home/kbuilder/.cache/synthtool/nodejs-data-qna
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/quickstart.js
20:51 error "@google-cloud/data-qna" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-data-qna/samples/test/quickstart.test.js
21:26 error "chai" is not found node/no-missing-require
✖ 2 problems (2 errors, 0 warnings)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-data-qna/node_modules/gts/build/src/cli.js:123:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/data-qna@0.1.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/data-qna@0.1.0 fix 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/2021-02-05T09_14_26_874Z-debug.log
2021-02-05 01:14:26,886 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
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-data-qna/synth.py", line 38, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], 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', 'run', 'fix']' returned non-zero exit status 1.
2021-02-05 01:14:26,945 autosynth [ERROR] > Synthesis failed
2021-02-05 01:14:26,945 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-05 01:14:26,960 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-05 01:14:26,977 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
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.
Hello! Autosynth couldn't regenerate nodejs-data-qna. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.