simple 31-May-2024 15:49:11 Build O3 Reference Application - Build Gateway - Build Gateway #3 (O3-BG-JOB1-3) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 31-May-2024 15:49:11 Remote agent on host xindi.openmrs.org simple 31-May-2024 15:49:11 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1 simple 31-May-2024 15:49:11 Executing build O3 Reference Application - Build Gateway - Build Gateway #3 (O3-BG-JOB1-3) simple 31-May-2024 15:49:11 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 31-May-2024 15:49:11 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1 simple 31-May-2024 15:49:11 Updating source code to revision: d1c9259a1c1f9aa6816bf7773c367dbde50b31ee simple 31-May-2024 15:49:11 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 31-May-2024 15:49:11 From https://github.com/openmrs/openmrs-distro-referenceapplication simple 31-May-2024 15:49:11 73bbe6f..d1c9259 main -> main simple 31-May-2024 15:49:11 Checking out revision d1c9259a1c1f9aa6816bf7773c367dbde50b31ee. simple 31-May-2024 15:49:11 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1/.git'. simple 31-May-2024 15:49:11 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1'... simple 31-May-2024 15:49:11 done. simple 31-May-2024 15:49:11 Switched to a new branch 'main' simple 31-May-2024 15:49:11 Branch 'main' set up to track remote branch 'main' from 'origin'. simple 31-May-2024 15:49:11 Updated source code to revision: d1c9259a1c1f9aa6816bf7773c367dbde50b31ee simple 31-May-2024 15:49:11 Finished task 'Checkout Default Repository' with result: Success simple 31-May-2024 15:49:11 Running pre-build action: Build Log Labeller Pre Build Action simple 31-May-2024 15:49:11 Running pre-build action: VCS Version Collector simple 31-May-2024 15:49:11 Running pre-build action: Run Predator simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 51961 java 1333 bamboo-age 2964Mb 366Mb 00:07:13 /usr/lib/jvm/java-8-ope simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1333 wrapper 1 bamboo-age 16Mb 2Mb 00:07:04 /home/bamboo-agent/bamb simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 11Mb 00:00:29 /lib/systemd/systemd -- simple 31-May-2024 15:49:11 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Initial free space: 5.5364914 GB simple 31-May-2024 15:49:11 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-DD3-JOB1 simple 31-May-2024 15:49:12 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 31-May-2024 15:49:12 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 31-May-2024 15:49:12 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 31-May-2024 15:49:12 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files simple 31-May-2024 15:49:12 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 31-May-2024 15:49:12 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 31-May-2024 15:49:12 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 31-May-2024 15:49:12 [PredatorPreBuildAction] Final free space: 5.5364876 GB simple 31-May-2024 15:49:12 [PredatorPreBuildAction] Done command 31-May-2024 15:49:12 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 31-May-2024 15:49:12 Substituting password variable: ${bamboo.dockerhub.password} command 31-May-2024 15:49:12 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 31-May-2024 15:49:12 Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 31-May-2024 15:49:12 Beginning to execute external process for build 'O3 Reference Application - Build Gateway - Build Gateway #3 (O3-BG-JOB1-3)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/O3-BG-JOB1-3-ScriptBuildTask-8759538711183656964.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1\n build 31-May-2024 15:49:12 Start of Lmod init/bash script to define the module command error 31-May-2024 15:49:12 + [[ ehuB != ehuxB ]] error 31-May-2024 15:49:12 + echo 'Start of Lmod init/bash script to define the module command' error 31-May-2024 15:49:12 + LMOD_PKG=/usr/share/lmod/lmod error 31-May-2024 15:49:12 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 31-May-2024 15:49:12 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 31-May-2024 15:49:12 + MODULESHOME=/usr/share/lmod/lmod error 31-May-2024 15:49:12 + export LMOD_PKG error 31-May-2024 15:49:12 + export LMOD_CMD error 31-May-2024 15:49:12 + export LMOD_DIR error 31-May-2024 15:49:12 + export MODULESHOME error 31-May-2024 15:49:12 + LMOD_VERSION=6.6 error 31-May-2024 15:49:12 + export LMOD_VERSION error 31-May-2024 15:49:12 + '[' : '!=' : ']' error 31-May-2024 15:49:12 + unalias ml error 31-May-2024 15:49:12 + true error 31-May-2024 15:49:12 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 31-May-2024 15:49:12 ++ echo YES build 31-May-2024 15:49:12 End of Lmod init/bash script to define the module command error 31-May-2024 15:49:12 + export_module=yes error 31-May-2024 15:49:12 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 31-May-2024 15:49:12 + export -f module error 31-May-2024 15:49:12 + export -f ml error 31-May-2024 15:49:12 + unset export_module error 31-May-2024 15:49:12 + '[' -n '' ']' error 31-May-2024 15:49:12 + '[' 5 -ge 3 ']' error 31-May-2024 15:49:12 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 31-May-2024 15:49:12 + '[' -n '' ']' error 31-May-2024 15:49:12 + [[ ehuB != ehuxB ]] error 31-May-2024 15:49:12 + echo 'End of Lmod init/bash script to define the module command' error 31-May-2024 15:49:12 + export IMAGE=openmrs/openmrs-reference-application-3-gateway error 31-May-2024 15:49:12 + IMAGE=openmrs/openmrs-reference-application-3-gateway error 31-May-2024 15:49:12 + docker login -u openmrsci -p ******** error 31-May-2024 15:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 31-May-2024 15:49:12 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 31-May-2024 15:49:12 Configure a credential helper to remove this warning. See error 31-May-2024 15:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 31-May-2024 15:49:12 build 31-May-2024 15:49:12 Login Succeeded error 31-May-2024 15:49:12 + docker buildx build --pull --push --platform linux/amd64,linux/arm64 -t openmrs/openmrs-reference-application-3-gateway:nightly -t openmrs/openmrs-reference-application-3-gateway:dev3 gateway/ error 31-May-2024 15:49:13 #1 [internal] load build definition from Dockerfile error 31-May-2024 15:49:13 #1 transferring dockerfile: error 31-May-2024 15:49:13 #1 transferring dockerfile: 205B done error 31-May-2024 15:49:13 #1 DONE 0.1s error 31-May-2024 15:49:13 error 31-May-2024 15:49:13 #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3 error 31-May-2024 15:49:13 #2 ... error 31-May-2024 15:49:13 error 31-May-2024 15:49:13 #3 [auth] docker/dockerfile:pull token for registry-1.docker.io error 31-May-2024 15:49:13 #3 DONE 0.0s error 31-May-2024 15:49:13 error 31-May-2024 15:49:13 #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3 error 31-May-2024 15:49:13 #2 DONE 0.5s error 31-May-2024 15:49:13 error 31-May-2024 15:49:13 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 31-May-2024 15:49:13 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done error 31-May-2024 15:49:13 #4 CACHED error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #5 [internal] load .dockerignore error 31-May-2024 15:49:14 #5 transferring context: 2B done error 31-May-2024 15:49:14 #5 DONE 0.1s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #6 [auth] library/nginx:pull token for registry-1.docker.io error 31-May-2024 15:49:14 #6 DONE 0.0s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 31-May-2024 15:49:14 #7 ... error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #8 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 31-May-2024 15:49:14 #8 DONE 0.2s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 31-May-2024 15:49:14 #7 DONE 0.3s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #9 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 31-May-2024 15:49:14 #9 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 31-May-2024 15:49:14 #9 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done error 31-May-2024 15:49:14 #9 CACHED error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #10 [internal] load build context error 31-May-2024 15:49:14 #10 transferring context: 3.50kB done error 31-May-2024 15:49:14 #10 DONE 0.2s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #11 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 31-May-2024 15:49:14 #11 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.2s done error 31-May-2024 15:49:14 #11 CACHED error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #12 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 31-May-2024 15:49:14 #12 DONE 0.1s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #13 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 31-May-2024 15:49:14 #13 DONE 0.1s error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #14 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ error 31-May-2024 15:49:14 #14 ... error 31-May-2024 15:49:14 error 31-May-2024 15:49:14 #15 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/ error 31-May-2024 15:49:14 #15 DONE 0.2s error 31-May-2024 15:49:15 error 31-May-2024 15:49:15 #14 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ error 31-May-2024 15:49:15 #14 DONE 0.2s error 31-May-2024 15:49:15 error 31-May-2024 15:49:15 #16 exporting to image error 31-May-2024 15:49:15 #16 exporting layers error 31-May-2024 15:49:15 #16 exporting layers 0.5s done error 31-May-2024 15:49:15 #16 exporting manifest sha256:f67a63c2e3867d172ac985f24d1a63b8388c9dd10ce91c7153bf2b1e4468a6ba 0.0s done error 31-May-2024 15:49:15 #16 exporting config sha256:b6a931d52e44bafa1d73b57c19c24b80b0898e8df4ae7808fdc75c5d21a2c1d8 0.0s done error 31-May-2024 15:49:15 #16 exporting manifest sha256:f1cb6795c315691a1344629202928135bad09fef5c8f0c619f7901e19b5625a5 0.0s done error 31-May-2024 15:49:15 #16 exporting config sha256:62c621b8017dcb2c18219f057cedb4d1a0f1fd2379b4fe71f3936fead7c4174b 0.0s done error 31-May-2024 15:49:15 #16 exporting manifest list sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 error 31-May-2024 15:49:15 #16 ... error 31-May-2024 15:49:15 error 31-May-2024 15:49:15 #17 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io error 31-May-2024 15:49:15 #17 DONE 0.0s error 31-May-2024 15:49:15 error 31-May-2024 15:49:15 #16 exporting to image error 31-May-2024 15:49:15 #16 exporting manifest list sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 0.0s done error 31-May-2024 15:49:15 #16 pushing layers error 31-May-2024 15:49:17 #16 pushing layers 1.7s done error 31-May-2024 15:49:17 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 error 31-May-2024 15:49:18 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 0.9s done error 31-May-2024 15:49:19 #16 pushing layers 1.0s done error 31-May-2024 15:49:19 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 error 31-May-2024 15:49:19 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:3cf474b311596dde6e8b85910d99e057b57911be84fcce75ef3e50ab5b900154 0.4s done error 31-May-2024 15:49:19 #16 DONE 4.8s simple 31-May-2024 15:49:20 Finished task 'Build and publish image' with result: Success simple 31-May-2024 15:49:20 Running post build plugin 'Docker Container Cleanup' simple 31-May-2024 15:49:20 Running post build plugin 'NCover Results Collector' simple 31-May-2024 15:49:20 Running post build plugin 'Build Results Label Collector' simple 31-May-2024 15:49:20 Running post build plugin 'Clover Results Collector' simple 31-May-2024 15:49:20 Running post build plugin 'npm Cache Cleanup' simple 31-May-2024 15:49:20 Running post build plugin 'Artifact Copier' simple 31-May-2024 15:49:20 Finalising the build... simple 31-May-2024 15:49:20 Stopping timer. simple 31-May-2024 15:49:20 Build O3-BG-JOB1-3 completed. simple 31-May-2024 15:49:20 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 31-May-2024 15:49:20 Running on server: post build plugin 'NCover Results Collector' simple 31-May-2024 15:49:20 Running on server: post build plugin 'Build Labeller' simple 31-May-2024 15:49:20 Running on server: post build plugin 'Clover Delta Calculator' simple 31-May-2024 15:49:20 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 31-May-2024 15:49:20 All post build plugins have finished simple 31-May-2024 15:49:20 Generating build results summary... simple 31-May-2024 15:49:20 Saving build results to disk... simple 31-May-2024 15:49:20 Store variable context... simple 31-May-2024 15:49:20 Finished building O3-BG-JOB1-3.