Started by user Jesse Khorasanee
Building remotely on Ubuntu_16.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/Plotsvy
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Tehsurfer/plotsvy
> git init /home/cmiss/Jenkins/workspace/Plotsvy # timeout=10
Fetching upstream changes from https://github.com/Tehsurfer/plotsvy
> git --version # timeout=10
> git fetch --tags --progress -- https://github.com/Tehsurfer/plotsvy +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/Tehsurfer/plotsvy # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/Tehsurfer/plotsvy # timeout=10
Fetching upstream changes from https://github.com/Tehsurfer/plotsvy
> git fetch --tags --progress -- https://github.com/Tehsurfer/plotsvy +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision da19a74956739118b6ead40679d9555152d0f5f6 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f da19a74956739118b6ead40679d9555152d0f5f6
Commit message: "Update version to 0.4.2"
> git rev-list --no-walk da19a74956739118b6ead40679d9555152d0f5f6 # timeout=10
[Plotsvy] $ /bin/sh -xe /tmp/jenkins15654556097276242190.sh
+ pwd
/home/cmiss/Jenkins/workspace/Plotsvy
+ node -v
v10.15.0
+ npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1326 packages from 628 contributors and audited 20857 packages in 38.279s
found 16 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
+ cd test
+ npm install
> nodent-runtime@3.2.1 install /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/nodent-runtime
> node build.js
## Built /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/nodent-runtime/dist/index.js
> canvas@2.6.0 install /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/canvas
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[canvas] Success: "/home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/canvas/build/Release/canvas.node" is installed via remote
> gl@4.3.3 install /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/gl
> prebuild-install || node-gyp rebuild
> core-js@3.2.1 postinstall /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/@babel/register/node_modules/core-js
> node scripts/postinstall || echo "ignore"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> core-js@2.6.9 postinstall /home/cmiss/Jenkins/workspace/Plotsvy/test/node_modules/core-js
> node scripts/postinstall || echo "ignore"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.1 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1115 packages from 1175 contributors and audited 21804 packages in 36.026s
found 2 vulnerabilities (1 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
+ npm run test-ci
> plotsvy-testing@1.0.0 test-ci /home/cmiss/Jenkins/workspace/Plotsvy/test
> mocha-webpack
WEBPACK Compiling...
WEBPACK Compiled with 1 warning(s)
Warning in ../node_modules/es6-promise/dist/es6-promise.js
Module not found: 'vertx' in '/home/cmiss/Jenkins/workspace/Plotsvy/node_modules/es6-promise/dist'
MOCHA Testing...
Array
#indexOf()
✓ should return -1 when the value is not present
Plotsvy
#require()
✓ Should return an object when we require it.
#openCSV()
/data/18907011_channel_1.csv
✓ Should update the state to the given url (1161ms)
#plotByName()
✓ should update state.selectedChannels to reflect the state
✓ should create channels array when we have two channels (368ms)
#clearChart()
✓ should reset selectedChannels to empty array
#createFileNavigation()
/data/example-directory-meta.json
✓ should resolve promise after creating fileNavigator
CSV_Manager
#require()
✓ Should return an object when we require it.
#csv.getHeaders()
/data/18907011_channel_1.csv
✓ Should be able to process headers consistently
#csv.transposeSelf()
✓ Data should not change when transposed twice
#csv.getDataType()
✓ Should categorise data correctly
Plot Manager
#require()
No chart available to resize! Resize cancelled
✓ Should return an object when we require it.
#plot.createChart()
/data/18907011_channel_1.csv
✓ Should be able to generate a chart (463ms)
#plot.resizePlot()
✓ Should find and resize the plot (97ms)
14 passing (3s)
MOCHA Tests completed successfully
Finished: SUCCESS