Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating nodejs-dataproc. :sob:
Here's the output from running synth.py
:
2020-05-10 04:50:11 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-dataproc
2020-05-10 04:50:11,842 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/nodejs-dataproc
Switched to branch 'autosynth'
Switched to branch 'autosynth-self'
Note: checking out '4b84de4a54ea4ac3cbede49ed723480d0d69106d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 4b84de4 chore: release 2.0.0 (#321)
Note: checking out 'a3a0bf0f6291d69f2ff3df7fcd63d28ee20ac727'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
Note: checking out 'be74d3e532faa47eb59f1a0eaebde0860d1d8ab4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at be74d3e build: do not fail builds on codecov errors (#528)
Switched to branch 'autosynth-self-2'
2020-05-10 04:50:14 [INFO] Running synthtool
2020-05-10 04:50:14,802 autosynth > Running synthtool
2020-05-10 04:50:14 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-10 04:50:14,802 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-10 04:50:15,017 synthtool > Executing /home/kbuilder/.cache/synthtool/nodejs-dataproc/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-10 04:50:15,157 synthtool > Ensuring dependencies.
2020-05-10 04:50:15,162 synthtool > Cloning googleapis.
2020-05-10 04:50:15,162 synthtool > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-05-10 04:50:15,166 synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:7bca0aa4c25f2cf6a07e1b6e1cd91a655c4cf010317b5b8fdde7e1aed0ba33d3
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-05-10 04:50:16,085 synthtool > Generating code for: google/cloud/dataproc/v1.
2020-05-10 04:50:17,436 synthtool > Generated code into /tmpfs/tmp/tmp0uwge2cr.
2020-05-10 04:50:17,454 synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:7bca0aa4c25f2cf6a07e1b6e1cd91a655c4cf010317b5b8fdde7e1aed0ba33d3
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-05-10 04:50:18,365 synthtool > Generating code for: google/cloud/dataproc/v1beta2.
2020-05-10 04:50:19,752 synthtool > Generated code into /tmpfs/tmp/tmp3srx4go0.
2020-05-10 04:50:19,772 synthtool > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-05-10 04:50:19,793 synthtool > successfully generate `src/index.ts`
.eslintignore
.eslintrc.json
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/publish.yml
.github/release-please.yml
.github/workflows/ci.yaml
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.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
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
renovate.json
samples/README.md
2020-05-10 04:50:19,924 synthtool > Post-processing GAPIC library...
2020-05-10 04:50:19,925 synthtool > Installing dependencies...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
> protobufjs@6.9.0 postinstall /home/kbuilder/.cache/synthtool/nodejs-dataproc/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/dataproc@2.0.0 prepare /home/kbuilder/.cache/synthtool/nodejs-dataproc
> npm run compile
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 precompile /home/kbuilder/.cache/synthtool/nodejs-dataproc
> gts clean
version: 12
Removing build ...
> @google-cloud/dataproc@2.0.0 compile /home/kbuilder/.cache/synthtool/nodejs-dataproc
> 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.1 (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"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 968 packages from 835 contributors and audited 7011 packages in 29.758s
found 0 vulnerabilities
2020-05-10 04:50:50,058 synthtool > Running prelint...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 prelint /home/kbuilder/.cache/synthtool/nodejs-dataproc
> cd samples; npm link ../; npm install
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/lib/node_modules/@google-cloud
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/lib/node_modules/@google-cloud'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_50_50_452Z-debug.log
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @google-cloud/dataproc@^2.0.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'nodejs-docs-samples-dataproc'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_50_53_121Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/dataproc@2.0.0 prelint: `cd samples; npm link ../; npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/dataproc@2.0.0 prelint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_50_53_141Z-debug.log
2020-05-10 04:50:53,149 synthtool > Running fix...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 fix /home/kbuilder/.cache/synthtool/nodejs-dataproc
> gts fix
version: 12
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/createCluster.js
29:28 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/instantiateInlineWorkflowTemplate.js
26:28 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/quickstart.js
28:28 error "@google-cloud/dataproc" is not found node/no-missing-require
29:29 error "@google-cloud/storage" is not found node/no-missing-require
31:25 error "sleep" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/createCluster.test.js
17:26 error "chai" is not found node/no-missing-require
25:26 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/instantiateInlineWorkflowTemplate.test.js
17:26 error "chai" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/quickstart.test.js
17:26 error "chai" is not found node/no-missing-require
22:26 error "@google-cloud/dataproc" is not found node/no-missing-require
23:27 error "@google-cloud/storage" is not found node/no-missing-require
✖ 11 problems (11 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-dataproc/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-dataproc/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-dataproc/node_modules/gts/build/src/cli.js:120: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/dataproc@2.0.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/dataproc@2.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_51_19_624Z-debug.log
2020-05-10 04:51:19,634 synthtool > Failed executing npm run fix:
None
2020-05-10 04:51:19,635 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/nodejs-dataproc/synth.py", line 42, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 178, in fix
shell.run(["npm", "run", "fix"], hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
raise exc
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
encoding="utf-8",
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-05-10 04:51:19 [ERROR] Synthesis failed
2020-05-10 04:51:19,677 autosynth > Synthesis failed
HEAD is now at 4b84de4 chore: release 2.0.0 (#321)
Switched to branch 'autosynth-self'
Note: checking out '4b84de4a54ea4ac3cbede49ed723480d0d69106d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 4b84de4 chore: release 2.0.0 (#321)
Previous HEAD position was a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
HEAD is now at aed11c01 chore: Ingegrate latest gapic-generator and gapic-generator-python changes. This adds support for `<plugin>_opt` argument for gapic plugins.
Previous HEAD position was be74d3e build: do not fail builds on codecov errors (#528)
HEAD is now at 4fa923b fix: reduce memory consumption for monorepo autosynth (#532)
Switched to branch 'autosynth-19'
2020-05-10 04:51:19 [INFO] Running synthtool
2020-05-10 04:51:19,755 autosynth > Running synthtool
2020-05-10 04:51:19 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-10 04:51:19,755 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-10 04:51:19,974 synthtool > Executing /home/kbuilder/.cache/synthtool/nodejs-dataproc/synth.py.
On branch autosynth-19
nothing to commit, working tree clean
2020-05-10 04:51:20,121 synthtool > Ensuring dependencies.
2020-05-10 04:51:20,127 synthtool > Cloning googleapis.
2020-05-10 04:51:20,128 synthtool > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-05-10 04:51:20,131 synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:7bca0aa4c25f2cf6a07e1b6e1cd91a655c4cf010317b5b8fdde7e1aed0ba33d3
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-05-10 04:51:21,050 synthtool > Generating code for: google/cloud/dataproc/v1.
2020-05-10 04:51:22,484 synthtool > Generated code into /tmpfs/tmp/tmpvs4d3j5u.
2020-05-10 04:51:22,503 synthtool > Pulling Docker image: gapic-generator-typescript:latest
latest: Pulling from gapic-images/gapic-generator-typescript
Digest: sha256:7bca0aa4c25f2cf6a07e1b6e1cd91a655c4cf010317b5b8fdde7e1aed0ba33d3
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-typescript:latest
2020-05-10 04:51:23,432 synthtool > Generating code for: google/cloud/dataproc/v1beta2.
2020-05-10 04:51:24,824 synthtool > Generated code into /tmpfs/tmp/tmpbgvu6nig.
2020-05-10 04:51:24,844 synthtool > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-05-10 04:51:24,866 synthtool > successfully generate `src/index.ts`
.eslintignore
.eslintrc.json
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/publish.yml
.github/release-please.yml
.github/workflows/ci.yaml
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/lint.cfg
.kokoro/continuous/node10/samples-test.cfg
.kokoro/continuous/node10/system-test.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/docs.cfg
.kokoro/presubmit/node10/lint.cfg
.kokoro/presubmit/node10/samples-test.cfg
.kokoro/presubmit/node10/system-test.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.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
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
renovate.json
samples/README.md
2020-05-10 04:51:24,994 synthtool > Post-processing GAPIC library...
2020-05-10 04:51:24,994 synthtool > Installing dependencies...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 prepare /home/kbuilder/.cache/synthtool/nodejs-dataproc
> npm run compile
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 precompile /home/kbuilder/.cache/synthtool/nodejs-dataproc
> gts clean
version: 12
Removing build ...
> @google-cloud/dataproc@2.0.0 compile /home/kbuilder/.cache/synthtool/nodejs-dataproc
> tsc -p . && cp -r protos build/
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 7011 packages in 15.888s
found 0 vulnerabilities
2020-05-10 04:51:41,259 synthtool > Running prelint...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 prelint /home/kbuilder/.cache/synthtool/nodejs-dataproc
> cd samples; npm link ../; npm install
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/lib/node_modules/@google-cloud
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/lib/node_modules/@google-cloud'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_51_41_658Z-debug.log
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @google-cloud/dataproc@^2.0.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'nodejs-docs-samples-dataproc'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_51_44_251Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/dataproc@2.0.0 prelint: `cd samples; npm link ../; npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/dataproc@2.0.0 prelint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_51_44_271Z-debug.log
2020-05-10 04:51:44,278 synthtool > Running fix...
npm WARN npm npm does not support Node.js v12.16.3
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
> @google-cloud/dataproc@2.0.0 fix /home/kbuilder/.cache/synthtool/nodejs-dataproc
> gts fix
version: 12
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/createCluster.js
29:28 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/instantiateInlineWorkflowTemplate.js
26:28 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/quickstart.js
28:28 error "@google-cloud/dataproc" is not found node/no-missing-require
29:29 error "@google-cloud/storage" is not found node/no-missing-require
31:25 error "sleep" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/createCluster.test.js
17:26 error "chai" is not found node/no-missing-require
25:26 error "@google-cloud/dataproc" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/instantiateInlineWorkflowTemplate.test.js
17:26 error "chai" is not found node/no-missing-require
/home/kbuilder/.cache/synthtool/nodejs-dataproc/samples/system-test/quickstart.test.js
17:26 error "chai" is not found node/no-missing-require
22:26 error "@google-cloud/dataproc" is not found node/no-missing-require
23:27 error "@google-cloud/storage" is not found node/no-missing-require
✖ 11 problems (11 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-dataproc/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-dataproc/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-dataproc/node_modules/gts/build/src/cli.js:120: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/dataproc@2.0.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/dataproc@2.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-05-10T11_52_09_898Z-debug.log
2020-05-10 04:52:09,906 synthtool > Failed executing npm run fix:
None
2020-05-10 04:52:09,907 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
main()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
spec.loader.exec_module(synth_module) # type: ignore
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kbuilder/.cache/synthtool/nodejs-dataproc/synth.py", line 42, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 178, in fix
shell.run(["npm", "run", "fix"], hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
raise exc
File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
encoding="utf-8",
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-05-10 04:52:09 [ERROR] Synthesis failed
2020-05-10 04:52:09,947 autosynth > Synthesis failed
HEAD is now at 4b84de4 chore: release 2.0.0 (#321)
Switched to branch 'autosynth'
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 599, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 589, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 366, in synthesize_loop
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 376, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 265, in synthesize_version_in_new_branch
synthesizer.synthesize(synth_log_path, self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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 passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate nodejs-dataproc. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.