simple 21-May-2024 20:00:46 Build O3 Reference Application - Publish QA Release - Gateway #7 (O3-PQR-GAT-7) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 21-May-2024 20:00:46 Remote agent on host xiao.openmrs.org simple 21-May-2024 20:00:46 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT simple 21-May-2024 20:00:47 Executing build O3 Reference Application - Publish QA Release - Gateway #7 (O3-PQR-GAT-7) simple 21-May-2024 20:00:47 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 21-May-2024 20:00:47 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT simple 21-May-2024 20:00:47 Updating source code to revision: ec8d867823094d16541f12e3586094b7da0583c5 simple 21-May-2024 20:00:47 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 21-May-2024 20:00:47 Checking out revision ec8d867823094d16541f12e3586094b7da0583c5. simple 21-May-2024 20:00:47 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT/.git'. simple 21-May-2024 20:00:47 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT'... simple 21-May-2024 20:00:47 done. simple 21-May-2024 20:00:47 Note: switching to 'ec8d867823094d16541f12e3586094b7da0583c5'. simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 You are in 'detached HEAD' state. You can look around, make experimental simple 21-May-2024 20:00:47 changes and commit them, and you can discard any commits you make in this simple 21-May-2024 20:00:47 state without impacting any branches by switching back to a branch. simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 If you want to create a new branch to retain commits you create, you may simple 21-May-2024 20:00:47 do so (now or later) by using -c with the switch command. Example: simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 git switch -c simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 Or undo this operation with: simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 git switch - simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 Turn off this advice by setting config variable advice.detachedHead to false simple 21-May-2024 20:00:47 simple 21-May-2024 20:00:47 HEAD is now at ec8d867 (release) Release 3.0.0-beta.20 simple 21-May-2024 20:00:47 Updated source code to revision: ec8d867823094d16541f12e3586094b7da0583c5 simple 21-May-2024 20:00:47 Finished task 'Checkout Default Repository' with result: Success simple 21-May-2024 20:00:47 Running pre-build action: Build Log Labeller Pre Build Action simple 21-May-2024 20:00:47 Running pre-build action: VCS Version Collector simple 21-May-2024 20:00:47 Running pre-build action: Run Predator simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2868 java 1226 bamboo-age 2952Mb 373Mb 00:05:09 /usr/lib/jvm/java-8-ope simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1226 wrapper 1 bamboo-age 16Mb 3Mb 00:01:13 /home/bamboo-agent/bamb simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:06 /sbin/init simple 21-May-2024 20:00:47 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Initial free space: 5.0530586 GB simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 21-May-2024 20:00:47 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 21-May-2024 20:00:47 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 21-May-2024 20:00:48 [PredatorPreBuildAction] Maven stable disk freed: 0.77552557 GB, deleted 918 files simple 21-May-2024 20:00:48 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 21-May-2024 20:00:48 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 21-May-2024 20:00:48 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 21-May-2024 20:00:48 [PredatorPreBuildAction] Final free space: 5.0548515 GB simple 21-May-2024 20:00:48 [PredatorPreBuildAction] Done command 21-May-2024 20:00:48 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 21-May-2024 20:00:48 Substituting password variable: ${bamboo.dockerhub.password} command 21-May-2024 20:00:48 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 21-May-2024 20:00:48 Substituting variable: ${bamboo.TagBuildTriggerReason.tagName} with 3.0.0-beta.20 simple 21-May-2024 20:00:48 Starting task 'Build and tag image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 21-May-2024 20:00:48 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Gateway #7 (O3-PQR-GAT-7)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-7-ScriptBuildTask-1733979300094742952.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT\n error 21-May-2024 20:00:48 + [[ ehuB != ehuxB ]] error 21-May-2024 20:00:48 + echo 'Start of Lmod init/bash script to define the module command' error 21-May-2024 20:00:48 + LMOD_PKG=/usr/share/lmod/lmod build 21-May-2024 20:00:48 Start of Lmod init/bash script to define the module command error 21-May-2024 20:00:48 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 21-May-2024 20:00:48 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 21-May-2024 20:00:48 + MODULESHOME=/usr/share/lmod/lmod error 21-May-2024 20:00:48 + export LMOD_PKG error 21-May-2024 20:00:48 + export LMOD_CMD error 21-May-2024 20:00:48 + export LMOD_DIR error 21-May-2024 20:00:48 + export MODULESHOME error 21-May-2024 20:00:48 + LMOD_VERSION=6.6 error 21-May-2024 20:00:48 + export LMOD_VERSION error 21-May-2024 20:00:48 + '[' : '!=' : ']' error 21-May-2024 20:00:48 + unalias ml error 21-May-2024 20:00:48 + true error 21-May-2024 20:00:48 ++ echo YES error 21-May-2024 20:00:48 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 21-May-2024 20:00:48 End of Lmod init/bash script to define the module command error 21-May-2024 20:00:48 + export_module=yes error 21-May-2024 20:00:48 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 21-May-2024 20:00:48 + export -f module error 21-May-2024 20:00:48 + export -f ml error 21-May-2024 20:00:48 + unset export_module error 21-May-2024 20:00:48 + '[' -n '' ']' error 21-May-2024 20:00:48 + '[' 5 -ge 3 ']' error 21-May-2024 20:00:48 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 21-May-2024 20:00:48 + '[' -n '' ']' error 21-May-2024 20:00:48 + [[ ehuB != ehuxB ]] error 21-May-2024 20:00:48 + echo 'End of Lmod init/bash script to define the module command' error 21-May-2024 20:00:48 + export IMAGE=openmrs/openmrs-reference-application-3-gateway error 21-May-2024 20:00:48 + IMAGE=openmrs/openmrs-reference-application-3-gateway error 21-May-2024 20:00:48 + docker login -u openmrsci -p ******** error 21-May-2024 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 21-May-2024 20:00:48 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 21-May-2024 20:00:48 Configure a credential helper to remove this warning. See error 21-May-2024 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 21-May-2024 20:00:48 build 21-May-2024 20:00:48 Login Succeeded error 21-May-2024 20:00:48 + docker buildx build --pull --push --platform linux/amd64,linux/arm64 -t openmrs/openmrs-reference-application-3-gateway:3.0.0-beta.20 -t openmrs/openmrs-reference-application-3-gateway:qa gateway/ error 21-May-2024 20:00:48 #1 [internal] load build definition from Dockerfile error 21-May-2024 20:00:48 #1 transferring dockerfile: 205B done error 21-May-2024 20:00:48 #1 DONE 0.1s error 21-May-2024 20:00:48 error 21-May-2024 20:00:48 #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3 error 21-May-2024 20:00:48 #2 DONE 0.2s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #3 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 21-May-2024 20:00:49 #3 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done error 21-May-2024 20:00:49 #3 CACHED error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #4 [internal] load .dockerignore error 21-May-2024 20:00:49 #4 transferring context: 2B done error 21-May-2024 20:00:49 #4 DONE 0.1s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #5 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 21-May-2024 20:00:49 #5 DONE 0.2s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #6 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 21-May-2024 20:00:49 #6 DONE 0.2s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #7 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 20:00:49 #7 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 20:00:49 #7 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done error 21-May-2024 20:00:49 #7 CACHED error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #8 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 20:00:49 #8 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done error 21-May-2024 20:00:49 #8 CACHED error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #9 [internal] load build context error 21-May-2024 20:00:49 #9 transferring context: 3.48kB done error 21-May-2024 20:00:49 #9 DONE 0.1s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #10 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 21-May-2024 20:00:49 #10 DONE 0.1s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #11 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 21-May-2024 20:00:49 #11 DONE 0.1s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #12 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/ error 21-May-2024 20:00:49 #12 DONE 0.2s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #13 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ error 21-May-2024 20:00:49 #13 DONE 0.2s error 21-May-2024 20:00:49 error 21-May-2024 20:00:49 #14 exporting to image error 21-May-2024 20:00:49 #14 exporting layers error 21-May-2024 20:00:50 #14 exporting layers 0.5s done error 21-May-2024 20:00:50 #14 exporting manifest sha256:c48c3e4dcb3bd8a76305f6e48927eae4f787245749358f0ba1b9c873e7c6b404 0.0s done error 21-May-2024 20:00:50 #14 exporting config sha256:7b39dd1de3eb3ee0022d09970d75f73e3860ac0f4f393549e9ada9b52da32e9d 0.0s done error 21-May-2024 20:00:50 #14 exporting manifest sha256:694e8fdc14a3e2154836861e6d20f4e2b2febd58fd6b693a5ec814f5cd57a464 0.0s done error 21-May-2024 20:00:50 #14 exporting config sha256:b983de83d44dc721600ed07cf36eee07634a9e1daa07e378cf81a63ae2392bad 0.0s done error 21-May-2024 20:00:50 #14 exporting manifest list sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b error 21-May-2024 20:00:50 #14 ... error 21-May-2024 20:00:50 error 21-May-2024 20:00:50 #15 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io error 21-May-2024 20:00:50 #15 DONE 0.0s error 21-May-2024 20:00:50 error 21-May-2024 20:00:50 #14 exporting to image error 21-May-2024 20:00:50 #14 exporting manifest list sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b 0.0s done error 21-May-2024 20:00:50 #14 pushing layers error 21-May-2024 20:00:52 #14 pushing layers 1.9s done error 21-May-2024 20:00:52 #14 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:3.0.0-beta.20@sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b error 21-May-2024 20:00:53 #14 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:3.0.0-beta.20@sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b 0.8s done error 21-May-2024 20:00:53 #14 pushing layers 0.6s done error 21-May-2024 20:00:53 #14 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:qa@sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b error 21-May-2024 20:00:54 #14 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:qa@sha256:94fa3cdc7cb379c41c6622d2d6d38c3b5bdeeac5e320d327b414e5a89a6a2b4b 0.4s done error 21-May-2024 20:00:54 #14 DONE 4.4s simple 21-May-2024 20:00:54 Finished task 'Build and tag image' with result: Success simple 21-May-2024 20:00:54 Running post build plugin 'Docker Container Cleanup' simple 21-May-2024 20:00:54 Running post build plugin 'NCover Results Collector' simple 21-May-2024 20:00:54 Running post build plugin 'Build Results Label Collector' simple 21-May-2024 20:00:54 Running post build plugin 'Clover Results Collector' simple 21-May-2024 20:00:54 Running post build plugin 'npm Cache Cleanup' simple 21-May-2024 20:00:54 Running post build plugin 'Artifact Copier' simple 21-May-2024 20:00:54 Finalising the build... simple 21-May-2024 20:00:54 Stopping timer. simple 21-May-2024 20:00:54 Build O3-PQR-GAT-7 completed. simple 21-May-2024 20:00:54 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 21-May-2024 20:00:54 Running on server: post build plugin 'NCover Results Collector' simple 21-May-2024 20:00:54 Running on server: post build plugin 'Build Labeller' simple 21-May-2024 20:00:54 Running on server: post build plugin 'Clover Delta Calculator' simple 21-May-2024 20:00:54 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 21-May-2024 20:00:54 All post build plugins have finished simple 21-May-2024 20:00:54 Generating build results summary... simple 21-May-2024 20:00:54 Saving build results to disk... simple 21-May-2024 20:00:54 Store variable context... simple 21-May-2024 20:00:54 Finished building O3-PQR-GAT-7.