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