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

Build: #1 did not complete

Job: Default Job did not complete

Stages & jobs

  1. Build

Build log

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

20-Jan-2023 15:53:55 Build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #1 (OPENBOXES-OBDEV3-DJ-1) started building on agent OpenBoxes Agent 2, bamboo version: 8.2.3
20-Jan-2023 15:53:55
20-Jan-2023 15:53:55 Build working directory is /opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ
20-Jan-2023 15:53:55 Executing build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #1 (OPENBOXES-OBDEV3-DJ-1)
20-Jan-2023 15:53:55 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
20-Jan-2023 15:53:55 Build always requires a clean checkout
20-Jan-2023 15:53:55 Cleaning build directory '/opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ'
20-Jan-2023 15:53:55 Checking out into /opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ
20-Jan-2023 15:53:55 Updating source code to revision: 69eece5a2e8e0de096c82b5273f24d72480c3409
20-Jan-2023 15:53:55 Fetching 'refs/heads/*' from 'https://github.com/openboxes/openboxes.git'.
20-Jan-2023 15:53:55 Checking out revision 69eece5a2e8e0de096c82b5273f24d72480c3409.
20-Jan-2023 15:53:55 Creating local git repository in '/opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ/.git'.
20-Jan-2023 15:53:55 Cloning into '/opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ'...
20-Jan-2023 15:53:55 done.
20-Jan-2023 15:53:56 Switched to a new branch 'feature/upgrade-to-grails-3.3.10'
20-Jan-2023 15:53:56 Branch 'feature/upgrade-to-grails-3.3.10' set up to track remote branch 'feature/upgrade-to-grails-3.3.10' from 'origin'.
20-Jan-2023 15:53:56 Updated source code to revision: 69eece5a2e8e0de096c82b5273f24d72480c3409
20-Jan-2023 15:53:56 Finished task 'Source Code Checkout' with result: Success
20-Jan-2023 15:53:56 Running pre-build action: VCS Version Collector
20-Jan-2023 15:53:56 Running pre-build action: Build Log Labeller Pre Build Action
20-Jan-2023 15:53:56 Starting task 'Dump variables to log' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump'
20-Jan-2023 15:53:56 ---- DUMPING VARIABLES TO LOG ---
20-Jan-2023 15:53:56 key: [agentId] value: [667320321] type: CUSTOM
20-Jan-2023 15:53:56 key: [agentWorkingDirectory] value: [/opt/bamboo-home/local-working-dir] type: CUSTOM
20-Jan-2023 15:53:56 key: [build.working.directory] value: [/opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildFailed] value: [false] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildKey] value: [OPENBOXES-OBDEV3-DJ] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildNumber] value: [1] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildPlanName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildResultKey] value: [OPENBOXES-OBDEV3-DJ-1] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildResultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-1] type: CUSTOM
20-Jan-2023 15:53:56 key: [buildTimeStamp] value: [2023-01-20T15:53:55.462Z] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.builder.command.ssh] value: [/usr/bin/ssh] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.builder.grailsBuilder.Grails 1.3.9] value: [/usr/local/grails/1.3.9] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.builder.grailsBuilder.Grails 3.3.16] value: [/usr/share/grails/3.3.16] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.builder.node.node 14.21.2] value: [/usr/bin/node] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.docker.executable] value: [/usr/bin/docker] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.git.executable] value: [/usr/bin/git] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.jdk.JDK] value: [/usr/lib/jvm/default-java] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.jdk.JDK 1.8] value: [/usr/lib/jvm/default-java] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.jdk.JDK 1.8.0_342] value: [/usr/lib/jvm/default-java] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.jdk.Java 1.8 (system)] value: [/usr/lib/jvm/default-java] type: CUSTOM
20-Jan-2023 15:53:56 key: [capability.system.jdk.Zulu JDK 7] value: [/usr/lib/jvm/zulu7-ca-amd64] type: CUSTOM
20-Jan-2023 15:53:56 key: [git.cache.directory] value: [/opt/bamboo-home/local-working-dir/_git-repositories-cache] type: CUSTOM
20-Jan-2023 15:53:56 key: [gpg.keyname] value: [mgoodrich@pih.org] type: GLOBAL
20-Jan-2023 15:53:56 key: [gpg.passphrase] value: [**********] type: GLOBAL
20-Jan-2023 15:53:56 key: [plan.storageTag] value: [plan-666468407] type: CUSTOM
20-Jan-2023 15:53:56 key: [planKey] value: [OPENBOXES-OBDEV3] type: CUSTOM
20-Jan-2023 15:53:56 key: [planName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.revision] value: [69eece5a2e8e0de096c82b5273f24d72480c3409] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.type] value: [gh2] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.1.username] value: [matthew.d.pearson@me.com] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.revision] value: [69eece5a2e8e0de096c82b5273f24d72480c3409] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.type] value: [gh2] type: CUSTOM
20-Jan-2023 15:53:56 key: [planRepository.username] value: [matthew.d.pearson@me.com] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.666632244.revision.number] value: [69eece5a2e8e0de096c82b5273f24d72480c3409] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM
20-Jan-2023 15:53:56 key: [repository.revision.number] value: [69eece5a2e8e0de096c82b5273f24d72480c3409] type: CUSTOM
20-Jan-2023 15:53:56 key: [resultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-1] type: CUSTOM
20-Jan-2023 15:53:56 key: [shortJobKey] value: [DJ] type: CUSTOM
20-Jan-2023 15:53:56 key: [shortJobName] value: [Default Job] type: CUSTOM
20-Jan-2023 15:53:56 key: [shortPlanKey] value: [OBDEV3] type: CUSTOM
20-Jan-2023 15:53:56 key: [shortPlanName] value: [Deploy OpenBoxes (Grails 3) → obdev3] type: CUSTOM
20-Jan-2023 15:53:56 key: [tmp.directory] value: [/opt/bamboo-home/temp] type: CUSTOM
20-Jan-2023 15:53:56 key: [working.directory] value: [/opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM
20-Jan-2023 15:53:56 ---- END DUMPING VARIABLES TO LOG  ---
20-Jan-2023 15:53:56 Finished task 'Dump variables to log' with result: Success
20-Jan-2023 15:53:56
Substituting variable: ${bamboo.buildNumber} with 1
20-Jan-2023 15:53:56 Starting task 'grails prod war --non-interactive --plain-output' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType'
20-Jan-2023 15:53:56
Beginning to execute external process for build 'OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #1 (OPENBOXES-OBDEV3-DJ-1)'
... running command line:
/usr/share/grails/3.3.16/bin/grails -Dbuild.number=1 prod war --non-interactive --plain-output
... in: /opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ
20-Jan-2023 15:53:57 |Resolving Dependencies. Please wait...
20-Jan-2023 15:54:03
20-Jan-2023 15:54:03 > Configure project :
20-Jan-2023 15:54:03 configuring for a Tomcat-hosted environment...
20-Jan-2023 15:54:03
20-Jan-2023 15:54:03 CONFIGURE SUCCESSFUL in 6s
20-Jan-2023 15:54:07
Request to stop 'OPENBOXES-OBDEV3-DJ-1' received from mpearson
20-Jan-2023 15:54:07 Failing task since return code of [/usr/share/grails/3.3.16/bin/grails -Dbuild.number=1 prod war --non-interactive --plain-output] was 143 while expected 0
20-Jan-2023 15:54:07 Finished task 'grails prod war --non-interactive --plain-output' with result: Failed
20-Jan-2023 15:54:07 Starting task 'sudo service tomcat9 restart' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
20-Jan-2023 15:54:07
Beginning to execute external process for build 'OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #1 (OPENBOXES-OBDEV3-DJ-1)'
... running command line:
/usr/bin/ssh 10.160.28.16 sudo service tomcat9 restart
... in: /opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ
20-Jan-2023 15:54:09 Finished task 'sudo service tomcat9 restart' with result: Success
20-Jan-2023 15:54:09 Running post build plugin 'Artifact Copier'
20-Jan-2023 15:54:09 Publishing an artifact: Latest WAR
20-Jan-2023 15:54:09 Unable to publish artifact [Latest WAR]: the source directory /opt/bamboo-home/local-working-dir/OPENBOXES-OBDEV3-DJ/build/libs does not exist.
20-Jan-2023 15:54:09 The artifact hasn't been successfully published after 134.4 μs
20-Jan-2023 15:54:09 Running post build plugin 'npm Cache Cleanup'
20-Jan-2023 15:54:09 Running post build plugin 'NCover Results Collector'
20-Jan-2023 15:54:09 Running post build plugin 'Build Results Label Collector'
20-Jan-2023 15:54:09 Running post build plugin 'Clover Results Collector'
20-Jan-2023 15:54:09 Running post build plugin 'Docker Container Cleanup'
20-Jan-2023 15:54:09 Finalising the build...
20-Jan-2023 15:54:09 Stopping timer.
20-Jan-2023 15:54:09 Build OPENBOXES-OBDEV3-DJ-1 completed.
20-Jan-2023 15:54:09 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Jan-2023 15:54:09 Running on server: post build plugin 'NCover Results Collector'
20-Jan-2023 15:54:09 Running on server: post build plugin 'Build Labeller'
20-Jan-2023 15:54:09 Running on server: post build plugin 'Clover Delta Calculator'
20-Jan-2023 15:54:09 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Jan-2023 15:54:09 All post build plugins have finished
20-Jan-2023 15:54:09 Generating build results summary...
20-Jan-2023 15:54:09 Saving build results to disk...
20-Jan-2023 15:54:09 Store variable context...
20-Jan-2023 15:54:09 Finished building OPENBOXES-OBDEV3-DJ-1.