DO NOT MANUALLY RUN! Builds the 3.x Docker images and deploys them to the test server

Build: #14 was successful

Job: Gateway was successful

Stages & jobs

  1. Build

  2. Deploy and Store Build Info

Build log

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

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