Deploy OpenBoxes (Grails 3) to obdev3.pih-emr.org

Build: #26 failed

Job: Default Job failed

Stages & jobs

  1. Build

Build log

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

11-Apr-2023 23:49:39 Build OpenBoxes - ☆ obdev3 ← develop - Default Job #26 (OPENBOXES-OBDEV3-DJ-26) is being prepared for building on agent obdev4.pih-emr.org (2), bamboo version: 9.2.1
11-Apr-2023 23:49:39 Remote agent on host obdev4.pih-emr.org
11-Apr-2023 23:49:39 Build working directory is /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ
11-Apr-2023 23:49:39 Executing build OpenBoxes - ☆ obdev3 ← develop - Default Job #26 (OPENBOXES-OBDEV3-DJ-26)
11-Apr-2023 23:49:39 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
11-Apr-2023 23:49:39 Build always requires a clean checkout
11-Apr-2023 23:49:39 Cleaning build directory '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ'
11-Apr-2023 23:49:39 Checking out into /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ
11-Apr-2023 23:49:39 Updating source code to revision: 5db779af4a2a89b7d5a4954ffc1c0138e2d74449
11-Apr-2023 23:49:40 Fetching 'refs/heads/develop' from 'https://github.com/openboxes/openboxes'.
11-Apr-2023 23:49:40 Checking out revision 5db779af4a2a89b7d5a4954ffc1c0138e2d74449.
11-Apr-2023 23:49:40 Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ/.git'.
11-Apr-2023 23:49:40 Cloning into '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ'...
11-Apr-2023 23:49:40 done.
11-Apr-2023 23:49:40 Switched to a new branch 'develop'
11-Apr-2023 23:49:40 Branch 'develop' set up to track remote branch 'develop' from 'origin'.
11-Apr-2023 23:49:40 Updated source code to revision: 5db779af4a2a89b7d5a4954ffc1c0138e2d74449
11-Apr-2023 23:49:40 Finished task 'Source Code Checkout' with result: Success
11-Apr-2023 23:49:40 Running pre-build action: Build Log Labeller Pre Build Action
11-Apr-2023 23:49:40 Running pre-build action: VCS Version Collector
11-Apr-2023 23:49:40 Build OpenBoxes - ☆ obdev3 ← develop - Default Job #26 (OPENBOXES-OBDEV3-DJ-26) started building on agent 'obdev4.pih-emr.org (2)' (Remote agent on host obdev4.pih-emr.org)
11-Apr-2023 23:49:40 Starting task 'Dump variables to log' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump'
11-Apr-2023 23:49:40 ---- DUMPING VARIABLES TO LOG ---
11-Apr-2023 23:49:40 key: [ManualBuildTriggerReason.userName] value: [mpearson] type: CUSTOM
11-Apr-2023 23:49:40 key: [agentId] value: [684818440] type: CUSTOM
11-Apr-2023 23:49:40 key: [agentWorkingDirectory] value: [/home/bamboo/remote-agent/xml-data/build-dir] type: CUSTOM
11-Apr-2023 23:49:40 key: [build.working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildFailed] value: [false] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildKey] value: [OPENBOXES-OBDEV3-DJ] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildNumber] value: [26] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildPlanName] value: [OpenBoxes - ☆ obdev3 ← develop - Default Job] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildResultKey] value: [OPENBOXES-OBDEV3-DJ-26] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildResultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-26] type: CUSTOM
11-Apr-2023 23:49:40 key: [buildTimeStamp] value: [2023-04-11T23:49:38.880Z] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.builder.command.ssh] value: [/usr/bin/ssh] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.builder.grailsBuilder.Grails 1.3] value: [/home/bamboo/remote-agent/build_tools/grails-1.3.9] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.builder.grailsBuilder.Grails 3.3] value: [/home/bamboo/remote-agent/build_tools/grails-3.3.16] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.builder.node.Node.js 14.21] value: [/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/node] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.git.executable] value: [/usr/bin/git] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.jdk.JDK] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.jdk.JDK 1.7] value: [/usr/lib/jvm/zulu7-ca-amd64] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.jdk.JDK 1.7.0_352] value: [/usr/lib/jvm/zulu7-ca-amd64] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.jdk.JDK 1.8] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM
11-Apr-2023 23:49:40 key: [capability.system.jdk.JDK 1.8.0_362] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM
11-Apr-2023 23:49:40 key: [dependenciesDisabled] value: [false] type: CUSTOM
11-Apr-2023 23:49:40 key: [git.cache.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache] type: CUSTOM
11-Apr-2023 23:49:40 key: [gpg.keyname] value: [mgoodrich@pih.org] type: GLOBAL
11-Apr-2023 23:49:40 key: [gpg.passphrase] value: [**********] type: GLOBAL
11-Apr-2023 23:49:40 key: [plan.storageTag] value: [plan-666468407] type: CUSTOM
11-Apr-2023 23:49:40 key: [planKey] value: [OPENBOXES-OBDEV3] type: CUSTOM
11-Apr-2023 23:49:40 key: [planName] value: [OpenBoxes - ☆ obdev3 ← develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.branch] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.branchDisplayName] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.branchName] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.name] value: [openboxes-develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.previousRevision] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.repositoryUrl] value: [https://github.com/openboxes/openboxes] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.revision] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.type] value: [gitv2] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.1.username] value: [] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.previousRevision] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.revision] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.type] value: [gh2] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.2.username] value: [matthew.d.pearson@me.com] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.branch] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.branchDisplayName] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.branchName] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.name] value: [openboxes-develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.previousRevision] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.repositoryUrl] value: [https://github.com/openboxes/openboxes] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.revision] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.type] value: [gitv2] type: CUSTOM
11-Apr-2023 23:49:40 key: [planRepository.username] value: [] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.previous.revision.number] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.666632244.revision.number] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.branch.name] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.git.branch] value: [develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.git.repositoryUrl] value: [https://github.com/openboxes/openboxes] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.git.username] value: [] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.name] value: [openboxes-develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.previous.revision.number] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.684359759.revision.number] value: [5db779af4a2a89b7d5a4954ffc1c0138e2d74449] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.previous.revision.number] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [repository.revision.number] value: [4cea80f276ac947df2bf3633f64f6da9923386d6] type: CUSTOM
11-Apr-2023 23:49:40 key: [resultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-26] type: CUSTOM
11-Apr-2023 23:49:40 key: [shortJobKey] value: [DJ] type: CUSTOM
11-Apr-2023 23:49:40 key: [shortJobName] value: [Default Job] type: CUSTOM
11-Apr-2023 23:49:40 key: [shortPlanBranchName] value: [] type: CUSTOM
11-Apr-2023 23:49:40 key: [shortPlanKey] value: [OBDEV3] type: CUSTOM
11-Apr-2023 23:49:40 key: [shortPlanName] value: [☆ obdev3 ← develop] type: CUSTOM
11-Apr-2023 23:49:40 key: [tmp.directory] value: [/home/bamboo/remote-agent/temp] type: CUSTOM
11-Apr-2023 23:49:40 key: [working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM
11-Apr-2023 23:49:40 ---- END DUMPING VARIABLES TO LOG  ---
11-Apr-2023 23:49:40 Finished task 'Dump variables to log' with result: Success
11-Apr-2023 23:49:40
Substituting variable: ${bamboo.buildNumber} with 26
11-Apr-2023 23:49:40 Starting task 'grails prod war --non-interactive --plain-output --stacktrace' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType'
11-Apr-2023 23:49:40
Beginning to execute external process for build 'OpenBoxes - ☆ obdev3 ← develop - Default Job #26 (OPENBOXES-OBDEV3-DJ-26)'
... running command line:
/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=26 prod war --non-interactive --plain-output --stacktrace
... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ
11-Apr-2023 23:49:41 Error |
11-Apr-2023 23:49:41 Error occurred running Grails CLI: null (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
11-Apr-2023 23:49:41 java.lang.NullPointerException
11-Apr-2023 23:49:41         at org.grails.cli.GrailsCli.initializeProfile(GrailsCli.groovy:515)
11-Apr-2023 23:49:41         at org.grails.cli.GrailsCli.initializeApplication(GrailsCli.groovy:306)
11-Apr-2023 23:49:41         at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:269)
11-Apr-2023 23:49:41         at org.grails.cli.GrailsCli.main(GrailsCli.groovy:159)
11-Apr-2023 23:49:41
11-Apr-2023 23:49:41 Error |
11-Apr-2023 23:49:41 Error occurred running Grails CLI: null
11-Apr-2023 23:49:41 Failing task since return code of [/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=26 prod war --non-interactive --plain-output --stacktrace] was 1 while expected 0
11-Apr-2023 23:49:41 Finished task 'grails prod war --non-interactive --plain-output --stacktrace' with result: Failed
11-Apr-2023 23:49:41 Starting task 'restart tomcat server via ssh' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
11-Apr-2023 23:49:41
Beginning to execute external process for build 'OpenBoxes - ☆ obdev3 ← develop - Default Job #26 (OPENBOXES-OBDEV3-DJ-26)'
... running command line:
/usr/bin/ssh bamboo@obdev3.pih-emr.org /opt/restart-tomcat.sh
... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ
11-Apr-2023 23:49:41 Restarting tomcat ...
11-Apr-2023 23:49:41 Allowing 90 seconds for tomcat to restart ...
11-Apr-2023 23:51:11 Emailing notifications ...
11-Apr-2023 23:51:11 Done.
11-Apr-2023 23:51:11 Finished task 'restart tomcat server via ssh' with result: Success
11-Apr-2023 23:51:11 Running post build plugin 'Docker Container Cleanup'
11-Apr-2023 23:51:11 Running post build plugin 'NCover Results Collector'
11-Apr-2023 23:51:11 Running post build plugin 'Build Results Label Collector'
11-Apr-2023 23:51:11 Running post build plugin 'Clover Results Collector'
11-Apr-2023 23:51:11 Running post build plugin 'npm Cache Cleanup'
11-Apr-2023 23:51:11 Running post build plugin 'Artifact Copier'
11-Apr-2023 23:51:11 Publishing an artifact: Latest WAR
11-Apr-2023 23:51:11 Unable to publish artifact [Latest WAR]: the source directory /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ/build/libs does not exist.
11-Apr-2023 23:51:11 The artifact hasn't been successfully published after 2.289 ms
11-Apr-2023 23:51:11 Finalising the build...
11-Apr-2023 23:51:11 Stopping timer.
11-Apr-2023 23:51:11 Build OPENBOXES-OBDEV3-DJ-26 completed.
11-Apr-2023 23:51:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Apr-2023 23:51:12 Running on server: post build plugin 'NCover Results Collector'
11-Apr-2023 23:51:12 Running on server: post build plugin 'Build Labeller'
11-Apr-2023 23:51:12 Running on server: post build plugin 'Clover Delta Calculator'
11-Apr-2023 23:51:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Apr-2023 23:51:12 All post build plugins have finished
11-Apr-2023 23:51:12 Generating build results summary...
11-Apr-2023 23:51:12 Saving build results to disk...
11-Apr-2023 23:51:12 Store variable context...
11-Apr-2023 23:51:12 Finished building OPENBOXES-OBDEV3-DJ-26.