DO NOT MANUALLY RUN! Builds and publishes QA releases to the O3 RefApp QA server

Build: #6 failed

Job: Gateway was successful

Stages & jobs

  1. Build

  2. Deploy and Store Build Info

Build log

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

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