Builds the gateway image
Build: #2 was successful
Job: Build Gateway was successful
Build log
The build generated 197 lines of output. Download or view full build log.
24-Jun-2025 11:06:58 | Build O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #2 (O3-BG0-JOB1-2) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 |
24-Jun-2025 11:06:58 | Remote agent on host xiao.openmrs.org |
24-Jun-2025 11:06:58 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
24-Jun-2025 11:06:58 | Executing build O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #2 (O3-BG0-JOB1-2) |
24-Jun-2025 11:06:58 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
24-Jun-2025 11:06:58 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
24-Jun-2025 11:06:58 | Updating source code to revision: 65a59991de0d10a1dd96a36492a22a2a41d4643a |
24-Jun-2025 11:06:59 | Fetching 'refs/heads/3.x-core-2.8' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. |
24-Jun-2025 11:06:59 | From https://github.com/openmrs/openmrs-distro-referenceapplication |
24-Jun-2025 11:06:59 | * [new branch] 3.x-core-2.8 -> 3.x-core-2.8 |
24-Jun-2025 11:06:59 | Checking out revision 65a59991de0d10a1dd96a36492a22a2a41d4643a. |
24-Jun-2025 11:06:59 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1/.git'. |
24-Jun-2025 11:06:59 | Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1'... |
24-Jun-2025 11:06:59 | done. |
24-Jun-2025 11:06:59 | Switched to a new branch '3.x-core-2.8' |
24-Jun-2025 11:06:59 | Branch '3.x-core-2.8' set up to track remote branch '3.x-core-2.8' from 'origin'. |
24-Jun-2025 11:06:59 | Updated source code to revision: 65a59991de0d10a1dd96a36492a22a2a41d4643a |
24-Jun-2025 11:06:59 | Finished task 'Checkout Default Repository' with result: Success |
24-Jun-2025 11:06:59 | Running pre-build action: Build Log Labeller Pre Build Action |
24-Jun-2025 11:06:59 | Running pre-build action: VCS Version Collector |
24-Jun-2025 11:06:59 | Running pre-build action: Run Predator |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3082 java 1242 bamboo-age 2976Mb 544Mb 00:06:23 /usr/lib/jvm/java-8-ope |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1242 wrapper 1 bamboo-age 16Mb 2Mb 00:01:17 /home/bamboo-agent/bamb |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:15 /sbin/init |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Initial free space: 4.9654922 GB |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-DTM |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CALC-CML-DTM |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17 |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-EML-RTM |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ8 |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BK-JOB1 |
24-Jun-2025 11:06:59 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-LATEST-JOB1 |
24-Jun-2025 11:07:07 | [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository |
24-Jun-2025 11:07:07 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
24-Jun-2025 11:07:08 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] Final free space: 4.965824 GB |
24-Jun-2025 11:07:09 | [PredatorPreBuildAction] Done |
24-Jun-2025 11:07:09 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
24-Jun-2025 11:07:09 | Substituting password variable: ${bamboo.dockerhub.password} |
24-Jun-2025 11:07:09 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
24-Jun-2025 11:07:09 | Substituting variable: ${bamboo.docker.image.tag} with nightly-core-2.8 |
24-Jun-2025 11:07:09 | Substituting variable: ${bamboo.docker.image.tag.env} with dev3-core-2.8 |
24-Jun-2025 11:07:09 | Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
24-Jun-2025 11:07:09 | Beginning to execute external process for build 'O3 Reference Application - Build Gateway - 3.x-core-2.8 - Build Gateway #2 (O3-BG0-JOB1-2)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/O3-BG0-JOB1-2-ScriptBuildTask-5518447894639586303.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG0-JOB1 |
24-Jun-2025 11:07:09 | + [[ ehuB != ehuxB ]] |
24-Jun-2025 11:07:09 | + echo 'Start of Lmod init/bash script to define the module command' |
24-Jun-2025 11:07:09 | Start of Lmod init/bash script to define the module command |
24-Jun-2025 11:07:09 | + LMOD_PKG=/usr/share/lmod/lmod |
24-Jun-2025 11:07:09 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
24-Jun-2025 11:07:09 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
24-Jun-2025 11:07:09 | + MODULESHOME=/usr/share/lmod/lmod |
24-Jun-2025 11:07:09 | + export LMOD_PKG |
24-Jun-2025 11:07:09 | + export LMOD_CMD |
24-Jun-2025 11:07:09 | + export LMOD_DIR |
24-Jun-2025 11:07:09 | + export MODULESHOME |
24-Jun-2025 11:07:09 | + LMOD_VERSION=6.6 |
24-Jun-2025 11:07:09 | + export LMOD_VERSION |
24-Jun-2025 11:07:09 | + '[' : '!=' : ']' |
24-Jun-2025 11:07:09 | + unalias ml |
24-Jun-2025 11:07:09 | + true |
24-Jun-2025 11:07:09 | ++ echo YES |
24-Jun-2025 11:07:09 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
24-Jun-2025 11:07:09 | + export_module=yes |
24-Jun-2025 11:07:09 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
24-Jun-2025 11:07:09 | + export -f module |
24-Jun-2025 11:07:09 | + export -f ml |
24-Jun-2025 11:07:09 | + unset export_module |
24-Jun-2025 11:07:09 | + '[' -n '' ']' |
24-Jun-2025 11:07:09 | + '[' 5 -ge 3 ']' |
24-Jun-2025 11:07:09 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
24-Jun-2025 11:07:09 | + '[' -n '' ']' |
24-Jun-2025 11:07:09 | + [[ ehuB != ehuxB ]] |
24-Jun-2025 11:07:09 | + echo 'End of Lmod init/bash script to define the module command' |
24-Jun-2025 11:07:09 | + export IMAGE=openmrs/openmrs-reference-application-3-gateway |
24-Jun-2025 11:07:09 | + IMAGE=openmrs/openmrs-reference-application-3-gateway |
24-Jun-2025 11:07:09 | + docker login -u openmrsci -p ******** |
24-Jun-2025 11:07:09 | End of Lmod init/bash script to define the module command |
24-Jun-2025 11:07:09 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
24-Jun-2025 11:07:09 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
24-Jun-2025 11:07:09 | Configure a credential helper to remove this warning. See |
24-Jun-2025 11:07:09 | https://docs.docker.com/engine/reference/commandline/login/#credential-stores |
24-Jun-2025 11:07:09 | |
24-Jun-2025 11:07:09 | Login Succeeded |
24-Jun-2025 11:07:09 | + docker buildx build --pull --push --platform linux/amd64,linux/arm64 -t openmrs/openmrs-reference-application-3-gateway:nightly-core-2.8 -t openmrs/openmrs-reference-application-3-gateway:dev3-core-2.8 gateway/ |
24-Jun-2025 11:07:10 | #1 [internal] load build definition from Dockerfile |
24-Jun-2025 11:07:10 | #1 transferring dockerfile: |
24-Jun-2025 11:07:10 | #1 transferring dockerfile: 205B 0.0s done |
24-Jun-2025 11:07:10 | #1 DONE 0.1s |
24-Jun-2025 11:07:10 | |
24-Jun-2025 11:07:10 | #2 [auth] docker/dockerfile:pull token for registry-1.docker.io |
24-Jun-2025 11:07:10 | #2 DONE 0.0s |
24-Jun-2025 11:07:10 | |
24-Jun-2025 11:07:10 | #3 resolve image config for docker-image://docker.io/docker/dockerfile:1.3 |
24-Jun-2025 11:07:10 | #3 DONE 0.3s |
24-Jun-2025 11:07:10 | |
24-Jun-2025 11:07:10 | #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 |
24-Jun-2025 11:07:10 | #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done |
24-Jun-2025 11:07:10 | #4 CACHED |
24-Jun-2025 11:07:10 | |
24-Jun-2025 11:07:10 | #5 [internal] load .dockerignore |
24-Jun-2025 11:07:10 | #5 transferring context: 2B done |
24-Jun-2025 11:07:10 | #5 DONE 0.1s |
24-Jun-2025 11:07:10 | |
24-Jun-2025 11:07:10 | #6 [auth] library/nginx:pull token for registry-1.docker.io |
24-Jun-2025 11:07:11 | #6 DONE 0.0s |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine |
24-Jun-2025 11:07:11 | #7 DONE 0.2s |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #8 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine |
24-Jun-2025 11:07:11 | #8 DONE 0.2s |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #9 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 |
24-Jun-2025 11:07:11 | #9 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done |
24-Jun-2025 11:07:11 | #9 CACHED |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #10 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 |
24-Jun-2025 11:07:11 | #10 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done |
24-Jun-2025 11:07:11 | #10 DONE 0.1s |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #11 [internal] load build context |
24-Jun-2025 11:07:11 | #11 transferring context: 3.52kB done |
24-Jun-2025 11:07:11 | #11 DONE 0.1s |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #10 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 |
24-Jun-2025 11:07:11 | #10 CACHED |
24-Jun-2025 11:07:11 | |
24-Jun-2025 11:07:11 | #12 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf |
24-Jun-2025 11:07:12 | #12 DONE 0.4s |
24-Jun-2025 11:07:12 | |
24-Jun-2025 11:07:12 | #13 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf |
24-Jun-2025 11:07:12 | #13 DONE 0.4s |
24-Jun-2025 11:07:12 | |
24-Jun-2025 11:07:12 | #14 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/ |
24-Jun-2025 11:07:12 | #14 DONE 0.5s |
24-Jun-2025 11:07:12 | |
24-Jun-2025 11:07:12 | #15 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ |
24-Jun-2025 11:07:12 | #15 DONE 0.5s |
24-Jun-2025 11:07:12 | |
24-Jun-2025 11:07:12 | #16 exporting to image |
24-Jun-2025 11:07:12 | #16 exporting layers |
24-Jun-2025 11:07:12 | #16 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 |
24-Jun-2025 11:07:13 | #16 exporting layers 0.6s done |
24-Jun-2025 11:07:13 | #16 exporting manifest sha256:7685193634f9ca886f61113fbc353b12ca99a9cdccb3624830a12bb789602663 0.0s done |
24-Jun-2025 11:07:13 | #16 exporting config sha256:8d297eaab679d981b4ca703d27469d8a69e8210d68133766095d0950bfee7267 0.0s done |
24-Jun-2025 11:07:13 | #16 exporting manifest sha256:62f78a7a9acb0ebfb99735eb911116cd38970c1f3a5f1aabf7c642780aefa485 |
24-Jun-2025 11:07:13 | #16 exporting manifest sha256:62f78a7a9acb0ebfb99735eb911116cd38970c1f3a5f1aabf7c642780aefa485 0.0s done |
24-Jun-2025 11:07:13 | #16 exporting config sha256:eeaf7258cad5c67153a473a42bbd074496f57c6c53e40c89fb4713146f7205fa 0.0s done |
24-Jun-2025 11:07:13 | #16 exporting manifest list sha256:c6ef005da218698f23230266550ceb6ff0baa1d8600b65cd973793d8349028b7 0.0s done |
24-Jun-2025 11:07:13 | #16 pushing layers |
24-Jun-2025 11:07:13 | #16 ... |
24-Jun-2025 11:07:13 | |
24-Jun-2025 11:07:13 | #17 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io |
24-Jun-2025 11:07:13 | #17 DONE 0.0s |
24-Jun-2025 11:07:13 | |
24-Jun-2025 11:07:13 | #16 exporting to image |
24-Jun-2025 11:07:15 | #16 pushing layers 1.7s done |
24-Jun-2025 11:07:15 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly-core-2.8@sha256:c6ef005da218698f23230266550ceb6ff0baa1d8600b65cd973793d8349028b7 |
24-Jun-2025 11:07:16 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly-core-2.8@sha256:c6ef005da218698f23230266550ceb6ff0baa1d8600b65cd973793d8349028b7 1.7s done |
24-Jun-2025 11:07:17 | #16 pushing layers 0.7s done |
24-Jun-2025 11:07:17 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3-core-2.8@sha256:c6ef005da218698f23230266550ceb6ff0baa1d8600b65cd973793d8349028b7 |
24-Jun-2025 11:07:18 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3-core-2.8@sha256:c6ef005da218698f23230266550ceb6ff0baa1d8600b65cd973793d8349028b7 0.7s done |
24-Jun-2025 11:07:18 | #16 DONE 5.5s |
24-Jun-2025 11:07:18 | |
24-Jun-2025 11:07:18 | 1 warning found (use --debug to expand): |
24-Jun-2025 11:07:18 | - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 |
24-Jun-2025 11:07:18 | Finished task 'Build and publish image' with result: Success |
24-Jun-2025 11:07:18 | Running post build plugin 'Docker Container Cleanup' |
24-Jun-2025 11:07:18 | Running post build plugin 'NCover Results Collector' |
24-Jun-2025 11:07:18 | Running post build plugin 'Build Results Label Collector' |
24-Jun-2025 11:07:18 | Running post build plugin 'Clover Results Collector' |
24-Jun-2025 11:07:18 | Running post build plugin 'npm Cache Cleanup' |
24-Jun-2025 11:07:18 | Running post build plugin 'Artifact Copier' |
24-Jun-2025 11:07:18 | Finalising the build... |
24-Jun-2025 11:07:18 | Stopping timer. |
24-Jun-2025 11:07:18 | Build O3-BG0-JOB1-2 completed. |
24-Jun-2025 11:07:18 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
24-Jun-2025 11:07:18 | Running on server: post build plugin 'NCover Results Collector' |
24-Jun-2025 11:07:18 | Running on server: post build plugin 'Build Labeller' |
24-Jun-2025 11:07:18 | Running on server: post build plugin 'Clover Delta Calculator' |
24-Jun-2025 11:07:18 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
24-Jun-2025 11:07:18 | All post build plugins have finished |
24-Jun-2025 11:07:18 | Generating build results summary... |
24-Jun-2025 11:07:18 | Saving build results to disk... |
24-Jun-2025 11:07:18 | Store variable context... |
24-Jun-2025 11:07:18 | Finished building O3-BG0-JOB1-2. |