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