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
:
de for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-06 01:12:33,972 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpb_yeq1zz.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpb_yeq1zz.
2021-02-06 01:12:33,980 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-06 01:12:33,995 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-06 01:12:34,107 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-06 01:12:34,108 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 606 packages from 770 contributors and audited 608 packages in 25.931s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-06 01:13:00,669 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-06T09_13_00_906Z-debug.log
2021-02-06 01:13:00,913 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-06T09_13_06_678Z-debug.log
2021-02-06 01:13:06,685 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-06 01:13:06,728 autosynth [ERROR] > Synthesis failed
2021-02-06 01:13:06,728 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-06 01:13:06,742 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-06 01:13:06,757 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-07 01:12:59,964 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp8m0tf7zt.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp8m0tf7zt.
2021-02-07 01:12:59,973 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-07 01:12:59,989 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-07 01:13:00,100 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-07 01:13:00,100 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 594 packages from 763 contributors and audited 596 packages in 26.443s
75 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-07 01:13:27,195 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-07T09_13_27_441Z-debug.log
2021-02-07 01:13:27,449 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-07T09_13_33_535Z-debug.log
2021-02-07 01:13:33,544 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-07 01:13:33,595 autosynth [ERROR] > Synthesis failed
2021-02-07 01:13:33,595 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-07 01:13:33,610 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-07 01:13:33,626 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-08 01:12:30,909 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpg02f6ncz.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpg02f6ncz.
2021-02-08 01:12:30,917 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-08 01:12:30,935 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-08 01:12:31,051 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-08 01:12:31,051 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 594 packages from 763 contributors and audited 596 packages in 26.636s
75 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-08 01:12:58,350 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-08T09_12_58_593Z-debug.log
2021-02-08 01:12:58,602 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-08T09_13_04_732Z-debug.log
2021-02-08 01:13:04,744 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-08 01:13:04,796 autosynth [ERROR] > Synthesis failed
2021-02-08 01:13:04,796 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-08 01:13:04,811 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-08 01:13:04,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
:
de for: //google/cloud/dataqna/v1alpha:dataqna-v1alpha-nodejs.
2021-02-09 01:13:05,887 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp1h4g5tkh.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp1h4g5tkh.
2021-02-09 01:13:05,894 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-09 01:13:05,911 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-09 01:13:06,023 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-09 01:13:06,023 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 594 packages from 763 contributors and audited 596 packages in 26.014s
75 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-09 01:13:32,686 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-09T09_13_32_939Z-debug.log
2021-02-09 01:13:32,947 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-09T09_13_38_887Z-debug.log
2021-02-09 01:13:38,897 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-09 01:13:38,943 autosynth [ERROR] > Synthesis failed
2021-02-09 01:13:38,943 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-09 01:13:38,957 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-09 01:13:38,974 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-10 01:12:51,808 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpfla70_qf.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpfla70_qf.
2021-02-10 01:12:51,815 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-10 01:12:51,832 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-10 01:12:51,946 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-10 01:12:51,946 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 595 packages from 763 contributors and audited 597 packages in 26.313s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-10 01:13:18,909 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-10T09_13_19_160Z-debug.log
2021-02-10 01:13:19,168 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-10T09_13_25_086Z-debug.log
2021-02-10 01:13:25,094 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-10 01:13:25,141 autosynth [ERROR] > Synthesis failed
2021-02-10 01:13:25,141 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-10 01:13:25,156 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-10 01:13:25,172 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-11 01:12:36,986 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp43iiolvo.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp43iiolvo.
2021-02-11 01:12:36,994 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-11 01:12:37,010 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-11 01:12:37,121 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-11 01:12:37,121 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 595 packages from 763 contributors and audited 597 packages in 25.877s
76 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-11 01:13:03,648 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-11T09_13_03_884Z-debug.log
2021-02-11 01:13:03,892 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-11T09_13_09_654Z-debug.log
2021-02-11 01:13:09,662 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-11 01:13:09,706 autosynth [ERROR] > Synthesis failed
2021-02-11 01:13:09,707 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-11 01:13:09,721 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-11 01:13:09,736 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
:
lder/.cache/synthtool/googleapis
2021-02-12 01:12:33,447 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-12 01:12:33,451 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-02-12 01:12:38,247 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpt8ju916j.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpt8ju916j.
2021-02-12 01:12:38,254 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-12 01:12:38,270 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-12 01:12:38,378 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-12 01:12:38,378 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 578 packages from 763 contributors and audited 580 packages in 25.654s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-12 01:13:04,663 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-12T09_13_04_904Z-debug.log
2021-02-12 01:13:04,911 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-12T09_13_10_696Z-debug.log
2021-02-12 01:13:10,704 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-12 01:13:10,747 autosynth [ERROR] > Synthesis failed
2021-02-12 01:13:10,748 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-12 01:13:10,762 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-12 01:13:10,778 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
:
lder/.cache/synthtool/googleapis
2021-02-13 01:12:47,192 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-13 01:12:47,196 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-02-13 01:12:52,036 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpfxmmjbla.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpfxmmjbla.
2021-02-13 01:12:52,043 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-13 01:12:52,059 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-13 01:12:52,172 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-13 01:12:52,172 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 578 packages from 763 contributors and audited 580 packages in 26.105s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-13 01:13:18,906 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-13T09_13_19_150Z-debug.log
2021-02-13 01:13:19,158 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-13T09_13_25_000Z-debug.log
2021-02-13 01:13:25,008 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-13 01:13:25,054 autosynth [ERROR] > Synthesis failed
2021-02-13 01:13:25,054 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-13 01:13:25,068 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-13 01:13:25,084 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
:
lder/.cache/synthtool/googleapis
2021-02-14 01:13:45,449 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-14 01:13:45,453 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-02-14 01:13:50,677 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp0vr0g4yz.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp0vr0g4yz.
2021-02-14 01:13:50,686 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-14 01:13:50,703 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-14 01:13:50,827 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-14 01:13:50,828 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 763 contributors and audited 581 packages in 29.282s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-14 01:14:20,843 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-14T09_14_21_116Z-debug.log
2021-02-14 01:14:21,125 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-14T09_14_27_206Z-debug.log
2021-02-14 01:14:27,214 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-14 01:14:27,256 autosynth [ERROR] > Synthesis failed
2021-02-14 01:14:27,256 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-14 01:14:27,271 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-14 01:14:27,286 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
:
lder/.cache/synthtool/googleapis
2021-02-15 01:13:30,251 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-15 01:13:30,256 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-02-15 01:13:35,326 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp2s7iae2b.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp2s7iae2b.
2021-02-15 01:13:35,334 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-15 01:13:35,351 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-15 01:13:35,468 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-15 01:13:35,468 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 762 contributors and audited 581 packages in 27.944s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-15 01:14:04,076 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-15T09_14_04_324Z-debug.log
2021-02-15 01:14:04,332 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-15T09_14_10_424Z-debug.log
2021-02-15 01:14:10,433 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-15 01:14:10,488 autosynth [ERROR] > Synthesis failed
2021-02-15 01:14:10,489 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-15 01:14:10,504 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-15 01:14:10,521 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
:
lder/.cache/synthtool/googleapis
2021-02-16 01:11:17,560 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-16 01:11:17,564 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-02-16 01:11:21,909 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp07b70gh8.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp07b70gh8.
2021-02-16 01:11:21,916 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-16 01:11:21,930 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-16 01:11:22,032 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-16 01:11:22,032 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 762 contributors and audited 581 packages in 22.701s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-16 01:11:45,279 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-16T09_11_45_482Z-debug.log
2021-02-16 01:11:45,488 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-16T09_11_50_532Z-debug.log
2021-02-16 01:11:50,556 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-16 01:11:50,596 autosynth [ERROR] > Synthesis failed
2021-02-16 01:11:50,596 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-16 01:11:50,609 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-16 01:11:50,623 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
:
lder/.cache/synthtool/googleapis
2021-02-17 01:13:23,678 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-17 01:13:23,682 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-02-17 01:13:28,959 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp9nrpd2je.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp9nrpd2je.
2021-02-17 01:13:28,966 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-17 01:13:28,983 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-17 01:13:29,093 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-17 01:13:29,093 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 762 contributors and audited 581 packages in 26.821s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-17 01:13:56,560 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-17T09_13_56_805Z-debug.log
2021-02-17 01:13:56,813 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-17T09_14_02_793Z-debug.log
2021-02-17 01:14:02,802 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-17 01:14:02,850 autosynth [ERROR] > Synthesis failed
2021-02-17 01:14:02,850 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-17 01:14:02,865 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-17 01:14:02,881 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
:
lder/.cache/synthtool/googleapis
2021-02-18 01:10:40,589 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-18 01:10:40,593 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-02-18 01:10:46,588 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpyphwhi7t.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpyphwhi7t.
2021-02-18 01:10:46,595 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-18 01:10:46,611 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-18 01:10:46,722 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-18 01:10:46,722 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 762 contributors and audited 581 packages in 25.667s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-18 01:11:13,004 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-18T09_11_13_241Z-debug.log
2021-02-18 01:11:13,248 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-18T09_11_19_081Z-debug.log
2021-02-18 01:11:19,090 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-18 01:11:19,131 autosynth [ERROR] > Synthesis failed
2021-02-18 01:11:19,131 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-18 01:11:19,145 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-18 01:11:19,160 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
:
lder/.cache/synthtool/googleapis
2021-02-20 01:10:48,038 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-20 01:10:48,042 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-02-20 01:10:53,899 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpedzyrcvw.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpedzyrcvw.
2021-02-20 01:10:53,910 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-20 01:10:53,926 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-20 01:10:54,035 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-20 01:10:54,035 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 25.303s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-20 01:11:19,950 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-20T09_11_20_191Z-debug.log
2021-02-20 01:11:20,198 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-20T09_11_25_887Z-debug.log
2021-02-20 01:11:25,896 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-20 01:11:25,937 autosynth [ERROR] > Synthesis failed
2021-02-20 01:11:25,937 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-20 01:11:25,951 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-20 01:11:25,966 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
:
lder/.cache/synthtool/googleapis
2021-02-21 01:10:46,632 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-21 01:10:46,635 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-02-21 01:10:52,789 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpq4t3yn_j.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpq4t3yn_j.
2021-02-21 01:10:52,796 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-21 01:10:52,812 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-21 01:10:52,922 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-21 01:10:52,922 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 25.406s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-21 01:11:18,942 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-21T09_11_19_182Z-debug.log
2021-02-21 01:11:19,190 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-21T09_11_25_001Z-debug.log
2021-02-21 01:11:25,010 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-21 01:11:25,058 autosynth [ERROR] > Synthesis failed
2021-02-21 01:11:25,058 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-21 01:11:25,072 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-21 01:11:25,087 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
:
lder/.cache/synthtool/googleapis
2021-02-22 01:11:40,706 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-22 01:11:40,712 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-02-22 01:11:47,316 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp6fz1ux4m.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp6fz1ux4m.
2021-02-22 01:11:47,324 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-22 01:11:47,343 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-22 01:11:47,455 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-22 01:11:47,456 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 28.301s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-22 01:12:16,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-02-22T09_12_16_689Z-debug.log
2021-02-22 01:12:16,697 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-22T09_12_22_831Z-debug.log
2021-02-22 01:12:22,842 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-22 01:12:22,900 autosynth [ERROR] > Synthesis failed
2021-02-22 01:12:22,901 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-22 01:12:22,917 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-22 01:12:22,934 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
:
lder/.cache/synthtool/googleapis
2021-02-23 01:11:13,753 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-23 01:11:13,757 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-02-23 01:11:19,749 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpnly_tm53.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpnly_tm53.
2021-02-23 01:11:19,757 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-23 01:11:19,775 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-23 01:11:19,886 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-23 01:11:19,886 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 26.582s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-23 01:11:47,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/2021-02-23T09_11_47_359Z-debug.log
2021-02-23 01:11:47,367 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-23T09_11_53_277Z-debug.log
2021-02-23 01:11:53,285 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-23 01:11:53,339 autosynth [ERROR] > Synthesis failed
2021-02-23 01:11:53,339 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-23 01:11:53,353 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-23 01:11:53,370 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
:
lder/.cache/synthtool/googleapis
2021-02-24 01:11:15,876 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-24 01:11:15,880 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-02-24 01:11:22,027 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpieaztncn.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpieaztncn.
2021-02-24 01:11:22,035 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-24 01:11:22,051 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-24 01:11:22,163 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-24 01:11:22,163 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 27.032s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-24 01:11:49,853 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-24T09_11_50_099Z-debug.log
2021-02-24 01:11:50,108 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-24T09_11_56_099Z-debug.log
2021-02-24 01:11:56,107 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-24 01:11:56,158 autosynth [ERROR] > Synthesis failed
2021-02-24 01:11:56,158 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-24 01:11:56,172 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-24 01:11:56,188 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
:
lder/.cache/synthtool/googleapis
2021-02-25 01:12:09,627 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-02-25 01:12:09,631 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-02-25 01:12:16,695 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_ns2_ut9.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmp_ns2_ut9.
2021-02-25 01:12:16,706 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-02-25 01:12:16,725 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-25 01:12:16,848 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-02-25 01:12:16,848 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
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.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 579 packages from 760 contributors and audited 581 packages in 30.575s
77 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2021-02-25 01:12:48,174 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-25T09_12_48_447Z-debug.log
2021-02-25 01:12:48,456 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-25T09_12_54_773Z-debug.log
2021-02-25 01:12:54,782 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 227, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 180, 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-25 01:12:54,831 autosynth [ERROR] > Synthesis failed
2021-02-25 01:12:54,831 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 58649b1 build: migrate to flakybot (#11)
2021-02-25 01:12:54,846 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-25 01:12:54,863 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.