simple 26-Sep-2019 08:07:56 Build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #3 (FD-CORE61-JOB1-3) started building on agent buildserver-2.os.ncsa.edu simple 26-Sep-2019 08:07:56 Remote agent on host buildserver-2.os.ncsa.edu simple 26-Sep-2019 08:07:56 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 08:07:56 Executing build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #3 (FD-CORE61-JOB1-3) simple 26-Sep-2019 08:07:56 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-Sep-2019 08:07:56 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 08:07:56 Updating source code to revision: 3caef32cb445a58486f5b06620716ae688a79637 simple 26-Sep-2019 08:07:57 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:07:57 Warning: Permanently added '[127.0.0.1]:34852' (RSA) to the list of known hosts. simple 26-Sep-2019 08:07:57 Checking out revision 3caef32cb445a58486f5b06620716ae688a79637. simple 26-Sep-2019 08:07:57 Already on 'feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token' simple 26-Sep-2019 08:07:57 Updated source code to revision: 3caef32cb445a58486f5b06620716ae688a79637 simple 26-Sep-2019 08:07:57 Finished task 'Checkout Default Repository' with result: Success simple 26-Sep-2019 08:07:57 Running pre-build action: VCS Version Collector simple 26-Sep-2019 08:07:57 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 26-Sep-2019 08:07:57 Beginning to execute external process for build 'FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #3 (FD-CORE61-JOB1-3)'\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-3\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=3\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-3\nbamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git\nbamboo_ManualBuildTriggerReason_stageName=Default Stage\nbamboo_agentId=140673028\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=7b60509ba481975a16627b0743f9f2e28330eea9\nbamboo_planRepository_revision=3caef32cb445a58486f5b06620716ae688a79637\nbamboo_buildTimeStamp=2019-09-26T08:07:56.576-05:00\nbamboo_repository_previous_revision_number=7b60509ba481975a16627b0743f9f2e28330eea9\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_repository_git_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token\nbamboo_buildResultKey=FD-CORE61-JOB1-3\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_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_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_RerunBuildTriggerReason_noOfRetries=2\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:08:04 npm WARN deprecated openlayers@4.6.5: Please use the ol package instead error 26-Sep-2019 08:08:07 npm WARN deprecated uws@9.14.0: New code is available at github.com/uNetworking/uWebSockets.js build 26-Sep-2019 08:08:20 build 26-Sep-2019 08:08:20 > farmdoc@1.0.0-alpha.0 preinstall /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 build 26-Sep-2019 08:08:20 > node tools/nodeVersionCheck.js build 26-Sep-2019 08:08:20 build 26-Sep-2019 08:08:22 build 26-Sep-2019 08:08:22 > 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:08:22 > node-gyp rebuild > build_log.txt 2>&1 || exit 0 build 26-Sep-2019 08:08:22 build 26-Sep-2019 08:08:34 build 26-Sep-2019 08:08:34 > 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:08:34 > node tasks/install.js build 26-Sep-2019 08:08:34 build 26-Sep-2019 08:08:35 build 26-Sep-2019 08:08:35 > 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:08:35 > node ./bin/closure-util.js update build 26-Sep-2019 08:08:35 error 26-Sep-2019 08:08:35 /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/minizlib/constants.js:2 error 26-Sep-2019 08:08:35 const { ZLIB_VERNUM } = require('zlib').constants error 26-Sep-2019 08:08:35 ^ error 26-Sep-2019 08:08:35 error 26-Sep-2019 08:08:35 TypeError: Cannot match against 'undefined' or 'null'. error 26-Sep-2019 08:08:35 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:08:35 at Module._compile (module.js:570:32) error 26-Sep-2019 08:08:35 at Object.Module._extensions..js (module.js:579:10) error 26-Sep-2019 08:08:35 at Module.load (module.js:487:32) error 26-Sep-2019 08:08:35 at tryModuleLoad (module.js:446:12) error 26-Sep-2019 08:08:35 at Function.Module._load (module.js:438:3) error 26-Sep-2019 08:08:35 at Module.require (module.js:497:17) error 26-Sep-2019 08:08:35 at require (internal/module.js:20:19) error 26-Sep-2019 08:08:35 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:08:35 at Module._compile (module.js:570:32) build 26-Sep-2019 08:08:48 farmdoc@1.0.0-alpha.0 /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 build 26-Sep-2019 08:08:48 └── (empty) build 26-Sep-2019 08:08:48 error 26-Sep-2019 08:08:48 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:08:48 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:08:48 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:08:48 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:08:48 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:08:48 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:08:48 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/karma/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:08:48 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:08:48 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 08:08:48 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:08:48 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:08:48 npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none was installed. error 26-Sep-2019 08:08:48 npm ERR! Linux 4.4.0-164-generic error 26-Sep-2019 08:08:48 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:08:48 npm ERR! node v6.9.1 error 26-Sep-2019 08:08:48 npm ERR! npm v3.10.8 error 26-Sep-2019 08:08:48 npm ERR! code ELIFECYCLE error 26-Sep-2019 08:08:48 error 26-Sep-2019 08:08:48 npm ERR! closure-util@1.26.0 postinstall: `node ./bin/closure-util.js update` error 26-Sep-2019 08:08:48 npm ERR! Exit status 1 error 26-Sep-2019 08:08:48 npm ERR! error 26-Sep-2019 08:08:48 npm ERR! Failed at the closure-util@1.26.0 postinstall script 'node ./bin/closure-util.js update'. error 26-Sep-2019 08:08:48 npm ERR! Make sure you have the latest version of node.js and npm installed. error 26-Sep-2019 08:08:48 npm ERR! If you do, this is most likely a problem with the closure-util package, error 26-Sep-2019 08:08:48 npm ERR! not with npm itself. error 26-Sep-2019 08:08:48 npm ERR! Tell the author that this fails on your system: error 26-Sep-2019 08:08:48 npm ERR! node ./bin/closure-util.js update error 26-Sep-2019 08:08:48 npm ERR! You can get information on how to open an issue for this project with: error 26-Sep-2019 08:08:48 npm ERR! npm bugs closure-util error 26-Sep-2019 08:08:48 npm ERR! Or if that isn't available, you can get their info via: error 26-Sep-2019 08:08:48 npm ERR! npm owner ls closure-util error 26-Sep-2019 08:08:48 npm ERR! There is likely additional logging output above. error 26-Sep-2019 08:08:48 error 26-Sep-2019 08:08:48 npm ERR! Please include the following file with any support request: error 26-Sep-2019 08:08:48 npm ERR! /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/npm-debug.log error 26-Sep-2019 08:08:48 npm ERR! code 1 simple 26-Sep-2019 08:08:48 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:08:48 Finished task 'npm install' with result: Failed simple 26-Sep-2019 08:08:48 Running post build plugin 'Docker Container Cleanup' simple 26-Sep-2019 08:08:48 Running post build plugin 'NCover Results Collector' simple 26-Sep-2019 08:08:48 Running post build plugin 'Clover Results Collector' simple 26-Sep-2019 08:08:48 Running post build plugin 'npm Cache Cleanup' simple 26-Sep-2019 08:08:48 Running post build plugin 'Artifact Copier' simple 26-Sep-2019 08:08:48 Publishing an artifact: farmdoc-web error 26-Sep-2019 08:08:48 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:08:48 The artifact hasn't been successfully published after 2.407 ms simple 26-Sep-2019 08:08:48 Finalising the build... simple 26-Sep-2019 08:08:48 Stopping timer. simple 26-Sep-2019 08:08:48 Build FD-CORE61-JOB1-3 completed. simple 26-Sep-2019 08:08:48 Running on server: post build plugin 'NCover Results Collector' simple 26-Sep-2019 08:08:48 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Sep-2019 08:08:48 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Sep-2019 08:08:48 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Sep-2019 08:08:48 All post build plugins have finished simple 26-Sep-2019 08:08:48 Generating build results summary... simple 26-Sep-2019 08:08:48 Saving build results to disk... simple 26-Sep-2019 08:08:48 Logging substituted variables... simple 26-Sep-2019 08:08:48 Indexing build results... simple 26-Sep-2019 08:08:48 Finished building FD-CORE61-JOB1-3.