Build: #89 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.

26-Apr-2024 00:38:30 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
26-Apr-2024 00:38:30 Remote agent on host xindi.openmrs.org
26-Apr-2024 00:38:30 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
26-Apr-2024 00:38:30 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89)
26-Apr-2024 00:38:30 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
26-Apr-2024 00:38:34 Artifact 'docker-compose-snapshot' prepared in 4.292 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
26-Apr-2024 00:38:34 Running pre-build action: Build Log Labeller Pre Build Action
26-Apr-2024 00:38:34 Running pre-build action: VCS Version Collector
26-Apr-2024 00:38:34 Running pre-build action: Run Predator
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1973 java        1326 bamboo-age 2974Mb  402Mb 00:08:45 /usr/lib/jvm/java-8-ope
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1326 wrapper        1 bamboo-age   16Mb    2Mb 00:02:17 /home/bamboo-agent/bamb
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:15 /sbin/init             
26-Apr-2024 00:38:34 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Initial free space: 5.6577682 GB
26-Apr-2024 00:38:34 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOMAR
26-Apr-2024 00:38:35 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
26-Apr-2024 00:38:35 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Apr-2024 00:38:35 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Apr-2024 00:38:35 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files
26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Apr-2024 00:38:35 [PredatorPreBuildAction] Final free space: 5.6580467 GB
26-Apr-2024 00:38:35 [PredatorPreBuildAction] Done
26-Apr-2024 00:38:35
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Apr-2024 00:38:35
Substituting password variable: ${bamboo.dockerhub.password}
26-Apr-2024 00:38:35
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
26-Apr-2024 00:38:35
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
26-Apr-2024 00:38:35
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
26-Apr-2024 00:38:35
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
26-Apr-2024 00:38:35 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Apr-2024 00:38:35
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-89-ScriptBuildTask-8223407977303506371.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
26-Apr-2024 00:38:35 Start of Lmod init/bash script to define the module command
26-Apr-2024 00:38:35 + [[ ehuB != ehuxB ]]
26-Apr-2024 00:38:35 + echo 'Start of Lmod init/bash script to define the module command'
26-Apr-2024 00:38:35 + LMOD_PKG=/usr/share/lmod/lmod
26-Apr-2024 00:38:35 + LMOD_DIR=/usr/share/lmod/lmod/libexec
26-Apr-2024 00:38:35 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
26-Apr-2024 00:38:35 + MODULESHOME=/usr/share/lmod/lmod
26-Apr-2024 00:38:35 + export LMOD_PKG
26-Apr-2024 00:38:35 + export LMOD_CMD
26-Apr-2024 00:38:35 + export LMOD_DIR
26-Apr-2024 00:38:35 + export MODULESHOME
26-Apr-2024 00:38:35 + LMOD_VERSION=6.6
26-Apr-2024 00:38:35 + export LMOD_VERSION
26-Apr-2024 00:38:35 + '[' : '!=' : ']'
26-Apr-2024 00:38:35 + unalias ml
26-Apr-2024 00:38:35 + true
26-Apr-2024 00:38:35 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
26-Apr-2024 00:38:35 ++ echo YES
26-Apr-2024 00:38:35 + export_module=yes
26-Apr-2024 00:38:35 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
26-Apr-2024 00:38:35 + export -f module
26-Apr-2024 00:38:35 + export -f ml
26-Apr-2024 00:38:35 + unset export_module
26-Apr-2024 00:38:35 + '[' -n '' ']'
26-Apr-2024 00:38:35 + '[' 5 -ge 3 ']'
26-Apr-2024 00:38:35 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
26-Apr-2024 00:38:35 + '[' -n '' ']'
26-Apr-2024 00:38:35 + [[ ehuB != ehuxB ]]
26-Apr-2024 00:38:35 + echo 'End of Lmod init/bash script to define the module command'
26-Apr-2024 00:38:35 + docker login -u openmrsci -p ********
26-Apr-2024 00:38:35 End of Lmod init/bash script to define the module command
26-Apr-2024 00:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Apr-2024 00:38:35 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Apr-2024 00:38:35 Configure a credential helper to remove this warning. See
26-Apr-2024 00:38:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Apr-2024 00:38:35
26-Apr-2024 00:38:35 Login Succeeded
26-Apr-2024 00:38:35 + set +x
26-Apr-2024 00:38:36 Sending build context to Docker daemon  100.9MB
26-Apr-2024 00:38:36
26-Apr-2024 00:38:36 Step 1/11 : FROM tomcat:7-jre8
26-Apr-2024 00:38:36 7-jre8: Pulling from library/tomcat
26-Apr-2024 00:38:36 c5e155d5a1d1: Pulling fs layer
26-Apr-2024 00:38:36 221d80d00ae9: Pulling fs layer
26-Apr-2024 00:38:36 4250b3117dca: Pulling fs layer
26-Apr-2024 00:38:36 d1370422ab93: Pulling fs layer
26-Apr-2024 00:38:36 deb6b03222ca: Pulling fs layer
26-Apr-2024 00:38:36 9cdea8d70cc3: Pulling fs layer
26-Apr-2024 00:38:36 968505be14db: Pulling fs layer
26-Apr-2024 00:38:36 04b5c270ac81: Pulling fs layer
26-Apr-2024 00:38:36 301d76fcab1f: Pulling fs layer
26-Apr-2024 00:38:36 ddf85cd1cc29: Pulling fs layer
26-Apr-2024 00:38:36 ef1e6f25e812: Pulling fs layer
26-Apr-2024 00:38:36 d1370422ab93: Waiting
26-Apr-2024 00:38:36 deb6b03222ca: Waiting
26-Apr-2024 00:38:36 9cdea8d70cc3: Waiting
26-Apr-2024 00:38:36 968505be14db: Waiting
26-Apr-2024 00:38:36 04b5c270ac81: Waiting
26-Apr-2024 00:38:36 301d76fcab1f: Waiting
26-Apr-2024 00:38:36 ddf85cd1cc29: Waiting
26-Apr-2024 00:38:36 ef1e6f25e812: Waiting
26-Apr-2024 00:38:37 4250b3117dca: Verifying Checksum
26-Apr-2024 00:38:37 4250b3117dca: Download complete
26-Apr-2024 00:38:37 221d80d00ae9: Verifying Checksum
26-Apr-2024 00:38:37 221d80d00ae9: Download complete
26-Apr-2024 00:38:37 d1370422ab93: Verifying Checksum
26-Apr-2024 00:38:37 d1370422ab93: Download complete
26-Apr-2024 00:38:37 deb6b03222ca: Verifying Checksum
26-Apr-2024 00:38:37 deb6b03222ca: Download complete
26-Apr-2024 00:38:37 c5e155d5a1d1: Verifying Checksum
26-Apr-2024 00:38:37 c5e155d5a1d1: Download complete
26-Apr-2024 00:38:37 9cdea8d70cc3: Verifying Checksum
26-Apr-2024 00:38:37 9cdea8d70cc3: Download complete
26-Apr-2024 00:38:37 04b5c270ac81: Verifying Checksum
26-Apr-2024 00:38:37 04b5c270ac81: Download complete
26-Apr-2024 00:38:37 301d76fcab1f: Verifying Checksum
26-Apr-2024 00:38:37 301d76fcab1f: Download complete
26-Apr-2024 00:38:37 ef1e6f25e812: Verifying Checksum
26-Apr-2024 00:38:37 ef1e6f25e812: Download complete
26-Apr-2024 00:38:37 ddf85cd1cc29: Verifying Checksum
26-Apr-2024 00:38:37 ddf85cd1cc29: Download complete
26-Apr-2024 00:38:39 968505be14db: Verifying Checksum
26-Apr-2024 00:38:39 968505be14db: Download complete
26-Apr-2024 00:38:40 c5e155d5a1d1: Pull complete
26-Apr-2024 00:38:40 221d80d00ae9: Pull complete
26-Apr-2024 00:38:40 4250b3117dca: Pull complete
26-Apr-2024 00:38:40 d1370422ab93: Pull complete
26-Apr-2024 00:38:41 deb6b03222ca: Pull complete
26-Apr-2024 00:38:41 9cdea8d70cc3: Pull complete
26-Apr-2024 00:38:46 968505be14db: Pull complete
26-Apr-2024 00:38:46 04b5c270ac81: Pull complete
26-Apr-2024 00:38:46 301d76fcab1f: Pull complete
26-Apr-2024 00:38:46 ddf85cd1cc29: Pull complete
26-Apr-2024 00:38:46 ef1e6f25e812: Pull complete
26-Apr-2024 00:38:46 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
26-Apr-2024 00:38:46 Status: Downloaded newer image for tomcat:7-jre8
26-Apr-2024 00:38:46 ---> 3037eb7cda68
26-Apr-2024 00:38:46 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
26-Apr-2024 00:38:48 ---> 1c92c9cac206
26-Apr-2024 00:38:48 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
26-Apr-2024 00:38:48 ---> 6bdd7b50e88b
26-Apr-2024 00:38:48 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
26-Apr-2024 00:38:48 ---> d893a35e4be1
26-Apr-2024 00:38:48 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
26-Apr-2024 00:38:48 ---> 0efe0bb40e05
26-Apr-2024 00:38:48 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
26-Apr-2024 00:38:48 ---> Running in c2c027381509
26-Apr-2024 00:38:48 Removing intermediate container c2c027381509
26-Apr-2024 00:38:48 ---> c608ac2b0f0c
26-Apr-2024 00:38:48 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
26-Apr-2024 00:38:48 ---> Running in 28fd3e7fb0da
26-Apr-2024 00:38:49 Removing intermediate container 28fd3e7fb0da
26-Apr-2024 00:38:49 ---> 9f5100c5bbb2
26-Apr-2024 00:38:49 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
26-Apr-2024 00:38:49 ---> Running in 8ec075acc858
26-Apr-2024 00:38:50 Removing intermediate container 8ec075acc858
26-Apr-2024 00:38:50 ---> 548b6b6691a7
26-Apr-2024 00:38:50 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
26-Apr-2024 00:38:50 ---> 05692e3bae14
26-Apr-2024 00:38:50 Step 10/11 : COPY Dockerfile /root/Dockerfile
26-Apr-2024 00:38:50 ---> 35d2c1487aae
26-Apr-2024 00:38:50 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
26-Apr-2024 00:38:50 ---> Running in bcc9b1fd9101
26-Apr-2024 00:38:50 Removing intermediate container bcc9b1fd9101
26-Apr-2024 00:38:50 ---> 37abae14c047
26-Apr-2024 00:38:50 Successfully built 37abae14c047
26-Apr-2024 00:38:50 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
26-Apr-2024 00:38:50 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
26-Apr-2024 00:38:50 349cd2f08e73: Preparing
26-Apr-2024 00:38:50 d247229f374a: Preparing
26-Apr-2024 00:38:50 a0d109edeac9: Preparing
26-Apr-2024 00:38:50 7409cf11c072: Preparing
26-Apr-2024 00:38:50 20ee0a24898f: Preparing
26-Apr-2024 00:38:50 7df180a94abf: Preparing
26-Apr-2024 00:38:50 d9b5812faf96: Preparing
26-Apr-2024 00:38:50 f5f5130cafe1: Preparing
26-Apr-2024 00:38:50 bc9fd9583fcf: Preparing
26-Apr-2024 00:38:50 ccb063697e4b: Preparing
26-Apr-2024 00:38:50 abdaa093b247: Preparing
26-Apr-2024 00:38:50 f0e1731fd286: Preparing
26-Apr-2024 00:38:50 2b6c38ff3137: Preparing
26-Apr-2024 00:38:50 d38f3d5a39fb: Preparing
26-Apr-2024 00:38:50 fe60061c6c4e: Preparing
26-Apr-2024 00:38:50 7d63f8777ebf: Preparing
26-Apr-2024 00:38:50 1b958b53b256: Preparing
26-Apr-2024 00:38:50 2c719774c1e1: Preparing
26-Apr-2024 00:38:50 ec62f19bb3aa: Preparing
26-Apr-2024 00:38:50 f94641f1fe1f: Preparing
26-Apr-2024 00:38:50 f0e1731fd286: Waiting
26-Apr-2024 00:38:50 2b6c38ff3137: Waiting
26-Apr-2024 00:38:50 d38f3d5a39fb: Waiting
26-Apr-2024 00:38:50 fe60061c6c4e: Waiting
26-Apr-2024 00:38:50 7d63f8777ebf: Waiting
26-Apr-2024 00:38:50 1b958b53b256: Waiting
26-Apr-2024 00:38:50 2c719774c1e1: Waiting
26-Apr-2024 00:38:50 ec62f19bb3aa: Waiting
26-Apr-2024 00:38:50 f94641f1fe1f: Waiting
26-Apr-2024 00:38:50 7df180a94abf: Waiting
26-Apr-2024 00:38:50 d9b5812faf96: Waiting
26-Apr-2024 00:38:50 f5f5130cafe1: Waiting
26-Apr-2024 00:38:50 bc9fd9583fcf: Waiting
26-Apr-2024 00:38:50 ccb063697e4b: Waiting
26-Apr-2024 00:38:50 abdaa093b247: Waiting
26-Apr-2024 00:38:51 349cd2f08e73: Pushed
26-Apr-2024 00:38:51 d247229f374a: Pushed
26-Apr-2024 00:38:51 a0d109edeac9: Pushed
26-Apr-2024 00:38:52 7409cf11c072: Pushed
26-Apr-2024 00:38:52 20ee0a24898f: Pushed
26-Apr-2024 00:38:52 ccb063697e4b: Layer already exists
26-Apr-2024 00:38:52 abdaa093b247: Layer already exists
26-Apr-2024 00:38:52 f0e1731fd286: Layer already exists
26-Apr-2024 00:38:52 2b6c38ff3137: Layer already exists
26-Apr-2024 00:38:52 d38f3d5a39fb: Layer already exists
26-Apr-2024 00:38:52 fe60061c6c4e: Layer already exists
26-Apr-2024 00:38:53 7d63f8777ebf: Layer already exists
26-Apr-2024 00:38:53 d9b5812faf96: Pushed
26-Apr-2024 00:38:53 7df180a94abf: Pushed
26-Apr-2024 00:38:53 1b958b53b256: Layer already exists
26-Apr-2024 00:38:53 f5f5130cafe1: Pushed
26-Apr-2024 00:38:53 ec62f19bb3aa: Layer already exists
26-Apr-2024 00:38:53 2c719774c1e1: Layer already exists
26-Apr-2024 00:38:53 f94641f1fe1f: Layer already exists
26-Apr-2024 00:38:58 bc9fd9583fcf: Pushed
26-Apr-2024 00:39:00 2.2.2-SNAPSHOT: digest: sha256:b735a4bfe46305bc725e7b6028da67a83fd7712e3aceea079ce986016bf371b2 size: 4498
26-Apr-2024 00:39:00 Finished task 'Build and push docker image' with result: Success
26-Apr-2024 00:39:00 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
26-Apr-2024 00:39:00 Variable wasn't found in the Build context. It possibly doesn't exist.
26-Apr-2024 00:39:00 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:b735a4bfe46305bc725e7b6028da67a83fd7712e3aceea079ce986016bf371b2
26-Apr-2024 00:39:00 Finished task 'Save docker image ID' with result: Success
26-Apr-2024 00:39:00 Running post build plugin 'Docker Container Cleanup'
26-Apr-2024 00:39:00 Running post build plugin 'NCover Results Collector'
26-Apr-2024 00:39:00 Running post build plugin 'Build Results Label Collector'
26-Apr-2024 00:39:00 Running post build plugin 'Clover Results Collector'
26-Apr-2024 00:39:00 Running post build plugin 'npm Cache Cleanup'
26-Apr-2024 00:39:00 Running post build plugin 'Artifact Copier'
26-Apr-2024 00:39:00 Finalising the build...
26-Apr-2024 00:39:00 Stopping timer.
26-Apr-2024 00:39:00 Build OP-OP2-PDI-89 completed.
26-Apr-2024 00:39:00 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Apr-2024 00:39:00 Running on server: post build plugin 'NCover Results Collector'
26-Apr-2024 00:39:00 Running on server: post build plugin 'Build Labeller'
26-Apr-2024 00:39:00 Running on server: post build plugin 'Clover Delta Calculator'
26-Apr-2024 00:39:00 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Apr-2024 00:39:00 All post build plugins have finished
26-Apr-2024 00:39:00 Generating build results summary...
26-Apr-2024 00:39:00 Saving build results to disk...
26-Apr-2024 00:39:00 Store variable context...
26-Apr-2024 00:39:00 Finished building OP-OP2-PDI-89.