simple 09-May-2023 18:37:56 Build OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508) is being prepared for building on agent obagent1.pih-emr.org (3), bamboo version: 9.2.1 simple 09-May-2023 18:37:56 Remote agent on host obagent1.pih-emr.org simple 09-May-2023 18:37:56 Build working directory is /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ simple 09-May-2023 18:37:56 Executing build OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508) simple 09-May-2023 18:37:56 Starting task 'check out release branch' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 09-May-2023 18:37:56 Build always requires a clean checkout simple 09-May-2023 18:37:56 Cleaning build directory '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ' simple 09-May-2023 18:37:59 Checking out into /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ simple 09-May-2023 18:37:59 Updating source code to revision: b0a92dfea279c20ece6a5e0bd23ea570a24525b4 simple 09-May-2023 18:37:59 Fetching 'refs/heads/release/0.8.22' from 'https://github.com/openboxes/openboxes'. simple 09-May-2023 18:37:59 Checking out revision b0a92dfea279c20ece6a5e0bd23ea570a24525b4. simple 09-May-2023 18:37:59 Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ/.git'. simple 09-May-2023 18:37:59 Cloning into '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ'... simple 09-May-2023 18:37:59 done. simple 09-May-2023 18:38:00 Switched to a new branch 'release/0.8.22' simple 09-May-2023 18:38:00 Branch 'release/0.8.22' set up to track remote branch 'release/0.8.22' from 'origin'. simple 09-May-2023 18:38:00 Updated source code to revision: b0a92dfea279c20ece6a5e0bd23ea570a24525b4 simple 09-May-2023 18:38:00 Finished task 'check out release branch' with result: Success simple 09-May-2023 18:38:00 Running pre-build action: Build Log Labeller Pre Build Action simple 09-May-2023 18:38:00 Running pre-build action: VCS Version Collector simple 09-May-2023 18:38:00 Build OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508) started building on agent 'obagent1.pih-emr.org (3)' (Remote agent on host obagent1.pih-emr.org) simple 09-May-2023 18:38:00 Starting task 'let npm run as root (OBPIH-4330)' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 09-May-2023 18:38:00 Beginning to execute external process for build 'OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508)'\n ... running command line: \n/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/node /home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/npm config set unsafe-perm true\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ\n simple 09-May-2023 18:38:00 Finished task 'let npm run as root (OBPIH-4330)' with result: Success simple 09-May-2023 18:38:00 Starting task 'install node packages' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' command 09-May-2023 18:38:00 Beginning to execute external process for build 'OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508)'\n ... running command line: \n/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/node /home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/npm install\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ\n simple 09-May-2023 18:38:08 Failing task since return code of [/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/node /home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/npm install] was 143 while expected 0 simple 09-May-2023 18:38:08 Finished task 'install node packages' with result: Failed simple 09-May-2023 18:38:08 Starting task 'restart tomcat via ssh' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 09-May-2023 18:38:08 Beginning to execute external process for build 'OpenBoxes - ☆ obnavstage ← release - Default Job #508 (OPENBOXES-SDONS-DJ-508)'\n ... running command line: \n/usr/bin/ssh bamboo@10.160.28.11 /opt/restart-tomcat.sh\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ\n error 09-May-2023 18:38:08 ssh: connect to host 10.160.28.11 port 22: No route to host simple 09-May-2023 18:38:08 Failing task since return code of [/usr/bin/ssh bamboo@10.160.28.11 /opt/restart-tomcat.sh] was 255 while expected 0 simple 09-May-2023 18:38:08 Finished task 'restart tomcat via ssh' with result: Failed simple 09-May-2023 18:38:08 Running post build plugin 'Docker Container Cleanup' simple 09-May-2023 18:38:08 Running post build plugin 'NCover Results Collector' simple 09-May-2023 18:38:08 Running post build plugin 'Build Results Label Collector' simple 09-May-2023 18:38:08 Running post build plugin 'Clover Results Collector' simple 09-May-2023 18:38:08 Running post build plugin 'npm Cache Cleanup' simple 09-May-2023 18:38:08 Running post build plugin 'Artifact Copier' simple 09-May-2023 18:38:08 Publishing an artifact: Latest WAR error 09-May-2023 18:38:08 Unable to publish artifact [Latest WAR]: the source directory /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-SDONS-DJ/target does not exist. simple 09-May-2023 18:38:08 The artifact hasn't been successfully published after 3.743 ms simple 09-May-2023 18:38:08 Finalising the build... simple 09-May-2023 18:38:08 Stopping timer. simple 09-May-2023 18:38:08 Build OPENBOXES-SDONS-DJ-508 completed. error 09-May-2023 18:38:08 Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped. simple 09-May-2023 18:38:08 Attempting to generate stack trace and terminate spawned sub-processes of process id: 2200760 simple 09-May-2023 18:38:08 getStackTraceAndKillRelatedProcesses for 0 processes simple 09-May-2023 18:38:08 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 09-May-2023 18:38:08 Running on server: post build plugin 'NCover Results Collector' simple 09-May-2023 18:38:08 Running on server: post build plugin 'Build Labeller' simple 09-May-2023 18:38:08 Running on server: post build plugin 'Clover Delta Calculator' simple 09-May-2023 18:38:08 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 09-May-2023 18:38:08 All post build plugins have finished simple 09-May-2023 18:38:08 Generating build results summary... simple 09-May-2023 18:38:08 Saving build results to disk... simple 09-May-2023 18:38:08 Store variable context... simple 09-May-2023 18:38:08 Finished building OPENBOXES-SDONS-DJ-508. simple 09-May-2023 18:38:18 Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped. simple 09-May-2023 18:38:18 Has finished generating stack trace and terminating spawned sub-processes of process id: 2200760