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