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