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

10-Jun-2024 17:33:01 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
10-Jun-2024 17:33:01 Remote agent on host xindi.openmrs.org
10-Jun-2024 17:33:01 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
10-Jun-2024 17:33:01 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92)
10-Jun-2024 17:33:01 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
10-Jun-2024 17:33:08 Artifact 'docker-compose-snapshot' prepared in 6.186 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
10-Jun-2024 17:33:08 Running pre-build action: Build Log Labeller Pre Build Action
10-Jun-2024 17:33:08 Running pre-build action: VCS Version Collector
10-Jun-2024 17:33:08 Running pre-build action: Run Predator
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3283 java        1310 bamboo-age 2967Mb  434Mb 00:03:45 /usr/lib/jvm/java-8-ope
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1310 wrapper        1 bamboo-age   16Mb    2Mb 00:00:50 /home/bamboo-agent/bamb
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   10Mb 00:00:05 /sbin/init             
10-Jun-2024 17:33:08 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Initial free space: 5.776142 GB
10-Jun-2024 17:33:08 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP26-BP
10-Jun-2024 17:33:11 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
10-Jun-2024 17:33:11 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
10-Jun-2024 17:33:12 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
10-Jun-2024 17:33:12 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files
10-Jun-2024 17:33:12 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
10-Jun-2024 17:33:12 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
10-Jun-2024 17:33:12 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
10-Jun-2024 17:33:12 [PredatorPreBuildAction] Final free space: 5.777443 GB
10-Jun-2024 17:33:12 [PredatorPreBuildAction] Done
10-Jun-2024 17:33:12
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
10-Jun-2024 17:33:12
Substituting password variable: ${bamboo.dockerhub.password}
10-Jun-2024 17:33:12
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
10-Jun-2024 17:33:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
10-Jun-2024 17:33:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
10-Jun-2024 17:33:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
10-Jun-2024 17:33:12 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Jun-2024 17:33:12
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-92-ScriptBuildTask-5565803496340401063.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
10-Jun-2024 17:33:12 Start of Lmod init/bash script to define the module command
10-Jun-2024 17:33:12 + [[ ehuB != ehuxB ]]
10-Jun-2024 17:33:12 + echo 'Start of Lmod init/bash script to define the module command'
10-Jun-2024 17:33:12 + LMOD_PKG=/usr/share/lmod/lmod
10-Jun-2024 17:33:12 + LMOD_DIR=/usr/share/lmod/lmod/libexec
10-Jun-2024 17:33:12 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
10-Jun-2024 17:33:12 + MODULESHOME=/usr/share/lmod/lmod
10-Jun-2024 17:33:12 + export LMOD_PKG
10-Jun-2024 17:33:12 + export LMOD_CMD
10-Jun-2024 17:33:12 + export LMOD_DIR
10-Jun-2024 17:33:12 + export MODULESHOME
10-Jun-2024 17:33:12 + LMOD_VERSION=6.6
10-Jun-2024 17:33:12 + export LMOD_VERSION
10-Jun-2024 17:33:12 + '[' : '!=' : ']'
10-Jun-2024 17:33:12 + unalias ml
10-Jun-2024 17:33:12 + true
10-Jun-2024 17:33:12 ++ echo YES
10-Jun-2024 17:33:12 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
10-Jun-2024 17:33:12 + export_module=yes
10-Jun-2024 17:33:12 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
10-Jun-2024 17:33:12 + export -f module
10-Jun-2024 17:33:12 End of Lmod init/bash script to define the module command
10-Jun-2024 17:33:12 + export -f ml
10-Jun-2024 17:33:12 + unset export_module
10-Jun-2024 17:33:12 + '[' -n '' ']'
10-Jun-2024 17:33:12 + '[' 5 -ge 3 ']'
10-Jun-2024 17:33:12 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
10-Jun-2024 17:33:12 + '[' -n '' ']'
10-Jun-2024 17:33:12 + [[ ehuB != ehuxB ]]
10-Jun-2024 17:33:12 + echo 'End of Lmod init/bash script to define the module command'
10-Jun-2024 17:33:12 + docker login -u openmrsci -p ********
10-Jun-2024 17:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
10-Jun-2024 17:33:12 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
10-Jun-2024 17:33:12 Configure a credential helper to remove this warning. See
10-Jun-2024 17:33:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
10-Jun-2024 17:33:12
10-Jun-2024 17:33:12 Login Succeeded
10-Jun-2024 17:33:12 + set +x
10-Jun-2024 17:33:13 Sending build context to Docker daemon  100.9MB
10-Jun-2024 17:33:13
10-Jun-2024 17:33:13 Step 1/11 : FROM tomcat:7-jre8
10-Jun-2024 17:33:13 7-jre8: Pulling from library/tomcat
10-Jun-2024 17:33:14 c5e155d5a1d1: Pulling fs layer
10-Jun-2024 17:33:14 221d80d00ae9: Pulling fs layer
10-Jun-2024 17:33:14 4250b3117dca: Pulling fs layer
10-Jun-2024 17:33:14 d1370422ab93: Pulling fs layer
10-Jun-2024 17:33:14 deb6b03222ca: Pulling fs layer
10-Jun-2024 17:33:14 9cdea8d70cc3: Pulling fs layer
10-Jun-2024 17:33:14 968505be14db: Pulling fs layer
10-Jun-2024 17:33:14 04b5c270ac81: Pulling fs layer
10-Jun-2024 17:33:14 301d76fcab1f: Pulling fs layer
10-Jun-2024 17:33:14 ddf85cd1cc29: Pulling fs layer
10-Jun-2024 17:33:14 ef1e6f25e812: Pulling fs layer
10-Jun-2024 17:33:14 d1370422ab93: Waiting
10-Jun-2024 17:33:14 deb6b03222ca: Waiting
10-Jun-2024 17:33:14 9cdea8d70cc3: Waiting
10-Jun-2024 17:33:14 968505be14db: Waiting
10-Jun-2024 17:33:14 04b5c270ac81: Waiting
10-Jun-2024 17:33:14 301d76fcab1f: Waiting
10-Jun-2024 17:33:14 ddf85cd1cc29: Waiting
10-Jun-2024 17:33:14 ef1e6f25e812: Waiting
10-Jun-2024 17:33:14 4250b3117dca: Verifying Checksum
10-Jun-2024 17:33:14 4250b3117dca: Download complete
10-Jun-2024 17:33:14 d1370422ab93: Verifying Checksum
10-Jun-2024 17:33:14 d1370422ab93: Download complete
10-Jun-2024 17:33:14 221d80d00ae9: Verifying Checksum
10-Jun-2024 17:33:14 221d80d00ae9: Download complete
10-Jun-2024 17:33:14 deb6b03222ca: Verifying Checksum
10-Jun-2024 17:33:14 deb6b03222ca: Download complete
10-Jun-2024 17:33:14 c5e155d5a1d1: Verifying Checksum
10-Jun-2024 17:33:14 c5e155d5a1d1: Download complete
10-Jun-2024 17:33:14 9cdea8d70cc3: Verifying Checksum
10-Jun-2024 17:33:14 9cdea8d70cc3: Download complete
10-Jun-2024 17:33:14 04b5c270ac81: Verifying Checksum
10-Jun-2024 17:33:14 04b5c270ac81: Download complete
10-Jun-2024 17:33:14 301d76fcab1f: Verifying Checksum
10-Jun-2024 17:33:14 301d76fcab1f: Download complete
10-Jun-2024 17:33:14 ef1e6f25e812: Verifying Checksum
10-Jun-2024 17:33:14 ef1e6f25e812: Download complete
10-Jun-2024 17:33:14 ddf85cd1cc29: Verifying Checksum
10-Jun-2024 17:33:14 ddf85cd1cc29: Download complete
10-Jun-2024 17:33:16 968505be14db: Verifying Checksum
10-Jun-2024 17:33:16 968505be14db: Download complete
10-Jun-2024 17:33:17 c5e155d5a1d1: Pull complete
10-Jun-2024 17:33:18 221d80d00ae9: Pull complete
10-Jun-2024 17:33:18 4250b3117dca: Pull complete
10-Jun-2024 17:33:18 d1370422ab93: Pull complete
10-Jun-2024 17:33:18 deb6b03222ca: Pull complete
10-Jun-2024 17:33:18 9cdea8d70cc3: Pull complete
10-Jun-2024 17:33:23 968505be14db: Pull complete
10-Jun-2024 17:33:23 04b5c270ac81: Pull complete
10-Jun-2024 17:33:23 301d76fcab1f: Pull complete
10-Jun-2024 17:33:23 ddf85cd1cc29: Pull complete
10-Jun-2024 17:33:23 ef1e6f25e812: Pull complete
10-Jun-2024 17:33:23 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
10-Jun-2024 17:33:23 Status: Downloaded newer image for tomcat:7-jre8
10-Jun-2024 17:33:23 ---> 3037eb7cda68
10-Jun-2024 17:33:23 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
10-Jun-2024 17:33:24 ---> c47c3bd7ff97
10-Jun-2024 17:33:24 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
10-Jun-2024 17:33:25 ---> 008ca24c1d48
10-Jun-2024 17:33:25 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
10-Jun-2024 17:33:25 ---> 67a3d788b2f4
10-Jun-2024 17:33:25 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
10-Jun-2024 17:33:25 ---> 10d1ede18279
10-Jun-2024 17:33:25 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
10-Jun-2024 17:33:25 ---> Running in 6df34dca3e99
10-Jun-2024 17:33:26 Removing intermediate container 6df34dca3e99
10-Jun-2024 17:33:26 ---> 8222268be596
10-Jun-2024 17:33:26 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
10-Jun-2024 17:33:26 ---> Running in 4fb3fc8b98cd
10-Jun-2024 17:33:26 Removing intermediate container 4fb3fc8b98cd
10-Jun-2024 17:33:26 ---> 3141c35ae4b9
10-Jun-2024 17:33:26 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
10-Jun-2024 17:33:26 ---> Running in ade31ac9e2c4
10-Jun-2024 17:33:27 Removing intermediate container ade31ac9e2c4
10-Jun-2024 17:33:27 ---> 389c14b81325
10-Jun-2024 17:33:27 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
10-Jun-2024 17:33:27 ---> e97fdee6c056
10-Jun-2024 17:33:27 Step 10/11 : COPY Dockerfile /root/Dockerfile
10-Jun-2024 17:33:27 ---> 912c729f3741
10-Jun-2024 17:33:27 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
10-Jun-2024 17:33:27 ---> Running in fb23de4ae90c
10-Jun-2024 17:33:27 Removing intermediate container fb23de4ae90c
10-Jun-2024 17:33:27 ---> 54d4bb8894f5
10-Jun-2024 17:33:27 Successfully built 54d4bb8894f5
10-Jun-2024 17:33:27 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
10-Jun-2024 17:33:27 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
10-Jun-2024 17:33:27 c93a643e2e8a: Preparing
10-Jun-2024 17:33:27 1a87b7d40cd7: Preparing
10-Jun-2024 17:33:27 2d66be18a79a: Preparing
10-Jun-2024 17:33:27 21a174686327: Preparing
10-Jun-2024 17:33:27 9d25678b451d: Preparing
10-Jun-2024 17:33:27 adb202e6e75e: Preparing
10-Jun-2024 17:33:27 7814e2d86feb: Preparing
10-Jun-2024 17:33:27 1b459ee2adae: Preparing
10-Jun-2024 17:33:27 87a22c91d6a4: Preparing
10-Jun-2024 17:33:27 ccb063697e4b: Preparing
10-Jun-2024 17:33:27 abdaa093b247: Preparing
10-Jun-2024 17:33:27 f0e1731fd286: Preparing
10-Jun-2024 17:33:27 2b6c38ff3137: Preparing
10-Jun-2024 17:33:27 d38f3d5a39fb: Preparing
10-Jun-2024 17:33:27 fe60061c6c4e: Preparing
10-Jun-2024 17:33:27 7d63f8777ebf: Preparing
10-Jun-2024 17:33:27 1b958b53b256: Preparing
10-Jun-2024 17:33:27 2c719774c1e1: Preparing
10-Jun-2024 17:33:27 ec62f19bb3aa: Preparing
10-Jun-2024 17:33:27 f94641f1fe1f: Preparing
10-Jun-2024 17:33:27 abdaa093b247: Waiting
10-Jun-2024 17:33:27 2b6c38ff3137: Waiting
10-Jun-2024 17:33:27 d38f3d5a39fb: Waiting
10-Jun-2024 17:33:27 fe60061c6c4e: Waiting
10-Jun-2024 17:33:27 7d63f8777ebf: Waiting
10-Jun-2024 17:33:27 1b958b53b256: Waiting
10-Jun-2024 17:33:27 2c719774c1e1: Waiting
10-Jun-2024 17:33:27 ec62f19bb3aa: Waiting
10-Jun-2024 17:33:27 f94641f1fe1f: Waiting
10-Jun-2024 17:33:27 f0e1731fd286: Waiting
10-Jun-2024 17:33:27 7814e2d86feb: Waiting
10-Jun-2024 17:33:27 1b459ee2adae: Waiting
10-Jun-2024 17:33:27 87a22c91d6a4: Waiting
10-Jun-2024 17:33:27 adb202e6e75e: Waiting
10-Jun-2024 17:33:27 ccb063697e4b: Waiting
10-Jun-2024 17:33:29 21a174686327: Pushed
10-Jun-2024 17:33:29 9d25678b451d: Pushed
10-Jun-2024 17:33:29 1a87b7d40cd7: Pushed
10-Jun-2024 17:33:29 2d66be18a79a: Pushed
10-Jun-2024 17:33:29 c93a643e2e8a: Pushed
10-Jun-2024 17:33:29 ccb063697e4b: Layer already exists
10-Jun-2024 17:33:30 abdaa093b247: Layer already exists
10-Jun-2024 17:33:30 f0e1731fd286: Layer already exists
10-Jun-2024 17:33:30 2b6c38ff3137: Layer already exists
10-Jun-2024 17:33:30 d38f3d5a39fb: Layer already exists
10-Jun-2024 17:33:30 fe60061c6c4e: Layer already exists
10-Jun-2024 17:33:30 7d63f8777ebf: Layer already exists
10-Jun-2024 17:33:30 7814e2d86feb: Pushed
10-Jun-2024 17:33:30 adb202e6e75e: Pushed
10-Jun-2024 17:33:30 1b958b53b256: Layer already exists
10-Jun-2024 17:33:30 ec62f19bb3aa: Layer already exists
10-Jun-2024 17:33:30 2c719774c1e1: Layer already exists
10-Jun-2024 17:33:30 f94641f1fe1f: Layer already exists
10-Jun-2024 17:33:30 1b459ee2adae: Pushed
10-Jun-2024 17:33:36 87a22c91d6a4: Pushed
10-Jun-2024 17:33:38 2.2.2-SNAPSHOT: digest: sha256:e6065b82872bf95588394bd0ec7c8873f1d888097f12e15c406919162df7af3a size: 4498
10-Jun-2024 17:33:38 Finished task 'Build and push docker image' with result: Success
10-Jun-2024 17:33:38 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
10-Jun-2024 17:33:38 Variable wasn't found in the Build context. It possibly doesn't exist.
10-Jun-2024 17:33:38 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:e6065b82872bf95588394bd0ec7c8873f1d888097f12e15c406919162df7af3a
10-Jun-2024 17:33:38 Finished task 'Save docker image ID' with result: Success
10-Jun-2024 17:33:38 Running post build plugin 'Docker Container Cleanup'
10-Jun-2024 17:33:38 Running post build plugin 'NCover Results Collector'
10-Jun-2024 17:33:38 Running post build plugin 'Build Results Label Collector'
10-Jun-2024 17:33:38 Running post build plugin 'Clover Results Collector'
10-Jun-2024 17:33:38 Running post build plugin 'npm Cache Cleanup'
10-Jun-2024 17:33:38 Running post build plugin 'Artifact Copier'
10-Jun-2024 17:33:38 Finalising the build...
10-Jun-2024 17:33:38 Stopping timer.
10-Jun-2024 17:33:38 Build OP-OP2-PDI-92 completed.
10-Jun-2024 17:33:38 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Jun-2024 17:33:38 Running on server: post build plugin 'NCover Results Collector'
10-Jun-2024 17:33:38 Running on server: post build plugin 'Build Labeller'
10-Jun-2024 17:33:38 Running on server: post build plugin 'Clover Delta Calculator'
10-Jun-2024 17:33:38 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Jun-2024 17:33:38 All post build plugins have finished
10-Jun-2024 17:33:38 Generating build results summary...
10-Jun-2024 17:33:38 Saving build results to disk...
10-Jun-2024 17:33:38 Store variable context...
10-Jun-2024 17:33:38 Finished building OP-OP2-PDI-92.