Build: #232 failed

Job: Default Job failed

Stages & jobs

  1. Build

Build log

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

24-May-2022 12:10:05 Build OpenBoxes - Deploy Application - OBKN Development (OBKN) - Default Job #232 (OPENBOXES-DAOT-DJ-232) started building on agent Default Agent, bamboo version: 8.2.3
24-May-2022 12:10:05
24-May-2022 12:10:05 Build working directory is /opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ
24-May-2022 12:10:05 Executing build OpenBoxes - Deploy Application - OBKN Development (OBKN) - Default Job #232 (OPENBOXES-DAOT-DJ-232)
24-May-2022 12:10:05 Starting task 'Checkout develop branch' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
24-May-2022 12:10:05 Checking out into /opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ
24-May-2022 12:10:05 Updating source code to revision: b71c7bcef72a664b35382bd289f8f3a87b9a6419
24-May-2022 12:10:05 Fetching 'refs/heads/feature/obkn-integration' from 'https://github.com/openboxes/openboxes'.
24-May-2022 12:10:06 From https://github.com/openboxes/openboxes
24-May-2022 12:10:06 * [new branch]          feature/obkn-integration -> feature/obkn-integration
24-May-2022 12:10:06 * [new tag]             show                     -> show
24-May-2022 12:10:06 * [new tag]             v0.5.0.3                 -> v0.5.0.3
24-May-2022 12:10:06 * [new tag]             v0.5.1.3                 -> v0.5.1.3
24-May-2022 12:10:06 * [new tag]             v0.5.2                   -> v0.5.2
24-May-2022 12:10:06 * [new tag]             v0.5.4                   -> v0.5.4
24-May-2022 12:10:06 * [new tag]             v0.5.5                   -> v0.5.5
24-May-2022 12:10:06 * [new tag]             v0.5.6                   -> v0.5.6
24-May-2022 12:10:06 * [new tag]             v0.5.7                   -> v0.5.7
24-May-2022 12:10:06 * [new tag]             v0.5.8                   -> v0.5.8
24-May-2022 12:10:06 * [new tag]             v0.6.0                   -> v0.6.0
24-May-2022 12:10:06 * [new tag]             v0.6.1                   -> v0.6.1
24-May-2022 12:10:06 * [new tag]             v0.6.2                   -> v0.6.2
24-May-2022 12:10:06 * [new tag]             v0.6.3                   -> v0.6.3
24-May-2022 12:10:06 * [new tag]             v0.6.3.1                 -> v0.6.3.1
24-May-2022 12:10:06 * [new tag]             v0.6.3.2                 -> v0.6.3.2
24-May-2022 12:10:06 * [new tag]             v0.6.5                   -> v0.6.5
24-May-2022 12:10:06 * [new tag]             v0.6.6                   -> v0.6.6
24-May-2022 12:10:06 * [new tag]             v0.6.7                   -> v0.6.7
24-May-2022 12:10:06 * [new tag]             v0.6.8                   -> v0.6.8
24-May-2022 12:10:06 * [new tag]             v0.6.9                   -> v0.6.9
24-May-2022 12:10:06 * [new tag]             v0.7.0                   -> v0.7.0
24-May-2022 12:10:06 * [new tag]             v0.7.1                   -> v0.7.1
24-May-2022 12:10:06 * [new tag]             v0.7.10                  -> v0.7.10
24-May-2022 12:10:06 * [new tag]             v0.7.11                  -> v0.7.11
24-May-2022 12:10:06 * [new tag]             v0.7.12                  -> v0.7.12
24-May-2022 12:10:06 * [new tag]             v0.7.13                  -> v0.7.13
24-May-2022 12:10:06 * [new tag]             v0.7.14                  -> v0.7.14
24-May-2022 12:10:06 * [new tag]             v0.7.15                  -> v0.7.15
24-May-2022 12:10:06 * [new tag]             v0.7.16                  -> v0.7.16
24-May-2022 12:10:06 * [new tag]             v0.7.17                  -> v0.7.17
24-May-2022 12:10:06 * [new tag]             v0.7.18                  -> v0.7.18
24-May-2022 12:10:06 * [new tag]             v0.7.19                  -> v0.7.19
24-May-2022 12:10:06 * [new tag]             v0.7.2                   -> v0.7.2
24-May-2022 12:10:06 * [new tag]             v0.7.20                  -> v0.7.20
24-May-2022 12:10:06 * [new tag]             v0.7.21                  -> v0.7.21
24-May-2022 12:10:06 * [new tag]             v0.7.22                  -> v0.7.22
24-May-2022 12:10:06 * [new tag]             v0.7.23                  -> v0.7.23
24-May-2022 12:10:06 * [new tag]             v0.7.24                  -> v0.7.24
24-May-2022 12:10:06 * [new tag]             v0.7.25                  -> v0.7.25
24-May-2022 12:10:06 * [new tag]             v0.7.26                  -> v0.7.26
24-May-2022 12:10:06 * [new tag]             v0.7.26-223              -> v0.7.26-223
24-May-2022 12:10:06 * [new tag]             v0.7.27                  -> v0.7.27
24-May-2022 12:10:06 * [new tag]             v0.7.28                  -> v0.7.28
24-May-2022 12:10:06 * [new tag]             v0.7.29                  -> v0.7.29
24-May-2022 12:10:06 * [new tag]             v0.7.29.1                -> v0.7.29.1
24-May-2022 12:10:06 * [new tag]             v0.7.3                   -> v0.7.3
24-May-2022 12:10:06 * [new tag]             v0.7.3.1                 -> v0.7.3.1
24-May-2022 12:10:06 * [new tag]             v0.7.30                  -> v0.7.30
24-May-2022 12:10:06 * [new tag]             v0.7.32                  -> v0.7.32
24-May-2022 12:10:06 * [new tag]             v0.7.4                   -> v0.7.4
24-May-2022 12:10:06 * [new tag]             v0.7.5                   -> v0.7.5
24-May-2022 12:10:06 * [new tag]             v0.7.6                   -> v0.7.6
24-May-2022 12:10:06 * [new tag]             v0.7.7                   -> v0.7.7
24-May-2022 12:10:06 * [new tag]             v0.7.8                   -> v0.7.8
24-May-2022 12:10:06 * [new tag]             v0.7.9                   -> v0.7.9
24-May-2022 12:10:06 * [new tag]             v0.8.10                  -> v0.8.10
24-May-2022 12:10:06 * [new tag]             v0.8.11                  -> v0.8.11
24-May-2022 12:10:06 * [new tag]             v0.8.12                  -> v0.8.12
24-May-2022 12:10:06 * [new tag]             v0.8.13                  -> v0.8.13
24-May-2022 12:10:06 * [new tag]             v0.8.13-hotfix1          -> v0.8.13-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.13-hotfix2          -> v0.8.13-hotfix2
24-May-2022 12:10:06 * [new tag]             v0.8.14                  -> v0.8.14
24-May-2022 12:10:06 * [new tag]             v0.8.14-hotfix1          -> v0.8.14-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.15                  -> v0.8.15
24-May-2022 12:10:06 * [new tag]             v0.8.15-hotfix1          -> v0.8.15-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.15-hotfix2          -> v0.8.15-hotfix2
24-May-2022 12:10:06 * [new tag]             v0.8.15-hotfix3          -> v0.8.15-hotfix3
24-May-2022 12:10:06 * [new tag]             v0.8.16                  -> v0.8.16
24-May-2022 12:10:06 * [new tag]             v0.8.16-hotfix1          -> v0.8.16-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.16-hotfix2          -> v0.8.16-hotfix2
24-May-2022 12:10:06 * [new tag]             v0.8.16-hotfix3          -> v0.8.16-hotfix3
24-May-2022 12:10:06 * [new tag]             v0.8.17                  -> v0.8.17
24-May-2022 12:10:06 * [new tag]             v0.8.5                   -> v0.8.5
24-May-2022 12:10:06 * [new tag]             v0.8.6                   -> v0.8.6
24-May-2022 12:10:06 * [new tag]             v0.8.6-hotfix1           -> v0.8.6-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.7                   -> v0.8.7
24-May-2022 12:10:06 * [new tag]             v0.8.7-hotfix1           -> v0.8.7-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.7-hotfix2           -> v0.8.7-hotfix2
24-May-2022 12:10:06 * [new tag]             v0.8.8                   -> v0.8.8
24-May-2022 12:10:06 * [new tag]             v0.8.8-hotfix1           -> v0.8.8-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.8-hotfix2           -> v0.8.8-hotfix2
24-May-2022 12:10:06 * [new tag]             v0.8.9                   -> v0.8.9
24-May-2022 12:10:06 * [new tag]             v0.8.9-hotfix1           -> v0.8.9-hotfix1
24-May-2022 12:10:06 * [new tag]             v0.8.9-hotfix2           -> v0.8.9-hotfix2
24-May-2022 12:10:06 Checking out revision b71c7bcef72a664b35382bd289f8f3a87b9a6419.
24-May-2022 12:10:06 Creating local git repository in '/opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ/.git'.
24-May-2022 12:10:06 Cloning into '/opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ'...
24-May-2022 12:10:06 done.
24-May-2022 12:10:06 Switched to a new branch 'feature/obkn-integration'
24-May-2022 12:10:06 Branch 'feature/obkn-integration' set up to track remote branch 'feature/obkn-integration' from 'origin'.
24-May-2022 12:10:06 Updated source code to revision: b71c7bcef72a664b35382bd289f8f3a87b9a6419
24-May-2022 12:10:06 Finished task 'Checkout develop branch' with result: Success
24-May-2022 12:10:06 Running pre-build action: VCS Version Collector
24-May-2022 12:10:06 Running pre-build action: Build Log Labeller Pre Build Action
24-May-2022 12:10:06 Starting task 'npm install' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm'
24-May-2022 12:10:06 Unable to find executable at /usr/local/bin/node. Will try to run it anyway.
24-May-2022 12:10:06
Beginning to execute external process for build 'OpenBoxes - Deploy Application - OBKN Development (OBKN) - Default Job #232 (OPENBOXES-DAOT-DJ-232)'
... running command line:
/usr/local/bin/node /usr/local/bin/npm install
... in: /opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ
24-May-2022 12:10:06 Failing task since return code of [/usr/local/bin/node /usr/local/bin/npm install] was -1 while expected 0
24-May-2022 12:10:06 Finished task 'npm install' with result: Failed
24-May-2022 12:10:06 Starting task 'Start tomcat after deployment' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
24-May-2022 12:10:06
Beginning to execute external process for build 'OpenBoxes - Deploy Application - OBKN Development (OBKN) - Default Job #232 (OPENBOXES-DAOT-DJ-232)'
... running command line:
/usr/bin/ssh root@kn.openboxes.com ./tomcat-restart.sh
... in: /opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ
24-May-2022 12:10:07 Host key verification failed.
24-May-2022 12:10:07 Failing task since return code of [/usr/bin/ssh root@kn.openboxes.com ./tomcat-restart.sh] was 255 while expected 0
24-May-2022 12:10:07 Finished task 'Start tomcat after deployment' with result: Failed
24-May-2022 12:10:07 Running post build plugin 'Artifact Copier'
24-May-2022 12:10:07 Publishing an artifact: Latest WAR
24-May-2022 12:10:07 Unable to publish artifact [Latest WAR]: the source directory /opt/bamboo-home/local-working-dir/OPENBOXES-DAOT-DJ/target does not exist.
24-May-2022 12:10:07 The artifact hasn't been successfully published after 492.7 μs
24-May-2022 12:10:07 Running post build plugin 'npm Cache Cleanup'
24-May-2022 12:10:07 Running post build plugin 'NCover Results Collector'
24-May-2022 12:10:07 Running post build plugin 'Build Results Label Collector'
24-May-2022 12:10:07 Running post build plugin 'Clover Results Collector'
24-May-2022 12:10:07 Running post build plugin 'Docker Container Cleanup'
24-May-2022 12:10:07 Finalising the build...
24-May-2022 12:10:07 Stopping timer.
24-May-2022 12:10:07 Build OPENBOXES-DAOT-DJ-232 completed.
24-May-2022 12:10:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-May-2022 12:10:07 Running on server: post build plugin 'NCover Results Collector'
24-May-2022 12:10:07 Running on server: post build plugin 'Build Labeller'
24-May-2022 12:10:07 Running on server: post build plugin 'Clover Delta Calculator'
24-May-2022 12:10:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-May-2022 12:10:07 All post build plugins have finished
24-May-2022 12:10:07 Generating build results summary...
24-May-2022 12:10:07 Saving build results to disk...
24-May-2022 12:10:07 Store variable context...
24-May-2022 12:10:07 Finished building OPENBOXES-DAOT-DJ-232.