Builds the gateway image

Build: #3 was successful

Job: Build Gateway was successful

Stages & jobs

  1. Default Stage

Build log

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

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