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

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