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