Builds the gateway image

Build: #6 was successful

Job: Build Gateway was successful

Stages & jobs

  1. Default Stage

Build log

The build generated 200 lines of output. Download or view full build log.

24-Jun-2025 10:59:23 Build O3 Reference Application - Build Gateway - Build Gateway #6 (O3-BG-JOB1-6) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
24-Jun-2025 10:59:23 Remote agent on host yu.openmrs.org
24-Jun-2025 10:59:23 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1
24-Jun-2025 10:59:23 Executing build O3 Reference Application - Build Gateway - Build Gateway #6 (O3-BG-JOB1-6)
24-Jun-2025 10:59:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
24-Jun-2025 10:59:23 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1
24-Jun-2025 10:59:23 Updating source code to revision: 808f0bee3678cf9b5e4fddb28e8db007d6d14209
24-Jun-2025 10:59:23 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'.
24-Jun-2025 10:59:23 Checking out revision 808f0bee3678cf9b5e4fddb28e8db007d6d14209.
24-Jun-2025 10:59:23 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1/.git'.
24-Jun-2025 10:59:23 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1'...
24-Jun-2025 10:59:23 done.
24-Jun-2025 10:59:23 Switched to a new branch 'main'
24-Jun-2025 10:59:23 Branch 'main' set up to track remote branch 'main' from 'origin'.
24-Jun-2025 10:59:23 Updated source code to revision: 808f0bee3678cf9b5e4fddb28e8db007d6d14209
24-Jun-2025 10:59:23 Finished task 'Checkout Default Repository' with result: Success
24-Jun-2025 10:59:23 Running pre-build action: Build Log Labeller Pre Build Action
24-Jun-2025 10:59:23 Running pre-build action: VCS Version Collector
24-Jun-2025 10:59:23 Running pre-build action: Run Predator
24-Jun-2025 10:59:23 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Jun-2025 10:59:23 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Jun-2025 10:59:23 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3220 java        1338 bamboo-age 2975Mb  489Mb 00:06:33 /usr/lib/jvm/java-8-ope
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1338 wrapper        1 bamboo-age   16Mb    2Mb 00:01:16 /home/bamboo-agent/bamb
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   11Mb 00:00:20 /sbin/init             
24-Jun-2025 10:59:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Initial free space: 2.6756706 GB
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UICM-UCML-JOB1
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIFR-UFL-DTM
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/205619201-205684737
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ11
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ24
24-Jun-2025 10:59:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-REL
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-JOB1
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-EML-DTM
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-JOB1
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EVNT-EML-RTM
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UICM-UCML-DTM
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ8
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
24-Jun-2025 10:59:26 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Jun-2025 10:59:26 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Jun-2025 10:59:27 [PredatorPreBuildAction] Maven stable disk freed: 0.45727316 GB, deleted 77 files
24-Jun-2025 10:59:27 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Jun-2025 10:59:27 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Jun-2025 10:59:27 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Jun-2025 10:59:27 [PredatorPreBuildAction] Final free space: 2.961422 GB
24-Jun-2025 10:59:27 [PredatorPreBuildAction] Done
24-Jun-2025 10:59:27
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Jun-2025 10:59:27
Substituting password variable: ${bamboo.dockerhub.password}
24-Jun-2025 10:59:27
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
24-Jun-2025 10:59:27
Substituting variable: ${bamboo.docker.image.tag} with nightly
24-Jun-2025 10:59:27
Substituting variable: ${bamboo.docker.image.tag.env} with dev3
24-Jun-2025 10:59:27 Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Jun-2025 10:59:27
Beginning to execute external process for build 'O3 Reference Application - Build Gateway - Build Gateway #6 (O3-BG-JOB1-6)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/O3-BG-JOB1-6-ScriptBuildTask-8993609718092072864.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1
24-Jun-2025 10:59:27 + [[ ehuB != ehuxB ]]
24-Jun-2025 10:59:27 + echo 'Start of Lmod init/bash script to define the module command'
24-Jun-2025 10:59:27 Start of Lmod init/bash script to define the module command
24-Jun-2025 10:59:27 + LMOD_PKG=/usr/share/lmod/lmod
24-Jun-2025 10:59:27 + LMOD_DIR=/usr/share/lmod/lmod/libexec
24-Jun-2025 10:59:27 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
24-Jun-2025 10:59:27 + MODULESHOME=/usr/share/lmod/lmod
24-Jun-2025 10:59:27 + export LMOD_PKG
24-Jun-2025 10:59:27 + export LMOD_CMD
24-Jun-2025 10:59:27 + export LMOD_DIR
24-Jun-2025 10:59:27 + export MODULESHOME
24-Jun-2025 10:59:27 + LMOD_VERSION=6.6
24-Jun-2025 10:59:27 + export LMOD_VERSION
24-Jun-2025 10:59:27 + '[' : '!=' : ']'
24-Jun-2025 10:59:27 + unalias ml
24-Jun-2025 10:59:27 + true
24-Jun-2025 10:59:27 ++ echo YES
24-Jun-2025 10:59:27 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
24-Jun-2025 10:59:27 + export_module=yes
24-Jun-2025 10:59:27 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
24-Jun-2025 10:59:27 + export -f module
24-Jun-2025 10:59:27 + export -f ml
24-Jun-2025 10:59:27 + unset export_module
24-Jun-2025 10:59:27 + '[' -n '' ']'
24-Jun-2025 10:59:27 + '[' 5 -ge 3 ']'
24-Jun-2025 10:59:27 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
24-Jun-2025 10:59:27 + '[' -n '' ']'
24-Jun-2025 10:59:27 + [[ ehuB != ehuxB ]]
24-Jun-2025 10:59:27 + echo 'End of Lmod init/bash script to define the module command'
24-Jun-2025 10:59:27 + export IMAGE=openmrs/openmrs-reference-application-3-gateway
24-Jun-2025 10:59:27 + IMAGE=openmrs/openmrs-reference-application-3-gateway
24-Jun-2025 10:59:27 + docker login -u openmrsci -p ********
24-Jun-2025 10:59:27 End of Lmod init/bash script to define the module command
24-Jun-2025 10:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Jun-2025 10:59:27 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Jun-2025 10:59:27 Configure a credential helper to remove this warning. See
24-Jun-2025 10:59:27 https://docs.docker.com/engine/reference/commandline/login/#credential-stores
24-Jun-2025 10:59:27
24-Jun-2025 10:59:27 Login Succeeded
24-Jun-2025 10:59:27 + 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/
24-Jun-2025 10:59:28 #1 [internal] load build definition from Dockerfile
24-Jun-2025 10:59:28 #1 transferring dockerfile: 205B done
24-Jun-2025 10:59:28 #1 DONE 0.1s
24-Jun-2025 10:59:28
24-Jun-2025 10:59:28 #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
24-Jun-2025 10:59:28 #2 ...
24-Jun-2025 10:59:28
24-Jun-2025 10:59:28 #3 [auth] docker/dockerfile:pull token for registry-1.docker.io
24-Jun-2025 10:59:28 #3 DONE 0.0s
24-Jun-2025 10:59:28
24-Jun-2025 10:59:28 #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
24-Jun-2025 10:59:28 #2 DONE 0.3s
24-Jun-2025 10:59:28
24-Jun-2025 10:59:28 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
24-Jun-2025 10:59:28 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
24-Jun-2025 10:59:28 #4 CACHED
24-Jun-2025 10:59:29
24-Jun-2025 10:59:29 #5 [internal] load .dockerignore
24-Jun-2025 10:59:29 #5 transferring context:
24-Jun-2025 10:59:29 #5 transferring context: 2B done
24-Jun-2025 10:59:29 #5 DONE 0.1s
24-Jun-2025 10:59:29
24-Jun-2025 10:59:29 #6 [auth] library/nginx:pull token for registry-1.docker.io
24-Jun-2025 10:59:29 #6 DONE 0.0s
24-Jun-2025 10:59:29
24-Jun-2025 10:59:29 #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
24-Jun-2025 10:59:29 #7 DONE 0.8s
24-Jun-2025 10:59:29
24-Jun-2025 10:59:29 #8 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
24-Jun-2025 10:59:29 #8 DONE 0.8s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #9 [internal] load build context
24-Jun-2025 10:59:30 #9 transferring context: 3.52kB done
24-Jun-2025 10:59:30 #9 DONE 0.1s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #10 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
24-Jun-2025 10:59:30 #10 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
24-Jun-2025 10:59:30 #10 CACHED
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #11 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
24-Jun-2025 10:59:30 #11 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
24-Jun-2025 10:59:30 #11 CACHED
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #12 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf
24-Jun-2025 10:59:30 #12 DONE 0.1s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #13 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf
24-Jun-2025 10:59:30 #13 DONE 0.1s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #14 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/
24-Jun-2025 10:59:30 #14 DONE 0.2s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #15 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/
24-Jun-2025 10:59:30 #15 DONE 0.2s
24-Jun-2025 10:59:30
24-Jun-2025 10:59:30 #16 exporting to image
24-Jun-2025 10:59:30 #16 exporting layers
24-Jun-2025 10:59:30 #16 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
24-Jun-2025 10:59:31 #16 exporting layers 0.5s done
24-Jun-2025 10:59:31 #16 exporting manifest sha256:22f5682d618ac6417780c6cef2985c9c7eec99b0d6b53592ebd2de2177e844d5 0.0s done
24-Jun-2025 10:59:31 #16 exporting config sha256:3a25dd48d12f86f19fa15aea8c0487f010f5546d11d84b4ef73ac71970943352
24-Jun-2025 10:59:31 #16 exporting config sha256:3a25dd48d12f86f19fa15aea8c0487f010f5546d11d84b4ef73ac71970943352 0.0s done
24-Jun-2025 10:59:31 #16 exporting manifest sha256:5ad0222611426864d00958ed4e3791b4209a0d8b9a3eecf99dd522417ebd649d 0.0s done
24-Jun-2025 10:59:31 #16 exporting config sha256:67c7a862a0ba11fec654f11941fbf5d8bcf5c1f51f4b8dc0db86618a2881d67b 0.0s done
24-Jun-2025 10:59:31 #16 exporting manifest list sha256:20c2d98d8674e7a4695d3879d16d1c1f7bd2ae01557b4b0a1aefa61e6f74c6c5 0.0s done
24-Jun-2025 10:59:31 #16 pushing layers
24-Jun-2025 10:59:31 #16 ...
24-Jun-2025 10:59:31
24-Jun-2025 10:59:31 #17 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io
24-Jun-2025 10:59:31 #17 DONE 0.0s
24-Jun-2025 10:59:31
24-Jun-2025 10:59:31 #16 exporting to image
24-Jun-2025 10:59:33 #16 pushing layers 2.1s done
24-Jun-2025 10:59:33 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:20c2d98d8674e7a4695d3879d16d1c1f7bd2ae01557b4b0a1aefa61e6f74c6c5
24-Jun-2025 10:59:35 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:20c2d98d8674e7a4695d3879d16d1c1f7bd2ae01557b4b0a1aefa61e6f74c6c5 1.7s done
24-Jun-2025 10:59:35 #16 pushing layers 0.8s done
24-Jun-2025 10:59:35 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:20c2d98d8674e7a4695d3879d16d1c1f7bd2ae01557b4b0a1aefa61e6f74c6c5
24-Jun-2025 10:59:36 #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:20c2d98d8674e7a4695d3879d16d1c1f7bd2ae01557b4b0a1aefa61e6f74c6c5 0.7s done
24-Jun-2025 10:59:36 #16 DONE 5.9s
24-Jun-2025 10:59:36
24-Jun-2025 10:59:36 1 warning found (use --debug to expand):
24-Jun-2025 10:59:36 - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
24-Jun-2025 10:59:36 Finished task 'Build and publish image' with result: Success
24-Jun-2025 10:59:36 Running post build plugin 'Docker Container Cleanup'
24-Jun-2025 10:59:36 Running post build plugin 'NCover Results Collector'
24-Jun-2025 10:59:36 Running post build plugin 'Build Results Label Collector'
24-Jun-2025 10:59:36 Running post build plugin 'Clover Results Collector'
24-Jun-2025 10:59:36 Running post build plugin 'npm Cache Cleanup'
24-Jun-2025 10:59:36 Running post build plugin 'Artifact Copier'
24-Jun-2025 10:59:36 Finalising the build...
24-Jun-2025 10:59:36 Stopping timer.
24-Jun-2025 10:59:36 Build O3-BG-JOB1-6 completed.
24-Jun-2025 10:59:36 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Jun-2025 10:59:36 Running on server: post build plugin 'NCover Results Collector'
24-Jun-2025 10:59:36 Running on server: post build plugin 'Build Labeller'
24-Jun-2025 10:59:36 Running on server: post build plugin 'Clover Delta Calculator'
24-Jun-2025 10:59:36 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Jun-2025 10:59:36 All post build plugins have finished
24-Jun-2025 10:59:36 Generating build results summary...
24-Jun-2025 10:59:36 Saving build results to disk...
24-Jun-2025 10:59:36 Store variable context...
24-Jun-2025 10:59:36 Finished building O3-BG-JOB1-6.