simple 22-Mar-2023 05:37:26 Build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job #14 (OPENBOXES-OBDEV4-DJ-14) is being prepared for building on agent obdev4.pih-emr.org (14), bamboo version: 9.2.1 simple 22-Mar-2023 05:37:26 Remote agent on host obdev4.pih-emr.org simple 22-Mar-2023 05:37:26 Build working directory is /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ simple 22-Mar-2023 05:37:26 Executing build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job #14 (OPENBOXES-OBDEV4-DJ-14) simple 22-Mar-2023 05:37:26 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 22-Mar-2023 05:37:26 Build always requires a clean checkout simple 22-Mar-2023 05:37:26 Cleaning build directory '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ' simple 22-Mar-2023 05:37:26 Checking out into /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ simple 22-Mar-2023 05:37:26 Updating source code to revision: b84a9e65b4489a5d2e9fc8b256143530313059b7 simple 22-Mar-2023 05:37:26 Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache/f66322218f8b1f7a2a2a2a05668f1f9db397485e/.git'. simple 22-Mar-2023 05:37:26 hint: Using 'master' as the name for the initial branch. This default branch name simple 22-Mar-2023 05:37:26 Initialized empty Git repository in /home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache/f66322218f8b1f7a2a2a2a05668f1f9db397485e/.git/ simple 22-Mar-2023 05:37:26 hint: is subject to change. To configure the initial branch name to use in all simple 22-Mar-2023 05:37:26 hint: of your new repositories, which will suppress this warning, call: simple 22-Mar-2023 05:37:26 hint: simple 22-Mar-2023 05:37:26 hint: git config --global init.defaultBranch simple 22-Mar-2023 05:37:26 hint: simple 22-Mar-2023 05:37:26 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 22-Mar-2023 05:37:26 hint: 'development'. The just-created branch can be renamed via this command: simple 22-Mar-2023 05:37:26 hint: simple 22-Mar-2023 05:37:26 hint: git branch -m simple 22-Mar-2023 05:37:26 Fetching 'refs/heads/*' from 'https://github.com/openboxes/openboxes.git'. simple 22-Mar-2023 05:37:33 Checking out revision b84a9e65b4489a5d2e9fc8b256143530313059b7. simple 22-Mar-2023 05:37:33 Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ/.git'. simple 22-Mar-2023 05:37:33 Cloning into '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ'... simple 22-Mar-2023 05:37:34 done. simple 22-Mar-2023 05:37:34 Switched to a new branch 'feature/upgrade-to-grails-3.3.10' simple 22-Mar-2023 05:37:34 Branch 'feature/upgrade-to-grails-3.3.10' set up to track remote branch 'feature/upgrade-to-grails-3.3.10' from 'origin'. simple 22-Mar-2023 05:37:34 Updated source code to revision: b84a9e65b4489a5d2e9fc8b256143530313059b7 simple 22-Mar-2023 05:37:34 Finished task 'Source Code Checkout' with result: Success simple 22-Mar-2023 05:37:34 Running pre-build action: Build Log Labeller Pre Build Action simple 22-Mar-2023 05:37:34 Running pre-build action: VCS Version Collector simple 22-Mar-2023 05:37:34 Build OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job #14 (OPENBOXES-OBDEV4-DJ-14) started building on agent 'obdev4.pih-emr.org (14)' (Remote agent on host obdev4.pih-emr.org) simple 22-Mar-2023 05:37:34 Starting task 'Dump variables to log' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump' simple 22-Mar-2023 05:37:34 ---- DUMPING VARIABLES TO LOG --- simple 22-Mar-2023 05:37:34 key: [ManualBuildTriggerReason.userName] value: [mpearson] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [agentId] value: [681377798] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [agentWorkingDirectory] value: [/home/bamboo/remote-agent/xml-data/build-dir] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [build.working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildFailed] value: [false] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildKey] value: [OPENBOXES-OBDEV4-DJ] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildNumber] value: [14] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildPlanName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildResultKey] value: [OPENBOXES-OBDEV4-DJ-14] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildResultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV4-DJ-14] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [buildTimeStamp] value: [2023-03-22T05:37:25.381Z] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.builder.command.ssh] value: [/usr/bin/ssh] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.builder.grailsBuilder.Grails 1.3] value: [/home/bamboo/remote-agent/build_tools/grails-1.3.9] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.builder.grailsBuilder.Grails 3.3] value: [/home/bamboo/remote-agent/build_tools/grails-3.3.16] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.builder.node.Node.js 14.21] value: [/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.git.executable] value: [/usr/bin/git] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.jdk.JDK] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.jdk.JDK 1.8] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [capability.system.jdk.JDK 1.8.0_352] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [dependenciesDisabled] value: [false] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [git.cache.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [gpg.keyname] value: [mgoodrich@pih.org] type: GLOBAL simple 22-Mar-2023 05:37:34 key: [gpg.passphrase] value: [**********] type: GLOBAL simple 22-Mar-2023 05:37:34 key: [plan.storageTag] value: [plan-666468411] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planKey] value: [OPENBOXES-OBDEV4] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planName] value: [OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.previousRevision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.revision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.type] value: [gh2] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.1.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.previousRevision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.revision] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.type] value: [gh2] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [planRepository.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.previous.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.666632246.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.previous.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [repository.revision.number] value: [b84a9e65b4489a5d2e9fc8b256143530313059b7] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [resultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV4-DJ-14] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [shortJobKey] value: [DJ] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [shortJobName] value: [Default Job] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [shortPlanBranchName] value: [] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [shortPlanKey] value: [OBDEV4] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [shortPlanName] value: [Deploy OpenBoxes (Grails 3) → obdev4] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [tmp.directory] value: [/home/bamboo/remote-agent/temp] type: CUSTOM simple 22-Mar-2023 05:37:34 key: [working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ] type: CUSTOM simple 22-Mar-2023 05:37:34 ---- END DUMPING VARIABLES TO LOG --- simple 22-Mar-2023 05:37:34 Finished task 'Dump variables to log' with result: Success command 22-Mar-2023 05:37:34 Substituting variable: ${bamboo.buildNumber} with 14 simple 22-Mar-2023 05:37:34 Starting task 'grails prod war --non-interactive --plain-output' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType' command 22-Mar-2023 05:37:34 Beginning to execute external process for build 'OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job #14 (OPENBOXES-OBDEV4-DJ-14)'\n ... running command line: \n/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=14 prod war --non-interactive --plain-output\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ\n build 22-Mar-2023 05:37:35 |Resolving Dependencies. Please wait... build 22-Mar-2023 05:37:35 Error | build 22-Mar-2023 05:37:35 Error initializing classpath: /home/bamboo/.gradle/wrapper/dists/gradle-4.10.3-bin/31t79e2qsceia4mkbojplrgx/gradle-4.10.3-bin.zip.lck (No such file or directory) (Use --stacktrace to see the full trace) simple 22-Mar-2023 05:37:35 Failing task since return code of [/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=14 prod war --non-interactive --plain-output] was 1 while expected 0 simple 22-Mar-2023 05:37:35 Finished task 'grails prod war --non-interactive --plain-output' with result: Failed simple 22-Mar-2023 05:37:35 Starting task 'restart tomcat server via ssh' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 22-Mar-2023 05:37:35 Beginning to execute external process for build 'OpenBoxes - Deploy OpenBoxes (Grails 3) → obdev4 - Default Job #14 (OPENBOXES-OBDEV4-DJ-14)'\n ... running command line: \n/usr/bin/ssh bamboo@obdev4.pih-emr.org /opt/restart-tomcat.sh\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ\n error 22-Mar-2023 05:37:35 Host key verification failed. simple 22-Mar-2023 05:37:35 Failing task since return code of [/usr/bin/ssh bamboo@obdev4.pih-emr.org /opt/restart-tomcat.sh] was 255 while expected 0 simple 22-Mar-2023 05:37:35 Finished task 'restart tomcat server via ssh' with result: Failed simple 22-Mar-2023 05:37:35 Running post build plugin 'Docker Container Cleanup' simple 22-Mar-2023 05:37:35 Running post build plugin 'NCover Results Collector' simple 22-Mar-2023 05:37:35 Running post build plugin 'Build Results Label Collector' simple 22-Mar-2023 05:37:36 Running post build plugin 'Clover Results Collector' simple 22-Mar-2023 05:37:36 Running post build plugin 'npm Cache Cleanup' simple 22-Mar-2023 05:37:36 Running post build plugin 'Artifact Copier' simple 22-Mar-2023 05:37:36 Publishing an artifact: Latest WAR error 22-Mar-2023 05:37:36 Unable to publish artifact [Latest WAR]: the source directory /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV4-DJ/build/libs does not exist. simple 22-Mar-2023 05:37:36 The artifact hasn't been successfully published after 51.66 ms simple 22-Mar-2023 05:37:36 Finalising the build... simple 22-Mar-2023 05:37:36 Stopping timer. simple 22-Mar-2023 05:37:36 Build OPENBOXES-OBDEV4-DJ-14 completed. simple 22-Mar-2023 05:37:37 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 22-Mar-2023 05:37:37 Running on server: post build plugin 'NCover Results Collector' simple 22-Mar-2023 05:37:37 Running on server: post build plugin 'Build Labeller' simple 22-Mar-2023 05:37:37 Running on server: post build plugin 'Clover Delta Calculator' simple 22-Mar-2023 05:37:37 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 22-Mar-2023 05:37:37 All post build plugins have finished simple 22-Mar-2023 05:37:37 Generating build results summary... simple 22-Mar-2023 05:37:37 Saving build results to disk... simple 22-Mar-2023 05:37:37 Store variable context... simple 22-Mar-2023 05:37:37 Finished building OPENBOXES-OBDEV4-DJ-14.