Builds the gateway image
Build: #2 was successful
Job: Build Gateway was successful
Build log
The build generated 181 lines of output. Download or view full build log.
23-Jan-2024 17:36:28 | Build O3 Reference Application - Build Gateway - Build Gateway #2 (O3-BG-JOB1-2) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 |
23-Jan-2024 17:36:28 | Remote agent on host yu.openmrs.org |
23-Jan-2024 17:36:28 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1 |
23-Jan-2024 17:36:28 | Executing build O3 Reference Application - Build Gateway - Build Gateway #2 (O3-BG-JOB1-2) |
23-Jan-2024 17:36:28 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
23-Jan-2024 17:36:28 | Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1 |
23-Jan-2024 17:36:28 | Updating source code to revision: 2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d |
23-Jan-2024 17:36:29 | Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. |
23-Jan-2024 17:36:29 | From https://github.com/openmrs/openmrs-distro-referenceapplication |
23-Jan-2024 17:36:29 | 3d830e4..2f8f944 main -> main |
23-Jan-2024 17:36:29 | Checking out revision 2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d. |
23-Jan-2024 17:36:29 | Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1/.git'. |
23-Jan-2024 17:36:29 | Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1'... |
23-Jan-2024 17:36:29 | done. |
23-Jan-2024 17:36:29 | Switched to a new branch 'main' |
23-Jan-2024 17:36:29 | Branch 'main' set up to track remote branch 'main' from 'origin'. |
23-Jan-2024 17:36:29 | Updated source code to revision: 2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d |
23-Jan-2024 17:36:29 | Finished task 'Checkout Default Repository' with result: Success |
23-Jan-2024 17:36:29 | Running pre-build action: Build Log Labeller Pre Build Action |
23-Jan-2024 17:36:29 | Running pre-build action: VCS Version Collector |
23-Jan-2024 17:36:29 | Running pre-build action: Run Predator |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3119 java 1290 bamboo-age 2972Mb 460Mb 00:17:01 /usr/lib/jvm/java-8-ope |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1290 wrapper 1 bamboo-age 16Mb 3Mb 00:04:16 /home/bamboo-agent/bamb |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:31 /sbin/init |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Initial free space: 5.7092514 GB |
23-Jan-2024 17:36:29 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OCLAPI2-CF |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] Maven stable disk freed: 0.8322378 GB, deleted 520 files |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] Final free space: 5.9908943 GB |
23-Jan-2024 17:36:30 | [PredatorPreBuildAction] Done |
23-Jan-2024 17:36:30 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
23-Jan-2024 17:36:30 | Substituting password variable: ${bamboo.dockerhub.password} |
23-Jan-2024 17:36:30 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
23-Jan-2024 17:36:30 | Starting task 'Build and publish image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
23-Jan-2024 17:36:30 | Beginning to execute external process for build 'O3 Reference Application - Build Gateway - Build Gateway #2 (O3-BG-JOB1-2)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/O3-BG-JOB1-2-ScriptBuildTask-7607379904754068038.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BG-JOB1 |
23-Jan-2024 17:36:30 | + [[ ehuB != ehuxB ]] |
23-Jan-2024 17:36:30 | + echo 'Start of Lmod init/bash script to define the module command' |
23-Jan-2024 17:36:30 | Start of Lmod init/bash script to define the module command |
23-Jan-2024 17:36:30 | + LMOD_PKG=/usr/share/lmod/lmod |
23-Jan-2024 17:36:30 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
23-Jan-2024 17:36:30 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
23-Jan-2024 17:36:30 | + MODULESHOME=/usr/share/lmod/lmod |
23-Jan-2024 17:36:30 | + export LMOD_PKG |
23-Jan-2024 17:36:30 | + export LMOD_CMD |
23-Jan-2024 17:36:30 | + export LMOD_DIR |
23-Jan-2024 17:36:30 | + export MODULESHOME |
23-Jan-2024 17:36:30 | + LMOD_VERSION=6.6 |
23-Jan-2024 17:36:30 | + export LMOD_VERSION |
23-Jan-2024 17:36:30 | + '[' : '!=' : ']' |
23-Jan-2024 17:36:30 | + unalias ml |
23-Jan-2024 17:36:30 | + true |
23-Jan-2024 17:36:30 | ++ echo YES |
23-Jan-2024 17:36:30 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
23-Jan-2024 17:36:30 | End of Lmod init/bash script to define the module command |
23-Jan-2024 17:36:30 | + export_module=yes |
23-Jan-2024 17:36:30 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
23-Jan-2024 17:36:30 | + export -f module |
23-Jan-2024 17:36:30 | + export -f ml |
23-Jan-2024 17:36:30 | + unset export_module |
23-Jan-2024 17:36:30 | + '[' -n '' ']' |
23-Jan-2024 17:36:30 | + '[' 5 -ge 3 ']' |
23-Jan-2024 17:36:30 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
23-Jan-2024 17:36:30 | + '[' -n '' ']' |
23-Jan-2024 17:36:30 | + [[ ehuB != ehuxB ]] |
23-Jan-2024 17:36:30 | + echo 'End of Lmod init/bash script to define the module command' |
23-Jan-2024 17:36:30 | + export IMAGE=openmrs/openmrs-reference-application-3-gateway |
23-Jan-2024 17:36:30 | + IMAGE=openmrs/openmrs-reference-application-3-gateway |
23-Jan-2024 17:36:30 | + docker login -u openmrsci -p ******** |
23-Jan-2024 17:36:30 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
23-Jan-2024 17:36:30 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
23-Jan-2024 17:36:30 | Configure a credential helper to remove this warning. See |
23-Jan-2024 17:36:30 | https://docs.docker.com/engine/reference/commandline/login/#credentials-store |
23-Jan-2024 17:36:30 | |
23-Jan-2024 17:36:30 | Login Succeeded |
23-Jan-2024 17:36: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/ |
23-Jan-2024 17:36:31 | #1 [internal] load build definition from Dockerfile |
23-Jan-2024 17:36:31 | #1 transferring dockerfile: 205B done |
23-Jan-2024 17:36:31 | #1 DONE 0.0s |
23-Jan-2024 17:36:31 | |
23-Jan-2024 17:36:31 | #2 resolve image config for docker.io/docker/dockerfile:1.3 |
23-Jan-2024 17:36:31 | #2 ... |
23-Jan-2024 17:36:31 | |
23-Jan-2024 17:36:31 | #3 [auth] docker/dockerfile:pull token for registry-1.docker.io |
23-Jan-2024 17:36:31 | #3 DONE 0.0s |
23-Jan-2024 17:36:31 | |
23-Jan-2024 17:36:31 | #2 resolve image config for docker.io/docker/dockerfile:1.3 |
23-Jan-2024 17:36:31 | #2 DONE 0.3s |
23-Jan-2024 17:36:31 | |
23-Jan-2024 17:36:31 | #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 |
23-Jan-2024 17:36:31 | #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done |
23-Jan-2024 17:36:31 | #4 CACHED |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #5 [internal] load .dockerignore |
23-Jan-2024 17:36:32 | #5 transferring context: 2B done |
23-Jan-2024 17:36:32 | #5 DONE 0.0s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #6 [auth] library/nginx:pull token for registry-1.docker.io |
23-Jan-2024 17:36:32 | #6 DONE 0.0s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine |
23-Jan-2024 17:36:32 | #7 DONE 0.2s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #8 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine |
23-Jan-2024 17:36:32 | #8 DONE 0.2s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #9 [internal] load build context |
23-Jan-2024 17:36:32 | #9 transferring context: 3.48kB done |
23-Jan-2024 17:36:32 | #9 DONE 0.0s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #10 [linux/arm64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 |
23-Jan-2024 17:36:32 | #10 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 0.1s done |
23-Jan-2024 17:36:32 | #10 DONE 0.1s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #11 [linux/arm64 2/3] COPY nginx.conf /etc/nginx/nginx.conf |
23-Jan-2024 17:36:32 | #11 CACHED |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #12 [linux/arm64 3/3] COPY default.conf.template /etc/nginx/templates/ |
23-Jan-2024 17:36:32 | #12 CACHED |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #13 [linux/amd64 1/3] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 |
23-Jan-2024 17:36:32 | #13 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 0.1s done |
23-Jan-2024 17:36:32 | #13 DONE 0.1s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #14 [linux/amd64 2/3] COPY nginx.conf /etc/nginx/nginx.conf |
23-Jan-2024 17:36:32 | #14 CACHED |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #15 [linux/amd64 3/3] COPY default.conf.template /etc/nginx/templates/ |
23-Jan-2024 17:36:32 | #15 CACHED |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #16 exporting to image |
23-Jan-2024 17:36:32 | #16 exporting layers done |
23-Jan-2024 17:36:32 | #16 exporting manifest sha256:8141fe5e5c70212563c902d8afb329c8eb0afb1d912b3192d68d6dfc7a71bb12 0.0s done |
23-Jan-2024 17:36:32 | #16 exporting config sha256:8a9177c8e240087668dd534efe9f2b58566634cde03a170c78954b977e65b493 |
23-Jan-2024 17:36:32 | #16 ... |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #17 [auth] openmrs/openmrs-reference-application-3-gateway:pull,push token for registry-1.docker.io |
23-Jan-2024 17:36:32 | #17 DONE 0.0s |
23-Jan-2024 17:36:32 | |
23-Jan-2024 17:36:32 | #16 exporting to image |
23-Jan-2024 17:36:32 | #16 exporting config sha256:8a9177c8e240087668dd534efe9f2b58566634cde03a170c78954b977e65b493 done |
23-Jan-2024 17:36:32 | #16 exporting manifest sha256:fa36f8406b03575574d2ceca8c17f4b9dcad17f6e7a330fd212dc8777c8969ff 0.0s done |
23-Jan-2024 17:36:32 | #16 exporting config sha256:aaf1f998fbf5b914eef4a0c8997043afab20c6120eb92ce59faeab62e175ec67 done |
23-Jan-2024 17:36:32 | #16 exporting manifest list sha256:c108197c3493479737aadc27d9048dbb67590aa88d8b758c348e895da9104e83 0.0s done |
23-Jan-2024 17:36:32 | #16 pushing layers |
23-Jan-2024 17:36:33 | #16 pushing layers 0.6s done |
23-Jan-2024 17:36:33 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:c108197c3493479737aadc27d9048dbb67590aa88d8b758c348e895da9104e83 |
23-Jan-2024 17:36:33 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:nightly@sha256:c108197c3493479737aadc27d9048dbb67590aa88d8b758c348e895da9104e83 0.3s done |
23-Jan-2024 17:36:33 | #16 pushing layers 0.4s done |
23-Jan-2024 17:36:33 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:c108197c3493479737aadc27d9048dbb67590aa88d8b758c348e895da9104e83 |
23-Jan-2024 17:36:34 | #16 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-gateway:dev3@sha256:c108197c3493479737aadc27d9048dbb67590aa88d8b758c348e895da9104e83 0.3s done |
23-Jan-2024 17:36:34 | #16 DONE 1.7s |
23-Jan-2024 17:36:34 | Finished task 'Build and publish image' with result: Success |
23-Jan-2024 17:36:34 | Running post build plugin 'Docker Container Cleanup' |
23-Jan-2024 17:36:34 | Running post build plugin 'NCover Results Collector' |
23-Jan-2024 17:36:34 | Running post build plugin 'Build Results Label Collector' |
23-Jan-2024 17:36:34 | Running post build plugin 'Clover Results Collector' |
23-Jan-2024 17:36:34 | Running post build plugin 'npm Cache Cleanup' |
23-Jan-2024 17:36:34 | Running post build plugin 'Artifact Copier' |
23-Jan-2024 17:36:34 | Finalising the build... |
23-Jan-2024 17:36:34 | Stopping timer. |
23-Jan-2024 17:36:34 | Build O3-BG-JOB1-2 completed. |
23-Jan-2024 17:36:34 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
23-Jan-2024 17:36:34 | Running on server: post build plugin 'NCover Results Collector' |
23-Jan-2024 17:36:34 | Running on server: post build plugin 'Build Labeller' |
23-Jan-2024 17:36:34 | Running on server: post build plugin 'Clover Delta Calculator' |
23-Jan-2024 17:36:34 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
23-Jan-2024 17:36:34 | All post build plugins have finished |
23-Jan-2024 17:36:34 | Generating build results summary... |
23-Jan-2024 17:36:34 | Saving build results to disk... |
23-Jan-2024 17:36:34 | Store variable context... |
23-Jan-2024 17:36:34 | Finished building O3-BG-JOB1-2. |