simple 24-May-2022 12:42:16 Build OpenBoxes - Deploy Application - OB Demo 3 - Default Job #850 (OPENBOXES-OBD3-DJ-850) started building on agent OpenMRS Build Agent 1, bamboo version: 8.2.3 simple 24-May-2022 12:42:16 simple 24-May-2022 12:42:16 Build working directory is /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ simple 24-May-2022 12:42:16 Executing build OpenBoxes - Deploy Application - OB Demo 3 - Default Job #850 (OPENBOXES-OBD3-DJ-850) simple 24-May-2022 12:42:16 Starting task 'Checkout develop branch' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 24-May-2022 12:42:16 Checking out into /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ simple 24-May-2022 12:42:16 Updating source code to revision: 31e4152503b86b9053592dfb46c95677ee34377b simple 24-May-2022 12:42:16 Creating local git repository in '/opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ/.git'. simple 24-May-2022 12:42:16 Initialized empty Git repository in /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ/.git/ simple 24-May-2022 12:42:16 Fetching 'refs/heads/develop' from 'https://github.com/openboxes/openboxes.git'. simple 24-May-2022 12:42:19 From https://github.com/openboxes/openboxes simple 24-May-2022 12:42:19 * [new branch] develop -> develop simple 24-May-2022 12:42:19 * [new tag] show -> show simple 24-May-2022 12:42:19 * [new tag] v0.5.0.3 -> v0.5.0.3 simple 24-May-2022 12:42:19 * [new tag] v0.5.1.3 -> v0.5.1.3 simple 24-May-2022 12:42:19 * [new tag] v0.5.2 -> v0.5.2 simple 24-May-2022 12:42:19 * [new tag] v0.5.4 -> v0.5.4 simple 24-May-2022 12:42:19 * [new tag] v0.5.5 -> v0.5.5 simple 24-May-2022 12:42:19 * [new tag] v0.5.6 -> v0.5.6 simple 24-May-2022 12:42:19 * [new tag] v0.5.7 -> v0.5.7 simple 24-May-2022 12:42:19 * [new tag] v0.5.8 -> v0.5.8 simple 24-May-2022 12:42:19 * [new tag] v0.6.0 -> v0.6.0 simple 24-May-2022 12:42:19 * [new tag] v0.6.1 -> v0.6.1 simple 24-May-2022 12:42:19 * [new tag] v0.6.2 -> v0.6.2 simple 24-May-2022 12:42:19 * [new tag] v0.6.3 -> v0.6.3 simple 24-May-2022 12:42:19 * [new tag] v0.6.3.1 -> v0.6.3.1 simple 24-May-2022 12:42:19 * [new tag] v0.6.3.2 -> v0.6.3.2 simple 24-May-2022 12:42:19 * [new tag] v0.6.5 -> v0.6.5 simple 24-May-2022 12:42:19 * [new tag] v0.6.6 -> v0.6.6 simple 24-May-2022 12:42:19 * [new tag] v0.6.7 -> v0.6.7 simple 24-May-2022 12:42:19 * [new tag] v0.6.8 -> v0.6.8 simple 24-May-2022 12:42:19 * [new tag] v0.6.9 -> v0.6.9 simple 24-May-2022 12:42:19 * [new tag] v0.7.0 -> v0.7.0 simple 24-May-2022 12:42:19 * [new tag] v0.7.1 -> v0.7.1 simple 24-May-2022 12:42:19 * [new tag] v0.7.10 -> v0.7.10 simple 24-May-2022 12:42:19 * [new tag] v0.7.11 -> v0.7.11 simple 24-May-2022 12:42:19 * [new tag] v0.7.12 -> v0.7.12 simple 24-May-2022 12:42:19 * [new tag] v0.7.13 -> v0.7.13 simple 24-May-2022 12:42:19 * [new tag] v0.7.14 -> v0.7.14 simple 24-May-2022 12:42:19 * [new tag] v0.7.15 -> v0.7.15 simple 24-May-2022 12:42:19 * [new tag] v0.7.16 -> v0.7.16 simple 24-May-2022 12:42:19 * [new tag] v0.7.17 -> v0.7.17 simple 24-May-2022 12:42:19 * [new tag] v0.7.18 -> v0.7.18 simple 24-May-2022 12:42:19 * [new tag] v0.7.19 -> v0.7.19 simple 24-May-2022 12:42:19 * [new tag] v0.7.2 -> v0.7.2 simple 24-May-2022 12:42:19 * [new tag] v0.7.20 -> v0.7.20 simple 24-May-2022 12:42:19 * [new tag] v0.7.21 -> v0.7.21 simple 24-May-2022 12:42:19 * [new tag] v0.7.22 -> v0.7.22 simple 24-May-2022 12:42:19 * [new tag] v0.7.23 -> v0.7.23 simple 24-May-2022 12:42:19 * [new tag] v0.7.24 -> v0.7.24 simple 24-May-2022 12:42:19 * [new tag] v0.7.25 -> v0.7.25 simple 24-May-2022 12:42:19 * [new tag] v0.7.26 -> v0.7.26 simple 24-May-2022 12:42:19 * [new tag] v0.7.26-223 -> v0.7.26-223 simple 24-May-2022 12:42:19 * [new tag] v0.7.27 -> v0.7.27 simple 24-May-2022 12:42:19 * [new tag] v0.7.28 -> v0.7.28 simple 24-May-2022 12:42:19 * [new tag] v0.7.29 -> v0.7.29 simple 24-May-2022 12:42:19 * [new tag] v0.7.29.1 -> v0.7.29.1 simple 24-May-2022 12:42:19 * [new tag] v0.7.3 -> v0.7.3 simple 24-May-2022 12:42:19 * [new tag] v0.7.3.1 -> v0.7.3.1 simple 24-May-2022 12:42:19 * [new tag] v0.7.30 -> v0.7.30 simple 24-May-2022 12:42:19 * [new tag] v0.7.32 -> v0.7.32 simple 24-May-2022 12:42:19 * [new tag] v0.7.4 -> v0.7.4 simple 24-May-2022 12:42:19 * [new tag] v0.7.5 -> v0.7.5 simple 24-May-2022 12:42:19 * [new tag] v0.7.6 -> v0.7.6 simple 24-May-2022 12:42:19 * [new tag] v0.7.7 -> v0.7.7 simple 24-May-2022 12:42:19 * [new tag] v0.7.8 -> v0.7.8 simple 24-May-2022 12:42:19 * [new tag] v0.7.9 -> v0.7.9 simple 24-May-2022 12:42:19 * [new tag] v0.8.10 -> v0.8.10 simple 24-May-2022 12:42:19 * [new tag] v0.8.11 -> v0.8.11 simple 24-May-2022 12:42:19 * [new tag] v0.8.12 -> v0.8.12 simple 24-May-2022 12:42:19 * [new tag] v0.8.13 -> v0.8.13 simple 24-May-2022 12:42:19 * [new tag] v0.8.13-hotfix1 -> v0.8.13-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.13-hotfix2 -> v0.8.13-hotfix2 simple 24-May-2022 12:42:19 * [new tag] v0.8.14 -> v0.8.14 simple 24-May-2022 12:42:19 * [new tag] v0.8.14-hotfix1 -> v0.8.14-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.15 -> v0.8.15 simple 24-May-2022 12:42:19 * [new tag] v0.8.15-hotfix1 -> v0.8.15-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.15-hotfix2 -> v0.8.15-hotfix2 simple 24-May-2022 12:42:19 * [new tag] v0.8.15-hotfix3 -> v0.8.15-hotfix3 simple 24-May-2022 12:42:19 * [new tag] v0.8.16 -> v0.8.16 simple 24-May-2022 12:42:19 * [new tag] v0.8.16-hotfix1 -> v0.8.16-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.16-hotfix2 -> v0.8.16-hotfix2 simple 24-May-2022 12:42:19 * [new tag] v0.8.16-hotfix3 -> v0.8.16-hotfix3 simple 24-May-2022 12:42:19 * [new tag] v0.8.17 -> v0.8.17 simple 24-May-2022 12:42:19 * [new tag] v0.8.5 -> v0.8.5 simple 24-May-2022 12:42:19 * [new tag] v0.8.6 -> v0.8.6 simple 24-May-2022 12:42:19 * [new tag] v0.8.6-hotfix1 -> v0.8.6-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.7 -> v0.8.7 simple 24-May-2022 12:42:19 * [new tag] v0.8.7-hotfix1 -> v0.8.7-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.7-hotfix2 -> v0.8.7-hotfix2 simple 24-May-2022 12:42:19 * [new tag] v0.8.8 -> v0.8.8 simple 24-May-2022 12:42:19 * [new tag] v0.8.8-hotfix1 -> v0.8.8-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.8-hotfix2 -> v0.8.8-hotfix2 simple 24-May-2022 12:42:19 * [new tag] v0.8.9 -> v0.8.9 simple 24-May-2022 12:42:19 * [new tag] v0.8.9-hotfix1 -> v0.8.9-hotfix1 simple 24-May-2022 12:42:19 * [new tag] v0.8.9-hotfix2 -> v0.8.9-hotfix2 simple 24-May-2022 12:42:19 Checking out revision 31e4152503b86b9053592dfb46c95677ee34377b. simple 24-May-2022 12:42:19 Note: switching to '31e4152503b86b9053592dfb46c95677ee34377b'. simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 You are in 'detached HEAD' state. You can look around, make experimental simple 24-May-2022 12:42:19 changes and commit them, and you can discard any commits you make in this simple 24-May-2022 12:42:19 state without impacting any branches by switching back to a branch. simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 If you want to create a new branch to retain commits you create, you may simple 24-May-2022 12:42:19 do so (now or later) by using -c with the switch command. Example: simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 git switch -c simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 Or undo this operation with: simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 git switch - simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 Turn off this advice by setting config variable advice.detachedHead to false simple 24-May-2022 12:42:19 simple 24-May-2022 12:42:19 HEAD is now at 31e415250 Merge pull request #3225 from openboxes/OBPIH-3384 simple 24-May-2022 12:42:19 Updated source code to revision: 31e4152503b86b9053592dfb46c95677ee34377b simple 24-May-2022 12:42:19 Finished task 'Checkout develop branch' with result: Success simple 24-May-2022 12:42:19 Running pre-build action: VCS Version Collector simple 24-May-2022 12:42:19 Running pre-build action: Build Log Labeller Pre Build Action simple 24-May-2022 12:42:19 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm' simple 24-May-2022 12:42:19 Unable to find executable at /usr/local/bin/node. Will try to run it anyway. command 24-May-2022 12:42:19 Beginning to execute external process for build 'OpenBoxes - Deploy Application - OB Demo 3 - Default Job #850 (OPENBOXES-OBD3-DJ-850)'\n ... running command line: \n/usr/local/bin/node /usr/local/bin/npm install\n ... in: /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ\n simple 24-May-2022 12:42:19 Failing task since return code of [/usr/local/bin/node /usr/local/bin/npm install] was -1 while expected 0 simple 24-May-2022 12:42:19 Finished task 'npm install' with result: Failed simple 24-May-2022 12:42:19 Starting task 'Start tomcat after deployment' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 24-May-2022 12:42:19 Beginning to execute external process for build 'OpenBoxes - Deploy Application - OB Demo 3 - Default Job #850 (OPENBOXES-OBD3-DJ-850)'\n ... running command line: \n/usr/bin/ssh jmiranda@demo3.openboxes.com /home/jmiranda/scripts/tomcat-restart.sh\n ... in: /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ\n error 24-May-2022 12:42:19 Host key verification failed. simple 24-May-2022 12:42:19 Failing task since return code of [/usr/bin/ssh jmiranda@demo3.openboxes.com /home/jmiranda/scripts/tomcat-restart.sh] was 255 while expected 0 simple 24-May-2022 12:42:19 Finished task 'Start tomcat after deployment' with result: Failed simple 24-May-2022 12:42:19 Running post build plugin 'Artifact Copier' simple 24-May-2022 12:42:19 Publishing an artifact: Latest WAR error 24-May-2022 12:42:19 Unable to publish artifact [Latest WAR]: the source directory /opt/bamboo-home/local-working-dir/OPENBOXES-OBD3-DJ/target does not exist. simple 24-May-2022 12:42:19 The artifact hasn't been successfully published after 527.1 μs simple 24-May-2022 12:42:19 Running post build plugin 'npm Cache Cleanup' simple 24-May-2022 12:42:19 Running post build plugin 'NCover Results Collector' simple 24-May-2022 12:42:19 Running post build plugin 'Build Results Label Collector' simple 24-May-2022 12:42:19 Running post build plugin 'Clover Results Collector' simple 24-May-2022 12:42:19 Running post build plugin 'Docker Container Cleanup' simple 24-May-2022 12:42:19 Finalising the build... simple 24-May-2022 12:42:19 Stopping timer. simple 24-May-2022 12:42:19 Build OPENBOXES-OBD3-DJ-850 completed. simple 24-May-2022 12:42:19 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 24-May-2022 12:42:19 Running on server: post build plugin 'NCover Results Collector' simple 24-May-2022 12:42:19 Running on server: post build plugin 'Build Labeller' simple 24-May-2022 12:42:19 Running on server: post build plugin 'Clover Delta Calculator' simple 24-May-2022 12:42:19 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 24-May-2022 12:42:19 All post build plugins have finished simple 24-May-2022 12:42:19 Generating build results summary... simple 24-May-2022 12:42:19 Saving build results to disk... simple 24-May-2022 12:42:19 Store variable context... simple 24-May-2022 12:42:19 Finished building OPENBOXES-OBD3-DJ-850.