Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating nodejs-vision. :sob:
Here's the output from running synth.py
:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpgag2xnl8/googleapis'...
Cloning into '/tmpfs/tmp/tmpgag2xnl8/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '44a8dcc389489829f927015a1070e516f2e786b0'.
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 44a8dcc fix(deps): update dependency natural to v1 (#768)
Note: checking out '42ee97c1b93a0e3759bbba3013da309f670a90ab'.
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 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
Note: checking out '19465d3ec5e5acdb01521d8f3bddd311bcbee28d'.
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 19465d3 build: use codecov's action, now that it's authless (#499)
Switched to a new branch 'autosynth-self-2'
2020-05-06 06:38:34 [INFO] Running synthtool
2020-05-06 06:38:34 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-06 06:38:35,157 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-06 06:38:35,295 synthtool > Ensuring dependencies.
2020-05-06 06:38:35,300 synthtool > Cloning googleapis.
2020-05-06 06:38:35,301 synthtool > Using precloned repo /tmpfs/tmp/tmpgag2xnl8/googleapis
2020-05-06 06:38:35,305 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-06 06:38:36,212 synthtool > Generating code for: google/cloud/vision/v1.
2020-05-06 06:38:37,588 synthtool > Generated code into /tmpfs/tmp/tmpcgh88_9y.
2020-05-06 06:38:37,601 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-06 06:38:38,526 synthtool > Generating code for: google/cloud/vision/v1p1beta1.
2020-05-06 06:38:39,787 synthtool > Generated code into /tmpfs/tmp/tmpvjcsycuo.
2020-05-06 06:38:39,798 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-06 06:38:40,717 synthtool > Generating code for: google/cloud/vision/v1p2beta1.
2020-05-06 06:38:41,986 synthtool > Generated code into /tmpfs/tmp/tmpfdeamc63.
2020-05-06 06:38:41,998 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-06 06:38:42,910 synthtool > Generating code for: google/cloud/vision/v1p3beta1.
2020-05-06 06:38:44,202 synthtool > Generated code into /tmpfs/tmp/tmpzleiwst9.
2020-05-06 06:38:44,220 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-06 06:38:45,126 synthtool > Generating code for: google/cloud/vision/v1p4beta1.
2020-05-06 06:38:46,467 synthtool > Generated code into /tmpfs/tmp/tmpkos8l674.
2020-05-06 06:38:46,486 synthtool > Replaced '\\Z' in src/v1/image_annotator_client.ts.
2020-05-06 06:38:46,486 synthtool > Replaced '\\Z' in src/v1p1beta1/image_annotator_client.ts.
2020-05-06 06:38:46,487 synthtool > Replaced '\\Z' in src/v1p2beta1/image_annotator_client.ts.
2020-05-06 06:38:46,487 synthtool > Replaced '\\Z' in src/v1p3beta1/image_annotator_client.ts.
2020-05-06 06:38:46,488 synthtool > Replaced '\\Z' in src/v1p4beta1/image_annotator_client.ts.
2020-05-06 06:38:46,488 synthtool > Using precloned repo /tmpfs/tmp/tmpgag2xnl8/synthtool
.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-06 06:38:46,614 synthtool > Post-processing GAPIC library...
2020-05-06 06:38:46,614 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 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 /tmpfs/src/github/synthtool/working_repo/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/vision@1.11.0 prepare /tmpfs/src/github/synthtool/working_repo
> 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/vision@1.11.0 precompile /tmpfs/src/github/synthtool/working_repo
> gts clean
Removing build ...
> @google-cloud/vision@1.11.0 compile /tmpfs/src/github/synthtool/working_repo
> 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 1004 packages from 843 contributors and audited 7334 packages in 30.721s
found 0 vulnerabilities
2020-05-06 06:39:17,685 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/vision@1.11.0 prelint /tmpfs/src/github/synthtool/working_repo
> 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-06T13_39_18_054Z-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 WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
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
> canvas@2.6.1 install /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.6.1 and node@12.16.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Remote end closed socket abruptly.
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.6.1 and node@12.16.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOENT: Cannot cd into '/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release'
gyp: /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/config.gypi not found (cwd: /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.16-041516-generic
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/tmpfs/src/github/synthtool/working_repo/samples/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.15.16-041516-generic
node-pre-gyp ERR! command "/usr/bin/node" "/tmpfs/src/github/synthtool/working_repo/samples/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
node-pre-gyp ERR! node -v v12.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Traceback (most recent call last):
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 502, in gyp_main
'cwd': os.getcwd(),
OSError: [Errno 2] No such file or directory
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.16-041516-generic
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (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"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/mocha/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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@2.6.1 install 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-06T13_39_33_853Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/vision@1.11.0 prelint: `cd samples; npm link ../; npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/vision@1.11.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-06T13_39_33_888Z-debug.log
2020-05-06 06:39:33,896 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/vision@1.11.0 fix /tmpfs/src/github/synthtool/working_repo
> gts fix
/tmpfs/src/github/synthtool/working_repo/samples/faceDetection.js
98:26 error "canvas" is not found node/no-missing-require
✖ 1 problem (1 error, 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 (/tmpfs/src/github/synthtool/working_repo/node_modules/execa/lib/error.js:58:11)
at handlePromise (/tmpfs/src/github/synthtool/working_repo/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async run (/tmpfs/src/github/synthtool/working_repo/node_modules/gts/build/src/cli.js:103: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/vision@1.11.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/vision@1.11.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-06T13_40_17_339Z-debug.log
2020-05-06 06:40:17,349 synthtool > Failed executing npm run fix:
None
2020-05-06 06:40:17,350 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 55, 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-06 06:40:17 [ERROR] Synthesis failed
HEAD is now at 44a8dcc fix(deps): update dependency natural to v1 (#768)
Switched to branch 'autosynth-self'
Note: checking out '44a8dcc389489829f927015a1070e516f2e786b0'.
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 44a8dcc fix(deps): update dependency natural to v1 (#768)
Previous HEAD position was 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
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.
Previous HEAD position was 19465d3 build: use codecov's action, now that it's authless (#499)
HEAD is now at ab88356 fix: make .kokoro-autosynth executable (#522)
Switched to a new branch 'autosynth-46'
2020-05-06 06:40:17 [INFO] Running synthtool
2020-05-06 06:40:17 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-06 06:40:17,719 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-46
nothing to commit, working tree clean
2020-05-06 06:40:17,866 synthtool > Ensuring dependencies.
2020-05-06 06:40:17,872 synthtool > Cloning googleapis.
2020-05-06 06:40:17,872 synthtool > Using precloned repo /tmpfs/tmp/tmpgag2xnl8/googleapis
2020-05-06 06:40:17,876 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-06 06:40:18,825 synthtool > Generating code for: google/cloud/vision/v1.
2020-05-06 06:40:20,207 synthtool > Generated code into /tmpfs/tmp/tmp5g498kii.
2020-05-06 06:40:20,219 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-06 06:40:21,107 synthtool > Generating code for: google/cloud/vision/v1p1beta1.
2020-05-06 06:40:22,395 synthtool > Generated code into /tmpfs/tmp/tmpanjk0nxd.
2020-05-06 06:40:22,406 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-06 06:40:23,338 synthtool > Generating code for: google/cloud/vision/v1p2beta1.
2020-05-06 06:40:24,676 synthtool > Generated code into /tmpfs/tmp/tmphec64fp5.
2020-05-06 06:40:24,689 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-06 06:40:25,593 synthtool > Generating code for: google/cloud/vision/v1p3beta1.
2020-05-06 06:40:26,959 synthtool > Generated code into /tmpfs/tmp/tmp2ffusgg1.
2020-05-06 06:40:26,978 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-06 06:40:27,891 synthtool > Generating code for: google/cloud/vision/v1p4beta1.
2020-05-06 06:40:29,242 synthtool > Generated code into /tmpfs/tmp/tmpl2ukwi34.
2020-05-06 06:40:29,261 synthtool > Replaced '\\Z' in src/v1/image_annotator_client.ts.
2020-05-06 06:40:29,262 synthtool > Replaced '\\Z' in src/v1p1beta1/image_annotator_client.ts.
2020-05-06 06:40:29,262 synthtool > Replaced '\\Z' in src/v1p2beta1/image_annotator_client.ts.
2020-05-06 06:40:29,263 synthtool > Replaced '\\Z' in src/v1p3beta1/image_annotator_client.ts.
2020-05-06 06:40:29,263 synthtool > Replaced '\\Z' in src/v1p4beta1/image_annotator_client.ts.
2020-05-06 06:40:29,263 synthtool > Using precloned repo /tmpfs/tmp/tmpgag2xnl8/synthtool
.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-06 06:40:29,397 synthtool > Post-processing GAPIC library...
2020-05-06 06:40:29,397 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/vision@1.11.0 prepare /tmpfs/src/github/synthtool/working_repo
> 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/vision@1.11.0 precompile /tmpfs/src/github/synthtool/working_repo
> gts clean
Removing build ...
> @google-cloud/vision@1.11.0 compile /tmpfs/src/github/synthtool/working_repo
> tsc -p . && cp -r protos build/
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"})
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"})
audited 7334 packages in 15.767s
found 0 vulnerabilities
2020-05-06 06:40:45,506 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/vision@1.11.0 prelint /tmpfs/src/github/synthtool/working_repo
> 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-06T13_40_45_878Z-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/
> canvas@2.6.1 install /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.6.1 and node@12.16.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Remote end closed socket abruptly.
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.6.1 and node@12.16.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOENT: Cannot cd into '/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release'
make: Entering directory `/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build'
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
COPY Release/canvas-postbuild.node
CXX(target) Release/obj.target/canvas/src/backend/Backend.o
make: Entering directory `/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build'
CXX(target) Release/obj.target/canvas/src/backend/Backend.o
CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
In file included from ../src/backend/PdfBackend.h:4:0,
from ../src/backend/PdfBackend.cc:1:
../src/backend/../closure.h:6:21: fatal error: jpeglib.h: No such file or directory
#include <jpeglib.h>
^
compilation terminated.
CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
In file included from ../src/backend/PdfBackend.h:4:0,
from ../src/backend/PdfBackend.cc:1:
../src/backend/../closure.h:6:21: fatal error: jpeglib.h: No such file or directory
#include <jpeglib.h>
^
compilation terminated.
make: *** [Release/obj.target/canvas/src/backend/PdfBackend.o] Error 1
make: Leaving directory `/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.16-041516-generic
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/tmpfs/src/github/synthtool/working_repo/samples/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.15.16-041516-generic
node-pre-gyp ERR! command "/usr/bin/node" "/tmpfs/src/github/synthtool/working_repo/samples/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
node-pre-gyp ERR! node -v v12.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [Release/obj.target/canvas/src/backend/PdfBackend.o] Error 1
make: Leaving directory `/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.16-041516-generic
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /tmpfs/src/github/synthtool/working_repo/samples/node_modules/canvas
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (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"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/mocha/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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@2.6.1 install 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-06T13_40_54_409Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/vision@1.11.0 prelint: `cd samples; npm link ../; npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/vision@1.11.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-06T13_40_54_444Z-debug.log
2020-05-06 06:40:54,452 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/vision@1.11.0 fix /tmpfs/src/github/synthtool/working_repo
> gts fix
/tmpfs/src/github/synthtool/working_repo/samples/faceDetection.js
98:26 error "canvas" is not found node/no-missing-require
✖ 1 problem (1 error, 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 (/tmpfs/src/github/synthtool/working_repo/node_modules/execa/lib/error.js:58:11)
at handlePromise (/tmpfs/src/github/synthtool/working_repo/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async run (/tmpfs/src/github/synthtool/working_repo/node_modules/gts/build/src/cli.js:103: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/vision@1.11.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/vision@1.11.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-06T13_41_38_293Z-debug.log
2020-05-06 06:41:38,302 synthtool > Failed executing npm run fix:
None
2020-05-06 06:41:38,303 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 "/tmpfs/src/github/synthtool/working_repo/synth.py", line 55, 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-06 06:41:38 [ERROR] Synthesis failed
HEAD is now at 44a8dcc fix(deps): update dependency natural to v1 (#768)
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 584, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
synthesize_inner_loop(toolbox, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
synthesizer, len(toolbox.versions) - 1
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
synthesizer.synthesize(self.environ)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, 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.
we've switched from canvas to pureimage.
Hello! Autosynth couldn't regenerate nodejs-vision. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.