simple 26-Jan-2024 16:28:27 Build Reference Application - Distribution 3.x - Build Gateway #2247 (REFAPP-D3X-GTW-2247) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 26-Jan-2024 16:28:27 Remote agent on host yu.openmrs.org simple 26-Jan-2024 16:28:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW simple 26-Jan-2024 16:28:27 Executing build Reference Application - Distribution 3.x - Build Gateway #2247 (REFAPP-D3X-GTW-2247) simple 26-Jan-2024 16:28:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-Jan-2024 16:28:27 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW simple 26-Jan-2024 16:28:27 Updating source code to revision: c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae simple 26-Jan-2024 16:28:27 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW/.git'. simple 26-Jan-2024 16:28:27 hint: Using 'master' as the name for the initial branch. This default branch name simple 26-Jan-2024 16:28:27 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW/.git/ simple 26-Jan-2024 16:28:27 hint: is subject to change. To configure the initial branch name to use in all simple 26-Jan-2024 16:28:27 hint: of your new repositories, which will suppress this warning, call: simple 26-Jan-2024 16:28:27 hint: simple 26-Jan-2024 16:28:27 hint: git config --global init.defaultBranch simple 26-Jan-2024 16:28:27 hint: simple 26-Jan-2024 16:28:27 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 26-Jan-2024 16:28:27 hint: 'development'. The just-created branch can be renamed via this command: simple 26-Jan-2024 16:28:27 hint: simple 26-Jan-2024 16:28:27 hint: git branch -m simple 26-Jan-2024 16:28:27 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 26-Jan-2024 16:28:29 From https://github.com/openmrs/openmrs-distro-referenceapplication simple 26-Jan-2024 16:28:29 * [new branch] main -> main simple 26-Jan-2024 16:28:29 * [new tag] 2.0.1769 -> 2.0.1769 simple 26-Jan-2024 16:28:29 * [new tag] 2.1 -> 2.1 simple 26-Jan-2024 16:28:29 * [new tag] 2.10.0 -> 2.10.0 simple 26-Jan-2024 16:28:29 * [new tag] 2.2 -> 2.2 simple 26-Jan-2024 16:28:29 * [new tag] 2.3 -> 2.3 simple 26-Jan-2024 16:28:29 * [new tag] 2.4 -> 2.4 simple 26-Jan-2024 16:28:29 * [new tag] 2.5 -> 2.5 simple 26-Jan-2024 16:28:29 * [new tag] 2.6.0 -> 2.6.0 simple 26-Jan-2024 16:28:29 * [new tag] 2.7.0 -> 2.7.0 simple 26-Jan-2024 16:28:29 * [new tag] 2.8.0 -> 2.8.0 simple 26-Jan-2024 16:28:29 * [new tag] 2.8.1 -> 2.8.1 simple 26-Jan-2024 16:28:29 * [new tag] 2.9.0 -> 2.9.0 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.2 -> 3.0.0-alpha.2 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.3 -> 3.0.0-alpha.3 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.4 -> 3.0.0-alpha.4 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.5 -> 3.0.0-alpha.5 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.6 -> 3.0.0-alpha.6 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-alpha.7 -> 3.0.0-alpha.7 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.1 -> 3.0.0-beta.1 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.10 -> 3.0.0-beta.10 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.11 -> 3.0.0-beta.11 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.12 -> 3.0.0-beta.12 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.13 -> 3.0.0-beta.13 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.14 -> 3.0.0-beta.14 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.15 -> 3.0.0-beta.15 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.16 -> 3.0.0-beta.16 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.2 -> 3.0.0-beta.2 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.3 -> 3.0.0-beta.3 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.4 -> 3.0.0-beta.4 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.5 -> 3.0.0-beta.5 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.6 -> 3.0.0-beta.6 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.7 -> 3.0.0-beta.7 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.8 -> 3.0.0-beta.8 simple 26-Jan-2024 16:28:29 * [new tag] 3.0.0-beta.9 -> 3.0.0-beta.9 simple 26-Jan-2024 16:28:29 * [new tag] latest -> latest simple 26-Jan-2024 16:28:29 Checking out revision c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae. simple 26-Jan-2024 16:28:29 Switched to branch 'main' simple 26-Jan-2024 16:28:29 Updated source code to revision: c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae simple 26-Jan-2024 16:28:29 Finished task 'Checkout Default Repository' with result: Success simple 26-Jan-2024 16:28:29 Running pre-build action: Build Log Labeller Pre Build Action simple 26-Jan-2024 16:28:29 Running pre-build action: VCS Version Collector simple 26-Jan-2024 16:28:29 Running pre-build action: Run Predator simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3119 java 1290 bamboo-age 2972Mb 482Mb 00:21:34 /usr/lib/jvm/java-8-ope simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1290 wrapper 1 bamboo-age 16Mb 3Mb 00:05:36 /home/bamboo-agent/bamb simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:37 /sbin/init simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Initial free space: 5.9138184 GB simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2 simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Maven stable disk freed: 0.8322378 GB, deleted 520 files simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Final free space: 5.935314 GB simple 26-Jan-2024 16:28:29 [PredatorPreBuildAction] Done command 26-Jan-2024 16:28:29 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 26-Jan-2024 16:28:29 Substituting password variable: ${bamboo.dockerhub.password} command 26-Jan-2024 16:28:29 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 simple 26-Jan-2024 16:28:29 Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-Jan-2024 16:28:29 Beginning to execute external process for build 'Reference Application - Distribution 3.x - Build Gateway #2247 (REFAPP-D3X-GTW-2247)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/REFAPP-D3X-GTW-2247-ScriptBuildTask-1111121235436398210.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW\n error 26-Jan-2024 16:28:29 + [[ ehuB != ehuxB ]] build 26-Jan-2024 16:28:29 Start of Lmod init/bash script to define the module command error 26-Jan-2024 16:28:29 + echo 'Start of Lmod init/bash script to define the module command' error 26-Jan-2024 16:28:29 + LMOD_PKG=/usr/share/lmod/lmod error 26-Jan-2024 16:28:29 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 26-Jan-2024 16:28:29 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 26-Jan-2024 16:28:29 + MODULESHOME=/usr/share/lmod/lmod error 26-Jan-2024 16:28:29 + export LMOD_PKG error 26-Jan-2024 16:28:29 + export LMOD_CMD error 26-Jan-2024 16:28:29 + export LMOD_DIR error 26-Jan-2024 16:28:29 + export MODULESHOME error 26-Jan-2024 16:28:29 + LMOD_VERSION=6.6 error 26-Jan-2024 16:28:29 + export LMOD_VERSION error 26-Jan-2024 16:28:29 + '[' : '!=' : ']' error 26-Jan-2024 16:28:29 + unalias ml error 26-Jan-2024 16:28:29 + true error 26-Jan-2024 16:28:29 ++ echo YES error 26-Jan-2024 16:28:29 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 26-Jan-2024 16:28:29 + export_module=yes error 26-Jan-2024 16:28:29 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 26-Jan-2024 16:28:29 + export -f module error 26-Jan-2024 16:28:29 + export -f ml error 26-Jan-2024 16:28:29 + unset export_module error 26-Jan-2024 16:28:29 + '[' -n '' ']' error 26-Jan-2024 16:28:29 + '[' 5 -ge 3 ']' error 26-Jan-2024 16:28:29 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 26-Jan-2024 16:28:29 + '[' -n '' ']' error 26-Jan-2024 16:28:29 + [[ ehuB != ehuxB ]] error 26-Jan-2024 16:28:29 + echo 'End of Lmod init/bash script to define the module command' error 26-Jan-2024 16:28:29 + export IMAGE=openmrs/openmrs-reference-application-3-gateway error 26-Jan-2024 16:28:29 + IMAGE=openmrs/openmrs-reference-application-3-gateway error 26-Jan-2024 16:28:29 + docker login -u openmrsci -p ******** build 26-Jan-2024 16:28:29 End of Lmod init/bash script to define the module command error 26-Jan-2024 16:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 26-Jan-2024 16:28:30 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 26-Jan-2024 16:28:30 Configure a credential helper to remove this warning. See error 26-Jan-2024 16:28:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 26-Jan-2024 16:28:30 build 26-Jan-2024 16:28:30 Login Succeeded error 26-Jan-2024 16:28:30 + 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 26-Jan-2024 16:28:30 #1 [internal] load build definition from Dockerfile error 26-Jan-2024 16:28:30 #1 transferring dockerfile: 205B done error 26-Jan-2024 16:28:30 #1 DONE 0.1s error 26-Jan-2024 16:28:30 error 26-Jan-2024 16:28:30 #2 resolve image config for docker.io/docker/dockerfile:1.3 error 26-Jan-2024 16:28:30 #2 ... error 26-Jan-2024 16:28:30 error 26-Jan-2024 16:28:30 #3 [auth] docker/dockerfile:pull token for registry-1.docker.io error 26-Jan-2024 16:28:30 #3 DONE 0.0s error 26-Jan-2024 16:28:30 error 26-Jan-2024 16:28:30 #2 resolve image config for docker.io/docker/dockerfile:1.3 error 26-Jan-2024 16:28:30 #2 DONE 0.3s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 26-Jan-2024 16:28:31 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done error 26-Jan-2024 16:28:31 #4 CACHED error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #5 [internal] load .dockerignore error 26-Jan-2024 16:28:31 #5 transferring context: error 26-Jan-2024 16:28:31 #5 transferring context: 2B done error 26-Jan-2024 16:28:31 #5 DONE 0.1s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #6 [auth] library/nginx:pull token for registry-1.docker.io error 26-Jan-2024 16:28:31 #6 DONE 0.0s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 26-Jan-2024 16:28:31 #7 DONE 0.2s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #8 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 26-Jan-2024 16:28:31 #8 DONE 0.2s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #9 [internal] load build context error 26-Jan-2024 16:28:31 #9 transferring context: 3.48kB done error 26-Jan-2024 16:28:31 #9 DONE 0.1s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #10 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 error 26-Jan-2024 16:28:31 #10 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 error 26-Jan-2024 16:28:31 #10 ... error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #11 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 error 26-Jan-2024 16:28:31 #11 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 0.1s done error 26-Jan-2024 16:28:31 #11 DONE 0.1s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #10 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 error 26-Jan-2024 16:28:31 #10 CACHED error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #11 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 error 26-Jan-2024 16:28:31 #11 CACHED error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #12 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 26-Jan-2024 16:28:31 #12 DONE 0.1s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #13 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf error 26-Jan-2024 16:28:31 #13 DONE 0.1s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #14 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/ error 26-Jan-2024 16:28:31 #14 DONE 0.2s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #15 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ error 26-Jan-2024 16:28:31 #15 DONE 0.2s error 26-Jan-2024 16:28:31 error 26-Jan-2024 16:28:31 #16 exporting to image error 26-Jan-2024 16:28:31 #16 exporting layers error 26-Jan-2024 16:28:32 #16 exporting layers 0.3s done error 26-Jan-2024 16:28:32 #16 exporting manifest sha256:9d600a8b1b32b3c9c314ef610574ed67938c46f716cc3d046515263ed3e4e151 0.0s done error 26-Jan-2024 16:28:32 #16 exporting config sha256:8d2eb431eba7a6e44cd9b37bf56815389031590fccfbafc856761bf28bb556b5 error 26-Jan-2024 16:28:32 #16 exporting config sha256:8d2eb431eba7a6e44cd9b37bf56815389031590fccfbafc856761bf28bb556b5 0.0s done error 26-Jan-2024 16:28:32 #16 exporting manifest sha256:febe8949f5c4ac9b6297b2859829f8de9cec4ca39ddea4ecfd507542a19641d8 0.0s done error 26-Jan-2024 16:28:32 #16 exporting config sha256:0fefa51807ebe1566b10dde86f2c162615c72d355b4c9e930c84e0c31bb667a7 0.0s done error 26-Jan-2024 16:28:32 #16 exporting manifest list sha256:5c9b8a63b5bc299cd60ae5d8c53e8702a6da8c2e40d8739a65d8069a5d5b85eb 0.0s done error 26-Jan-2024 16:28:32 #16 pushing layers error 26-Jan-2024 16:28:32 #16 ... error 26-Jan-2024 16:28:32 error 26-Jan-2024 16:28:32 #17 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io error 26-Jan-2024 16:28:32 #17 DONE 0.0s error 26-Jan-2024 16:28:32 error 26-Jan-2024 16:28:32 #16 exporting to image error 26-Jan-2024 16:28:34 #16 pushing layers 1.8s done error 26-Jan-2024 16:28:34 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:5c9b8a63b5bc299cd60ae5d8c53e8702a6da8c2e40d8739a65d8069a5d5b85eb error 26-Jan-2024 16:28:35 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:5c9b8a63b5bc299cd60ae5d8c53e8702a6da8c2e40d8739a65d8069a5d5b85eb 0.8s done error 26-Jan-2024 16:28:35 #16 pushing layers 0.9s done error 26-Jan-2024 16:28:35 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:5c9b8a63b5bc299cd60ae5d8c53e8702a6da8c2e40d8739a65d8069a5d5b85eb error 26-Jan-2024 16:28:36 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:5c9b8a63b5bc299cd60ae5d8c53e8702a6da8c2e40d8739a65d8069a5d5b85eb 0.3s done error 26-Jan-2024 16:28:36 #16 DONE 4.3s simple 26-Jan-2024 16:28:36 Finished task 'Build and publish image' with result: Success simple 26-Jan-2024 16:28:36 Running post build plugin 'Docker Container Cleanup' simple 26-Jan-2024 16:28:36 Running post build plugin 'NCover Results Collector' simple 26-Jan-2024 16:28:36 Running post build plugin 'Build Results Label Collector' simple 26-Jan-2024 16:28:36 Running post build plugin 'Clover Results Collector' simple 26-Jan-2024 16:28:36 Running post build plugin 'npm Cache Cleanup' simple 26-Jan-2024 16:28:36 Running post build plugin 'Artifact Copier' simple 26-Jan-2024 16:28:36 Finalising the build... simple 26-Jan-2024 16:28:36 Stopping timer. simple 26-Jan-2024 16:28:36 Build REFAPP-D3X-GTW-2247 completed. simple 26-Jan-2024 16:28:36 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Jan-2024 16:28:36 Running on server: post build plugin 'NCover Results Collector' simple 26-Jan-2024 16:28:36 Running on server: post build plugin 'Build Labeller' simple 26-Jan-2024 16:28:36 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Jan-2024 16:28:36 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Jan-2024 16:28:36 All post build plugins have finished simple 26-Jan-2024 16:28:36 Generating build results summary... simple 26-Jan-2024 16:28:36 Saving build results to disk... simple 26-Jan-2024 16:28:36 Store variable context... simple 26-Jan-2024 16:28:36 Finished building REFAPP-D3X-GTW-2247.