Build: #850 failed

Job: Default Job failed

Stages & jobs

  1. Build

Build log

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

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