simple 05-Nov-2024 03:40:18 Build OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 05-Nov-2024 03:40:18 Remote agent on host xiao.openmrs.org simple 05-Nov-2024 03:40:18 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11 simple 05-Nov-2024 03:40:18 Executing build OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6) simple 05-Nov-2024 03:40:18 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 05-Nov-2024 03:40:18 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11 simple 05-Nov-2024 03:40:18 Updating source code to revision: 35b96f9b01a344aaeeb60b17eead575f2bb6c666 simple 05-Nov-2024 03:40:18 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git'. simple 05-Nov-2024 03:40:18 hint: Using 'master' as the name for the initial branch. This default branch name simple 05-Nov-2024 03:40:18 hint: is subject to change. To configure the initial branch name to use in all simple 05-Nov-2024 03:40:18 hint: of your new repositories, which will suppress this warning, call: simple 05-Nov-2024 03:40:18 hint: simple 05-Nov-2024 03:40:18 hint: git config --global init.defaultBranch simple 05-Nov-2024 03:40:18 hint: simple 05-Nov-2024 03:40:18 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 05-Nov-2024 03:40:18 hint: 'development'. The just-created branch can be renamed via this command: simple 05-Nov-2024 03:40:18 hint: simple 05-Nov-2024 03:40:18 hint: git branch -m simple 05-Nov-2024 03:40:18 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git/ simple 05-Nov-2024 03:40:18 Fetching 'refs/heads/2.7.x' from 'https://github.com/openmrs/openmrs-core.git'. Will try to do a shallow fetch. simple 05-Nov-2024 03:40:20 From https://github.com/openmrs/openmrs-core simple 05-Nov-2024 03:40:20 * [new branch] 2.7.x -> 2.7.x simple 05-Nov-2024 03:40:20 * [new tag] 2.7.0-alpha -> 2.7.0-alpha simple 05-Nov-2024 03:40:20 Checking out revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666. simple 05-Nov-2024 03:40:20 fatal: reference is not a tree: 35b96f9b01a344aaeeb60b17eead575f2bb6c666 error 05-Nov-2024 03:40:20 Checkout to revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666 has failed. simple 05-Nov-2024 03:40:20 Warning: failed to checkout source code to directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11', trying to recover... simple 05-Nov-2024 03:40:20 Cleaned source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11'... simple 05-Nov-2024 03:40:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git'. simple 05-Nov-2024 03:40:20 hint: Using 'master' as the name for the initial branch. This default branch name simple 05-Nov-2024 03:40:20 hint: is subject to change. To configure the initial branch name to use in all simple 05-Nov-2024 03:40:20 hint: of your new repositories, which will suppress this warning, call: simple 05-Nov-2024 03:40:20 hint: simple 05-Nov-2024 03:40:20 hint: git config --global init.defaultBranch simple 05-Nov-2024 03:40:20 hint: simple 05-Nov-2024 03:40:20 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 05-Nov-2024 03:40:20 hint: 'development'. The just-created branch can be renamed via this command: simple 05-Nov-2024 03:40:20 hint: simple 05-Nov-2024 03:40:20 hint: git branch -m simple 05-Nov-2024 03:40:20 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git/ simple 05-Nov-2024 03:40:20 Fetching 'refs/heads/2.7.x' from 'https://github.com/openmrs/openmrs-core.git'. simple 05-Nov-2024 03:40:27 From https://github.com/openmrs/openmrs-core simple 05-Nov-2024 03:40:27 * [new branch] 2.7.x -> 2.7.x simple 05-Nov-2024 03:40:27 * [new tag] 2.7.0-alpha -> 2.7.0-alpha simple 05-Nov-2024 03:40:27 * [new tag] 1.1.0 -> 1.1.0 simple 05-Nov-2024 03:40:27 * [new tag] 1.10.0-alpha -> 1.10.0-alpha simple 05-Nov-2024 03:40:27 * [new tag] 1.2.0 -> 1.2.0 simple 05-Nov-2024 03:40:27 * [new tag] 1.2.01 -> 1.2.01 simple 05-Nov-2024 03:40:27 * [new tag] 1.2.01-RC1 -> 1.2.01-RC1 simple 05-Nov-2024 03:40:27 * [new tag] 1.3.0-RC1 -> 1.3.0-RC1 simple 05-Nov-2024 03:40:27 * [new tag] 1.3.0-RC2 -> 1.3.0-RC2 simple 05-Nov-2024 03:40:27 * [new tag] 1.3.0-RC3 -> 1.3.0-RC3 simple 05-Nov-2024 03:40:27 * [new tag] 1.3.0-RC4 -> 1.3.0-RC4 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-RC -> 1.9.0-RC simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-RC2 -> 1.9.0-RC2 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-RC3 -> 1.9.0-RC3 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-RC4 -> 1.9.0-RC4 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-alpha -> 1.9.0-alpha simple 05-Nov-2024 03:40:27 * [new tag] 1.9.0-beta -> 1.9.0-beta simple 05-Nov-2024 03:40:27 * [new tag] 1.9.2 -> 1.9.2 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.3 -> 1.9.3 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.4 -> 1.9.4 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.5 -> 1.9.5 simple 05-Nov-2024 03:40:27 * [new tag] 1.9.6 -> 1.9.6 simple 05-Nov-2024 03:40:27 * [new tag] 2.2.0-20181112.082045-243 -> 2.2.0-20181112.082045-243 simple 05-Nov-2024 03:40:27 * [new tag] 2.4.0-alpha -> 2.4.0-alpha simple 05-Nov-2024 03:40:27 * [new tag] mirebalais_deploy_version -> mirebalais_deploy_version simple 05-Nov-2024 03:40:27 Fetching to source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11' completed, proceeding with checkout... simple 05-Nov-2024 03:40:27 Checking out revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666. simple 05-Nov-2024 03:40:28 Note: switching to '35b96f9b01a344aaeeb60b17eead575f2bb6c666'. simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 You are in 'detached HEAD' state. You can look around, make experimental simple 05-Nov-2024 03:40:28 changes and commit them, and you can discard any commits you make in this simple 05-Nov-2024 03:40:28 state without impacting any branches by switching back to a branch. simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 If you want to create a new branch to retain commits you create, you may simple 05-Nov-2024 03:40:28 do so (now or later) by using -c with the switch command. Example: simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 git switch -c simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 Or undo this operation with: simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 git switch - simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 Turn off this advice by setting config variable advice.detachedHead to false simple 05-Nov-2024 03:40:28 simple 05-Nov-2024 03:40:28 HEAD is now at 35b96f9b0 maven(deps): bump net.bytebuddy:byte-buddy-agent from 1.15.7 to 1.15.8 (#4810) simple 05-Nov-2024 03:40:28 Checkout completed, recover successful. simple 05-Nov-2024 03:40:28 Updated source code to revision: 35b96f9b01a344aaeeb60b17eead575f2bb6c666 simple 05-Nov-2024 03:40:28 Finished task 'Checkout Default Repository' with result: Success simple 05-Nov-2024 03:40:28 Running pre-build action: Build Log Labeller Pre Build Action simple 05-Nov-2024 03:40:28 Running pre-build action: VCS Version Collector simple 05-Nov-2024 03:40:28 Running pre-build action: Run Predator simple 05-Nov-2024 03:40:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 05-Nov-2024 03:40:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 05-Nov-2024 03:40:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 23955 java 1258 bamboo-age 2973Mb 394Mb 00:11:11 /usr/lib/jvm/java-8-ope simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1258 wrapper 1 bamboo-age 16Mb 3Mb 00:09:12 /home/bamboo-agent/bamb simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:48 /sbin/init simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Initial free space: 5.459423 GB simple 05-Nov-2024 03:40:52 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD simple 05-Nov-2024 03:41:03 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository simple 05-Nov-2024 03:41:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 05-Nov-2024 03:41:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] Final free space: 5.4944763 GB simple 05-Nov-2024 03:41:04 [PredatorPreBuildAction] Done command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.maven.release.version} with 2.7.0-alpha command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.tag} with nightly command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 05-Nov-2024 03:41:04 Substituting password variable: ${bamboo.dockerhub.password} command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 05-Nov-2024 03:41:04 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 05-Nov-2024 03:41:04 Starting task 'Build and push JDK 11 images' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 05-Nov-2024 03:41:04 Beginning to execute external process for build 'OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11\n build 05-Nov-2024 03:41:04 Start of Lmod init/bash script to define the module command error 05-Nov-2024 03:41:04 + [[ ehuB != ehuxB ]] error 05-Nov-2024 03:41:04 + echo 'Start of Lmod init/bash script to define the module command' error 05-Nov-2024 03:41:04 + LMOD_PKG=/usr/share/lmod/lmod error 05-Nov-2024 03:41:04 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 05-Nov-2024 03:41:04 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 05-Nov-2024 03:41:04 + MODULESHOME=/usr/share/lmod/lmod error 05-Nov-2024 03:41:04 + export LMOD_PKG error 05-Nov-2024 03:41:04 + export LMOD_CMD error 05-Nov-2024 03:41:04 + export LMOD_DIR error 05-Nov-2024 03:41:04 + export MODULESHOME error 05-Nov-2024 03:41:04 + LMOD_VERSION=6.6 error 05-Nov-2024 03:41:04 + export LMOD_VERSION error 05-Nov-2024 03:41:04 + '[' : '!=' : ']' error 05-Nov-2024 03:41:04 + unalias ml error 05-Nov-2024 03:41:04 + true error 05-Nov-2024 03:41:04 ++ echo YES error 05-Nov-2024 03:41:04 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 05-Nov-2024 03:41:04 + export_module=yes error 05-Nov-2024 03:41:04 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 05-Nov-2024 03:41:04 + export -f module error 05-Nov-2024 03:41:04 + export -f ml error 05-Nov-2024 03:41:04 + unset export_module error 05-Nov-2024 03:41:04 + '[' -n '' ']' error 05-Nov-2024 03:41:04 + '[' 5 -ge 3 ']' error 05-Nov-2024 03:41:04 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 05-Nov-2024 03:41:04 + '[' -n '' ']' error 05-Nov-2024 03:41:04 + [[ ehuB != ehuxB ]] error 05-Nov-2024 03:41:04 + echo 'End of Lmod init/bash script to define the module command' build 05-Nov-2024 03:41:04 End of Lmod init/bash script to define the module command error 05-Nov-2024 03:41:04 + set +x error 05-Nov-2024 03:41:04 /home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh: line 6: JDK_IMAGE: unbound variable simple 05-Nov-2024 03:41:04 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh] was 1 while expected 0 simple 05-Nov-2024 03:41:04 Finished task 'Build and push JDK 11 images' with result: Failed simple 05-Nov-2024 03:41:04 Running post build plugin 'Docker Container Cleanup' simple 05-Nov-2024 03:41:04 Running post build plugin 'NCover Results Collector' simple 05-Nov-2024 03:41:04 Running post build plugin 'Build Results Label Collector' simple 05-Nov-2024 03:41:04 Running post build plugin 'Clover Results Collector' simple 05-Nov-2024 03:41:04 Running post build plugin 'npm Cache Cleanup' simple 05-Nov-2024 03:41:04 Running post build plugin 'Artifact Copier' simple 05-Nov-2024 03:41:04 Finalising the build... simple 05-Nov-2024 03:41:04 Stopping timer. simple 05-Nov-2024 03:41:04 Build TRUNK-CORE270-RTD11-6 completed. simple 05-Nov-2024 03:41:04 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 05-Nov-2024 03:41:04 Running on server: post build plugin 'NCover Results Collector' simple 05-Nov-2024 03:41:04 Running on server: post build plugin 'Build Labeller' simple 05-Nov-2024 03:41:04 Running on server: post build plugin 'Clover Delta Calculator' simple 05-Nov-2024 03:41:04 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 05-Nov-2024 03:41:04 All post build plugins have finished simple 05-Nov-2024 03:41:04 Generating build results summary... simple 05-Nov-2024 03:41:04 Saving build results to disk... simple 05-Nov-2024 03:41:04 Store variable context... simple 05-Nov-2024 03:41:04 Finished building TRUNK-CORE270-RTD11-6.