simple 09-Sep-2024 10:06:10 Build O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 09-Sep-2024 10:06:10 Remote agent on host xiao.openmrs.org simple 09-Sep-2024 10:06:10 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT simple 09-Sep-2024 10:06:10 Executing build O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18) simple 09-Sep-2024 10:06:10 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 09-Sep-2024 10:06:10 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT simple 09-Sep-2024 10:06:10 Updating source code to revision: 0d95867e8a2124623fadd6d75b182630b4e25eac simple 09-Sep-2024 10:06:10 Enforcing full fetch as requested revision has not been found on the configured branch simple 09-Sep-2024 10:06:10 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT/.git'. simple 09-Sep-2024 10:06:10 hint: Using 'master' as the name for the initial branch. This default branch name simple 09-Sep-2024 10:06:10 hint: is subject to change. To configure the initial branch name to use in all simple 09-Sep-2024 10:06:10 hint: of your new repositories, which will suppress this warning, call: simple 09-Sep-2024 10:06:10 hint: simple 09-Sep-2024 10:06:10 hint: git config --global init.defaultBranch simple 09-Sep-2024 10:06:10 hint: simple 09-Sep-2024 10:06:10 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 09-Sep-2024 10:06:10 hint: 'development'. The just-created branch can be renamed via this command: simple 09-Sep-2024 10:06:10 hint: simple 09-Sep-2024 10:06:10 hint: git branch -m simple 09-Sep-2024 10:06:10 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT/.git/ simple 09-Sep-2024 10:06:10 Fetching 'refs/heads/*' from 'git@github.com:openmrs/openmrs-distro-referenceapplication.git'. simple 09-Sep-2024 10:06:10 Warning: Permanently added '[127.0.0.1]:39371' (RSA) to the list of known hosts. simple 09-Sep-2024 10:06:14 From ssh://127.0.0.1:39371/openmrs/openmrs-distro-referenceapplication simple 09-Sep-2024 10:06:14 * [new branch] 2.12.0-dev -> 2.12.0-dev simple 09-Sep-2024 10:06:14 * [new branch] 2.12.x -> 2.12.x simple 09-Sep-2024 10:06:14 * [new branch] 2.3.x -> 2.3.x simple 09-Sep-2024 10:06:14 * [new branch] 2.6.x -> 2.6.x simple 09-Sep-2024 10:06:14 * [new branch] 2.x -> 2.x simple 09-Sep-2024 10:06:14 * [new branch] 3.x-ohri -> 3.x-ohri simple 09-Sep-2024 10:06:14 * [new branch] KH-3 -> KH-3 simple 09-Sep-2024 10:06:14 * [new branch] O3-2563-labs-tests -> O3-2563-labs-tests simple 09-Sep-2024 10:06:14 * [new branch] O3-3192-bed-management -> O3-3192-bed-management simple 09-Sep-2024 10:06:14 * [new branch] O3-3495 -> O3-3495 simple 09-Sep-2024 10:06:14 * [new branch] chore/O3-3717 -> chore/O3-3717 simple 09-Sep-2024 10:06:14 * [new branch] feat/support-updated-spa-build-config -> feat/support-updated-spa-build-config simple 09-Sep-2024 10:06:14 * [new branch] gracepotma-temperature_ranges_20240508 -> gracepotma-temperature_ranges_20240508 simple 09-Sep-2024 10:06:14 * [new branch] hk-add-hct-and-hp-packages -> hk-add-hct-and-hp-packages simple 09-Sep-2024 10:06:14 * [new branch] main -> main simple 09-Sep-2024 10:06:14 * [new branch] msf -> msf simple 09-Sep-2024 10:06:14 * [new branch] platform-2.1.x -> platform-2.1.x simple 09-Sep-2024 10:06:14 * [new branch] release/3.0.0 -> release/3.0.0 simple 09-Sep-2024 10:06:14 * [new branch] releases/3.2.0 -> releases/3.2.0 simple 09-Sep-2024 10:06:14 * [new branch] releases/beta-21 -> releases/beta-21 simple 09-Sep-2024 10:06:14 * [new branch] show-upcoming-appointments -> show-upcoming-appointments simple 09-Sep-2024 10:06:14 * [new branch] soap-note-b -> soap-note-b simple 09-Sep-2024 10:06:14 * [new branch] uat -> uat simple 09-Sep-2024 10:06:14 * [new branch] update-lab-metadata-aug20-2024 -> update-lab-metadata-aug20-2024 simple 09-Sep-2024 10:06:14 * [new branch] update/drug-metadata-nevirapinedose -> update/drug-metadata-nevirapinedose simple 09-Sep-2024 10:06:14 * [new branch] visit-queue-number -> visit-queue-number simple 09-Sep-2024 10:06:14 * [new tag] 2.0.1769 -> 2.0.1769 simple 09-Sep-2024 10:06:14 * [new tag] 2.1 -> 2.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.10.0 -> 2.10.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.11.0 -> 2.11.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.12.0 -> 2.12.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.12.0-dev -> 2.12.0-dev simple 09-Sep-2024 10:06:14 * [new tag] 2.12.1 -> 2.12.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.12.2 -> 2.12.2 simple 09-Sep-2024 10:06:14 * [new tag] 2.13.0 -> 2.13.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.13.0-alpha -> 2.13.0-alpha simple 09-Sep-2024 10:06:14 * [new tag] 2.13.0-alpha.1 -> 2.13.0-alpha.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.13.0-alpha.4 -> 2.13.0-alpha.4 simple 09-Sep-2024 10:06:14 * [new tag] 2.13.0-alpha.7 -> 2.13.0-alpha.7 simple 09-Sep-2024 10:06:14 * [new tag] 2.2 -> 2.2 simple 09-Sep-2024 10:06:14 * [new tag] 2.3 -> 2.3 simple 09-Sep-2024 10:06:14 * [new tag] 2.3.1 -> 2.3.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.4 -> 2.4 simple 09-Sep-2024 10:06:14 * [new tag] 2.5 -> 2.5 simple 09-Sep-2024 10:06:14 * [new tag] 2.6.0 -> 2.6.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.6.1 -> 2.6.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.7.0 -> 2.7.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.8.0 -> 2.8.0 simple 09-Sep-2024 10:06:14 * [new tag] 2.8.1 -> 2.8.1 simple 09-Sep-2024 10:06:14 * [new tag] 2.9.0 -> 2.9.0 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0 -> 3.0.0 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.2 -> 3.0.0-alpha.2 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.3 -> 3.0.0-alpha.3 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.4 -> 3.0.0-alpha.4 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.5 -> 3.0.0-alpha.5 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.6 -> 3.0.0-alpha.6 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-alpha.7 -> 3.0.0-alpha.7 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.1 -> 3.0.0-beta.1 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.10 -> 3.0.0-beta.10 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.11 -> 3.0.0-beta.11 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.12 -> 3.0.0-beta.12 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.13 -> 3.0.0-beta.13 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.14 -> 3.0.0-beta.14 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.15 -> 3.0.0-beta.15 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.16 -> 3.0.0-beta.16 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.17 -> 3.0.0-beta.17 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.18 -> 3.0.0-beta.18 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.19 -> 3.0.0-beta.19 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.2 -> 3.0.0-beta.2 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.20 -> 3.0.0-beta.20 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.21 -> 3.0.0-beta.21 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.3 -> 3.0.0-beta.3 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.4 -> 3.0.0-beta.4 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.5 -> 3.0.0-beta.5 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.6 -> 3.0.0-beta.6 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.7 -> 3.0.0-beta.7 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.8 -> 3.0.0-beta.8 simple 09-Sep-2024 10:06:14 * [new tag] 3.0.0-beta.9 -> 3.0.0-beta.9 simple 09-Sep-2024 10:06:14 * [new tag] 3.1.0 -> 3.1.0 simple 09-Sep-2024 10:06:14 * [new tag] 3.1.1 -> 3.1.1 simple 09-Sep-2024 10:06:14 * [new tag] 3.1.1-rc -> 3.1.1-rc simple 09-Sep-2024 10:06:14 * [new tag] 3.2.0-rc -> 3.2.0-rc simple 09-Sep-2024 10:06:14 * [new tag] 3.2.0-rc.1 -> 3.2.0-rc.1 simple 09-Sep-2024 10:06:14 * [new tag] latest -> latest simple 09-Sep-2024 10:06:14 Checking out revision 0d95867e8a2124623fadd6d75b182630b4e25eac. simple 09-Sep-2024 10:06:14 Note: switching to '0d95867e8a2124623fadd6d75b182630b4e25eac'. simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 You are in 'detached HEAD' state. You can look around, make experimental simple 09-Sep-2024 10:06:14 changes and commit them, and you can discard any commits you make in this simple 09-Sep-2024 10:06:14 state without impacting any branches by switching back to a branch. simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 If you want to create a new branch to retain commits you create, you may simple 09-Sep-2024 10:06:14 do so (now or later) by using -c with the switch command. Example: simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 git switch -c simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 Or undo this operation with: simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 git switch - simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 Turn off this advice by setting config variable advice.detachedHead to false simple 09-Sep-2024 10:06:14 simple 09-Sep-2024 10:06:14 HEAD is now at 0d95867e (release) Release 3.2.0-rc.1 simple 09-Sep-2024 10:06:14 Updated source code to revision: 0d95867e8a2124623fadd6d75b182630b4e25eac simple 09-Sep-2024 10:06:14 Finished task 'Checkout Default Repository' with result: Success simple 09-Sep-2024 10:06:14 Running pre-build action: Build Log Labeller Pre Build Action simple 09-Sep-2024 10:06:14 Running pre-build action: VCS Version Collector simple 09-Sep-2024 10:06:14 Running pre-build action: Run Predator simple 09-Sep-2024 10:06:14 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 09-Sep-2024 10:06:14 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 09-Sep-2024 10:06:14 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2905 java 1268 bamboo-age 2993Mb 648Mb 00:33:43 /usr/lib/jvm/java-8-ope simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1268 wrapper 1 bamboo-age 16Mb 1Mb 00:08:55 /home/bamboo-agent/bamb simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:33 /sbin/init simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Initial free space: 5.5194054 GB simple 09-Sep-2024 10:06:45 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-BAC simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] Deleting 24 snapshot folders from /home/bamboo-agent/.m2/repository simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] Maven snapshot disk freed: 1 GB simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] Final free space: 5.5193977 GB simple 09-Sep-2024 10:06:53 [PredatorPreBuildAction] Done command 09-Sep-2024 10:06:53 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 09-Sep-2024 10:06:53 Substituting password variable: ${bamboo.dockerhub.password} command 09-Sep-2024 10:06:53 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 09-Sep-2024 10:06:53 Starting task 'Build and tag image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 09-Sep-2024 10:06:53 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT\n error 09-Sep-2024 10:06:53 + [[ ehuB != ehuxB ]] error 09-Sep-2024 10:06:53 + echo 'Start of Lmod init/bash script to define the module command' build 09-Sep-2024 10:06:53 Start of Lmod init/bash script to define the module command error 09-Sep-2024 10:06:53 + LMOD_PKG=/usr/share/lmod/lmod error 09-Sep-2024 10:06:53 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 09-Sep-2024 10:06:53 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 09-Sep-2024 10:06:53 + MODULESHOME=/usr/share/lmod/lmod error 09-Sep-2024 10:06:53 + export LMOD_PKG error 09-Sep-2024 10:06:53 + export LMOD_CMD error 09-Sep-2024 10:06:53 + export LMOD_DIR error 09-Sep-2024 10:06:53 + export MODULESHOME error 09-Sep-2024 10:06:53 + LMOD_VERSION=6.6 error 09-Sep-2024 10:06:53 + export LMOD_VERSION error 09-Sep-2024 10:06:53 + '[' : '!=' : ']' error 09-Sep-2024 10:06:53 + unalias ml error 09-Sep-2024 10:06:53 + true error 09-Sep-2024 10:06:53 ++ echo YES error 09-Sep-2024 10:06:53 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 09-Sep-2024 10:06:53 + export_module=yes error 09-Sep-2024 10:06:53 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 09-Sep-2024 10:06:53 + export -f module error 09-Sep-2024 10:06:53 + export -f ml error 09-Sep-2024 10:06:53 + unset export_module error 09-Sep-2024 10:06:53 + '[' -n '' ']' error 09-Sep-2024 10:06:53 + '[' 5 -ge 3 ']' error 09-Sep-2024 10:06:53 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 09-Sep-2024 10:06:53 + '[' -n '' ']' error 09-Sep-2024 10:06:53 + [[ ehuB != ehuxB ]] error 09-Sep-2024 10:06:53 + echo 'End of Lmod init/bash script to define the module command' error 09-Sep-2024 10:06:53 + export IMAGE=openmrs/openmrs-reference-application-3-gateway error 09-Sep-2024 10:06:53 + IMAGE=openmrs/openmrs-reference-application-3-gateway error 09-Sep-2024 10:06:53 + docker login -u openmrsci -p ******** build 09-Sep-2024 10:06:53 End of Lmod init/bash script to define the module command error 09-Sep-2024 10:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 09-Sep-2024 10:06:54 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 09-Sep-2024 10:06:54 Configure a credential helper to remove this warning. See error 09-Sep-2024 10:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 09-Sep-2024 10:06:54 build 09-Sep-2024 10:06:54 Login Succeeded error 09-Sep-2024 10:06:54 /home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh: line 7: ${IMAGE}:${bamboo.TagBuildTriggerReason.tagName}: bad substitution simple 09-Sep-2024 10:06:54 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh] was 1 while expected 0 simple 09-Sep-2024 10:06:54 Finished task 'Build and tag image' with result: Failed simple 09-Sep-2024 10:06:54 Running post build plugin 'Docker Container Cleanup' simple 09-Sep-2024 10:06:54 Running post build plugin 'NCover Results Collector' simple 09-Sep-2024 10:06:54 Running post build plugin 'Build Results Label Collector' simple 09-Sep-2024 10:06:54 Running post build plugin 'Clover Results Collector' simple 09-Sep-2024 10:06:54 Running post build plugin 'npm Cache Cleanup' simple 09-Sep-2024 10:06:54 Running post build plugin 'Artifact Copier' simple 09-Sep-2024 10:06:54 Finalising the build... simple 09-Sep-2024 10:06:54 Stopping timer. simple 09-Sep-2024 10:06:54 Build O3-PQR-GAT-18 completed. simple 09-Sep-2024 10:06:54 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 09-Sep-2024 10:06:54 Running on server: post build plugin 'NCover Results Collector' simple 09-Sep-2024 10:06:54 Running on server: post build plugin 'Build Labeller' simple 09-Sep-2024 10:06:54 Running on server: post build plugin 'Clover Delta Calculator' simple 09-Sep-2024 10:06:54 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 09-Sep-2024 10:06:54 All post build plugins have finished simple 09-Sep-2024 10:06:54 Generating build results summary... simple 09-Sep-2024 10:06:54 Saving build results to disk... simple 09-Sep-2024 10:06:54 Store variable context... simple 09-Sep-2024 10:06:54 Finished building O3-PQR-GAT-18.