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

21-Oct-2024 22:07:41 Build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #204 (OP-OP3-PDI-204) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
21-Oct-2024 22:07:41 Remote agent on host xiao.openmrs.org
21-Oct-2024 22:07:41 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI
21-Oct-2024 22:07:41 Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #204 (OP-OP3-PDI-204)
21-Oct-2024 22:07:41 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI (location: )
21-Oct-2024 22:07:47 Artifact 'docker-compose-snapshot' prepared in 6.138 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI
21-Oct-2024 22:07:47 Running pre-build action: Build Log Labeller Pre Build Action
21-Oct-2024 22:07:47 Running pre-build action: VCS Version Collector
21-Oct-2024 22:07:47 Running pre-build action: Run Predator
21-Oct-2024 22:07:47 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Oct-2024 22:07:47 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Oct-2024 22:07:47 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1295 java        1258 bamboo-age 2972Mb  444Mb 00:04:23 /usr/lib/jvm/java-8-ope
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1258 wrapper        1 bamboo-age   16Mb    2Mb 00:00:57 /home/bamboo-agent/bamb
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:04 /sbin/init             
21-Oct-2024 22:08:06 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Initial free space: 5.752537 GB
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
21-Oct-2024 22:08:06 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Oct-2024 22:08:06 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Oct-2024 22:08:07 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Oct-2024 22:08:07 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Oct-2024 22:08:07 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Oct-2024 22:08:07 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Oct-2024 22:08:07 [PredatorPreBuildAction] Final free space: 5.8469353 GB
21-Oct-2024 22:08:07 [PredatorPreBuildAction] Done
21-Oct-2024 22:08:07
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Oct-2024 22:08:07
Substituting password variable: ${bamboo.dockerhub.password}
21-Oct-2024 22:08:07
Substituting variable: ${bamboo.maven.snapshot.version} with 2.3.7-SNAPSHOT
21-Oct-2024 22:08:07
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:08:07
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:08:07
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:08:07 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Oct-2024 22:08:07
Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #204 (OP-OP3-PDI-204)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP3-PDI-204-ScriptBuildTask-574009056773647507.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI
21-Oct-2024 22:08:07 Start of Lmod init/bash script to define the module command
21-Oct-2024 22:08:07 + [[ ehuB != ehuxB ]]
21-Oct-2024 22:08:07 + echo 'Start of Lmod init/bash script to define the module command'
21-Oct-2024 22:08:07 + LMOD_PKG=/usr/share/lmod/lmod
21-Oct-2024 22:08:07 + LMOD_DIR=/usr/share/lmod/lmod/libexec
21-Oct-2024 22:08:07 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
21-Oct-2024 22:08:07 + MODULESHOME=/usr/share/lmod/lmod
21-Oct-2024 22:08:07 + export LMOD_PKG
21-Oct-2024 22:08:07 + export LMOD_CMD
21-Oct-2024 22:08:07 + export LMOD_DIR
21-Oct-2024 22:08:07 + export MODULESHOME
21-Oct-2024 22:08:07 + LMOD_VERSION=6.6
21-Oct-2024 22:08:07 + export LMOD_VERSION
21-Oct-2024 22:08:07 + '[' : '!=' : ']'
21-Oct-2024 22:08:07 + unalias ml
21-Oct-2024 22:08:07 + true
21-Oct-2024 22:08:07 ++ echo YES
21-Oct-2024 22:08:07 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
21-Oct-2024 22:08:07 + export_module=yes
21-Oct-2024 22:08:07 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
21-Oct-2024 22:08:07 + export -f module
21-Oct-2024 22:08:07 + export -f ml
21-Oct-2024 22:08:07 + unset export_module
21-Oct-2024 22:08:07 + '[' -n '' ']'
21-Oct-2024 22:08:07 + '[' 5 -ge 3 ']'
21-Oct-2024 22:08:07 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
21-Oct-2024 22:08:07 + '[' -n '' ']'
21-Oct-2024 22:08:07 + [[ ehuB != ehuxB ]]
21-Oct-2024 22:08:07 + echo 'End of Lmod init/bash script to define the module command'
21-Oct-2024 22:08:07 + docker login -u openmrsci -p ********
21-Oct-2024 22:08:07 End of Lmod init/bash script to define the module command
21-Oct-2024 22:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Oct-2024 22:08:07 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Oct-2024 22:08:07 Configure a credential helper to remove this warning. See
21-Oct-2024 22:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Oct-2024 22:08:07
21-Oct-2024 22:08:07 Login Succeeded
21-Oct-2024 22:08:07 + set +x
21-Oct-2024 22:08:08 Sending build context to Docker daemon  104.5MB
21-Oct-2024 22:08:08
21-Oct-2024 22:08:08 Step 1/11 : FROM tomcat:7-jre8
21-Oct-2024 22:08:08 7-jre8: Pulling from library/tomcat
21-Oct-2024 22:08:08 c5e155d5a1d1: Pulling fs layer
21-Oct-2024 22:08:08 221d80d00ae9: Pulling fs layer
21-Oct-2024 22:08:08 4250b3117dca: Pulling fs layer
21-Oct-2024 22:08:08 d1370422ab93: Pulling fs layer
21-Oct-2024 22:08:08 deb6b03222ca: Pulling fs layer
21-Oct-2024 22:08:08 9cdea8d70cc3: Pulling fs layer
21-Oct-2024 22:08:08 968505be14db: Pulling fs layer
21-Oct-2024 22:08:08 04b5c270ac81: Pulling fs layer
21-Oct-2024 22:08:08 301d76fcab1f: Pulling fs layer
21-Oct-2024 22:08:08 ddf85cd1cc29: Pulling fs layer
21-Oct-2024 22:08:08 ef1e6f25e812: Pulling fs layer
21-Oct-2024 22:08:08 d1370422ab93: Waiting
21-Oct-2024 22:08:08 deb6b03222ca: Waiting
21-Oct-2024 22:08:08 9cdea8d70cc3: Waiting
21-Oct-2024 22:08:08 968505be14db: Waiting
21-Oct-2024 22:08:08 04b5c270ac81: Waiting
21-Oct-2024 22:08:08 301d76fcab1f: Waiting
21-Oct-2024 22:08:08 ddf85cd1cc29: Waiting
21-Oct-2024 22:08:08 ef1e6f25e812: Waiting
21-Oct-2024 22:08:09 4250b3117dca: Verifying Checksum
21-Oct-2024 22:08:09 4250b3117dca: Download complete
21-Oct-2024 22:08:09 221d80d00ae9: Verifying Checksum
21-Oct-2024 22:08:09 221d80d00ae9: Download complete
21-Oct-2024 22:08:09 d1370422ab93: Verifying Checksum
21-Oct-2024 22:08:09 d1370422ab93: Download complete
21-Oct-2024 22:08:09 deb6b03222ca: Verifying Checksum
21-Oct-2024 22:08:09 deb6b03222ca: Download complete
21-Oct-2024 22:08:09 9cdea8d70cc3: Verifying Checksum
21-Oct-2024 22:08:09 9cdea8d70cc3: Download complete
21-Oct-2024 22:08:09 04b5c270ac81: Verifying Checksum
21-Oct-2024 22:08:09 04b5c270ac81: Download complete
21-Oct-2024 22:08:09 c5e155d5a1d1: Verifying Checksum
21-Oct-2024 22:08:09 c5e155d5a1d1: Download complete
21-Oct-2024 22:08:09 301d76fcab1f: Verifying Checksum
21-Oct-2024 22:08:09 301d76fcab1f: Download complete
21-Oct-2024 22:08:09 ef1e6f25e812: Verifying Checksum
21-Oct-2024 22:08:09 ef1e6f25e812: Download complete
21-Oct-2024 22:08:09 ddf85cd1cc29: Verifying Checksum
21-Oct-2024 22:08:09 ddf85cd1cc29: Download complete
21-Oct-2024 22:08:11 968505be14db: Verifying Checksum
21-Oct-2024 22:08:11 968505be14db: Download complete
21-Oct-2024 22:08:13 c5e155d5a1d1: Pull complete
21-Oct-2024 22:08:14 221d80d00ae9: Pull complete
21-Oct-2024 22:08:14 4250b3117dca: Pull complete
21-Oct-2024 22:08:14 d1370422ab93: Pull complete
21-Oct-2024 22:08:14 deb6b03222ca: Pull complete
21-Oct-2024 22:08:14 9cdea8d70cc3: Pull complete
21-Oct-2024 22:08:20 968505be14db: Pull complete
21-Oct-2024 22:08:20 04b5c270ac81: Pull complete
21-Oct-2024 22:08:21 301d76fcab1f: Pull complete
21-Oct-2024 22:08:21 ddf85cd1cc29: Pull complete
21-Oct-2024 22:08:21 ef1e6f25e812: Pull complete
21-Oct-2024 22:08:21 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
21-Oct-2024 22:08:21 Status: Downloaded newer image for tomcat:7-jre8
21-Oct-2024 22:08:21 ---> 3037eb7cda68
21-Oct-2024 22:08:21 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
21-Oct-2024 22:08:23 ---> 3b9e222a3c08
21-Oct-2024 22:08:23 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
21-Oct-2024 22:08:23 ---> ba0a3a511dd2
21-Oct-2024 22:08:23 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
21-Oct-2024 22:08:23 ---> 52f1a8b56b2c
21-Oct-2024 22:08:23 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
21-Oct-2024 22:08:24 ---> b4af2385e153
21-Oct-2024 22:08:24 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
21-Oct-2024 22:08:24 ---> Running in dd4580416978
21-Oct-2024 22:08:24 Removing intermediate container dd4580416978
21-Oct-2024 22:08:24 ---> cf50373cfdd8
21-Oct-2024 22:08:24 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
21-Oct-2024 22:08:24 ---> Running in fdb0cfa21b7e
21-Oct-2024 22:08:25 Removing intermediate container fdb0cfa21b7e
21-Oct-2024 22:08:25 ---> d46f4a6ca7d2
21-Oct-2024 22:08:25 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
21-Oct-2024 22:08:25 ---> Running in e2c5041442f9
21-Oct-2024 22:08:26 Removing intermediate container e2c5041442f9
21-Oct-2024 22:08:26 ---> 7eb96615930f
21-Oct-2024 22:08:26 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
21-Oct-2024 22:08:26 ---> b059f3ef5099
21-Oct-2024 22:08:26 Step 10/11 : COPY Dockerfile /root/Dockerfile
21-Oct-2024 22:08:26 ---> 25672a3004c8
21-Oct-2024 22:08:26 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
21-Oct-2024 22:08:27 ---> Running in 59bc77c92061
21-Oct-2024 22:08:27 Removing intermediate container 59bc77c92061
21-Oct-2024 22:08:27 ---> 03809fb19f17
21-Oct-2024 22:08:27 Successfully built 03809fb19f17
21-Oct-2024 22:08:27 Successfully tagged openmrs/openmrs-distro-platform:2.3.7-SNAPSHOT
21-Oct-2024 22:08:27 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
21-Oct-2024 22:08:27 e4e4bcc34770: Preparing
21-Oct-2024 22:08:27 a856da2f76a1: Preparing
21-Oct-2024 22:08:27 286bf2bf29d0: Preparing
21-Oct-2024 22:08:27 2bbb982f438e: Preparing
21-Oct-2024 22:08:27 2083db8cec18: Preparing
21-Oct-2024 22:08:27 ad80ab9a12db: Preparing
21-Oct-2024 22:08:27 b67495681c03: Preparing
21-Oct-2024 22:08:27 16e36aff10d2: Preparing
21-Oct-2024 22:08:27 413260277ae1: Preparing
21-Oct-2024 22:08:27 ccb063697e4b: Preparing
21-Oct-2024 22:08:27 abdaa093b247: Preparing
21-Oct-2024 22:08:27 f0e1731fd286: Preparing
21-Oct-2024 22:08:27 2b6c38ff3137: Preparing
21-Oct-2024 22:08:27 d38f3d5a39fb: Preparing
21-Oct-2024 22:08:27 fe60061c6c4e: Preparing
21-Oct-2024 22:08:27 7d63f8777ebf: Preparing
21-Oct-2024 22:08:27 1b958b53b256: Preparing
21-Oct-2024 22:08:27 2c719774c1e1: Preparing
21-Oct-2024 22:08:27 ec62f19bb3aa: Preparing
21-Oct-2024 22:08:27 f94641f1fe1f: Preparing
21-Oct-2024 22:08:27 2b6c38ff3137: Waiting
21-Oct-2024 22:08:27 d38f3d5a39fb: Waiting
21-Oct-2024 22:08:27 fe60061c6c4e: Waiting
21-Oct-2024 22:08:27 7d63f8777ebf: Waiting
21-Oct-2024 22:08:27 1b958b53b256: Waiting
21-Oct-2024 22:08:27 ad80ab9a12db: Waiting
21-Oct-2024 22:08:27 b67495681c03: Waiting
21-Oct-2024 22:08:27 2c719774c1e1: Waiting
21-Oct-2024 22:08:27 ec62f19bb3aa: Waiting
21-Oct-2024 22:08:27 f94641f1fe1f: Waiting
21-Oct-2024 22:08:27 413260277ae1: Waiting
21-Oct-2024 22:08:27 ccb063697e4b: Waiting
21-Oct-2024 22:08:27 abdaa093b247: Waiting
21-Oct-2024 22:08:27 f0e1731fd286: Waiting
21-Oct-2024 22:08:27 16e36aff10d2: Waiting
21-Oct-2024 22:08:28 2bbb982f438e: Pushed
21-Oct-2024 22:08:28 286bf2bf29d0: Pushed
21-Oct-2024 22:08:28 e4e4bcc34770: Pushed
21-Oct-2024 22:08:28 2083db8cec18: Pushed
21-Oct-2024 22:08:28 a856da2f76a1: Pushed
21-Oct-2024 22:08:29 ccb063697e4b: Layer already exists
21-Oct-2024 22:08:29 abdaa093b247: Layer already exists
21-Oct-2024 22:08:29 f0e1731fd286: Layer already exists
21-Oct-2024 22:08:29 2b6c38ff3137: Layer already exists
21-Oct-2024 22:08:29 d38f3d5a39fb: Layer already exists
21-Oct-2024 22:08:29 fe60061c6c4e: Layer already exists
21-Oct-2024 22:08:29 ad80ab9a12db: Pushed
21-Oct-2024 22:08:29 7d63f8777ebf: Layer already exists
21-Oct-2024 22:08:29 1b958b53b256: Layer already exists
21-Oct-2024 22:08:29 b67495681c03: Pushed
21-Oct-2024 22:08:29 2c719774c1e1: Layer already exists
21-Oct-2024 22:08:30 ec62f19bb3aa: Layer already exists
21-Oct-2024 22:08:30 f94641f1fe1f: Layer already exists
21-Oct-2024 22:08:30 16e36aff10d2: Pushed
21-Oct-2024 22:08:35 413260277ae1: Pushed
21-Oct-2024 22:08:36 2.3.7-SNAPSHOT: digest: sha256:0b52c2f5f20b826c83727b12cae7a4ad1c911f8175f51443db91633c126df8e0 size: 4498
21-Oct-2024 22:08:36 Finished task 'Build and push docker image' with result: Success
21-Oct-2024 22:08:36 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
21-Oct-2024 22:08:36 Variable wasn't found in the Build context. It possibly doesn't exist.
21-Oct-2024 22:08:36 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:0b52c2f5f20b826c83727b12cae7a4ad1c911f8175f51443db91633c126df8e0
21-Oct-2024 22:08:36 Finished task 'Save docker image ID' with result: Success
21-Oct-2024 22:08:36 Running post build plugin 'Docker Container Cleanup'
21-Oct-2024 22:08:36 Running post build plugin 'NCover Results Collector'
21-Oct-2024 22:08:36 Running post build plugin 'Build Results Label Collector'
21-Oct-2024 22:08:36 Running post build plugin 'Clover Results Collector'
21-Oct-2024 22:08:36 Running post build plugin 'npm Cache Cleanup'
21-Oct-2024 22:08:36 Running post build plugin 'Artifact Copier'
21-Oct-2024 22:08:36 Finalising the build...
21-Oct-2024 22:08:36 Stopping timer.
21-Oct-2024 22:08:36 Build OP-OP3-PDI-204 completed.
21-Oct-2024 22:08:36 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Oct-2024 22:08:36 Running on server: post build plugin 'NCover Results Collector'
21-Oct-2024 22:08:36 Running on server: post build plugin 'Build Labeller'
21-Oct-2024 22:08:36 Running on server: post build plugin 'Clover Delta Calculator'
21-Oct-2024 22:08:36 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Oct-2024 22:08:36 All post build plugins have finished
21-Oct-2024 22:08:36 Generating build results summary...
21-Oct-2024 22:08:37 Saving build results to disk...
21-Oct-2024 22:08:37 Store variable context...
21-Oct-2024 22:08:37 Finished building OP-OP3-PDI-204.