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