simple 26-Sep-2019 08:13:24 Build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #5 (FD-CORE61-JOB1-5) started building on agent buildserver-3.os.ncsa.edu simple 26-Sep-2019 08:13:24 Remote agent on host buildserver-3.os.ncsa.edu simple 26-Sep-2019 08:13:24 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 08:13:24 Executing build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #5 (FD-CORE61-JOB1-5) simple 26-Sep-2019 08:13:24 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-Sep-2019 08:13:24 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 08:13:24 Updating source code to revision: 3caef32cb445a58486f5b06620716ae688a79637 simple 26-Sep-2019 08:13:24 Fetching 'refs/heads/feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token' from 'ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git'. Will try to do a shallow fetch. simple 26-Sep-2019 08:13:24 Warning: Permanently added '[127.0.0.1]:44199' (RSA) to the list of known hosts. simple 26-Sep-2019 08:13:24 Checking out revision 3caef32cb445a58486f5b06620716ae688a79637. simple 26-Sep-2019 08:13:24 Already on 'feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token' simple 26-Sep-2019 08:13:24 Updated source code to revision: 3caef32cb445a58486f5b06620716ae688a79637 simple 26-Sep-2019 08:13:24 Finished task 'Checkout Default Repository' with result: Success simple 26-Sep-2019 08:13:24 Running pre-build action: VCS Version Collector simple 26-Sep-2019 08:13:24 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 26-Sep-2019 08:13:24 Beginning to execute external process for build 'FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #5 (FD-CORE61-JOB1-5)'\n ... running command line: \n/home/bamboo/node-v6.9.1/bin/node /home/bamboo/node-v6.9.1/bin/npm install\n ... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_capability_system_builder_command_npm_6=/home/bamboo/node-v6.9.1/bin/npm\nbamboo_capability_system_builder_command_buckminster_4_3=/home/bamboo/buckminster-4.3/buckminster\nbamboo_capability_system_builder_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node\nbamboo_capability_system_builder_command_buckminster_4_4=/home/bamboo/buckminster-4.4/buckminster\nbamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster\nbamboo_planRepository_1_branchDisplayName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_repository_revision_number=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/FD-CORE61-JOB1-5\nbamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build\nbamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1\nbamboo_planRepository_1_name=FarmDoc\nbamboo_buildKey=FD-CORE61-JOB1\nbamboo_capability_system_os=linux\nbamboo_shortPlanName=feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_planRepository_name=FarmDoc\nbamboo_repository_177143830_revision_number=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_buildNumber=5\nbamboo_capability_system_builder_node_grunt_6=/home/bamboo/node-v6.9.1/bin/grunt\nbamboo_repository_177143830_branch_name=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/FD-CORE61-JOB1-5\nbamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git\nbamboo_agentId=143032321\nbamboo_planName=FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_shortPlanKey=CORE61\nbamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt\nbamboo_repository_177143830_git_username=\nbamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node\nbamboo_shortJobKey=JOB1\nbamboo_repository_177143830_previous_revision_number=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_planRepository_revision=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_buildTimeStamp=2019-09-26T08:13:24.346-05:00\nbamboo_repository_previous_revision_number=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_planRepository_previousRevision=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_repository_git_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_buildResultKey=FD-CORE61-JOB1-5\nbamboo_repository_branch_name=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_buildPlanName=FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job\nbamboo_planRepository_1_revision=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_capability_system_builder_command_python3=/usr/bin/python3\nbamboo_repository_name=FarmDoc\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt\nbamboo_planRepository_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_repository_177143830_git_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13\nbamboo_repository_177143830_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git\nbamboo_planRepository_branchDisplayName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7\nbamboo_repository_177143830_name=FarmDoc\nbamboo_capability_system_hostname=buildserver-1\nbamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66\nbamboo_capability_system_software_mongo=/usr/bin/mongo\nbamboo_plan_storageTag=plan-177012758\nbamboo_hg_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_hg-repositories-cache\nbamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs\nbamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl\nbamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=cnavarro\nbamboo_repository_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git\nbamboo_capability_system_builder_node_Node_js=/home/bamboo/node-v0.10.28/bin/node\nbamboo_capability_system_builder_ant_Ant=/home/bamboo/apache-ant-1.9.4\nbamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/apache-maven-3.3.9\nbamboo_tmp_directory=/home/bamboo/bamboo-agent-home/temp\nbamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1\nbamboo_planKey=FD-CORE61\nbamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/home/bamboo/jdk1.8.0_66\nbamboo_capability_system_jdk_JDK_1_6=/home/bamboo/jdk1.6.0_41\nbamboo_capability_system_builder_command_mkcrx=/home/bamboo/mkcrx/mkcrx.sh\nbamboo_capability_system_jdk_JDK_1_7=/home/bamboo/jdk1.7.0_60\nbamboo_planRepository_1_branchName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nPATH=/home/bamboo/node-v6.9.1/bin/:/home/bamboo/jdk1.8.0_66/bin:/home/bamboo/node-v0.10.28/bin:/usr/bin:/bin\n error 26-Sep-2019 08:13:32 npm WARN deprecated openlayers@4.6.5: Please use the ol package instead error 26-Sep-2019 08:13:34 npm WARN deprecated uws@9.14.0: New code is available at github.com/uNetworking/uWebSockets.js build 26-Sep-2019 08:13:48 build 26-Sep-2019 08:13:48 > farmdoc@1.0.0-alpha.0 preinstall /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 build 26-Sep-2019 08:13:48 > node tools/nodeVersionCheck.js build 26-Sep-2019 08:13:48 build 26-Sep-2019 08:13:50 build 26-Sep-2019 08:13:50 > uws@9.14.0 install /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/uws build 26-Sep-2019 08:13:50 > node-gyp rebuild > build_log.txt 2>&1 || exit 0 build 26-Sep-2019 08:13:50 build 26-Sep-2019 08:14:03 build 26-Sep-2019 08:14:03 > openlayers@4.6.5 install /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/openlayers build 26-Sep-2019 08:14:03 > node tasks/install.js build 26-Sep-2019 08:14:03 build 26-Sep-2019 08:14:04 build 26-Sep-2019 08:14:04 > closure-util@1.26.0 postinstall /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/closure-util build 26-Sep-2019 08:14:04 > node ./bin/closure-util.js update build 26-Sep-2019 08:14:04 error 26-Sep-2019 08:14:05 /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/minizlib/constants.js:2 error 26-Sep-2019 08:14:05 const { ZLIB_VERNUM } = require('zlib').constants error 26-Sep-2019 08:14:05 ^ error 26-Sep-2019 08:14:05 error 26-Sep-2019 08:14:05 TypeError: Cannot match against 'undefined' or 'null'. error 26-Sep-2019 08:14:05 at Object. (/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/minizlib/constants.js:2:40) error 26-Sep-2019 08:14:05 at Module._compile (module.js:570:32) error 26-Sep-2019 08:14:05 at Object.Module._extensions..js (module.js:579:10) error 26-Sep-2019 08:14:05 at Module.load (module.js:487:32) error 26-Sep-2019 08:14:05 at tryModuleLoad (module.js:446:12) error 26-Sep-2019 08:14:05 at Function.Module._load (module.js:438:3) error 26-Sep-2019 08:14:05 at Module.require (module.js:497:17) error 26-Sep-2019 08:14:05 at require (internal/module.js:20:19) error 26-Sep-2019 08:14:05 at Object. (/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/minizlib/index.js:7:39) error 26-Sep-2019 08:14:05 at Module._compile (module.js:570:32) error 26-Sep-2019 08:14:10 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:14:10 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) error 26-Sep-2019 08:14:10 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:14:10 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) error 26-Sep-2019 08:14:10 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/eslint-watch/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:14:10 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) error 26-Sep-2019 08:14:10 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/karma/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:14:10 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) error 26-Sep-2019 08:14:10 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:14:10 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) error 26-Sep-2019 08:14:10 npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none was installed. error 26-Sep-2019 08:14:10 npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none was installed. error 26-Sep-2019 08:14:10 npm ERR! Linux 4.4.0-164-generic error 26-Sep-2019 08:14:10 npm ERR! argv "/home/bamboo/node-v6.9.1/bin/node" "/home/bamboo/node-v6.9.1/bin/npm" "install" error 26-Sep-2019 08:14:10 npm ERR! node v6.9.1 error 26-Sep-2019 08:14:10 npm ERR! npm v3.10.8 error 26-Sep-2019 08:14:10 npm ERR! code ELIFECYCLE error 26-Sep-2019 08:14:10 error 26-Sep-2019 08:14:10 npm ERR! closure-util@1.26.0 postinstall: `node ./bin/closure-util.js update` error 26-Sep-2019 08:14:10 npm ERR! Exit status 1 error 26-Sep-2019 08:14:10 npm ERR! error 26-Sep-2019 08:14:10 npm ERR! Failed at the closure-util@1.26.0 postinstall script 'node ./bin/closure-util.js update'. error 26-Sep-2019 08:14:10 npm ERR! Make sure you have the latest version of node.js and npm installed. error 26-Sep-2019 08:14:10 npm ERR! If you do, this is most likely a problem with the closure-util package, error 26-Sep-2019 08:14:10 npm ERR! not with npm itself. error 26-Sep-2019 08:14:10 npm ERR! Tell the author that this fails on your system: error 26-Sep-2019 08:14:10 npm ERR! node ./bin/closure-util.js update error 26-Sep-2019 08:14:10 npm ERR! You can get information on how to open an issue for this project with: error 26-Sep-2019 08:14:10 npm ERR! npm bugs closure-util error 26-Sep-2019 08:14:10 npm ERR! Or if that isn't available, you can get their info via: error 26-Sep-2019 08:14:10 npm ERR! npm owner ls closure-util error 26-Sep-2019 08:14:10 npm ERR! There is likely additional logging output above. error 26-Sep-2019 08:14:10 error 26-Sep-2019 08:14:10 npm ERR! Please include the following file with any support request: error 26-Sep-2019 08:14:10 npm ERR! /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/npm-debug.log simple 26-Sep-2019 08:14:10 Failing task since return code of [/home/bamboo/node-v6.9.1/bin/node /home/bamboo/node-v6.9.1/bin/npm install] was 1 while expected 0 simple 26-Sep-2019 08:14:10 Finished task 'npm install' with result: Failed simple 26-Sep-2019 08:14:10 Running post build plugin 'Docker Container Cleanup' simple 26-Sep-2019 08:14:10 Running post build plugin 'NCover Results Collector' simple 26-Sep-2019 08:14:10 Running post build plugin 'Clover Results Collector' simple 26-Sep-2019 08:14:10 Running post build plugin 'npm Cache Cleanup' simple 26-Sep-2019 08:14:10 Running post build plugin 'Artifact Copier' simple 26-Sep-2019 08:14:10 Publishing an artifact: farmdoc-web error 26-Sep-2019 08:14:10 Unable to publish artifact [farmdoc-web]: the source directory /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/dist does not exist. simple 26-Sep-2019 08:14:10 The artifact hasn't been successfully published after 1.221 ms simple 26-Sep-2019 08:14:10 Finalising the build... simple 26-Sep-2019 08:14:10 Stopping timer. simple 26-Sep-2019 08:14:10 Build FD-CORE61-JOB1-5 completed. simple 26-Sep-2019 08:14:10 Running on server: post build plugin 'NCover Results Collector' simple 26-Sep-2019 08:14:10 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Sep-2019 08:14:10 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Sep-2019 08:14:10 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Sep-2019 08:14:10 All post build plugins have finished simple 26-Sep-2019 08:14:10 Generating build results summary... simple 26-Sep-2019 08:14:10 Saving build results to disk... simple 26-Sep-2019 08:14:10 Logging substituted variables... simple 26-Sep-2019 08:14:10 Indexing build results... simple 26-Sep-2019 08:14:10 Finished building FD-CORE61-JOB1-5.