simple 20-Oct-2022 15:35:38 Build OpenBoxes - Deploy Application - OBNAV Test 1 (OBNAV-TEST1) - Default Job #171 (OPENBOXES-SDOD2-DJ-171) started building on agent Deploy PIHEMR, bamboo version: 8.2.3 simple 20-Oct-2022 15:35:38 Agent to deploy the PIH-EMR using puppet simple 20-Oct-2022 15:35:38 Build working directory is /opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ simple 20-Oct-2022 15:35:38 Executing build OpenBoxes - Deploy Application - OBNAV Test 1 (OBNAV-TEST1) - Default Job #171 (OPENBOXES-SDOD2-DJ-171) simple 20-Oct-2022 15:35:38 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 20-Oct-2022 15:35:38 Build always requires a clean checkout simple 20-Oct-2022 15:35:38 Cleaning build directory '/opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ' simple 20-Oct-2022 15:35:38 Checking out into /opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ simple 20-Oct-2022 15:35:38 Updating source code to revision: 4e5259f18a9d1a80823753814db25b0f6a515ad2 simple 20-Oct-2022 15:35:38 Fetching 'refs/heads/feature/upgrade-to-grails-3.3.10' from 'https://github.com/openboxes/openboxes.git'. simple 20-Oct-2022 15:35:39 From https://github.com/openboxes/openboxes simple 20-Oct-2022 15:35:39 * [new tag] show -> show simple 20-Oct-2022 15:35:39 * [new tag] v0.5.0.3 -> v0.5.0.3 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.1.3 -> v0.5.1.3 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.2 -> v0.5.2 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.4 -> v0.5.4 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.5 -> v0.5.5 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.6 -> v0.5.6 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.7 -> v0.5.7 simple 20-Oct-2022 15:35:39 * [new tag] v0.5.8 -> v0.5.8 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.0 -> v0.6.0 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.1 -> v0.6.1 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.2 -> v0.6.2 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.3 -> v0.6.3 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.3.1 -> v0.6.3.1 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.3.2 -> v0.6.3.2 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.5 -> v0.6.5 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.6 -> v0.6.6 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.7 -> v0.6.7 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.8 -> v0.6.8 simple 20-Oct-2022 15:35:39 * [new tag] v0.6.9 -> v0.6.9 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.0 -> v0.7.0 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.1 -> v0.7.1 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.10 -> v0.7.10 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.11 -> v0.7.11 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.12 -> v0.7.12 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.13 -> v0.7.13 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.14 -> v0.7.14 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.15 -> v0.7.15 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.16 -> v0.7.16 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.17 -> v0.7.17 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.18 -> v0.7.18 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.19 -> v0.7.19 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.2 -> v0.7.2 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.20 -> v0.7.20 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.21 -> v0.7.21 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.22 -> v0.7.22 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.23 -> v0.7.23 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.24 -> v0.7.24 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.25 -> v0.7.25 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.26 -> v0.7.26 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.26-223 -> v0.7.26-223 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.27 -> v0.7.27 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.28 -> v0.7.28 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.29 -> v0.7.29 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.29.1 -> v0.7.29.1 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.3 -> v0.7.3 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.3.1 -> v0.7.3.1 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.30 -> v0.7.30 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.32 -> v0.7.32 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.4 -> v0.7.4 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.5 -> v0.7.5 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.6 -> v0.7.6 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.7 -> v0.7.7 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.8 -> v0.7.8 simple 20-Oct-2022 15:35:39 * [new tag] v0.7.9 -> v0.7.9 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.10 -> v0.8.10 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.11 -> v0.8.11 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.12 -> v0.8.12 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.13 -> v0.8.13 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.13-hotfix1 -> v0.8.13-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.13-hotfix2 -> v0.8.13-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.14 -> v0.8.14 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.14-hotfix1 -> v0.8.14-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.15 -> v0.8.15 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.15-hotfix1 -> v0.8.15-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.15-hotfix2 -> v0.8.15-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.15-hotfix3 -> v0.8.15-hotfix3 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.16 -> v0.8.16 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.16-hotfix1 -> v0.8.16-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.16-hotfix2 -> v0.8.16-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.16-hotfix3 -> v0.8.16-hotfix3 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17 -> v0.8.17 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix1 -> v0.8.17-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix2 -> v0.8.17-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix3 -> v0.8.17-hotfix3 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix4 -> v0.8.17-hotfix4 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix5 -> v0.8.17-hotfix5 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.17-hotfix6 -> v0.8.17-hotfix6 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.18 -> v0.8.18 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.18-hotfix1 -> v0.8.18-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.18-hotfix2 -> v0.8.18-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.18-hotfix3 -> v0.8.18-hotfix3 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.5 -> v0.8.5 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.6 -> v0.8.6 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.6-hotfix1 -> v0.8.6-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.7 -> v0.8.7 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.7-hotfix1 -> v0.8.7-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.7-hotfix2 -> v0.8.7-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.8 -> v0.8.8 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.8-hotfix1 -> v0.8.8-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.8-hotfix2 -> v0.8.8-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.9 -> v0.8.9 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.9-hotfix1 -> v0.8.9-hotfix1 simple 20-Oct-2022 15:35:39 * [new tag] v0.8.9-hotfix2 -> v0.8.9-hotfix2 simple 20-Oct-2022 15:35:39 * [new tag] v0.9.0-alpha-2 -> v0.9.0-alpha-2 simple 20-Oct-2022 15:35:39 Checking out revision 4e5259f18a9d1a80823753814db25b0f6a515ad2. simple 20-Oct-2022 15:35:39 Creating local git repository in '/opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ/.git'. simple 20-Oct-2022 15:35:39 Cloning into '/opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ'... simple 20-Oct-2022 15:35:39 done. simple 20-Oct-2022 15:35:39 Switched to a new branch 'feature/upgrade-to-grails-3.3.10' simple 20-Oct-2022 15:35:39 Branch 'feature/upgrade-to-grails-3.3.10' set up to track remote branch 'feature/upgrade-to-grails-3.3.10' from 'origin'. simple 20-Oct-2022 15:35:39 Updated source code to revision: 4e5259f18a9d1a80823753814db25b0f6a515ad2 simple 20-Oct-2022 15:35:39 Finished task 'Source Code Checkout' with result: Success simple 20-Oct-2022 15:35:39 Running pre-build action: VCS Version Collector simple 20-Oct-2022 15:35:39 Running pre-build action: Build Log Labeller Pre Build Action command 20-Oct-2022 15:35:39 Substituting variable: ${bamboo.buildNumber} with 171 simple 20-Oct-2022 15:35:39 Starting task 'grails prod war --non-interactive --plain-output' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType' error 20-Oct-2022 15:35:39 Error occurred while running Task 'grails prod war --non-interactive --plain-output(2)' of type com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType. error 20-Oct-2022 15:35:39 java.lang.IllegalStateException: Cannot find Grails home at '/usr/local/sdkman/candidates/grails/3.3.16/bin/grails' error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.getGrailsHome(GrailsBuildTask.java:197) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.getExecutable(GrailsBuildTask.java:153) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.getGrailsProcesses(GrailsBuildTask.java:111) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.plugins.grails.GrailsBuildTask.execute(GrailsBuildTask.java:85) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(TaskExecutorImpl.java:321) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:321) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:205) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:177) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 20-Oct-2022 15:35:39 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 20-Oct-2022 15:35:39 at java.lang.Thread.run(Thread.java:750) simple 20-Oct-2022 15:35:39 Starting task 'sudo service tomcat9 restart' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 20-Oct-2022 15:35:39 Beginning to execute external process for build 'OpenBoxes - Deploy Application - OBNAV Test 1 (OBNAV-TEST1) - Default Job #171 (OPENBOXES-SDOD2-DJ-171)'\n ... running command line: \n/usr/bin/ssh -vv jmiranda@obnavtest1.pih-emr.org sudo service tomcat9 restart\n ... in: /opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ\n error 20-Oct-2022 15:35:39 OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f 31 Mar 2020 error 20-Oct-2022 15:35:39 debug1: Reading configuration data /etc/ssh/ssh_config error 20-Oct-2022 15:35:39 debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files error 20-Oct-2022 15:35:39 debug1: /etc/ssh/ssh_config line 21: Applying options for * error 20-Oct-2022 15:35:39 debug2: resolving "obnavtest1.pih-emr.org" port 22 error 20-Oct-2022 15:35:39 debug2: ssh_connect_direct error 20-Oct-2022 15:35:39 debug1: Connecting to obnavtest1.pih-emr.org [52.251.34.23] port 22. error 20-Oct-2022 15:37:49 debug1: connect to address 52.251.34.23 port 22: Connection timed out error 20-Oct-2022 15:37:49 ssh: connect to host obnavtest1.pih-emr.org port 22: Connection timed out simple 20-Oct-2022 15:37:49 Failing task since return code of [/usr/bin/ssh -vv jmiranda@obnavtest1.pih-emr.org sudo service tomcat9 restart] was 255 while expected 0 simple 20-Oct-2022 15:37:49 Finished task 'sudo service tomcat9 restart' with result: Failed simple 20-Oct-2022 15:37:49 Running post build plugin 'Artifact Copier' simple 20-Oct-2022 15:37:49 Publishing an artifact: Latest WAR error 20-Oct-2022 15:37:49 Unable to publish artifact [Latest WAR]: the source directory /opt/bamboo-home/local-working-dir/OPENBOXES-SDOD2-DJ/build/libs does not exist. simple 20-Oct-2022 15:37:49 The artifact hasn't been successfully published after 1.257 ms simple 20-Oct-2022 15:37:49 Running post build plugin 'npm Cache Cleanup' simple 20-Oct-2022 15:37:49 Running post build plugin 'NCover Results Collector' simple 20-Oct-2022 15:37:49 Running post build plugin 'Build Results Label Collector' simple 20-Oct-2022 15:37:49 Running post build plugin 'Clover Results Collector' simple 20-Oct-2022 15:37:49 Running post build plugin 'Docker Container Cleanup' simple 20-Oct-2022 15:37:49 Finalising the build... simple 20-Oct-2022 15:37:49 Stopping timer. simple 20-Oct-2022 15:37:49 Build OPENBOXES-SDOD2-DJ-171 completed. simple 20-Oct-2022 15:37:49 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 20-Oct-2022 15:37:49 Running on server: post build plugin 'NCover Results Collector' simple 20-Oct-2022 15:37:49 Running on server: post build plugin 'Build Labeller' simple 20-Oct-2022 15:37:49 Running on server: post build plugin 'Clover Delta Calculator' simple 20-Oct-2022 15:37:49 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 20-Oct-2022 15:37:49 All post build plugins have finished simple 20-Oct-2022 15:37:49 Generating build results summary... simple 20-Oct-2022 15:37:49 Saving build results to disk... simple 20-Oct-2022 15:37:49 Store variable context... simple 20-Oct-2022 15:37:49 Finished building OPENBOXES-SDOD2-DJ-171.