simple 02-Jun-2023 19:28:06 Build OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74) is being prepared for building on agent obagent2.pih-emr.org (4), bamboo version: 9.2.1 simple 02-Jun-2023 19:28:06 Remote agent on host obagent2.pih-emr.org simple 02-Jun-2023 19:28:06 Build working directory is /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ simple 02-Jun-2023 19:28:06 Executing build OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74) simple 02-Jun-2023 19:28:06 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 02-Jun-2023 19:28:06 Build always requires a clean checkout simple 02-Jun-2023 19:28:06 Cleaning build directory '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ' simple 02-Jun-2023 19:28:06 Checking out into /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ simple 02-Jun-2023 19:28:06 Updating source code to revision: 610e838352c65d18ec58768feadefd6865e1e81d simple 02-Jun-2023 19:28:06 Enforcing full fetch as requested revision has not been found on the configured branch simple 02-Jun-2023 19:28:06 Fetching 'refs/heads/*' from 'https://github.com/openboxes/openboxes.git'. simple 02-Jun-2023 19:28:06 Checking out revision 610e838352c65d18ec58768feadefd6865e1e81d. simple 02-Jun-2023 19:28:06 Creating local git repository in '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ/.git'. simple 02-Jun-2023 19:28:06 Cloning into '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ'... simple 02-Jun-2023 19:28:06 done. simple 02-Jun-2023 19:28:07 Note: switching to '610e838352c65d18ec58768feadefd6865e1e81d'. simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 You are in 'detached HEAD' state. You can look around, make experimental simple 02-Jun-2023 19:28:07 changes and commit them, and you can discard any commits you make in this simple 02-Jun-2023 19:28:07 state without impacting any branches by switching back to a branch. simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 If you want to create a new branch to retain commits you create, you may simple 02-Jun-2023 19:28:07 do so (now or later) by using -c with the switch command. Example: simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 git switch -c <new-branch-name> simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 Or undo this operation with: simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 git switch - simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 Turn off this advice by setting config variable advice.detachedHead to false simple 02-Jun-2023 19:28:07 simple 02-Jun-2023 19:28:07 HEAD is now at 610e83835 OBGM-403 this time with logging simple 02-Jun-2023 19:28:07 Updated source code to revision: 610e838352c65d18ec58768feadefd6865e1e81d simple 02-Jun-2023 19:28:07 Finished task 'Source Code Checkout' with result: Success simple 02-Jun-2023 19:28:07 Running pre-build action: Build Log Labeller Pre Build Action simple 02-Jun-2023 19:28:07 Running pre-build action: VCS Version Collector simple 02-Jun-2023 19:28:07 Build OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74) started building on agent 'obagent2.pih-emr.org (4)' (Remote agent on host obagent2.pih-emr.org) simple 02-Jun-2023 19:28:07 Starting task 'Dump variables to log' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:dump' simple 02-Jun-2023 19:28:07 ---- DUMPING VARIABLES TO LOG --- simple 02-Jun-2023 19:28:07 key: [ManualBuildTriggerReason.userName] value: [mpearson] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [agentId] value: [686194695] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [agentWorkingDirectory] value: [/home/bamboo/remote-agent/xml-data/build-dir] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [build.working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildFailed] value: [false] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildKey] value: [OPENBOXES-OBDEV3-DJ] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildNumber] value: [74] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildPlanName] value: [OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildResultKey] value: [OPENBOXES-OBDEV3-DJ-74] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildResultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-74] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [buildTimeStamp] value: [2023-06-02T19:28:05.402Z] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.builder.command.ssh] value: [/usr/bin/ssh] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.builder.grailsBuilder.Grails 1.3] value: [/home/bamboo/remote-agent/build_tools/grails-1.3.9] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.builder.grailsBuilder.Grails 3.3] value: [/home/bamboo/remote-agent/build_tools/grails-3.3.16] type: CUSTOM simple 02-Jun-2023 19:28:07 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 02-Jun-2023 19:28:07 key: [capability.system.git.executable] value: [/usr/bin/git] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.jdk.JDK] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.jdk.JDK 1.7] value: [/usr/lib/jvm/zulu7-ca-amd64] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.jdk.JDK 1.7.0_352] value: [/usr/lib/jvm/zulu7-ca-amd64] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.jdk.JDK 1.8] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [capability.system.jdk.JDK 1.8.0_372] value: [/usr/lib/jvm/zulu8-ca-amd64] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [customRevision] value: [OBGM-403-update-node] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [dependenciesDisabled] value: [true] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [git.cache.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [gpg.keyname] value: [mgoodrich@pih.org] type: GLOBAL simple 02-Jun-2023 19:28:07 key: [gpg.passphrase] value: [**********] type: GLOBAL simple 02-Jun-2023 19:28:07 key: [plan.storageTag] value: [plan-666468407] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planKey] value: [OPENBOXES-OBDEV3] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planName] value: [OpenBoxes - ☆ obdev3 ← Grails 3] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.previousRevision] value: [1988bd1e0b6a2adad02c3a013c59627c6a66ca23] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.revision] value: [610e838352c65d18ec58768feadefd6865e1e81d] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.type] value: [gh2] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.1.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.branchDisplayName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.branchName] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.previousRevision] value: [1988bd1e0b6a2adad02c3a013c59627c6a66ca23] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.revision] value: [610e838352c65d18ec58768feadefd6865e1e81d] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.type] value: [gh2] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [planRepository.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.previous.revision.number] value: [1988bd1e0b6a2adad02c3a013c59627c6a66ca23] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.684359760.revision.number] value: [610e838352c65d18ec58768feadefd6865e1e81d] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.branch.name] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.git.branch] value: [feature/upgrade-to-grails-3.3.10] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.git.repositoryUrl] value: [https://github.com/openboxes/openboxes.git] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.git.username] value: [matthew.d.pearson@me.com] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.name] value: [OpenBoxes (Grails 3)] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.previous.revision.number] value: [1988bd1e0b6a2adad02c3a013c59627c6a66ca23] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [repository.revision.number] value: [610e838352c65d18ec58768feadefd6865e1e81d] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [resultsUrl] value: [https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-74] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [shortJobKey] value: [DJ] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [shortJobName] value: [Default Job] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [shortPlanBranchName] value: [] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [shortPlanKey] value: [OBDEV3] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [shortPlanName] value: [☆ obdev3 ← Grails 3] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [smoketests.databasePassword] value: [**********] type: GLOBAL simple 02-Jun-2023 19:28:07 key: [smoketests.databaseUser] value: [openmrs_editor] type: GLOBAL simple 02-Jun-2023 19:28:07 key: [smoketests.guiAdminPassword] value: [**********] type: GLOBAL simple 02-Jun-2023 19:28:07 key: [tmp.directory] value: [/home/bamboo/remote-agent/temp] type: CUSTOM simple 02-Jun-2023 19:28:07 key: [working.directory] value: [/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ] type: CUSTOM simple 02-Jun-2023 19:28:07 ---- END DUMPING VARIABLES TO LOG --- simple 02-Jun-2023 19:28:07 Finished task 'Dump variables to log' with result: Success simple 02-Jun-2023 19:28:07 Starting task 'Script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 02-Jun-2023 19:28:07 Beginning to execute external process for build 'OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74)'\n ... running command line: \n/home/bamboo/remote-agent/temp/OPENBOXES-OBDEV3-DJ-74-ScriptBuildTask-5036777782450240400.sh\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ\n build 02-Jun-2023 19:28:07 bamboo_shortPlanName=☆ obdev3 ← Grails 3 build 02-Jun-2023 19:28:07 bamboo_buildNumber=74 build 02-Jun-2023 19:28:07 bamboo_capability_system_jdk_JDK=/usr/lib/jvm/zulu8-ca-amd64 build 02-Jun-2023 19:28:07 bamboo_ManualBuildTriggerReason_userName=mpearson build 02-Jun-2023 19:28:07 bamboo_planRepository_1_branchDisplayName=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 USER=bamboo build 02-Jun-2023 19:28:07 WRAPPER_JAVA_VERSION=1.8.0_372 build 02-Jun-2023 19:28:07 bamboo_planRepository_username=matthew.d.pearson@me.com build 02-Jun-2023 19:28:07 bamboo_buildFailed=false build 02-Jun-2023 19:28:07 WRAPPER_HOST_NAME=obagent2.pih-emr.org build 02-Jun-2023 19:28:07 bamboo_shortJobName=Default Job build 02-Jun-2023 19:28:07 bamboo_smoketests_databaseUser=openmrs_editor build 02-Jun-2023 19:28:07 bamboo_dependenciesDisabled=true build 02-Jun-2023 19:28:07 bamboo_smoketests_guiAdminPassword= build 02-Jun-2023 19:28:07 bamboo_shortPlanBranchName= build 02-Jun-2023 19:28:07 bamboo_repository_git_repositoryUrl=https://github.com/openboxes/openboxes.git build 02-Jun-2023 19:28:07 bamboo_repository_684359760_revision_number=610e838352c65d18ec58768feadefd6865e1e81d build 02-Jun-2023 19:28:07 bamboo_planRepository_1_type=gh2 build 02-Jun-2023 19:28:07 bamboo_planRepository_1_revision=610e838352c65d18ec58768feadefd6865e1e81d build 02-Jun-2023 19:28:07 WRAPPER_INIT_DIR=/home/bamboo/remote-agent build 02-Jun-2023 19:28:07 HOME=/home/bamboo build 02-Jun-2023 19:28:07 JRE_HOME=/usr/lib/jvm/zulu8-ca-amd64/jre build 02-Jun-2023 19:28:07 WRAPPER_JAVA_VERSION_MAJOR=8 build 02-Jun-2023 19:28:07 bamboo_buildResultKey=OPENBOXES-OBDEV3-DJ-74 build 02-Jun-2023 19:28:07 bamboo_buildPlanName=OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job build 02-Jun-2023 19:28:07 WRAPPER_VERSION=3.5.51 build 02-Jun-2023 19:28:07 WRAPPER_BASE_NAME=wrapper build 02-Jun-2023 19:28:07 bamboo_planKey=OPENBOXES-OBDEV3 build 02-Jun-2023 19:28:07 bamboo_planRepository_1_repositoryUrl=https://github.com/openboxes/openboxes.git build 02-Jun-2023 19:28:07 bamboo_repository_684359760_git_branch=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_repository_684359760_name=OpenBoxes (Grails 3) build 02-Jun-2023 19:28:07 WRAPPER_WORKING_DIR=/home/bamboo/remote-agent/bin build 02-Jun-2023 19:28:07 bamboo_planRepository_1_previousRevision=1988bd1e0b6a2adad02c3a013c59627c6a66ca23 build 02-Jun-2023 19:28:07 WRAPPER_OS=linux build 02-Jun-2023 19:28:07 SYSTEMD_EXEC_PID=25431 build 02-Jun-2023 19:28:07 LOGS_DIRECTORY=/var/log/bamboo-remote-agent build 02-Jun-2023 19:28:07 bamboo_smoketests_databasePassword=******** build 02-Jun-2023 19:28:07 bamboo_planRepository_1_name=OpenBoxes (Grails 3) build 02-Jun-2023 19:28:07 WRAPPER_RUN_MODE=service build 02-Jun-2023 19:28:07 bamboo_capability_system_builder_command_ssh=/usr/bin/ssh build 02-Jun-2023 19:28:07 bamboo_gpg_keyname=mgoodrich@pih.org build 02-Jun-2023 19:28:07 bamboo_planRepository_branchDisplayName=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_buildResultsUrl=https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-74 build 02-Jun-2023 19:28:07 LOGNAME=bamboo build 02-Jun-2023 19:28:07 bamboo_agentWorkingDirectory=/home/bamboo/remote-agent/xml-data/build-dir build 02-Jun-2023 19:28:07 bamboo_repository_revision_number=610e838352c65d18ec58768feadefd6865e1e81d build 02-Jun-2023 19:28:07 JOURNAL_STREAM=7:219908 build 02-Jun-2023 19:28:07 bamboo_planRepository_1_branchName=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_repository_684359760_git_username=matthew.d.pearson@me.com build 02-Jun-2023 19:28:07 WRAPPER_ARCH=x86 build 02-Jun-2023 19:28:07 bamboo_planRepository_revision=610e838352c65d18ec58768feadefd6865e1e81d build 02-Jun-2023 19:28:07 bamboo_planRepository_type=gh2 build 02-Jun-2023 19:28:07 bamboo_planName=OpenBoxes - ☆ obdev3 ← Grails 3 build 02-Jun-2023 19:28:07 bamboo_customRevision=OBGM-403-update-node build 02-Jun-2023 19:28:07 WRAPPER_JAVA_VERSION_MINOR=0 build 02-Jun-2023 19:28:07 WRAPPER_JAVA_VERSION_REVISION=372 build 02-Jun-2023 19:28:07 bamboo_repository_684359760_previous_revision_number=1988bd1e0b6a2adad02c3a013c59627c6a66ca23 build 02-Jun-2023 19:28:07 bamboo_repository_git_branch=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_repository_name=OpenBoxes (Grails 3) build 02-Jun-2023 19:28:07 bamboo_planRepository_repositoryUrl=https://github.com/openboxes/openboxes.git build 02-Jun-2023 19:28:07 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin build 02-Jun-2023 19:28:07 bamboo_planRepository_previousRevision=1988bd1e0b6a2adad02c3a013c59627c6a66ca23 build 02-Jun-2023 19:28:07 WRAPPER_LANG=en build 02-Jun-2023 19:28:07 INVOCATION_ID=feb1f5b878f24370929c9af71240fb55 build 02-Jun-2023 19:28:07 WRAPPER_EDITION=Standard build 02-Jun-2023 19:28:07 bamboo_planRepository_1_branch=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/zulu7-ca-amd64 build 02-Jun-2023 19:28:07 bamboo_agentId=686194695 build 02-Jun-2023 19:28:07 WRAPPER_FILE_SEPARATOR=/ build 02-Jun-2023 19:28:07 bamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/zulu8-ca-amd64 build 02-Jun-2023 19:28:07 bamboo_capability_system_jdk_JDK_1_7_0_352=/usr/lib/jvm/zulu7-ca-amd64 build 02-Jun-2023 19:28:07 bamboo_planRepository_name=OpenBoxes (Grails 3) build 02-Jun-2023 19:28:07 bamboo_repository_684359760_branch_name=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 LANG=C.UTF-8 build 02-Jun-2023 19:28:07 WRAPPER_HOSTNAME=obagent2.pih-emr.org build 02-Jun-2023 19:28:07 bamboo_resultsUrl=https://bamboo-ci.pih-emr.org/browse/OPENBOXES-OBDEV3-DJ-74 build 02-Jun-2023 19:28:07 bamboo_buildTimeStamp=2023-06-02T19:28:05.402Z build 02-Jun-2023 19:28:07 bamboo_capability_system_jdk_JDK_1_8_0_372=/usr/lib/jvm/zulu8-ca-amd64 build 02-Jun-2023 19:28:07 SHELL=/bin/sh build 02-Jun-2023 19:28:07 bamboo_repository_git_username=matthew.d.pearson@me.com build 02-Jun-2023 19:28:07 bamboo_capability_system_builder_grailsBuilder_Grails_1_3=/home/bamboo/remote-agent/build_tools/grails-1.3.9 build 02-Jun-2023 19:28:07 bamboo_plan_storageTag=plan-666468407 build 02-Jun-2023 19:28:07 bamboo_capability_system_builder_grailsBuilder_Grails_3_3=/home/bamboo/remote-agent/build_tools/grails-3.3.16 build 02-Jun-2023 19:28:07 bamboo_planRepository_branchName=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_shortPlanKey=OBDEV3 build 02-Jun-2023 19:28:07 bamboo_repository_previous_revision_number=1988bd1e0b6a2adad02c3a013c59627c6a66ca23 build 02-Jun-2023 19:28:07 bamboo_planRepository_1_username=matthew.d.pearson@me.com build 02-Jun-2023 19:28:07 WRAPPER_PID=25501 build 02-Jun-2023 19:28:07 bamboo_buildKey=OPENBOXES-OBDEV3-DJ build 02-Jun-2023 19:28:07 WRAPPER_CONF_DIR=/home/bamboo/remote-agent/conf build 02-Jun-2023 19:28:07 bamboo_git_cache_directory=/home/bamboo/remote-agent/xml-data/build-dir/_git-repositories-cache build 02-Jun-2023 19:28:07 WRAPPER_JAVA_VENDOR=OpenJDK build 02-Jun-2023 19:28:07 WRAPPER_BIN_DIR=/home/bamboo/remote-agent/bin build 02-Jun-2023 19:28:07 PWD=/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ build 02-Jun-2023 19:28:07 bamboo_capability_system_builder_node_Node_js_14_21=/home/bamboo/remote-agent/build_tools/node-v14.21.3-linux-x64/bin/node build 02-Jun-2023 19:28:07 bamboo_repository_branch_name=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_planRepository_branch=feature/upgrade-to-grails-3.3.10 build 02-Jun-2023 19:28:07 bamboo_tmp_directory=/home/bamboo/remote-agent/temp build 02-Jun-2023 19:28:07 bamboo_shortJobKey=DJ build 02-Jun-2023 19:28:07 bamboo_capability_system_git_executable=/usr/bin/git build 02-Jun-2023 19:28:07 bamboo_repository_684359760_git_repositoryUrl=https://github.com/openboxes/openboxes.git build 02-Jun-2023 19:28:07 _WSREP_START_POSITION= build 02-Jun-2023 19:28:07 RUNTIME_DIRECTORY=/run/bamboo-remote-agent build 02-Jun-2023 19:28:07 WRAPPER_PATH_SEPARATOR=: build 02-Jun-2023 19:28:07 bamboo_build_working_directory=/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ build 02-Jun-2023 19:28:07 WRAPPER_BITS=64 build 02-Jun-2023 19:28:07 bamboo_working_directory=/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ build 02-Jun-2023 19:28:07 bamboo_gpg_passphrase=******** simple 02-Jun-2023 19:28:07 Finished task 'Script' with result: Success command 02-Jun-2023 19:28:07 Substituting variable: ${bamboo.buildNumber} with 74 simple 02-Jun-2023 19:28:07 Starting task 'grails prod war --debug --non-interactive --plain-output --scan' of type 'com.atlassian.bamboo.plugins.bamboo-grails-plugin:grailsBuilderTaskType' command 02-Jun-2023 19:28:07 Beginning to execute external process for build 'OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74)'\n ... running command line: \n/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=74 prod war --debug --non-interactive --plain-output --scan\n ... in: /home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ\n build 02-Jun-2023 19:28:07 |Resolving Dependencies. Please wait... build 02-Jun-2023 19:28:09 build 02-Jun-2023 19:28:09 > Configure project : build 02-Jun-2023 19:28:09 configuring for a Tomcat-hosted environment... build 02-Jun-2023 19:28:09 build 02-Jun-2023 19:28:09 CONFIGURE SUCCESSFUL in 1s build 02-Jun-2023 19:28:11 build 02-Jun-2023 19:28:11 > Configure project : build 02-Jun-2023 19:28:11 configuring for a Tomcat-hosted environment... build 02-Jun-2023 19:28:11 build 02-Jun-2023 19:28:11 > Task :bootBuildInfo build 02-Jun-2023 19:28:11 > Task :compileJava NO-SOURCE build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 > Task :compileGroovy build 02-Jun-2023 19:28:17 WARNING: The [bindInvoiceData] action accepts a parameter of type [org.grails.web.json.JSONObject] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 Invoice bindInvoiceData(Invoice invoice, Location currentLocation, JSONObject jsonObject) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [bindLocationData] action accepts a parameter of type [org.grails.web.json.JSONObject] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 Location bindLocationData(Location location, JSONObject jsonObject) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [bindOrganizationData] action accepts a parameter of type [org.grails.web.json.JSONObject] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 Organization bindOrganizationData(Organization organization, JSONObject jsonObject) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getOrdersCsv] action in [org.pih.warehouse.api.PurchaseOrderApiController] accepts a parameter of type [java.util.List]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 def getOrdersCsv(List purchaseOrders) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getOrderItemsCsv] action in [org.pih.warehouse.api.PurchaseOrderApiController] accepts a parameter of type [java.util.List]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 def getOrderItemsCsv(List<OrderSummary> purchaseOrders) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getReasonCode] action accepts a parameter of type [org.pih.warehouse.core.ReasonCode] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 ReasonCodeCommand getReasonCode(ReasonCode reasonCodeEnum) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [bindReplenishmentData] action accepts a parameter of type [org.grails.web.json.JSONObject] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 Replenishment bindReplenishmentData(Replenishment replenishment, User currentUser, Location currentLocation, JSONObject jsonObject) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getShipmentItemsCsv] action in [org.pih.warehouse.api.StockMovementApiController] accepts a parameter of type [java.util.List]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 def getShipmentItemsCsv(List shipmentItems) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getPendingRequisitionItemsCsv] action in [org.pih.warehouse.api.StockMovementApiController] accepts a parameter of type [java.util.List]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 def getPendingRequisitionItemsCsv(List pendingRequisitionItems) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:17 WARNING: The [getStockMovementsCsv] action in [org.pih.warehouse.api.StockMovementApiController] accepts a parameter of type [java.util.List]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:17 build 02-Jun-2023 19:28:17 def getStockMovementsCsv(List stockMovements) { build 02-Jun-2023 19:28:17 ^ build 02-Jun-2023 19:28:18 WARNING: The [bindStockTransferData] action accepts a parameter of type [org.grails.web.json.JSONObject] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:18 build 02-Jun-2023 19:28:18 StockTransfer bindStockTransferData(StockTransfer stockTransfer, User currentUser, Location currentLocation, JSONObject jsonObject) { build 02-Jun-2023 19:28:18 ^ build 02-Jun-2023 19:28:18 WARNING: The [markAs] action accepts a parameter of type [org.pih.warehouse.inventory.InventoryStatus] which does not implement grails.validation.Validateable. Data binding will still be applied to this command object but the instance will not be validateable. build 02-Jun-2023 19:28:18 build 02-Jun-2023 19:28:18 def markAs(Product product, Inventory inventory, InventoryStatus inventoryStatus) { build 02-Jun-2023 19:28:18 ^ build 02-Jun-2023 19:28:19 WARNING: The [updateAttributes] action in [org.pih.warehouse.product.ProductSupplierController] accepts a parameter of type [java.util.Map]. Interface types and abstract class types are not supported as command objects. This parameter will be ignored. build 02-Jun-2023 19:28:19 build 02-Jun-2023 19:28:19 def updateAttributes(ProductSupplier productSupplier, Map params) { build 02-Jun-2023 19:28:19 ^ build 02-Jun-2023 19:28:28 build 02-Jun-2023 19:28:28 > Task :generateGitProperties build 02-Jun-2023 19:28:29 Processing File 1 of 28 - mobile.css build 02-Jun-2023 19:28:29 Processing File 2 of 28 - badge.css build 02-Jun-2023 19:28:29 Processing File 3 of 28 - errors.css build 02-Jun-2023 19:28:29 Processing File 4 of 28 - main.css build 02-Jun-2023 19:28:29 Processing File 5 of 28 - grails.css build 02-Jun-2023 19:28:29 Processing File 6 of 28 - onScan.min.js build 02-Jun-2023 19:28:29 Processing File 7 of 28 - apple-touch-icon.png build 02-Jun-2023 19:28:29 Processing File 8 of 28 - openboxes_logo_40x40.jpg build 02-Jun-2023 19:28:29 Processing File 9 of 28 - slack.svg build 02-Jun-2023 19:28:29 Processing File 10 of 28 - grails-cupsonly-logo-white.svg build 02-Jun-2023 19:28:29 Processing File 11 of 28 - advancedgrails.svg build 02-Jun-2023 19:28:29 Processing File 12 of 28 - documentation.svg build 02-Jun-2023 19:28:29 Processing File 13 of 28 - grails.svg build 02-Jun-2023 19:28:29 Processing File 14 of 28 - apple-touch-icon-retina.png build 02-Jun-2023 19:28:29 Processing File 15 of 28 - favicon.ico build 02-Jun-2023 19:28:29 Processing File 16 of 28 - jgreenspan.png build 02-Jun-2023 19:28:29 Processing File 17 of 28 - skin/sorted_asc.gif build 02-Jun-2023 19:28:29 Processing File 18 of 28 - skin/database_delete.png build 02-Jun-2023 19:28:29 Processing File 19 of 28 - skin/information.png build 02-Jun-2023 19:28:29 Processing File 20 of 28 - skin/exclamation.png build 02-Jun-2023 19:28:29 Processing File 21 of 28 - skin/sorted_desc.gif build 02-Jun-2023 19:28:29 Processing File 22 of 28 - skin/database_save.png build 02-Jun-2023 19:28:29 Processing File 23 of 28 - skin/database_table.png build 02-Jun-2023 19:28:29 Processing File 24 of 28 - skin/database_edit.png build 02-Jun-2023 19:28:29 Processing File 25 of 28 - skin/database_add.png build 02-Jun-2023 19:28:29 Processing File 26 of 28 - skin/shadow.jpg build 02-Jun-2023 19:28:29 Processing File 27 of 28 - skin/house.png build 02-Jun-2023 19:28:29 Processing File 28 of 28 - spinner.gif build 02-Jun-2023 19:28:29 build 02-Jun-2023 19:28:29 > Task :assetCompile build 02-Jun-2023 19:28:29 Finished Precompiling Assets build 02-Jun-2023 19:28:29 build 02-Jun-2023 19:28:29 > Task :buildProperties build 02-Jun-2023 19:28:30 > Task :nodeSetup build 02-Jun-2023 19:28:30 > Task :npmSetup FAILED build 02-Jun-2023 19:28:30 build 02-Jun-2023 19:28:30 FAILURE: Build failed with an exception. build 02-Jun-2023 19:28:30 build 02-Jun-2023 19:28:30 * What went wrong: build 02-Jun-2023 19:28:30 Execution failed for task ':npmSetup'. build 02-Jun-2023 19:28:30 > Process 'command '/home/bamboo/remote-agent/xml-data/build-dir/OPENBOXES-OBDEV3-DJ/.gradle/nodejs/node-v18.16.0-linux-x64/bin/node'' finished with non-zero exit value 159 build 02-Jun-2023 19:28:30 build 02-Jun-2023 19:28:30 * Try: build 02-Jun-2023 19:28:30 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. build 02-Jun-2023 19:28:30 build 02-Jun-2023 19:28:30 * Get more help at https://help.gradle.org build 02-Jun-2023 19:28:30 build 02-Jun-2023 19:28:30 BUILD FAILED in 19s build 02-Jun-2023 19:28:30 7 actionable tasks: 7 executed build 02-Jun-2023 19:28:30 Error | build 02-Jun-2023 19:28:30 Command [war] error: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'. (Use --stacktrace to see the full trace) simple 02-Jun-2023 19:28:30 Failing task since return code of [/home/bamboo/remote-agent/build_tools/grails-3.3.16/bin/grails -Dbuild.number=74 prod war --debug --non-interactive --plain-output --scan] was 1 while expected 0 simple 02-Jun-2023 19:28:30 Finished task 'grails prod war --debug --non-interactive --plain-output --scan' with result: Failed simple 02-Jun-2023 19:28:30 Starting task 'restart tomcat server via ssh' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 02-Jun-2023 19:28:30 Beginning to execute external process for build 'OpenBoxes - ☆ obdev3 ← Grails 3 - Default Job #74 (OPENBOXES-OBDEV3-DJ-74)'\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 02-Jun-2023 19:28:31 Restarting tomcat ... build 02-Jun-2023 19:28:36 Allowing 90 seconds for tomcat to restart ... build 02-Jun-2023 19:30:06 Emailing notifications ... build 02-Jun-2023 19:30:06 Done. simple 02-Jun-2023 19:30:06 Finished task 'restart tomcat server via ssh' with result: Success simple 02-Jun-2023 19:30:06 Running post build plugin 'Docker Container Cleanup' simple 02-Jun-2023 19:30:06 Running post build plugin 'NCover Results Collector' simple 02-Jun-2023 19:30:06 Running post build plugin 'Build Results Label Collector' simple 02-Jun-2023 19:30:06 Running post build plugin 'Clover Results Collector' simple 02-Jun-2023 19:30:06 Running post build plugin 'npm Cache Cleanup' simple 02-Jun-2023 19:30:06 Running post build plugin 'Artifact Copier' simple 02-Jun-2023 19:30:06 Publishing an artifact: Latest WAR error 02-Jun-2023 19:30:06 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 02-Jun-2023 19:30:06 The artifact hasn't been successfully published after 244.1 μs simple 02-Jun-2023 19:30:06 Finalising the build... simple 02-Jun-2023 19:30:06 Stopping timer. simple 02-Jun-2023 19:30:06 Build OPENBOXES-OBDEV3-DJ-74 completed. simple 02-Jun-2023 19:30:07 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 02-Jun-2023 19:30:07 Running on server: post build plugin 'NCover Results Collector' simple 02-Jun-2023 19:30:07 Running on server: post build plugin 'Build Labeller' simple 02-Jun-2023 19:30:07 Running on server: post build plugin 'Clover Delta Calculator' simple 02-Jun-2023 19:30:07 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 02-Jun-2023 19:30:07 All post build plugins have finished simple 02-Jun-2023 19:30:07 Generating build results summary... simple 02-Jun-2023 19:30:07 Saving build results to disk... simple 02-Jun-2023 19:30:07 Store variable context... simple 02-Jun-2023 19:30:07 Finished building OPENBOXES-OBDEV3-DJ-74.