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

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