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

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