Build: #273 was successful

Job: Push docker image was successful

Stages & jobs

  1. Update versions

  2. Build

  3. Push docker image

  4. Validate

  5. Release

    Requires a user to start manually
  6. Release 2nd stage

  7. Release 3rd stage

Build log

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

25-Jun-2025 23:00:37 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
25-Jun-2025 23:00:37 Remote agent on host xindi.openmrs.org
25-Jun-2025 23:00:37 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
25-Jun-2025 23:00:37 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273)
25-Jun-2025 23:00:37 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: )
25-Jun-2025 23:00:42 Artifact 'docker-compose-snapshot' prepared in 4.851 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
25-Jun-2025 23:00:42 Running pre-build action: Build Log Labeller Pre Build Action
25-Jun-2025 23:00:42 Running pre-build action: VCS Version Collector
25-Jun-2025 23:00:42 Running pre-build action: Run Predator
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40047 java        1356 bamboo-age 2975Mb  496Mb 00:05:05 /usr/lib/jvm/java-8-ope
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1356 wrapper        1 bamboo-age   16Mb    3Mb 00:02:11 /home/bamboo-agent/bamb
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   12Mb 00:00:36 /sbin/init             
25-Jun-2025 23:00:42 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Initial free space: 2.561367 GB
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIFR-UFL-DTM
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-JOB1
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIL-ULL-DTM
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CALC-CML-RTM
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
25-Jun-2025 23:00:42 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
25-Jun-2025 23:00:43 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
25-Jun-2025 23:00:43 [PredatorPreBuildAction] Maven stable disk freed: 0.50024134 GB, deleted 82 files
25-Jun-2025 23:00:43 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
25-Jun-2025 23:00:43 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
25-Jun-2025 23:00:43 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
25-Jun-2025 23:00:43 [PredatorPreBuildAction] Final free space: 2.655754 GB
25-Jun-2025 23:00:43 [PredatorPreBuildAction] Done
25-Jun-2025 23:00:43
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
25-Jun-2025 23:00:43
Substituting password variable: ${bamboo.dockerhub.password}
25-Jun-2025 23:00:43
Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT
25-Jun-2025 23:00:43
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
25-Jun-2025 23:00:43
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
25-Jun-2025 23:00:43
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
25-Jun-2025 23:00:43 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
25-Jun-2025 23:00:43
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-273-ScriptBuildTask-4079721555782365463.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
25-Jun-2025 23:00:43 + [[ ehuB != ehuxB ]]
25-Jun-2025 23:00:43 + echo 'Start of Lmod init/bash script to define the module command'
25-Jun-2025 23:00:43 Start of Lmod init/bash script to define the module command
25-Jun-2025 23:00:43 + LMOD_PKG=/usr/share/lmod/lmod
25-Jun-2025 23:00:43 + LMOD_DIR=/usr/share/lmod/lmod/libexec
25-Jun-2025 23:00:43 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
25-Jun-2025 23:00:43 + MODULESHOME=/usr/share/lmod/lmod
25-Jun-2025 23:00:43 + export LMOD_PKG
25-Jun-2025 23:00:43 + export LMOD_CMD
25-Jun-2025 23:00:43 + export LMOD_DIR
25-Jun-2025 23:00:43 + export MODULESHOME
25-Jun-2025 23:00:43 + LMOD_VERSION=6.6
25-Jun-2025 23:00:43 + export LMOD_VERSION
25-Jun-2025 23:00:43 + '[' : '!=' : ']'
25-Jun-2025 23:00:43 + unalias ml
25-Jun-2025 23:00:43 + true
25-Jun-2025 23:00:43 ++ echo YES
25-Jun-2025 23:00:43 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
25-Jun-2025 23:00:43 + export_module=yes
25-Jun-2025 23:00:43 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
25-Jun-2025 23:00:43 + export -f module
25-Jun-2025 23:00:43 + export -f ml
25-Jun-2025 23:00:43 + unset export_module
25-Jun-2025 23:00:43 + '[' -n '' ']'
25-Jun-2025 23:00:43 + '[' 5 -ge 3 ']'
25-Jun-2025 23:00:43 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
25-Jun-2025 23:00:43 + '[' -n '' ']'
25-Jun-2025 23:00:43 + [[ ehuB != ehuxB ]]
25-Jun-2025 23:00:43 + echo 'End of Lmod init/bash script to define the module command'
25-Jun-2025 23:00:43 + docker login -u openmrsci -p ********
25-Jun-2025 23:00:43 End of Lmod init/bash script to define the module command
25-Jun-2025 23:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
25-Jun-2025 23:00:43 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
25-Jun-2025 23:00:43 Configure a credential helper to remove this warning. See
25-Jun-2025 23:00:43 https://docs.docker.com/engine/reference/commandline/login/#credential-stores
25-Jun-2025 23:00:43
25-Jun-2025 23:00:43 Login Succeeded
25-Jun-2025 23:00:43 + set +x
25-Jun-2025 23:00:44 #1 [internal] load build definition from Dockerfile
25-Jun-2025 23:00:44 #1 transferring dockerfile: 751B done
25-Jun-2025 23:00:44 #1 DONE 0.0s
25-Jun-2025 23:00:44
25-Jun-2025 23:00:44 #2 [internal] load metadata for docker.io/library/tomcat:7-jre8
25-Jun-2025 23:00:44 #2 DONE 0.2s
25-Jun-2025 23:00:44
25-Jun-2025 23:00:44 #3 [internal] load .dockerignore
25-Jun-2025 23:00:44 #3 transferring context: 2B done
25-Jun-2025 23:00:44 #3 DONE 0.0s
25-Jun-2025 23:00:44
25-Jun-2025 23:00:44 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
25-Jun-2025 23:00:44 #4 DONE 0.0s
25-Jun-2025 23:00:44
25-Jun-2025 23:00:44 #5 [internal] load build context
25-Jun-2025 23:00:45 #5 transferring context: 136.21MB 0.9s done
25-Jun-2025 23:00:45 #5 DONE 0.9s
25-Jun-2025 23:00:45
25-Jun-2025 23:00:45 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
25-Jun-2025 23:00:45 #4 CACHED
25-Jun-2025 23:00:45
25-Jun-2025 23:00:45 #6 [ 2/10] COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
25-Jun-2025 23:00:45 #6 DONE 0.5s
25-Jun-2025 23:00:46
25-Jun-2025 23:00:46 #7 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
25-Jun-2025 23:00:46 #7 DONE 0.1s
25-Jun-2025 23:00:46
25-Jun-2025 23:00:46 #8 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
25-Jun-2025 23:00:46 #8 DONE 0.2s
25-Jun-2025 23:00:46
25-Jun-2025 23:00:46 #9 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
25-Jun-2025 23:00:46 #9 DONE 0.2s
25-Jun-2025 23:00:46
25-Jun-2025 23:00:46 #10 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
25-Jun-2025 23:00:46 #10 DONE 0.4s
25-Jun-2025 23:00:46
25-Jun-2025 23:00:46 #11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
25-Jun-2025 23:00:47 #11 DONE 0.4s
25-Jun-2025 23:00:47
25-Jun-2025 23:00:47 #12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
25-Jun-2025 23:00:47 #12 DONE 0.5s
25-Jun-2025 23:00:47
25-Jun-2025 23:00:47 #13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
25-Jun-2025 23:00:47 #13 DONE 0.1s
25-Jun-2025 23:00:47
25-Jun-2025 23:00:47 #14 [10/10] COPY Dockerfile /root/Dockerfile
25-Jun-2025 23:00:48 #14 DONE 0.2s
25-Jun-2025 23:00:48
25-Jun-2025 23:00:48 #15 exporting to image
25-Jun-2025 23:00:48 #15 exporting layers
25-Jun-2025 23:00:48 #15 exporting layers 0.7s done
25-Jun-2025 23:00:48 #15 writing image sha256:f0fccf36c3995c956ef79469c2f47a266484ae11f7ba878ac543e2d26588e813 done
25-Jun-2025 23:00:48 #15 naming to docker.io/openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT 0.0s done
25-Jun-2025 23:00:48 #15 DONE 0.8s
25-Jun-2025 23:00:49 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
25-Jun-2025 23:00:49 64ba5943648a: Preparing
25-Jun-2025 23:00:49 7b2bcf747a1d: Preparing
25-Jun-2025 23:00:49 07e51e2bd800: Preparing
25-Jun-2025 23:00:49 8647dd6ced8f: Preparing
25-Jun-2025 23:00:49 5e3f756ebcab: Preparing
25-Jun-2025 23:00:49 48e6c1a5849f: Preparing
25-Jun-2025 23:00:49 a84eaee4c71f: Preparing
25-Jun-2025 23:00:49 a9a5fa35bb22: Preparing
25-Jun-2025 23:00:49 70fa6e0dbd39: Preparing
25-Jun-2025 23:00:49 ccb063697e4b: Preparing
25-Jun-2025 23:00:49 abdaa093b247: Preparing
25-Jun-2025 23:00:49 f0e1731fd286: Preparing
25-Jun-2025 23:00:49 2b6c38ff3137: Preparing
25-Jun-2025 23:00:49 d38f3d5a39fb: Preparing
25-Jun-2025 23:00:49 fe60061c6c4e: Preparing
25-Jun-2025 23:00:49 7d63f8777ebf: Preparing
25-Jun-2025 23:00:49 1b958b53b256: Preparing
25-Jun-2025 23:00:49 2c719774c1e1: Preparing
25-Jun-2025 23:00:49 ec62f19bb3aa: Preparing
25-Jun-2025 23:00:49 f94641f1fe1f: Preparing
25-Jun-2025 23:00:49 abdaa093b247: Waiting
25-Jun-2025 23:00:49 f0e1731fd286: Waiting
25-Jun-2025 23:00:49 2b6c38ff3137: Waiting
25-Jun-2025 23:00:49 d38f3d5a39fb: Waiting
25-Jun-2025 23:00:49 fe60061c6c4e: Waiting
25-Jun-2025 23:00:49 7d63f8777ebf: Waiting
25-Jun-2025 23:00:49 1b958b53b256: Waiting
25-Jun-2025 23:00:49 2c719774c1e1: Waiting
25-Jun-2025 23:00:49 ec62f19bb3aa: Waiting
25-Jun-2025 23:00:49 f94641f1fe1f: Waiting
25-Jun-2025 23:00:49 48e6c1a5849f: Waiting
25-Jun-2025 23:00:49 a84eaee4c71f: Waiting
25-Jun-2025 23:00:49 a9a5fa35bb22: Waiting
25-Jun-2025 23:00:49 70fa6e0dbd39: Waiting
25-Jun-2025 23:00:49 ccb063697e4b: Waiting
25-Jun-2025 23:00:50 5e3f756ebcab: Pushed
25-Jun-2025 23:00:50 7b2bcf747a1d: Pushed
25-Jun-2025 23:00:50 8647dd6ced8f: Pushed
25-Jun-2025 23:00:50 64ba5943648a: Pushed
25-Jun-2025 23:00:50 07e51e2bd800: Pushed
25-Jun-2025 23:00:50 ccb063697e4b: Layer already exists
25-Jun-2025 23:00:50 abdaa093b247: Layer already exists
25-Jun-2025 23:00:51 f0e1731fd286: Layer already exists
25-Jun-2025 23:00:51 2b6c38ff3137: Layer already exists
25-Jun-2025 23:00:51 d38f3d5a39fb: Layer already exists
25-Jun-2025 23:00:51 fe60061c6c4e: Layer already exists
25-Jun-2025 23:00:51 7d63f8777ebf: Layer already exists
25-Jun-2025 23:00:51 48e6c1a5849f: Pushed
25-Jun-2025 23:00:51 a84eaee4c71f: Pushed
25-Jun-2025 23:00:51 1b958b53b256: Layer already exists
25-Jun-2025 23:00:51 a9a5fa35bb22: Pushed
25-Jun-2025 23:00:51 2c719774c1e1: Layer already exists
25-Jun-2025 23:00:52 ec62f19bb3aa: Layer already exists
25-Jun-2025 23:00:52 f94641f1fe1f: Layer already exists
25-Jun-2025 23:00:57 70fa6e0dbd39: Pushed
25-Jun-2025 23:00:59 2.4.6-SNAPSHOT: digest: sha256:1ae2b8c8da88f50fdc66177c268eb79e17e6ffd47e9cbb0b6dbc41e73e7fd3e0 size: 4498
25-Jun-2025 23:00:59 Finished task 'Build and push docker image' with result: Success
25-Jun-2025 23:00:59 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
25-Jun-2025 23:00:59 Variable wasn't found in the Build context. It possibly doesn't exist.
25-Jun-2025 23:00:59 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:1ae2b8c8da88f50fdc66177c268eb79e17e6ffd47e9cbb0b6dbc41e73e7fd3e0
25-Jun-2025 23:00:59 Finished task 'Save docker image ID' with result: Success
25-Jun-2025 23:00:59 Running post build plugin 'Docker Container Cleanup'
25-Jun-2025 23:00:59 Running post build plugin 'NCover Results Collector'
25-Jun-2025 23:00:59 Running post build plugin 'Build Results Label Collector'
25-Jun-2025 23:00:59 Running post build plugin 'Clover Results Collector'
25-Jun-2025 23:00:59 Running post build plugin 'npm Cache Cleanup'
25-Jun-2025 23:00:59 Running post build plugin 'Artifact Copier'
25-Jun-2025 23:00:59 Finalising the build...
25-Jun-2025 23:00:59 Stopping timer.
25-Jun-2025 23:00:59 Build OP-PLATFORM-PDI-273 completed.
25-Jun-2025 23:01:00 Running on server: post build plugin 'Build Hanging Detection Configuration'
25-Jun-2025 23:01:00 Running on server: post build plugin 'NCover Results Collector'
25-Jun-2025 23:01:00 Running on server: post build plugin 'Build Labeller'
25-Jun-2025 23:01:00 Running on server: post build plugin 'Clover Delta Calculator'
25-Jun-2025 23:01:00 Running on server: post build plugin 'Maven Dependencies Postprocessor'
25-Jun-2025 23:01:00 All post build plugins have finished
25-Jun-2025 23:01:00 Generating build results summary...
25-Jun-2025 23:01:00 Saving build results to disk...
25-Jun-2025 23:01:00 Store variable context...
25-Jun-2025 23:01:00 Finished building OP-PLATFORM-PDI-273.