Started by user Alan Wu
Building remotely on Ubuntu_16.04_bioeng49 (buildslave Testing) in workspace /home/cmiss/Jenkins/workspace/ZincJS
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/ABI-Software/ZincJS.git
> git init /home/cmiss/Jenkins/workspace/ZincJS # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/ZincJS.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/ABI-Software/ZincJS.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/ABI-Software/ZincJS.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/ABI-Software/ZincJS.git # timeout=10
Fetching upstream changes from https://github.com/ABI-Software/ZincJS.git
> git fetch --tags --progress https://github.com/ABI-Software/ZincJS.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision e0c48ce74cebec0c3d123673781ae928a3f817c9 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f e0c48ce74cebec0c3d123673781ae928a3f817c9
Commit message: "Merge pull request #3 from alan-wu/develop"
> git rev-list --no-walk 65aa465529d2731b00ad0bcb62e4dac74758a3c4 # timeout=10
[ZincJS] $ /bin/sh -xe /tmp/jenkins15964620823196895177.sh
+ npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 559 packages from 249 contributors and audited 5797 packages in 17.516s
found 0 vulnerabilities
+ npm run build
> zincjs@0.31.3 build /home/cmiss/Jenkins/workspace/ZincJS
> webpack --config webpack.frontend.js --mode=none; webpack --config webpack.backend.js --mode=none
Hash: 619293b6830b33cfd792
Version: webpack 4.29.6
Time: 20902ms
Built at: 08/16/2019 1:01:13 PM
Asset Size Chunks Chunk Names
zinc.frontend.js 1.03 MiB 0 [emitted] zinc
zinc.frontend.js.map 2.7 MiB 0 [emitted] zinc
Entrypoint zinc = zinc.frontend.js zinc.frontend.js.map
[0] ./src/zinc.js 1.13 KiB {0} [built]
[2] (webpack)/buildin/global.js 685 bytes {0} [built]
[3] ./src/geometry.js 6.15 KiB {0} [built]
[5] ./src/glyph.js 3.44 KiB {0} [built]
[6] ./src/label.js 1.38 KiB {0} [built]
[7] ./src/glyphset.js 12.3 KiB {0} [built]
[8] ./src/loader.js 8.75 KiB {0} [built]
[10] ./src/pointset.js 5.39 KiB {0} [built]
[11] ./src/Points.js 3.09 KiB {0} [built]
[13] ./src/renderer.js 10.6 KiB {0} [built]
[14] ./src/scene.js 27.8 KiB {0} [built]
[15] ./src/utilities.js 1.14 KiB {0} [built]
[18] ./src/controls.js 33 KiB {0} [built]
[19] ./src/geometryCSG.js 3.14 KiB {0} [built]
[29] ./src/glyphsetCSG.js 1.46 KiB {0} [built]
+ 15 hidden modules
Hash: ec56582f421114972b87
Version: webpack 4.29.6
Time: 3810ms
Built at: 08/16/2019 1:01:18 PM
Asset Size Chunks Chunk Names
zinc.js 150 KiB 0 [emitted] zinc
zinc.js.map 426 KiB 0 [emitted] zinc
Entrypoint zinc = zinc.js zinc.js.map
[0] ./src/zinc.js 1.13 KiB {0} [built]
[1] external "url-polyfill" 42 bytes {0} [built]
[2] ./src/geometry.js 6.15 KiB {0} [built]
[3] external "three" 42 bytes {0} [built]
[4] ./src/glyph.js 3.44 KiB {0} [built]
[5] ./src/label.js 1.38 KiB {0} [built]
[6] ./src/glyphset.js 12.3 KiB {0} [built]
[7] ./src/loader.js 8.75 KiB {0} [built]
[9] ./src/pointset.js 5.39 KiB {0} [built]
[12] ./src/renderer.js 10.6 KiB {0} [built]
[13] ./src/scene.js 27.8 KiB {0} [built]
[14] ./src/utilities.js 1.14 KiB {0} [built]
[17] ./src/controls.js 33 KiB {0} [built]
[18] ./src/geometryCSG.js 3.14 KiB {0} [built]
[24] ./src/glyphsetCSG.js 1.46 KiB {0} [built]
+ 10 hidden modules
+ npm run test
> zincjs@0.31.3 test /home/cmiss/Jenkins/workspace/ZincJS
> npm --prefix ./test install && npm --prefix ./test run test-ci
> nodent-runtime@3.2.1 install /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/nodent-runtime
> node build.js
## Built /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/nodent-runtime/dist/index.js
> canvas@2.6.0 install /home/cmiss/Jenkins/workspace/ZincJS/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/ZincJS/test/node_modules/canvas/build/Release/canvas.node" is installed via remote
> gl@4.3.3 install /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/gl
> prebuild-install || node-gyp rebuild
> core-js@2.6.9 postinstall /home/cmiss/Jenkins/workspace/ZincJS/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"})
added 804 packages from 664 contributors and audited 8889 packages in 30.662s
found 0 vulnerabilities
> @ test-ci /home/cmiss/Jenkins/workspace/ZincJS/test
> mocha-webpack
WEBPACK Compiling...
WEBPACK Compiled successfully in 2198ms
MOCHA Testing...
THREE.WebGLRenderer 93
THREE.WebGLRenderer: Error creating WebGL context.
RUNTIME EXCEPTION Exception occurred while loading your tests
TypeError: Cannot read property 'getExtension' of null
at Object.get (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/three/build/three.js:14966:22)
at initGLContext (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/three/build/three.js:21877:15)
at new WebGLRenderer (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/three/build/three.js:21924:3)
at exports.Renderer.initialiseVisualisation.parameters [as initialiseVisualisation] (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/src/renderer.js:138:1)
at Suite.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:415:1)
at Object.create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/common.js:112:19)
at context.describe.context.context (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/bdd.js:44:27)
at Suite.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:411:1)
at Object.create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/common.js:112:19)
at context.describe.context.context (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/bdd.js:44:27)
at checkRenderer (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:398:1)
at checkZincObject (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:506:1)
at Suite.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:510:1)
at Object.create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/common.js:112:19)
at context.describe.context.context (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/interfaces/bdd.js:44:27)
at Object.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/test/zinc.test.js:509:1)
at __webpack_require__ (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/webpack/bootstrap:19:1)
at run (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha-webpack/lib/entry.js:3:1)
at Array.forEach (<anonymous>)
at Object.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha-webpack/lib/entry.js:10:1)
at __webpack_require__ (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/webpack/bootstrap:19:1)
at ids (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/webpack/bootstrap:83:1)
at Object.<anonymous> (/home/cmiss/Jenkins/workspace/ZincJS/test/.tmp/mocha-webpack/1565917313011/main.js:87:10)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object._module2.default._extensions.(anonymous function) [as .js] (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha-webpack/lib/util/registerRequireHook.js:148:12)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/mocha.js:231:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/mocha.js:228:14)
at Mocha.run (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha/lib/mocha.js:536:10)
at /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha-webpack/lib/runner/TestRunner.js:191:27
at /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/mocha-webpack/lib/webpack/compiler/registerReadyCallback.js:26:7
at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1)
at AsyncSeriesHook.lazyCompileHook (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/Hook.js:154:20)
at emitRecords.err (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:304:22)
at Compiler.emitRecords (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:489:39)
at emitAssets.err (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:298:10)
at hooks.afterEmit.callAsync.err (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:475:14)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/Hook.js:154:20)
at asyncLib.forEachLimit.err (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:472:27)
at /home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/neo-async/async.js:2818:7
at done (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/neo-async/async.js:3522:9)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/tapable/lib/Hook.js:154:20)
at outputFileSystem.writeFile.err (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:454:33)
at MemoryFileSystem.writeFile (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/memory-fs/lib/MemoryFileSystem.js:328:9)
at writeOut (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:452:30)
at asyncLib.forEachLimit (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:466:7)
at objectIteratorWithKey (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/neo-async/async.js:3509:9)
at timesSync (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/neo-async/async.js:2297:7)
at Object.eachLimit (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/neo-async/async.js:3463:5)
at emitFiles (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/webpack/lib/Compiler.js:358:13)
at Immediate._onImmediate (/home/cmiss/Jenkins/workspace/ZincJS/test/node_modules/memory-fs/lib/MemoryFileSystem.js:288:4)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ test-ci: `mocha-webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ test-ci 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/cmiss/.npm/_logs/2019-08-16T01_01_55_770Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zincjs@0.31.3 test: `npm --prefix ./test install && npm --prefix ./test run test-ci`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zincjs@0.31.3 test 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/cmiss/.npm/_logs/2019-08-16T01_01_55_786Z-debug.log
Build step 'Execute shell' marked build as failure
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@1a82e21d[description=JS interface to Zinc output for displaying 3D anatomical models,homepage=,name=ZincJS,fork=true,archived=false,size=48432,milestones={},language=JavaScript,commits={},responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/json; charset=utf-8], Date=[Fri, 16 Aug 2019 01:01:56 GMT], ETag=[W/"9f9c3bae4f85fc5ffd31e9956518e5b8"], Last-Modified=[Fri, 16 Aug 2019 00:59:58 GMT], OkHttp-Received-Millis=[1565917316268], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1565917315782], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[200 OK], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[E8A6:1D0D:FFCCA:132F05:5D560083], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4999], X-RateLimit-Reset=[1565920916], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/ABI-Software/ZincJS,id=165929667]] (sha:e0c48ce) with context:ZincJS
Setting commit status on GitHub for https://github.com/ABI-Software/ZincJS/commit/e0c48ce74cebec0c3d123673781ae928a3f817c9
Finished: FAILURE