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

15-Oct-2024 14:08:41 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #113 (OP-OP2-PDI-113) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
15-Oct-2024 14:08:41 Remote agent on host xindi.openmrs.org
15-Oct-2024 14:08:41 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
15-Oct-2024 14:08:41 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #113 (OP-OP2-PDI-113)
15-Oct-2024 14:08:41 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
15-Oct-2024 14:08:46 Artifact 'docker-compose-snapshot' prepared in 4.775 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
15-Oct-2024 14:08:46 Running pre-build action: Build Log Labeller Pre Build Action
15-Oct-2024 14:08:46 Running pre-build action: VCS Version Collector
15-Oct-2024 14:08:46 Running pre-build action: Run Predator
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1914 java        1393 bamboo-age 2997Mb  604Mb 00:55:32 /usr/lib/jvm/java-8-ope
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1393 wrapper        1 bamboo-age   16Mb    1Mb 00:13:14 /home/bamboo-agent/bamb
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:22 /sbin/init             
15-Oct-2024 14:08:46 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Initial free space: 3.9466782 GB
15-Oct-2024 14:08:46 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLAT2-BP
15-Oct-2024 14:08:54 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
15-Oct-2024 14:08:54 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Oct-2024 14:08:55 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Oct-2024 14:08:55 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
15-Oct-2024 14:08:55 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Oct-2024 14:08:55 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
15-Oct-2024 14:08:55 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Oct-2024 14:08:55 [PredatorPreBuildAction] Final free space: 3.947235 GB
15-Oct-2024 14:08:55 [PredatorPreBuildAction] Done
15-Oct-2024 14:08:55
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
15-Oct-2024 14:08:55
Substituting password variable: ${bamboo.dockerhub.password}
15-Oct-2024 14:08:55
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
15-Oct-2024 14:08:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
15-Oct-2024 14:08:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
15-Oct-2024 14:08:55
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
15-Oct-2024 14:08:55 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
15-Oct-2024 14:08:55
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #113 (OP-OP2-PDI-113)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-113-ScriptBuildTask-7289212253968052450.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
15-Oct-2024 14:08:55 + [[ ehuB != ehuxB ]]
15-Oct-2024 14:08:55 Start of Lmod init/bash script to define the module command
15-Oct-2024 14:08:55 + echo 'Start of Lmod init/bash script to define the module command'
15-Oct-2024 14:08:55 + LMOD_PKG=/usr/share/lmod/lmod
15-Oct-2024 14:08:55 + LMOD_DIR=/usr/share/lmod/lmod/libexec
15-Oct-2024 14:08:55 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
15-Oct-2024 14:08:55 + MODULESHOME=/usr/share/lmod/lmod
15-Oct-2024 14:08:55 + export LMOD_PKG
15-Oct-2024 14:08:55 + export LMOD_CMD
15-Oct-2024 14:08:55 + export LMOD_DIR
15-Oct-2024 14:08:55 + export MODULESHOME
15-Oct-2024 14:08:55 + LMOD_VERSION=6.6
15-Oct-2024 14:08:55 + export LMOD_VERSION
15-Oct-2024 14:08:55 + '[' : '!=' : ']'
15-Oct-2024 14:08:55 + unalias ml
15-Oct-2024 14:08:55 + true
15-Oct-2024 14:08:55 ++ echo YES
15-Oct-2024 14:08:55 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
15-Oct-2024 14:08:55 + export_module=yes
15-Oct-2024 14:08:55 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
15-Oct-2024 14:08:55 + export -f module
15-Oct-2024 14:08:55 + export -f ml
15-Oct-2024 14:08:55 + unset export_module
15-Oct-2024 14:08:55 + '[' -n '' ']'
15-Oct-2024 14:08:55 + '[' 5 -ge 3 ']'
15-Oct-2024 14:08:55 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
15-Oct-2024 14:08:55 + '[' -n '' ']'
15-Oct-2024 14:08:55 + [[ ehuB != ehuxB ]]
15-Oct-2024 14:08:55 + echo 'End of Lmod init/bash script to define the module command'
15-Oct-2024 14:08:55 End of Lmod init/bash script to define the module command
15-Oct-2024 14:08:55 + docker login -u openmrsci -p ********
15-Oct-2024 14:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
15-Oct-2024 14:08:55 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
15-Oct-2024 14:08:55 Configure a credential helper to remove this warning. See
15-Oct-2024 14:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
15-Oct-2024 14:08:55
15-Oct-2024 14:08:55 Login Succeeded
15-Oct-2024 14:08:55 + set +x
15-Oct-2024 14:08:56 Sending build context to Docker daemon  100.9MB
15-Oct-2024 14:08:56
15-Oct-2024 14:08:56 Step 1/11 : FROM tomcat:7-jre8
15-Oct-2024 14:08:56 7-jre8: Pulling from library/tomcat
15-Oct-2024 14:08:56 c5e155d5a1d1: Pulling fs layer
15-Oct-2024 14:08:56 221d80d00ae9: Pulling fs layer
15-Oct-2024 14:08:56 4250b3117dca: Pulling fs layer
15-Oct-2024 14:08:56 d1370422ab93: Pulling fs layer
15-Oct-2024 14:08:56 deb6b03222ca: Pulling fs layer
15-Oct-2024 14:08:56 9cdea8d70cc3: Pulling fs layer
15-Oct-2024 14:08:56 968505be14db: Pulling fs layer
15-Oct-2024 14:08:56 04b5c270ac81: Pulling fs layer
15-Oct-2024 14:08:56 301d76fcab1f: Pulling fs layer
15-Oct-2024 14:08:56 ddf85cd1cc29: Pulling fs layer
15-Oct-2024 14:08:56 ef1e6f25e812: Pulling fs layer
15-Oct-2024 14:08:56 9cdea8d70cc3: Waiting
15-Oct-2024 14:08:56 968505be14db: Waiting
15-Oct-2024 14:08:56 04b5c270ac81: Waiting
15-Oct-2024 14:08:56 301d76fcab1f: Waiting
15-Oct-2024 14:08:56 ddf85cd1cc29: Waiting
15-Oct-2024 14:08:56 ef1e6f25e812: Waiting
15-Oct-2024 14:08:56 d1370422ab93: Waiting
15-Oct-2024 14:08:56 deb6b03222ca: Waiting
15-Oct-2024 14:08:57 4250b3117dca: Verifying Checksum
15-Oct-2024 14:08:57 4250b3117dca: Download complete
15-Oct-2024 14:08:57 221d80d00ae9: Verifying Checksum
15-Oct-2024 14:08:57 221d80d00ae9: Download complete
15-Oct-2024 14:08:57 d1370422ab93: Verifying Checksum
15-Oct-2024 14:08:57 d1370422ab93: Download complete
15-Oct-2024 14:08:57 deb6b03222ca: Verifying Checksum
15-Oct-2024 14:08:57 deb6b03222ca: Download complete
15-Oct-2024 14:08:57 9cdea8d70cc3: Verifying Checksum
15-Oct-2024 14:08:57 9cdea8d70cc3: Download complete
15-Oct-2024 14:08:57 04b5c270ac81: Verifying Checksum
15-Oct-2024 14:08:57 04b5c270ac81: Download complete
15-Oct-2024 14:08:57 301d76fcab1f: Verifying Checksum
15-Oct-2024 14:08:57 301d76fcab1f: Download complete
15-Oct-2024 14:08:57 c5e155d5a1d1: Verifying Checksum
15-Oct-2024 14:08:57 c5e155d5a1d1: Download complete
15-Oct-2024 14:08:58 ef1e6f25e812: Verifying Checksum
15-Oct-2024 14:08:58 ef1e6f25e812: Download complete
15-Oct-2024 14:08:58 ddf85cd1cc29: Verifying Checksum
15-Oct-2024 14:08:58 ddf85cd1cc29: Download complete
15-Oct-2024 14:08:59 968505be14db: Verifying Checksum
15-Oct-2024 14:08:59 968505be14db: Download complete
15-Oct-2024 14:09:00 c5e155d5a1d1: Pull complete
15-Oct-2024 14:09:00 221d80d00ae9: Pull complete
15-Oct-2024 14:09:00 4250b3117dca: Pull complete
15-Oct-2024 14:09:00 d1370422ab93: Pull complete
15-Oct-2024 14:09:00 deb6b03222ca: Pull complete
15-Oct-2024 14:09:00 9cdea8d70cc3: Pull complete
15-Oct-2024 14:09:06 968505be14db: Pull complete
15-Oct-2024 14:09:06 04b5c270ac81: Pull complete
15-Oct-2024 14:09:06 301d76fcab1f: Pull complete
15-Oct-2024 14:09:07 ddf85cd1cc29: Pull complete
15-Oct-2024 14:09:07 ef1e6f25e812: Pull complete
15-Oct-2024 14:09:07 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
15-Oct-2024 14:09:07 Status: Downloaded newer image for tomcat:7-jre8
15-Oct-2024 14:09:07 ---> 3037eb7cda68
15-Oct-2024 14:09:07 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
15-Oct-2024 14:09:08 ---> 101bb24f3607
15-Oct-2024 14:09:08 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
15-Oct-2024 14:09:08 ---> f52f26299941
15-Oct-2024 14:09:08 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
15-Oct-2024 14:09:08 ---> 80183c4a0556
15-Oct-2024 14:09:08 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
15-Oct-2024 14:09:09 ---> 70fcd5295c33
15-Oct-2024 14:09:09 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
15-Oct-2024 14:09:09 ---> Running in 741ec11b980a
15-Oct-2024 14:09:09 Removing intermediate container 741ec11b980a
15-Oct-2024 14:09:09 ---> 3223eb521800
15-Oct-2024 14:09:09 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
15-Oct-2024 14:09:09 ---> Running in 5fd01cce46a3
15-Oct-2024 14:09:10 Removing intermediate container 5fd01cce46a3
15-Oct-2024 14:09:10 ---> 901b6016bc8b
15-Oct-2024 14:09:10 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
15-Oct-2024 14:09:10 ---> Running in 4474220f1a7d
15-Oct-2024 14:09:11 Removing intermediate container 4474220f1a7d
15-Oct-2024 14:09:11 ---> 0951c0de0ff2
15-Oct-2024 14:09:11 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
15-Oct-2024 14:09:11 ---> a764db18b27f
15-Oct-2024 14:09:11 Step 10/11 : COPY Dockerfile /root/Dockerfile
15-Oct-2024 14:09:11 ---> 0f843c3c38c6
15-Oct-2024 14:09:11 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
15-Oct-2024 14:09:11 ---> Running in f3e74b7aa9b2
15-Oct-2024 14:09:11 Removing intermediate container f3e74b7aa9b2
15-Oct-2024 14:09:11 ---> f20765316edb
15-Oct-2024 14:09:11 Successfully built f20765316edb
15-Oct-2024 14:09:11 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
15-Oct-2024 14:09:11 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
15-Oct-2024 14:09:11 2b378d737ffb: Preparing
15-Oct-2024 14:09:11 fba49fbe14cf: Preparing
15-Oct-2024 14:09:11 0140ed725113: Preparing
15-Oct-2024 14:09:11 a906daccc8f0: Preparing
15-Oct-2024 14:09:11 ab8ccb985060: Preparing
15-Oct-2024 14:09:11 69b1caae1baf: Preparing
15-Oct-2024 14:09:11 d22ddde3a32f: Preparing
15-Oct-2024 14:09:11 ba44caf842c8: Preparing
15-Oct-2024 14:09:11 bd2d212c7673: Preparing
15-Oct-2024 14:09:11 ccb063697e4b: Preparing
15-Oct-2024 14:09:11 abdaa093b247: Preparing
15-Oct-2024 14:09:11 f0e1731fd286: Preparing
15-Oct-2024 14:09:11 2b6c38ff3137: Preparing
15-Oct-2024 14:09:11 d38f3d5a39fb: Preparing
15-Oct-2024 14:09:11 fe60061c6c4e: Preparing
15-Oct-2024 14:09:11 7d63f8777ebf: Preparing
15-Oct-2024 14:09:11 1b958b53b256: Preparing
15-Oct-2024 14:09:11 2c719774c1e1: Preparing
15-Oct-2024 14:09:11 ec62f19bb3aa: Preparing
15-Oct-2024 14:09:11 f94641f1fe1f: Preparing
15-Oct-2024 14:09:11 f0e1731fd286: Waiting
15-Oct-2024 14:09:11 2b6c38ff3137: Waiting
15-Oct-2024 14:09:11 d38f3d5a39fb: Waiting
15-Oct-2024 14:09:11 fe60061c6c4e: Waiting
15-Oct-2024 14:09:11 7d63f8777ebf: Waiting
15-Oct-2024 14:09:11 1b958b53b256: Waiting
15-Oct-2024 14:09:11 2c719774c1e1: Waiting
15-Oct-2024 14:09:11 ec62f19bb3aa: Waiting
15-Oct-2024 14:09:11 f94641f1fe1f: Waiting
15-Oct-2024 14:09:11 ba44caf842c8: Waiting
15-Oct-2024 14:09:11 bd2d212c7673: Waiting
15-Oct-2024 14:09:11 ccb063697e4b: Waiting
15-Oct-2024 14:09:11 abdaa093b247: Waiting
15-Oct-2024 14:09:11 69b1caae1baf: Waiting
15-Oct-2024 14:09:11 d22ddde3a32f: Waiting
15-Oct-2024 14:09:13 a906daccc8f0: Pushed
15-Oct-2024 14:09:13 fba49fbe14cf: Pushed
15-Oct-2024 14:09:13 2b378d737ffb: Pushed
15-Oct-2024 14:09:13 0140ed725113: Pushed
15-Oct-2024 14:09:13 ab8ccb985060: Pushed
15-Oct-2024 14:09:14 ccb063697e4b: Layer already exists
15-Oct-2024 14:09:14 abdaa093b247: Layer already exists
15-Oct-2024 14:09:14 f0e1731fd286: Layer already exists
15-Oct-2024 14:09:14 2b6c38ff3137: Layer already exists
15-Oct-2024 14:09:14 ba44caf842c8: Pushed
15-Oct-2024 14:09:14 d38f3d5a39fb: Layer already exists
15-Oct-2024 14:09:14 fe60061c6c4e: Layer already exists
15-Oct-2024 14:09:14 7d63f8777ebf: Layer already exists
15-Oct-2024 14:09:14 69b1caae1baf: Pushed
15-Oct-2024 14:09:14 d22ddde3a32f: Pushed
15-Oct-2024 14:09:14 1b958b53b256: Layer already exists
15-Oct-2024 14:09:14 2c719774c1e1: Layer already exists
15-Oct-2024 14:09:14 ec62f19bb3aa: Layer already exists
15-Oct-2024 14:09:14 f94641f1fe1f: Layer already exists
15-Oct-2024 14:09:19 bd2d212c7673: Pushed
15-Oct-2024 14:09:21 2.2.2-SNAPSHOT: digest: sha256:156e905ed7034ed4bb20ce9c491bd429011f6f64dc9eb2f51da4c9c249b6337c size: 4498
15-Oct-2024 14:09:21 Finished task 'Build and push docker image' with result: Success
15-Oct-2024 14:09:21 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
15-Oct-2024 14:09:21 Variable wasn't found in the Build context. It possibly doesn't exist.
15-Oct-2024 14:09:21 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:156e905ed7034ed4bb20ce9c491bd429011f6f64dc9eb2f51da4c9c249b6337c
15-Oct-2024 14:09:21 Finished task 'Save docker image ID' with result: Success
15-Oct-2024 14:09:21 Running post build plugin 'Docker Container Cleanup'
15-Oct-2024 14:09:21 Running post build plugin 'NCover Results Collector'
15-Oct-2024 14:09:21 Running post build plugin 'Build Results Label Collector'
15-Oct-2024 14:09:21 Running post build plugin 'Clover Results Collector'
15-Oct-2024 14:09:21 Running post build plugin 'npm Cache Cleanup'
15-Oct-2024 14:09:21 Running post build plugin 'Artifact Copier'
15-Oct-2024 14:09:21 Finalising the build...
15-Oct-2024 14:09:21 Stopping timer.
15-Oct-2024 14:09:21 Build OP-OP2-PDI-113 completed.
15-Oct-2024 14:09:21 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Oct-2024 14:09:21 Running on server: post build plugin 'NCover Results Collector'
15-Oct-2024 14:09:21 Running on server: post build plugin 'Build Labeller'
15-Oct-2024 14:09:21 Running on server: post build plugin 'Clover Delta Calculator'
15-Oct-2024 14:09:21 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Oct-2024 14:09:21 All post build plugins have finished
15-Oct-2024 14:09:21 Generating build results summary...
15-Oct-2024 14:09:21 Saving build results to disk...
15-Oct-2024 14:09:21 Store variable context...
15-Oct-2024 14:09:21 Finished building OP-OP2-PDI-113.