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 245 lines of output. Download or view full build log.

18-Apr-2024 21:43:20 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #204 (OP-PLATFORM-PDI-204) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
18-Apr-2024 21:43:20 Remote agent on host xiao.openmrs.org
18-Apr-2024 21:43:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
18-Apr-2024 21:43:20 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #204 (OP-PLATFORM-PDI-204)
18-Apr-2024 21:43:20 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: )
18-Apr-2024 21:43:25 Artifact 'docker-compose-snapshot' prepared in 4.850 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
18-Apr-2024 21:43:25 Running pre-build action: Build Log Labeller Pre Build Action
18-Apr-2024 21:43:25 Running pre-build action: VCS Version Collector
18-Apr-2024 21:43:25 Running pre-build action: Run Predator
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3387 java        1254 bamboo-age 2973Mb  467Mb 00:03:01 /usr/lib/jvm/java-8-ope
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1254 wrapper        1 bamboo-age   16Mb    2Mb 00:00:33 /home/bamboo-agent/bamb
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:04 /sbin/init             
18-Apr-2024 21:43:25 [PredatorPreBuildAction] Killing process PID: 2112889         Name: fusermount3         Owner: bamboo-agent          Command: fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1008/doc 
18-Apr-2024 21:44:25 [PredatorPreBuildAction] Shutdown of process kill pool finished
18-Apr-2024 21:44:25 [PredatorPreBuildAction] Initial free space: 4.4714775 GB
18-Apr-2024 21:44:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CA-CA-JOB1
18-Apr-2024 21:44:27 [PredatorPreBuildAction] Deleting 27 snapshot folders from /home/bamboo-agent/.m2/repository
18-Apr-2024 21:44:27 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
18-Apr-2024 21:44:27 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
18-Apr-2024 21:44:28 [PredatorPreBuildAction] Maven stable disk freed: 0.77545595 GB, deleted 907 files
18-Apr-2024 21:44:28 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
18-Apr-2024 21:44:28 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
18-Apr-2024 21:44:28 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
18-Apr-2024 21:44:28 [PredatorPreBuildAction] Final free space: 4.942196 GB
18-Apr-2024 21:44:28 [PredatorPreBuildAction] Done
18-Apr-2024 21:44:28
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
18-Apr-2024 21:44:28
Substituting password variable: ${bamboo.dockerhub.password}
18-Apr-2024 21:44:28
Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT
18-Apr-2024 21:44:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
18-Apr-2024 21:44:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
18-Apr-2024 21:44:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
18-Apr-2024 21:44:28 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
18-Apr-2024 21:44:28
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #204 (OP-PLATFORM-PDI-204)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-204-ScriptBuildTask-3428956727101138564.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI
18-Apr-2024 21:44:28 + [[ ehuB != ehuxB ]]
18-Apr-2024 21:44:28 + echo 'Start of Lmod init/bash script to define the module command'
18-Apr-2024 21:44:28 + LMOD_PKG=/usr/share/lmod/lmod
18-Apr-2024 21:44:28 + LMOD_DIR=/usr/share/lmod/lmod/libexec
18-Apr-2024 21:44:28 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
18-Apr-2024 21:44:28 + MODULESHOME=/usr/share/lmod/lmod
18-Apr-2024 21:44:28 + export LMOD_PKG
18-Apr-2024 21:44:28 + export LMOD_CMD
18-Apr-2024 21:44:28 + export LMOD_DIR
18-Apr-2024 21:44:28 + export MODULESHOME
18-Apr-2024 21:44:28 + LMOD_VERSION=6.6
18-Apr-2024 21:44:28 + export LMOD_VERSION
18-Apr-2024 21:44:28 + '[' : '!=' : ']'
18-Apr-2024 21:44:28 + unalias ml
18-Apr-2024 21:44:28 + true
18-Apr-2024 21:44:28 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
18-Apr-2024 21:44:28 ++ echo YES
18-Apr-2024 21:44:28 + export_module=yes
18-Apr-2024 21:44:28 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
18-Apr-2024 21:44:28 + export -f module
18-Apr-2024 21:44:28 + export -f ml
18-Apr-2024 21:44:28 + unset export_module
18-Apr-2024 21:44:28 + '[' -n '' ']'
18-Apr-2024 21:44:28 + '[' 5 -ge 3 ']'
18-Apr-2024 21:44:28 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
18-Apr-2024 21:44:28 + '[' -n '' ']'
18-Apr-2024 21:44:28 + [[ ehuB != ehuxB ]]
18-Apr-2024 21:44:28 + echo 'End of Lmod init/bash script to define the module command'
18-Apr-2024 21:44:28 + docker login -u openmrsci -p ********
18-Apr-2024 21:44:28 Start of Lmod init/bash script to define the module command
18-Apr-2024 21:44:28 End of Lmod init/bash script to define the module command
18-Apr-2024 21:44:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
18-Apr-2024 21:44:28 Login Succeeded
18-Apr-2024 21:44:28 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
18-Apr-2024 21:44:28 Configure a credential helper to remove this warning. See
18-Apr-2024 21:44:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
18-Apr-2024 21:44:28
18-Apr-2024 21:44:28 + set +x
18-Apr-2024 21:44:29 Sending build context to Docker daemon  137.9MB
18-Apr-2024 21:44:29
18-Apr-2024 21:44:29 Step 1/11 : FROM tomcat:7-jre8
18-Apr-2024 21:44:29 7-jre8: Pulling from library/tomcat
18-Apr-2024 21:44:29 c5e155d5a1d1: Pulling fs layer
18-Apr-2024 21:44:29 221d80d00ae9: Pulling fs layer
18-Apr-2024 21:44:29 4250b3117dca: Pulling fs layer
18-Apr-2024 21:44:29 d1370422ab93: Pulling fs layer
18-Apr-2024 21:44:29 deb6b03222ca: Pulling fs layer
18-Apr-2024 21:44:29 9cdea8d70cc3: Pulling fs layer
18-Apr-2024 21:44:29 968505be14db: Pulling fs layer
18-Apr-2024 21:44:29 04b5c270ac81: Pulling fs layer
18-Apr-2024 21:44:29 301d76fcab1f: Pulling fs layer
18-Apr-2024 21:44:29 ddf85cd1cc29: Pulling fs layer
18-Apr-2024 21:44:29 ef1e6f25e812: Pulling fs layer
18-Apr-2024 21:44:29 9cdea8d70cc3: Waiting
18-Apr-2024 21:44:29 968505be14db: Waiting
18-Apr-2024 21:44:29 04b5c270ac81: Waiting
18-Apr-2024 21:44:29 301d76fcab1f: Waiting
18-Apr-2024 21:44:29 ddf85cd1cc29: Waiting
18-Apr-2024 21:44:29 ef1e6f25e812: Waiting
18-Apr-2024 21:44:29 d1370422ab93: Waiting
18-Apr-2024 21:44:29 deb6b03222ca: Waiting
18-Apr-2024 21:44:30 221d80d00ae9: Verifying Checksum
18-Apr-2024 21:44:30 221d80d00ae9: Download complete
18-Apr-2024 21:44:30 4250b3117dca: Verifying Checksum
18-Apr-2024 21:44:30 4250b3117dca: Download complete
18-Apr-2024 21:44:30 d1370422ab93: Verifying Checksum
18-Apr-2024 21:44:30 d1370422ab93: Download complete
18-Apr-2024 21:44:30 deb6b03222ca: Verifying Checksum
18-Apr-2024 21:44:30 deb6b03222ca: Download complete
18-Apr-2024 21:44:30 c5e155d5a1d1: Verifying Checksum
18-Apr-2024 21:44:30 c5e155d5a1d1: Download complete
18-Apr-2024 21:44:30 04b5c270ac81: Verifying Checksum
18-Apr-2024 21:44:30 04b5c270ac81: Download complete
18-Apr-2024 21:44:30 9cdea8d70cc3: Verifying Checksum
18-Apr-2024 21:44:30 9cdea8d70cc3: Download complete
18-Apr-2024 21:44:30 301d76fcab1f: Verifying Checksum
18-Apr-2024 21:44:30 301d76fcab1f: Download complete
18-Apr-2024 21:44:30 ddf85cd1cc29: Verifying Checksum
18-Apr-2024 21:44:30 ddf85cd1cc29: Download complete
18-Apr-2024 21:44:30 ef1e6f25e812: Verifying Checksum
18-Apr-2024 21:44:30 ef1e6f25e812: Download complete
18-Apr-2024 21:44:32 968505be14db: Verifying Checksum
18-Apr-2024 21:44:32 968505be14db: Download complete
18-Apr-2024 21:44:33 c5e155d5a1d1: Pull complete
18-Apr-2024 21:44:33 221d80d00ae9: Pull complete
18-Apr-2024 21:44:34 4250b3117dca: Pull complete
18-Apr-2024 21:44:34 d1370422ab93: Pull complete
18-Apr-2024 21:44:34 deb6b03222ca: Pull complete
18-Apr-2024 21:44:34 9cdea8d70cc3: Pull complete
18-Apr-2024 21:44:38 968505be14db: Pull complete
18-Apr-2024 21:44:38 04b5c270ac81: Pull complete
18-Apr-2024 21:44:38 301d76fcab1f: Pull complete
18-Apr-2024 21:44:39 ddf85cd1cc29: Pull complete
18-Apr-2024 21:44:39 ef1e6f25e812: Pull complete
18-Apr-2024 21:44:39 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
18-Apr-2024 21:44:39 Status: Downloaded newer image for tomcat:7-jre8
18-Apr-2024 21:44:39 ---> 3037eb7cda68
18-Apr-2024 21:44:39 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
18-Apr-2024 21:44:40 ---> 7b06a6763023
18-Apr-2024 21:44:40 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
18-Apr-2024 21:44:40 ---> e5ae7b45b33b
18-Apr-2024 21:44:40 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
18-Apr-2024 21:44:40 ---> a2c7a3e9b2d5
18-Apr-2024 21:44:40 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
18-Apr-2024 21:44:40 ---> 87db4feaf6b0
18-Apr-2024 21:44:40 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
18-Apr-2024 21:44:40 ---> Running in 10ca3e023094
18-Apr-2024 21:44:41 Removing intermediate container 10ca3e023094
18-Apr-2024 21:44:41 ---> fca3aaddc40e
18-Apr-2024 21:44:41 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
18-Apr-2024 21:44:41 ---> Running in d5d580dc8bd4
18-Apr-2024 21:44:41 Removing intermediate container d5d580dc8bd4
18-Apr-2024 21:44:41 ---> 8c62a82fb03e
18-Apr-2024 21:44:41 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
18-Apr-2024 21:44:41 ---> Running in ff8b3784ed73
18-Apr-2024 21:44:42 Removing intermediate container ff8b3784ed73
18-Apr-2024 21:44:42 ---> 6ae37cbd8539
18-Apr-2024 21:44:42 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
18-Apr-2024 21:44:42 ---> ec0d1e8ff7e3
18-Apr-2024 21:44:42 Step 10/11 : COPY Dockerfile /root/Dockerfile
18-Apr-2024 21:44:42 ---> 96d599ffbf81
18-Apr-2024 21:44:42 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
18-Apr-2024 21:44:42 ---> Running in 61aa98bed161
18-Apr-2024 21:44:42 Removing intermediate container 61aa98bed161
18-Apr-2024 21:44:42 ---> d2518e841169
18-Apr-2024 21:44:42 Successfully built d2518e841169
18-Apr-2024 21:44:42 Successfully tagged openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT
18-Apr-2024 21:44:42 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
18-Apr-2024 21:44:42 f7a411e8c092: Preparing
18-Apr-2024 21:44:42 355794aae4aa: Preparing
18-Apr-2024 21:44:42 cd504c93a031: Preparing
18-Apr-2024 21:44:42 d06ff1390110: Preparing
18-Apr-2024 21:44:42 4acb0c559ba5: Preparing
18-Apr-2024 21:44:42 2e7903d346d5: Preparing
18-Apr-2024 21:44:42 0e742f7ef4b5: Preparing
18-Apr-2024 21:44:42 2d566c4c7bd1: Preparing
18-Apr-2024 21:44:42 ac15d20171fa: Preparing
18-Apr-2024 21:44:42 ccb063697e4b: Preparing
18-Apr-2024 21:44:42 abdaa093b247: Preparing
18-Apr-2024 21:44:42 f0e1731fd286: Preparing
18-Apr-2024 21:44:42 2b6c38ff3137: Preparing
18-Apr-2024 21:44:42 d38f3d5a39fb: Preparing
18-Apr-2024 21:44:42 fe60061c6c4e: Preparing
18-Apr-2024 21:44:42 7d63f8777ebf: Preparing
18-Apr-2024 21:44:42 1b958b53b256: Preparing
18-Apr-2024 21:44:42 2c719774c1e1: Preparing
18-Apr-2024 21:44:42 ec62f19bb3aa: Preparing
18-Apr-2024 21:44:42 f94641f1fe1f: Preparing
18-Apr-2024 21:44:42 abdaa093b247: Waiting
18-Apr-2024 21:44:42 2e7903d346d5: Waiting
18-Apr-2024 21:44:42 0e742f7ef4b5: Waiting
18-Apr-2024 21:44:42 2d566c4c7bd1: Waiting
18-Apr-2024 21:44:42 ac15d20171fa: Waiting
18-Apr-2024 21:44:42 ccb063697e4b: Waiting
18-Apr-2024 21:44:42 f0e1731fd286: Waiting
18-Apr-2024 21:44:42 2b6c38ff3137: Waiting
18-Apr-2024 21:44:42 d38f3d5a39fb: Waiting
18-Apr-2024 21:44:42 1b958b53b256: Waiting
18-Apr-2024 21:44:42 2c719774c1e1: Waiting
18-Apr-2024 21:44:42 ec62f19bb3aa: Waiting
18-Apr-2024 21:44:42 f94641f1fe1f: Waiting
18-Apr-2024 21:44:42 7d63f8777ebf: Waiting
18-Apr-2024 21:44:42 fe60061c6c4e: Waiting
18-Apr-2024 21:44:44 d06ff1390110: Pushed
18-Apr-2024 21:44:44 cd504c93a031: Pushed
18-Apr-2024 21:44:44 355794aae4aa: Pushed
18-Apr-2024 21:44:44 f7a411e8c092: Pushed
18-Apr-2024 21:44:44 4acb0c559ba5: Pushed
18-Apr-2024 21:44:44 ccb063697e4b: Layer already exists
18-Apr-2024 21:44:44 abdaa093b247: Layer already exists
18-Apr-2024 21:44:44 f0e1731fd286: Layer already exists
18-Apr-2024 21:44:45 2b6c38ff3137: Layer already exists
18-Apr-2024 21:44:45 d38f3d5a39fb: Layer already exists
18-Apr-2024 21:44:45 fe60061c6c4e: Layer already exists
18-Apr-2024 21:44:45 7d63f8777ebf: Layer already exists
18-Apr-2024 21:44:45 1b958b53b256: Layer already exists
18-Apr-2024 21:44:45 2e7903d346d5: Pushed
18-Apr-2024 21:44:45 2c719774c1e1: Layer already exists
18-Apr-2024 21:44:45 ec62f19bb3aa: Layer already exists
18-Apr-2024 21:44:45 f94641f1fe1f: Layer already exists
18-Apr-2024 21:44:46 0e742f7ef4b5: Pushed
18-Apr-2024 21:44:46 2d566c4c7bd1: Pushed
18-Apr-2024 21:44:51 ac15d20171fa: Pushed
18-Apr-2024 21:44:53 2.4.6-SNAPSHOT: digest: sha256:20494918e35f18fabafc9bda95e0992a95ede4b01b36e99cdb2d4e034af7fa63 size: 4498
18-Apr-2024 21:44:53 Finished task 'Build and push docker image' with result: Success
18-Apr-2024 21:44:53 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
18-Apr-2024 21:44:53 Variable wasn't found in the Build context. It possibly doesn't exist.
18-Apr-2024 21:44:53 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:20494918e35f18fabafc9bda95e0992a95ede4b01b36e99cdb2d4e034af7fa63
18-Apr-2024 21:44:53 Finished task 'Save docker image ID' with result: Success
18-Apr-2024 21:44:53 Running post build plugin 'Docker Container Cleanup'
18-Apr-2024 21:44:53 Running post build plugin 'NCover Results Collector'
18-Apr-2024 21:44:53 Running post build plugin 'Build Results Label Collector'
18-Apr-2024 21:44:53 Running post build plugin 'Clover Results Collector'
18-Apr-2024 21:44:53 Running post build plugin 'npm Cache Cleanup'
18-Apr-2024 21:44:53 Running post build plugin 'Artifact Copier'
18-Apr-2024 21:44:53 Finalising the build...
18-Apr-2024 21:44:53 Stopping timer.
18-Apr-2024 21:44:53 Build OP-PLATFORM-PDI-204 completed.
18-Apr-2024 21:44:53 Running on server: post build plugin 'Build Hanging Detection Configuration'
18-Apr-2024 21:44:53 Running on server: post build plugin 'NCover Results Collector'
18-Apr-2024 21:44:53 Running on server: post build plugin 'Build Labeller'
18-Apr-2024 21:44:53 Running on server: post build plugin 'Clover Delta Calculator'
18-Apr-2024 21:44:53 Running on server: post build plugin 'Maven Dependencies Postprocessor'
18-Apr-2024 21:44:53 All post build plugins have finished
18-Apr-2024 21:44:53 Generating build results summary...
18-Apr-2024 21:44:53 Saving build results to disk...
18-Apr-2024 21:44:53 Store variable context...
18-Apr-2024 21:44:53 Finished building OP-PLATFORM-PDI-204.