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