Deploy OpenBoxes (Grails 3) to obdev3.pih-emr.org
Build: #17 failed
Job: Default Job failed
Build log
The build generated 153 lines of output. Download or view full build log.
22-Mar-2023 05:13:54 | Build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #17 (OPENBOXES-OBDEV3-DJ-17) is being prepared for building on agent obdev4.pih-emr.org (11), bamboo version: 9.2.1 |
22-Mar-2023 05:13:54 | Remote agent on host obdev4.pih-emr.org |
22-Mar-2023 05:13:55 | Build working directory is /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ |
22-Mar-2023 05:13:55 | Executing build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #17 (OPENBOXES-OBDEV3-DJ-17) |
22-Mar-2023 05:13:55 | Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
22-Mar-2023 05:13:55 | Build always requires a clean checkout |
22-Mar-2023 05:13:55 | Cleaning build directory '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ' |
22-Mar-2023 05:13:55 | Checking out into /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ |
22-Mar-2023 05:13:55 | Updating source code to revision: b84a9e65b4489a5d2e9fc8b256143530313059b7 |
22-Mar-2023 05:13:55 | Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache/f66322218f8b1f7a2a2a2a05668f1f9db397485e/.git'. |
22-Mar-2023 05:13:55 | hint: Using 'master' as the name for the initial branch. This default branch name |
22-Mar-2023 05:13:55 | Initialized empty Git repository in /home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache/f66322218f8b1f7a2a2a2a05668f1f9db397485e/.git/ |
22-Mar-2023 05:13:55 | hint: is subject to change. To configure the initial branch name to use in all |
22-Mar-2023 05:13:55 | hint: of your new repositories, which will suppress this warning, call: |
22-Mar-2023 05:13:55 | hint: |
22-Mar-2023 05:13:55 | hint: git config --global init.defaultBranch <name> |
22-Mar-2023 05:13:55 | hint: |
22-Mar-2023 05:13:55 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
22-Mar-2023 05:13:55 | hint: 'development'. The just-created branch can be renamed via this command: |
22-Mar-2023 05:13:55 | hint: |
22-Mar-2023 05:13:55 | hint: git branch -m <name> |
22-Mar-2023 05:13:55 | Fetching 'refs/heads/*' from 'https://github.com/openboxes/openboxes.git'. |
22-Mar-2023 05:14:00 | Checking out revision b84a9e65b4489a5d2e9fc8b256143530313059b7. |
22-Mar-2023 05:14:00 | Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ/.git'. |
22-Mar-2023 05:14:00 | Cloning into '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ'... |
22-Mar-2023 05:14:00 | done. |
22-Mar-2023 05:14:01 | Switched to a new branch 'feature/upgrade-to-grails-3.3.10' |
22-Mar-2023 05:14:01 | Branch 'feature/upgrade-to-grails-3.3.10' set up to track remote branch 'feature/upgrade-to-grails-3.3.10' from 'origin'. |
22-Mar-2023 05:14:01 | Updated source code to revision: b84a9e65b4489a5d2e9fc8b256143530313059b7 |
22-Mar-2023 05:14:01 | Finished task 'Source Code Checkout' with result: Success |
22-Mar-2023 05:14:01 | Running pre-build action: Build Log Labeller Pre Build Action |
22-Mar-2023 05:14:01 | Running pre-build action: VCS Version Collector |
22-Mar-2023 05:14:01 | Build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #17 (OPENBOXES-OBDEV3-DJ-17) started building on agent 'obdev4.pih-emr.org (11)' (Remote agent on host obdev4.pih-emr.org) |
22-Mar-2023 05:14:01 | Starting task 'Dump variables to log' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump' |
22-Mar-2023 05:14:01 | ---- DUMPING VARIABLES TO LOG --- |
22-Mar-2023 05:14:01 | key: [ManualBuildTriggerReason.userName] value: [mpearson] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [agentId] value: [681377795] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [agentWorkingDirectory] value: [/home/bamboo/remote-agent/xml-data/build-dir] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [build.working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildFailed] value: [false] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildKey] value: [OPENBOXES-OBDEV3-DJ] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildNumber] value: [17] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildPlanName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildResultKey] value: [OPENBOXES-OBDEV3-DJ-17] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildResultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-17] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [buildTimeStamp] value: [2023-03-22T05:13:53.982Z] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.builder.command.ssh] value: [/usr/bin/ssh] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.builder.grailsBuilder.Grails 1.3] value: [/home/bamboo/remote-agent/build_tools/grails-1.3.9] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.builder.grailsBuilder.Grails 3.3] value: [/home/bamboo/remote-agent/build_tools/grails-3.3.16] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.builder.node.Node.js 14.21] value: [/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.git.executable] value: [/usr/bin/git] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.jdk.JDK] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.jdk.JDK 1.8] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [capability.system.jdk.JDK 1.8.0_352] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [dependenciesDisabled] value: [false] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [git.cache.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [gpg.keyname] value: [mgoodrich@pih.org] type: GLOBAL |
22-Mar-2023 05:14:01 | key: [gpg.passphrase] value: [**********] type: GLOBAL |
22-Mar-2023 05:14:01 | key: [plan.storageTag] value: [plan-666468407] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planKey] value: [OPENBOXES-OBDEV3] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.name] value: [OpenBoxes (Grails 3)] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.previousRevision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.revision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.type] value: [gh2] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.1.username] value: [matthew.d.pearson@me.com] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.previousRevision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.revision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.type] value: [gh2] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [planRepository.username] value: [matthew.d.pearson@me.com] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.name] value: [OpenBoxes (Grails 3)] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.previous.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.666632244.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.previous.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [repository.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [resultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-17] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [shortJobKey] value: [DJ] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [shortJobName] value: [Default Job] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [shortPlanBranchName] value: [] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [shortPlanKey] value: [OBDEV3] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [shortPlanName] value: [Deploy OpenBoxes (Grails 3) → obdev3] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [tmp.directory] value: [/home/bamboo/remote-agent/temp] type: CUSTOM |
22-Mar-2023 05:14:01 | key: [working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM |
22-Mar-2023 05:14:01 | ---- END DUMPING VARIABLES TO LOG --- |
22-Mar-2023 05:14:01 | Finished task 'Dump variables to log' with result: Success |
22-Mar-2023 05:14:01 | Substituting variable: ${bamboo.buildNumber} with 17 |
22-Mar-2023 05:14:01 | Starting task 'grails prod war --non-interactive --plain-output' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType' |
22-Mar-2023 05:14:01 | Error occurred while running Task 'grails prod war --non-interactive --plain-output(2)' of type com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType. |
22-Mar-2023 05:14:01 | java.lang.IllegalStateException: Cannot find executable '/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails' |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.getExecutable(GrailsBuildTask.java:158) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.getGrailsProcesses(GrailsBuildTask.java:111) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.execute(GrailsBuildTask.java:85) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:321) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:321) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:207) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:179) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:124) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) |
22-Mar-2023 05:14:01 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) |
22-Mar-2023 05:14:01 | at java.lang.Thread.run(Thread.java:750) |
22-Mar-2023 05:14:01 | Starting task 'restart tomcat server via ssh' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' |
22-Mar-2023 05:14:01 | Beginning to execute external process for build 'OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev3 - Default Job #17 (OPENBOXES-OBDEV3-DJ-17)' ... 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 |
22-Mar-2023 05:14:01 | Host key verification failed. |
22-Mar-2023 05:14:01 | Failing task since return code of [/usr/bin/ssh bamboo@obdev3.pih-emr.org /opt/restart-tomcat.sh] was 255 while expected 0 |
22-Mar-2023 05:14:01 | Finished task 'restart tomcat server via ssh' with result: Failed |
22-Mar-2023 05:14:01 | Running post build plugin 'Docker Container Cleanup' |
22-Mar-2023 05:14:01 | Running post build plugin 'NCover Results Collector' |
22-Mar-2023 05:14:01 | Running post build plugin 'Build Results Label Collector' |
22-Mar-2023 05:14:01 | Running post build plugin 'Clover Results Collector' |
22-Mar-2023 05:14:01 | Running post build plugin 'npm Cache Cleanup' |
22-Mar-2023 05:14:01 | Running post build plugin 'Artifact Copier' |
22-Mar-2023 05:14:01 | Publishing an artifact: Latest WAR |
22-Mar-2023 05:14:01 | 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. |
22-Mar-2023 05:14:01 | The artifact hasn't been successfully published after 45.29 ms |
22-Mar-2023 05:14:01 | Finalising the build... |
22-Mar-2023 05:14:01 | Stopping timer. |
22-Mar-2023 05:14:01 | Build OPENBOXES-OBDEV3-DJ-17 completed. |
22-Mar-2023 05:14:02 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
22-Mar-2023 05:14:02 | Running on server: post build plugin 'NCover Results Collector' |
22-Mar-2023 05:14:02 | Running on server: post build plugin 'Build Labeller' |
22-Mar-2023 05:14:02 | Running on server: post build plugin 'Clover Delta Calculator' |
22-Mar-2023 05:14:02 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
22-Mar-2023 05:14:02 | All post build plugins have finished |
22-Mar-2023 05:14:02 | Generating build results summary... |
22-Mar-2023 05:14:02 | Saving build results to disk... |
22-Mar-2023 05:14:02 | Store variable context... |
22-Mar-2023 05:14:02 | Finished building OPENBOXES-OBDEV3-DJ-17. |