Build: #7 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

The build generated 92 lines of output. Download or view full build log.

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
26-Sep-2019 09:12:00 Remote agent on host buildserver-3.os.ncsa.edu
26-Sep-2019 09:12:00 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
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)
26-Sep-2019 09:12:00 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
26-Sep-2019 09:12:00 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
26-Sep-2019 09:12:00 Updating source code to revision: 39f39bf5c2b280eff1df20ba37a5261d5601bd9f
26-Sep-2019 09:12:00 Enforcing full fetch as requested revision has not been found on the configured branch
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.
26-Sep-2019 09:12:00 Warning: Permanently added '[127.0.0.1]:44199' (RSA) to the list of known hosts.
26-Sep-2019 09:12:00 From ssh://127.0.0.1:44199/fd/farmdoc
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
26-Sep-2019 09:12:00 * [new branch]      develop    -> develop
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
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)
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
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
26-Sep-2019 09:12:00 * [new branch]      master     -> master
26-Sep-2019 09:12:00 * [new branch]      test-build -> test-build
26-Sep-2019 09:12:00 * [new tag]         0.2.0      -> 0.2.0
26-Sep-2019 09:12:00 * [new tag]         v0.1.0     -> v0.1.0
26-Sep-2019 09:12:00 * [new tag]         v0.3.0     -> v0.3.0
26-Sep-2019 09:12:00 * [new tag]         v1.0.0-alpha.0 -> v1.0.0-alpha.0
26-Sep-2019 09:12:00 Checking out revision 39f39bf5c2b280eff1df20ba37a5261d5601bd9f.
26-Sep-2019 09:12:00 Already on 'feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token'
26-Sep-2019 09:12:00 Updated source code to revision: 39f39bf5c2b280eff1df20ba37a5261d5601bd9f
26-Sep-2019 09:12:00 Finished task 'Checkout Default Repository' with result: Success
26-Sep-2019 09:12:00 Running pre-build action: VCS Version Collector
26-Sep-2019 09:12:00 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm'
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)'
... running command line:
/home/bamboo/node-v6.9.1/bin/node /home/bamboo/node-v6.9.1/bin/npm install
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_capability_system_builder_command_npm_6=/home/bamboo/node-v6.9.1/bin/npm
bamboo_capability_system_builder_command_buckminster_4_3=/home/bamboo/buckminster-4.3/buckminster
bamboo_capability_system_builder_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node
bamboo_capability_system_builder_command_buckminster_4_4=/home/bamboo/buckminster-4.4/buckminster
bamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster
bamboo_planRepository_1_branchDisplayName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_repository_revision_number=39f39bf5c2b280eff1df20ba37a5261d5601bd9f
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/FD-CORE61-JOB1-7
bamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build
bamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
bamboo_planRepository_1_name=FarmDoc
bamboo_buildKey=FD-CORE61-JOB1
bamboo_capability_system_os=linux
bamboo_shortPlanName=feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_planRepository_name=FarmDoc
bamboo_repository_177143830_revision_number=39f39bf5c2b280eff1df20ba37a5261d5601bd9f
bamboo_buildNumber=7
bamboo_capability_system_builder_node_grunt_6=/home/bamboo/node-v6.9.1/bin/grunt
bamboo_repository_177143830_branch_name=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/FD-CORE61-JOB1-7
bamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git
bamboo_agentId=143032321
bamboo_planName=FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_shortPlanKey=CORE61
bamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt
bamboo_repository_177143830_git_username=
bamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node
bamboo_shortJobKey=JOB1
bamboo_repository_177143830_previous_revision_number=3caef32cb445a58486f5b06620716ae688a79637
bamboo_planRepository_revision=39f39bf5c2b280eff1df20ba37a5261d5601bd9f
bamboo_buildTimeStamp=2019-09-26T09:12:00.071-05:00
bamboo_repository_previous_revision_number=3caef32cb445a58486f5b06620716ae688a79637
bamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm
bamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1
bamboo_planRepository_previousRevision=3caef32cb445a58486f5b06620716ae688a79637
bamboo_repository_git_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_buildResultKey=FD-CORE61-JOB1-7
bamboo_repository_branch_name=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_buildPlanName=FarmDoc - Core - feature-FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token - Default Job
bamboo_planRepository_1_revision=39f39bf5c2b280eff1df20ba37a5261d5601bd9f
bamboo_capability_system_builder_command_python3=/usr/bin/python3
bamboo_repository_name=FarmDoc
bamboo_buildFailed=false
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt
bamboo_planRepository_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_repository_177143830_git_branch=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=3caef32cb445a58486f5b06620716ae688a79637
bamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13
bamboo_repository_177143830_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git
bamboo_planRepository_branchDisplayName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
bamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7
bamboo_repository_177143830_name=FarmDoc
bamboo_capability_system_hostname=buildserver-1
bamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_software_mongo=/usr/bin/mongo
bamboo_plan_storageTag=plan-177012758
bamboo_hg_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_hg-repositories-cache
bamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs
bamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl
bamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66
bamboo_planRepository_1_username=
bamboo_planRepository_type=bbserver
bamboo_git_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache
bamboo_repository_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git
bamboo_capability_system_builder_node_Node_js=/home/bamboo/node-v0.10.28/bin/node
bamboo_capability_system_builder_ant_Ant=/home/bamboo/apache-ant-1.9.4
bamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/apache-maven-3.3.9
bamboo_tmp_directory=/home/bamboo/bamboo-agent-home/temp
bamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
bamboo_planKey=FD-CORE61
bamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/fd/farmdoc.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_jdk_JDK_1_6=/home/bamboo/jdk1.6.0_41
bamboo_capability_system_builder_command_mkcrx=/home/bamboo/mkcrx/mkcrx.sh
bamboo_capability_system_jdk_JDK_1_7=/home/bamboo/jdk1.7.0_60
bamboo_planRepository_1_branchName=feature/FD-162-update-login-endpoint-to-authenticate-against-keycloak-to-get-token
PATH=/home/bamboo/node-v6.9.1/bin/:/home/bamboo/jdk1.8.0_66/bin:/home/bamboo/node-v0.10.28/bin:/usr/bin:/bin
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
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
26-Sep-2019 09:12:31 farmdoc@1.0.0-alpha.0 /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1
26-Sep-2019 09:12:31 └── ol@4.6.5
26-Sep-2019 09:12:31
26-Sep-2019 09:12:31 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
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"})
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):
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"})
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):
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"})
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):
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"})
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):
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"})
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.
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.
26-Sep-2019 09:12:31 npm ERR! Linux 4.4.0-164-generic
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"
26-Sep-2019 09:12:31 npm ERR! node v6.9.1
26-Sep-2019 09:12:31 npm ERR! npm  v3.10.8
26-Sep-2019 09:12:31 npm ERR! path /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules
26-Sep-2019 09:12:31 npm ERR! code EACCES
26-Sep-2019 09:12:31 npm ERR! errno -13
26-Sep-2019 09:12:31 npm ERR! syscall access
26-Sep-2019 09:12:31
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'
26-Sep-2019 09:12:31 npm ERR!     at Error (native)
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'
26-Sep-2019 09:12:31 npm ERR!     at Error (native)
26-Sep-2019 09:12:31 npm ERR!   errno: -13,
26-Sep-2019 09:12:31 npm ERR!   code: 'EACCES',
26-Sep-2019 09:12:31 npm ERR!   syscall: 'access',
26-Sep-2019 09:12:31 npm ERR!   path: '/home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/node_modules' }
26-Sep-2019 09:12:31 npm ERR!
26-Sep-2019 09:12:31 npm ERR! Please try running this command again as root/Administrator.
26-Sep-2019 09:12:31
26-Sep-2019 09:12:31 npm ERR! Please include the following file with any support request:
26-Sep-2019 09:12:31 npm ERR!     /home/bamboo/bamboo-agent-home/xml-data/build-dir/FD-CORE61-JOB1/npm-debug.log
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
26-Sep-2019 09:12:31 Finished task 'npm install' with result: Failed
26-Sep-2019 09:12:31 Running post build plugin 'Docker Container Cleanup'
26-Sep-2019 09:12:31 Running post build plugin 'NCover Results Collector'
26-Sep-2019 09:12:31 Running post build plugin 'Clover Results Collector'
26-Sep-2019 09:12:31 Running post build plugin 'npm Cache Cleanup'
26-Sep-2019 09:12:31 Running post build plugin 'Artifact Copier'
26-Sep-2019 09:12:31 Publishing an artifact: farmdoc-web
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.
26-Sep-2019 09:12:31 The artifact hasn't been successfully published after 371.7 μs
26-Sep-2019 09:12:31 Finalising the build...
26-Sep-2019 09:12:31 Stopping timer.
26-Sep-2019 09:12:31 Build FD-CORE61-JOB1-7 completed.
26-Sep-2019 09:12:31 Running on server: post build plugin 'NCover Results Collector'
26-Sep-2019 09:12:31 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Sep-2019 09:12:31 Running on server: post build plugin 'Clover Delta Calculator'
26-Sep-2019 09:12:31 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Sep-2019 09:12:31 All post build plugins have finished
26-Sep-2019 09:12:31 Generating build results summary...
26-Sep-2019 09:12:31 Saving build results to disk...
26-Sep-2019 09:12:31 Logging substituted variables...
26-Sep-2019 09:12:31 Indexing build results...
26-Sep-2019 09:12:31 Finished building FD-CORE61-JOB1-7.