Build: #309 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 216 lines of output. Download or view full build log.

16-Oct-2025 00:48:08 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #309 (OP-PLATFORM-PDI-309) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2
16-Oct-2025 00:48:08 Remote agent on host xiao.openmrs.org
16-Oct-2025 00:48:08 Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
16-Oct-2025 00:48:08 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #309 (OP-PLATFORM-PDI-309)
16-Oct-2025 00:48:08 Preparing artifact 'docker-compose-snapshot' for use at /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: )
16-Oct-2025 00:48:08 Retrieving artifact docker-compose-snapshot for OP-PLATFORM-PDI-309 using Amazon S3
16-Oct-2025 00:48:13 Artifact 'docker-compose-snapshot' prepared in 4.402 s at /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
16-Oct-2025 00:48:13 Running pre-build action: Build Log Labeller Pre Build Action
16-Oct-2025 00:48:13 Running pre-build action: VCS Version Collector
16-Oct-2025 00:48:13 Running pre-build action: Run Predator
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3890 java        1503 bamboo-age 3190Mb  725Mb 00:47:53 /usr/lib/jvm/java-21-op
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1503 wrapper     1437 bamboo-age   88Mb    3Mb 00:11:20 /data/bamboo-agent/bin/
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1437 bamboo       730 bamboo-age    3Mb    1Mb 00:00:00 /bin/sh /data/bamboo-ag
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):   730 java           1 bamboo-age 4038Mb   61Mb 00:09:01 /usr/lib/jvm/java-21-op
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb    9Mb 00:01:13 /sbin/init             
16-Oct-2025 00:48:13 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Initial free space: 63.016422 GB
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REGAPP-REGAPP-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ17
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/AF-AF-BTJ17
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BM-BMM-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/BILL-BILL-BTJ8
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/DM-DM-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP3-PDI
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-BTJ8
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-RTMVN
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ21
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/METAM-METAM-BTJ8
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OP-OP28-RTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/SDK-SDKL-RTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OCLM-OCLM-RTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/ADDRHIER-AHML-BTJ17
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/META-META-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/QM-QUEUE-RTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/OD-DWR-BTJ11
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/REP-REP0-BTJ24
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI3-DTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HTML-HFE5-RTM
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
16-Oct-2025 00:48:13 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
16-Oct-2025 00:48:14 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
16-Oct-2025 00:48:15 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
16-Oct-2025 00:48:15 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
16-Oct-2025 00:48:15 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
16-Oct-2025 00:48:15 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
16-Oct-2025 00:48:15 [PredatorPreBuildAction] Final free space: 63.114166 GB
16-Oct-2025 00:48:15 [PredatorPreBuildAction] Done
16-Oct-2025 00:48:15 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #309 (OP-PLATFORM-PDI-309) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org)
16-Oct-2025 00:48:15
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
16-Oct-2025 00:48:15
Substituting password variable: ${bamboo.dockerhub.password}
16-Oct-2025 00:48:15
Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT
16-Oct-2025 00:48:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
16-Oct-2025 00:48:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
16-Oct-2025 00:48:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
16-Oct-2025 00:48:15 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
16-Oct-2025 00:48:15
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #309 (OP-PLATFORM-PDI-309)'
... running command line:
/data/bamboo-agent/temp/OP-PLATFORM-PDI-309-ScriptBuildTask-4940908865213032972.sh
... in: /data/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
16-Oct-2025 00:48:15 + docker login -u openmrsci -p ********
16-Oct-2025 00:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
16-Oct-2025 00:48:15 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
16-Oct-2025 00:48:15 Configure a credential helper to remove this warning. See
16-Oct-2025 00:48:15 https://docs.docker.com/engine/reference/commandline/login/#credential-stores
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 Login Succeeded
16-Oct-2025 00:48:15 + set +x
16-Oct-2025 00:48:15 #0 building with "default" instance using docker driver
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 #1 [internal] load build definition from Dockerfile
16-Oct-2025 00:48:15 #1 transferring dockerfile: 751B done
16-Oct-2025 00:48:15 #1 DONE 0.0s
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 #2 [internal] load metadata for docker.io/library/tomcat:7-jre8
16-Oct-2025 00:48:15 #2 DONE 0.1s
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 #3 [internal] load .dockerignore
16-Oct-2025 00:48:15 #3 transferring context: 2B done
16-Oct-2025 00:48:15 #3 DONE 0.0s
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
16-Oct-2025 00:48:15 #4 DONE 0.0s
16-Oct-2025 00:48:15
16-Oct-2025 00:48:15 #5 [internal] load build context
16-Oct-2025 00:48:16 #5 transferring context: 136.23MB 1.0s done
16-Oct-2025 00:48:17 #5 DONE 1.0s
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
16-Oct-2025 00:48:17 #4 CACHED
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #6 [ 2/10] COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
16-Oct-2025 00:48:17 #6 DONE 0.5s
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #7 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
16-Oct-2025 00:48:17 #7 DONE 0.1s
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #8 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
16-Oct-2025 00:48:17 #8 DONE 0.1s
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #9 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
16-Oct-2025 00:48:17 #9 DONE 0.1s
16-Oct-2025 00:48:17
16-Oct-2025 00:48:17 #10 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
16-Oct-2025 00:48:17 #10 DONE 0.3s
16-Oct-2025 00:48:18
16-Oct-2025 00:48:18 #11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
16-Oct-2025 00:48:18 #11 DONE 0.3s
16-Oct-2025 00:48:18
16-Oct-2025 00:48:18 #12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
16-Oct-2025 00:48:18 #12 DONE 0.3s
16-Oct-2025 00:48:18
16-Oct-2025 00:48:18 #13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
16-Oct-2025 00:48:18 #13 DONE 0.1s
16-Oct-2025 00:48:18
16-Oct-2025 00:48:18 #14 [10/10] COPY Dockerfile /root/Dockerfile
16-Oct-2025 00:48:18 #14 DONE 0.1s
16-Oct-2025 00:48:18
16-Oct-2025 00:48:18 #15 exporting to image
16-Oct-2025 00:48:18 #15 exporting layers
16-Oct-2025 00:48:19 #15 exporting layers 0.7s done
16-Oct-2025 00:48:19 #15 writing image sha256:ffbe5a7dd75f33974dc4bb0959dab4e065f8109d901a4a53b2a93912fe709781 done
16-Oct-2025 00:48:19 #15 naming to docker.io/openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT done
16-Oct-2025 00:48:19 #15 DONE 0.7s
16-Oct-2025 00:48:19 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
16-Oct-2025 00:48:19 70b284995a60: Preparing
16-Oct-2025 00:48:19 9449f1164b43: Preparing
16-Oct-2025 00:48:19 9e0b3b7f900d: Preparing
16-Oct-2025 00:48:19 29b1a67110bb: Preparing
16-Oct-2025 00:48:19 db2a03fb6be0: Preparing
16-Oct-2025 00:48:19 71188380f77b: Preparing
16-Oct-2025 00:48:19 24358f1937fb: Preparing
16-Oct-2025 00:48:19 1428ccb705ab: Preparing
16-Oct-2025 00:48:19 656f3e4f0026: Preparing
16-Oct-2025 00:48:19 ccb063697e4b: Preparing
16-Oct-2025 00:48:19 abdaa093b247: Preparing
16-Oct-2025 00:48:19 f0e1731fd286: Preparing
16-Oct-2025 00:48:19 2b6c38ff3137: Preparing
16-Oct-2025 00:48:19 d38f3d5a39fb: Preparing
16-Oct-2025 00:48:19 fe60061c6c4e: Preparing
16-Oct-2025 00:48:19 7d63f8777ebf: Preparing
16-Oct-2025 00:48:19 1b958b53b256: Preparing
16-Oct-2025 00:48:19 2c719774c1e1: Preparing
16-Oct-2025 00:48:19 ec62f19bb3aa: Preparing
16-Oct-2025 00:48:19 f94641f1fe1f: Preparing
16-Oct-2025 00:48:19 71188380f77b: Waiting
16-Oct-2025 00:48:19 24358f1937fb: Waiting
16-Oct-2025 00:48:19 1428ccb705ab: Waiting
16-Oct-2025 00:48:19 656f3e4f0026: Waiting
16-Oct-2025 00:48:19 ccb063697e4b: Waiting
16-Oct-2025 00:48:19 abdaa093b247: Waiting
16-Oct-2025 00:48:19 f0e1731fd286: Waiting
16-Oct-2025 00:48:19 2b6c38ff3137: Waiting
16-Oct-2025 00:48:19 d38f3d5a39fb: Waiting
16-Oct-2025 00:48:19 fe60061c6c4e: Waiting
16-Oct-2025 00:48:19 7d63f8777ebf: Waiting
16-Oct-2025 00:48:19 1b958b53b256: Waiting
16-Oct-2025 00:48:19 2c719774c1e1: Waiting
16-Oct-2025 00:48:19 ec62f19bb3aa: Waiting
16-Oct-2025 00:48:19 f94641f1fe1f: Waiting
16-Oct-2025 00:48:20 29b1a67110bb: Pushed
16-Oct-2025 00:48:20 70b284995a60: Pushed
16-Oct-2025 00:48:20 9e0b3b7f900d: Pushed
16-Oct-2025 00:48:20 9449f1164b43: Pushed
16-Oct-2025 00:48:20 db2a03fb6be0: Pushed
16-Oct-2025 00:48:21 ccb063697e4b: Layer already exists
16-Oct-2025 00:48:21 abdaa093b247: Layer already exists
16-Oct-2025 00:48:21 f0e1731fd286: Layer already exists
16-Oct-2025 00:48:21 2b6c38ff3137: Layer already exists
16-Oct-2025 00:48:21 d38f3d5a39fb: Layer already exists
16-Oct-2025 00:48:21 fe60061c6c4e: Layer already exists
16-Oct-2025 00:48:21 7d63f8777ebf: Layer already exists
16-Oct-2025 00:48:21 1b958b53b256: Layer already exists
16-Oct-2025 00:48:21 2c719774c1e1: Layer already exists
16-Oct-2025 00:48:21 ec62f19bb3aa: Layer already exists
16-Oct-2025 00:48:21 f94641f1fe1f: Layer already exists
16-Oct-2025 00:48:22 71188380f77b: Pushed
16-Oct-2025 00:48:22 1428ccb705ab: Pushed
16-Oct-2025 00:48:22 24358f1937fb: Pushed
16-Oct-2025 00:48:30 656f3e4f0026: Pushed
16-Oct-2025 00:48:34 2.4.6-SNAPSHOT: digest: sha256:b0d8177bab1364019c9da27d2d961a6b0d4dbb61f78b823b1d876abe8e9d43db size: 4498
16-Oct-2025 00:48:34 Finished task 'Build and push docker image' with result: Success
16-Oct-2025 00:48:34 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
16-Oct-2025 00:48:34 Variable wasn't found in the Build context. It possibly doesn't exist.
16-Oct-2025 00:48:34 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:b0d8177bab1364019c9da27d2d961a6b0d4dbb61f78b823b1d876abe8e9d43db
16-Oct-2025 00:48:34 Finished task 'Save docker image ID' with result: Success
16-Oct-2025 00:48:34 Running post build plugin 'Docker Container Cleanup'
16-Oct-2025 00:48:34 Running post build plugin 'NCover Results Collector'
16-Oct-2025 00:48:34 Running post build plugin 'Build Results Label Collector'
16-Oct-2025 00:48:34 Running post build plugin 'Clover Results Collector'
16-Oct-2025 00:48:34 Running post build plugin 'npm Cache Cleanup'
16-Oct-2025 00:48:34 Running post build plugin 'Artifact Copier'
16-Oct-2025 00:48:34 Finalising the build...
16-Oct-2025 00:48:34 Stopping timer.
16-Oct-2025 00:48:34 Build OP-PLATFORM-PDI-309 completed.
16-Oct-2025 00:48:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Oct-2025 00:48:34 Running on server: post build plugin 'NCover Results Collector'
16-Oct-2025 00:48:34 Running on server: post build plugin 'Build Labeller'
16-Oct-2025 00:48:34 Running on server: post build plugin 'Clover Delta Calculator'
16-Oct-2025 00:48:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Oct-2025 00:48:34 All post build plugins have finished
16-Oct-2025 00:48:34 Generating build results summary...
16-Oct-2025 00:48:34 Saving build results to disk...
16-Oct-2025 00:48:34 Store variable context...
16-Oct-2025 00:48:34 Finished building OP-PLATFORM-PDI-309.