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

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