simple 26-Sep-2019 09:12:00 Build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #7 (FD-CORE61-JOB1-7) started building on agent buildserver-3.os.ncsa.edu simple 26-Sep-2019 09:12:00 Remote agent on host buildserver-3.os.ncsa.edu simple 26-Sep-2019 09:12:00 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 09:12:00 Executing build FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #7 (FD-CORE61-JOB1-7) simple 26-Sep-2019 09:12:00 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-Sep-2019 09:12:00 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 simple 26-Sep-2019 09:12:00 Updating source code to revision: 39f39bf5c2b280eff1df20ba37a5261d5601bd9f simple 26-Sep-2019 09:12:00 Enforcing full fetch as requested revision has not been found on the configured branch simple 26-Sep-2019 09:12:00 Fetching 'refs/heads/*' from 'ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git'. Will try to do a shallow fetch. simple 26-Sep-2019 09:12:00 Warning: Permanently added '[127.0.0.1]:44199' (RSA) to the list of known hosts. simple 26-Sep-2019 09:12:00 From ssh://127.0.0.1:44199/fd/farmdoc simple 26-Sep-2019 09:12:00 * [new branch] bugfix/FD-56-user-session-is-not-preserved-on-multiple-tabs -> bugfix/FD-56-user-session-is-not-preserved-on-multiple-tabs simple 26-Sep-2019 09:12:00 * [new branch] develop -> develop simple 26-Sep-2019 09:12:00 * [new branch] feature/FD-101-show-placeholder-images-for-simulation-distribution-and-binned-payouts -> feature/FD-101-show-placeholder-images-for-simulation-distribution-and-binned-payouts simple 26-Sep-2019 09:12:00 + 3caef32...39f39bf feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token -> feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token (forced update) simple 26-Sep-2019 09:12:00 * [new branch] feature/FD-198-include-radio-button-for-irrigated-non-irrigated-when-applicable -> feature/FD-198-include-radio-button-for-irrigated-non-irrigated-when-applicable simple 26-Sep-2019 09:12:00 * [new branch] feature/FD-47-allow-user-to-select-different-crop -> feature/FD-47-allow-user-to-select-different-crop simple 26-Sep-2019 09:12:00 * [new branch] master -> master simple 26-Sep-2019 09:12:00 * [new branch] test-build -> test-build simple 26-Sep-2019 09:12:00 * [new tag] 0.2.0 -> 0.2.0 simple 26-Sep-2019 09:12:00 * [new tag] v0.1.0 -> v0.1.0 simple 26-Sep-2019 09:12:00 * [new tag] v0.3.0 -> v0.3.0 simple 26-Sep-2019 09:12:00 * [new tag] v1.0.0-alpha.0 -> v1.0.0-alpha.0 simple 26-Sep-2019 09:12:00 Checking out revision 39f39bf5c2b280eff1df20ba37a5261d5601bd9f. simple 26-Sep-2019 09:12:00 Already on 'feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token' simple 26-Sep-2019 09:12:00 Updated source code to revision: 39f39bf5c2b280eff1df20ba37a5261d5601bd9f simple 26-Sep-2019 09:12:00 Finished task 'Checkout Default Repository' with result: Success simple 26-Sep-2019 09:12:00 Running pre-build action: VCS Version Collector simple 26-Sep-2019 09:12:00 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 26-Sep-2019 09:12:00 Beginning to execute external process for build 'FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job #7 (FD-CORE61-JOB1-7)'\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=39f39bf5c2b280eff1df20ba37a5261d5601bd9f\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/FD-CORE61-JOB1-7\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=39f39bf5c2b280eff1df20ba37a5261d5601bd9f\nbamboo_buildNumber=7\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-7\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=39f39bf5c2b280eff1df20ba37a5261d5601bd9f\nbamboo_buildTimeStamp=2019-09-26T09:12:00.071-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-7\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=39f39bf5c2b280eff1df20ba37a5261d5601bd9f\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_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_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 09:12:22 npm WARN checkPermissions Missing write access to /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules error 26-Sep-2019 09:12:22 npm WARN checkPermissions Missing write access to /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules/nomnom build 26-Sep-2019 09:12:31 farmdoc@1.0.0-alpha.0 /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1 build 26-Sep-2019 09:12:31 └── ol@4.6.5 build 26-Sep-2019 09:12:31 error 26-Sep-2019 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 09:12:31 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 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 09:12:31 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 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/eslint-watch/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 09:12:31 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 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/karma/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 09:12:31 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 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents): error 26-Sep-2019 09:12:31 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 09:12:31 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 09:12:31 npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none was installed. error 26-Sep-2019 09:12:31 npm ERR! Linux 4.4.0-164-generic error 26-Sep-2019 09:12:31 npm ERR! argv "/home/bamboo/node-v6.9.1/bin/node" "/home/bamboo/node-v6.9.1/bin/npm" "install" error 26-Sep-2019 09:12:31 npm ERR! node v6.9.1 error 26-Sep-2019 09:12:31 npm ERR! npm v3.10.8 error 26-Sep-2019 09:12:31 npm ERR! path /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules error 26-Sep-2019 09:12:31 npm ERR! code EACCES error 26-Sep-2019 09:12:31 npm ERR! errno -13 error 26-Sep-2019 09:12:31 npm ERR! syscall access error 26-Sep-2019 09:12:31 error 26-Sep-2019 09:12:31 npm ERR! Error: EACCES: permission denied, access '/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules' error 26-Sep-2019 09:12:31 npm ERR! at Error (native) error 26-Sep-2019 09:12:31 npm ERR! { Error: EACCES: permission denied, access '/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules' error 26-Sep-2019 09:12:31 npm ERR! at Error (native) error 26-Sep-2019 09:12:31 npm ERR! errno: -13, error 26-Sep-2019 09:12:31 npm ERR! code: 'EACCES', error 26-Sep-2019 09:12:31 npm ERR! syscall: 'access', error 26-Sep-2019 09:12:31 npm ERR! path: '/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules' } error 26-Sep-2019 09:12:31 npm ERR! error 26-Sep-2019 09:12:31 npm ERR! Please try running this command again as root/Administrator. error 26-Sep-2019 09:12:31 error 26-Sep-2019 09:12:31 npm ERR! Please include the following file with any support request: error 26-Sep-2019 09:12:31 npm ERR! /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/npm-debug.log simple 26-Sep-2019 09:12:31 Failing task since return code of [/home/bamboo/node-v6.9.1/bin/node /home/bamboo/node-v6.9.1/bin/npm install] was 243 while expected 0 simple 26-Sep-2019 09:12:31 Finished task 'npm install' with result: Failed simple 26-Sep-2019 09:12:31 Running post build plugin 'Docker Container Cleanup' simple 26-Sep-2019 09:12:31 Running post build plugin 'NCover Results Collector' simple 26-Sep-2019 09:12:31 Running post build plugin 'Clover Results Collector' simple 26-Sep-2019 09:12:31 Running post build plugin 'npm Cache Cleanup' simple 26-Sep-2019 09:12:31 Running post build plugin 'Artifact Copier' simple 26-Sep-2019 09:12:31 Publishing an artifact: farmdoc-web error 26-Sep-2019 09:12:31 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 09:12:31 The artifact hasn't been successfully published after 371.7 μs simple 26-Sep-2019 09:12:31 Finalising the build... simple 26-Sep-2019 09:12:31 Stopping timer. simple 26-Sep-2019 09:12:31 Build FD-CORE61-JOB1-7 completed. simple 26-Sep-2019 09:12:31 Running on server: post build plugin 'NCover Results Collector' simple 26-Sep-2019 09:12:31 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Sep-2019 09:12:31 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Sep-2019 09:12:31 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Sep-2019 09:12:31 All post build plugins have finished simple 26-Sep-2019 09:12:31 Generating build results summary... simple 26-Sep-2019 09:12:31 Saving build results to disk... simple 26-Sep-2019 09:12:31 Logging substituted variables... simple 26-Sep-2019 09:12:31 Indexing build results... simple 26-Sep-2019 09:12:31 Finished building FD-CORE61-JOB1-7.