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

13-Nov-2024 15:58:12 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #117 (OP-OP2-PDI-117) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
13-Nov-2024 15:58:12 Remote agent on host xindi.openmrs.org
13-Nov-2024 15:58:12 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
13-Nov-2024 15:58:12 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #117 (OP-OP2-PDI-117)
13-Nov-2024 15:58:12 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
13-Nov-2024 15:58:18 Artifact 'docker-compose-snapshot' prepared in 5.910 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
13-Nov-2024 15:58:18 Running pre-build action: Build Log Labeller Pre Build Action
13-Nov-2024 15:58:18 Running pre-build action: VCS Version Collector
13-Nov-2024 15:58:18 Running pre-build action: Run Predator
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26797 java        1394 bamboo-age 2995Mb  603Mb 00:36:14 /usr/lib/jvm/java-8-ope
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1394 wrapper        1 bamboo-age   16Mb    1Mb 00:16:05 /home/bamboo-agent/bamb
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:53 /sbin/init             
13-Nov-2024 15:58:18 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Initial free space: 3.7625427 GB
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Deleting 24 snapshot folders from /home/bamboo-agent/.m2/repository
13-Nov-2024 15:58:18 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Nov-2024 15:58:18 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Nov-2024 15:58:19 [PredatorPreBuildAction] Maven stable disk freed: 0.70933807 GB, deleted 272 files
13-Nov-2024 15:58:19 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Nov-2024 15:58:19 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Nov-2024 15:58:19 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Nov-2024 15:58:19 [PredatorPreBuildAction] Final free space: 3.7884064 GB
13-Nov-2024 15:58:19 [PredatorPreBuildAction] Done
13-Nov-2024 15:58:19
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
13-Nov-2024 15:58:19
Substituting password variable: ${bamboo.dockerhub.password}
13-Nov-2024 15:58:19
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
13-Nov-2024 15:58:19
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
13-Nov-2024 15:58:19
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
13-Nov-2024 15:58:19
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
13-Nov-2024 15:58:19 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
13-Nov-2024 15:58:19
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #117 (OP-OP2-PDI-117)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-117-ScriptBuildTask-6405911746218154526.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
13-Nov-2024 15:58:19 + [[ ehuB != ehuxB ]]
13-Nov-2024 15:58:19 Start of Lmod init/bash script to define the module command
13-Nov-2024 15:58:19 + echo 'Start of Lmod init/bash script to define the module command'
13-Nov-2024 15:58:19 + LMOD_PKG=/usr/share/lmod/lmod
13-Nov-2024 15:58:19 + LMOD_DIR=/usr/share/lmod/lmod/libexec
13-Nov-2024 15:58:19 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
13-Nov-2024 15:58:19 + MODULESHOME=/usr/share/lmod/lmod
13-Nov-2024 15:58:19 + export LMOD_PKG
13-Nov-2024 15:58:19 + export LMOD_CMD
13-Nov-2024 15:58:19 + export LMOD_DIR
13-Nov-2024 15:58:19 + export MODULESHOME
13-Nov-2024 15:58:19 + LMOD_VERSION=6.6
13-Nov-2024 15:58:19 + export LMOD_VERSION
13-Nov-2024 15:58:19 + '[' : '!=' : ']'
13-Nov-2024 15:58:19 + unalias ml
13-Nov-2024 15:58:19 + true
13-Nov-2024 15:58:19 ++ echo YES
13-Nov-2024 15:58:19 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
13-Nov-2024 15:58:19 + export_module=yes
13-Nov-2024 15:58:19 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
13-Nov-2024 15:58:19 + export -f module
13-Nov-2024 15:58:19 + export -f ml
13-Nov-2024 15:58:19 + unset export_module
13-Nov-2024 15:58:19 + '[' -n '' ']'
13-Nov-2024 15:58:19 + '[' 5 -ge 3 ']'
13-Nov-2024 15:58:19 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
13-Nov-2024 15:58:19 + '[' -n '' ']'
13-Nov-2024 15:58:19 + [[ ehuB != ehuxB ]]
13-Nov-2024 15:58:19 + echo 'End of Lmod init/bash script to define the module command'
13-Nov-2024 15:58:19 End of Lmod init/bash script to define the module command
13-Nov-2024 15:58:19 + docker login -u openmrsci -p ********
13-Nov-2024 15:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
13-Nov-2024 15:58:19 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
13-Nov-2024 15:58:19 Configure a credential helper to remove this warning. See
13-Nov-2024 15:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13-Nov-2024 15:58:19
13-Nov-2024 15:58:19 Login Succeeded
13-Nov-2024 15:58:19 + set +x
13-Nov-2024 15:58:20 Sending build context to Docker daemon  100.9MB
13-Nov-2024 15:58:20
13-Nov-2024 15:58:20 Step 1/11 : FROM tomcat:7-jre8
13-Nov-2024 15:58:20 7-jre8: Pulling from library/tomcat
13-Nov-2024 15:58:20 c5e155d5a1d1: Pulling fs layer
13-Nov-2024 15:58:20 221d80d00ae9: Pulling fs layer
13-Nov-2024 15:58:20 4250b3117dca: Pulling fs layer
13-Nov-2024 15:58:20 d1370422ab93: Pulling fs layer
13-Nov-2024 15:58:20 deb6b03222ca: Pulling fs layer
13-Nov-2024 15:58:20 9cdea8d70cc3: Pulling fs layer
13-Nov-2024 15:58:20 968505be14db: Pulling fs layer
13-Nov-2024 15:58:20 04b5c270ac81: Pulling fs layer
13-Nov-2024 15:58:20 301d76fcab1f: Pulling fs layer
13-Nov-2024 15:58:20 ddf85cd1cc29: Pulling fs layer
13-Nov-2024 15:58:20 ef1e6f25e812: Pulling fs layer
13-Nov-2024 15:58:20 d1370422ab93: Waiting
13-Nov-2024 15:58:20 deb6b03222ca: Waiting
13-Nov-2024 15:58:20 9cdea8d70cc3: Waiting
13-Nov-2024 15:58:20 968505be14db: Waiting
13-Nov-2024 15:58:20 04b5c270ac81: Waiting
13-Nov-2024 15:58:20 301d76fcab1f: Waiting
13-Nov-2024 15:58:20 ddf85cd1cc29: Waiting
13-Nov-2024 15:58:20 ef1e6f25e812: Waiting
13-Nov-2024 15:58:20 4250b3117dca: Verifying Checksum
13-Nov-2024 15:58:20 4250b3117dca: Download complete
13-Nov-2024 15:58:21 221d80d00ae9: Verifying Checksum
13-Nov-2024 15:58:21 221d80d00ae9: Download complete
13-Nov-2024 15:58:21 d1370422ab93: Verifying Checksum
13-Nov-2024 15:58:21 d1370422ab93: Download complete
13-Nov-2024 15:58:21 9cdea8d70cc3: Verifying Checksum
13-Nov-2024 15:58:21 9cdea8d70cc3: Download complete
13-Nov-2024 15:58:21 deb6b03222ca: Verifying Checksum
13-Nov-2024 15:58:21 deb6b03222ca: Download complete
13-Nov-2024 15:58:21 04b5c270ac81: Verifying Checksum
13-Nov-2024 15:58:21 04b5c270ac81: Download complete
13-Nov-2024 15:58:21 301d76fcab1f: Download complete
13-Nov-2024 15:58:21 ddf85cd1cc29: Verifying Checksum
13-Nov-2024 15:58:21 ddf85cd1cc29: Download complete
13-Nov-2024 15:58:22 ef1e6f25e812: Verifying Checksum
13-Nov-2024 15:58:22 ef1e6f25e812: Download complete
13-Nov-2024 15:58:22 c5e155d5a1d1: Verifying Checksum
13-Nov-2024 15:58:22 c5e155d5a1d1: Download complete
13-Nov-2024 15:58:24 968505be14db: Verifying Checksum
13-Nov-2024 15:58:24 968505be14db: Download complete
13-Nov-2024 15:58:25 c5e155d5a1d1: Pull complete
13-Nov-2024 15:58:26 221d80d00ae9: Pull complete
13-Nov-2024 15:58:26 4250b3117dca: Pull complete
13-Nov-2024 15:58:26 d1370422ab93: Pull complete
13-Nov-2024 15:58:26 deb6b03222ca: Pull complete
13-Nov-2024 15:58:26 9cdea8d70cc3: Pull complete
13-Nov-2024 15:58:33 968505be14db: Pull complete
13-Nov-2024 15:58:33 04b5c270ac81: Pull complete
13-Nov-2024 15:58:33 301d76fcab1f: Pull complete
13-Nov-2024 15:58:33 ddf85cd1cc29: Pull complete
13-Nov-2024 15:58:33 ef1e6f25e812: Pull complete
13-Nov-2024 15:58:33 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
13-Nov-2024 15:58:33 Status: Downloaded newer image for tomcat:7-jre8
13-Nov-2024 15:58:33 ---> 3037eb7cda68
13-Nov-2024 15:58:33 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
13-Nov-2024 15:58:35 ---> 10867d985daf
13-Nov-2024 15:58:35 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
13-Nov-2024 15:58:35 ---> 47b1aaaa0e52
13-Nov-2024 15:58:35 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
13-Nov-2024 15:58:35 ---> 4f537da40cda
13-Nov-2024 15:58:35 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
13-Nov-2024 15:58:35 ---> f19ea2d8fc0d
13-Nov-2024 15:58:35 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
13-Nov-2024 15:58:35 ---> Running in b07c53c45aad
13-Nov-2024 15:58:36 Removing intermediate container b07c53c45aad
13-Nov-2024 15:58:36 ---> ede107269f3d
13-Nov-2024 15:58:36 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
13-Nov-2024 15:58:36 ---> Running in e87f899ab083
13-Nov-2024 15:58:37 Removing intermediate container e87f899ab083
13-Nov-2024 15:58:37 ---> cc3bbe5ff2fc
13-Nov-2024 15:58:37 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
13-Nov-2024 15:58:37 ---> Running in 1256b573b571
13-Nov-2024 15:58:37 Removing intermediate container 1256b573b571
13-Nov-2024 15:58:37 ---> 943c194c54f6
13-Nov-2024 15:58:37 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
13-Nov-2024 15:58:37 ---> 587eb1bbf3d7
13-Nov-2024 15:58:37 Step 10/11 : COPY Dockerfile /root/Dockerfile
13-Nov-2024 15:58:38 ---> f1c07a053f8e
13-Nov-2024 15:58:38 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
13-Nov-2024 15:58:38 ---> Running in 2207afa8da41
13-Nov-2024 15:58:38 Removing intermediate container 2207afa8da41
13-Nov-2024 15:58:38 ---> 6e6266dcc45c
13-Nov-2024 15:58:38 Successfully built 6e6266dcc45c
13-Nov-2024 15:58:38 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
13-Nov-2024 15:58:38 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
13-Nov-2024 15:58:38 26bcdc93eab4: Preparing
13-Nov-2024 15:58:38 b0e0126488c8: Preparing
13-Nov-2024 15:58:38 81acb03bb0c8: Preparing
13-Nov-2024 15:58:38 93222c3b6e19: Preparing
13-Nov-2024 15:58:38 db3ce71e1019: Preparing
13-Nov-2024 15:58:38 ff90df1aad71: Preparing
13-Nov-2024 15:58:38 507796de9d2b: Preparing
13-Nov-2024 15:58:38 35cc7d40b0db: Preparing
13-Nov-2024 15:58:38 14357a75c5db: Preparing
13-Nov-2024 15:58:38 ccb063697e4b: Preparing
13-Nov-2024 15:58:38 abdaa093b247: Preparing
13-Nov-2024 15:58:38 f0e1731fd286: Preparing
13-Nov-2024 15:58:38 2b6c38ff3137: Preparing
13-Nov-2024 15:58:38 d38f3d5a39fb: Preparing
13-Nov-2024 15:58:38 fe60061c6c4e: Preparing
13-Nov-2024 15:58:38 7d63f8777ebf: Preparing
13-Nov-2024 15:58:38 1b958b53b256: Preparing
13-Nov-2024 15:58:38 2c719774c1e1: Preparing
13-Nov-2024 15:58:38 ec62f19bb3aa: Preparing
13-Nov-2024 15:58:38 f94641f1fe1f: Preparing
13-Nov-2024 15:58:38 abdaa093b247: Waiting
13-Nov-2024 15:58:38 f0e1731fd286: Waiting
13-Nov-2024 15:58:38 2b6c38ff3137: Waiting
13-Nov-2024 15:58:38 d38f3d5a39fb: Waiting
13-Nov-2024 15:58:38 fe60061c6c4e: Waiting
13-Nov-2024 15:58:38 7d63f8777ebf: Waiting
13-Nov-2024 15:58:38 1b958b53b256: Waiting
13-Nov-2024 15:58:38 2c719774c1e1: Waiting
13-Nov-2024 15:58:38 ec62f19bb3aa: Waiting
13-Nov-2024 15:58:38 f94641f1fe1f: Waiting
13-Nov-2024 15:58:38 ff90df1aad71: Waiting
13-Nov-2024 15:58:38 507796de9d2b: Waiting
13-Nov-2024 15:58:38 35cc7d40b0db: Waiting
13-Nov-2024 15:58:38 14357a75c5db: Waiting
13-Nov-2024 15:58:38 ccb063697e4b: Waiting
13-Nov-2024 15:58:39 db3ce71e1019: Pushed
13-Nov-2024 15:58:39 81acb03bb0c8: Pushed
13-Nov-2024 15:58:39 b0e0126488c8: Pushed
13-Nov-2024 15:58:39 26bcdc93eab4: Pushed
13-Nov-2024 15:58:39 93222c3b6e19: Pushed
13-Nov-2024 15:58:39 ccb063697e4b: Layer already exists
13-Nov-2024 15:58:40 abdaa093b247: Layer already exists
13-Nov-2024 15:58:40 f0e1731fd286: Layer already exists
13-Nov-2024 15:58:40 2b6c38ff3137: Layer already exists
13-Nov-2024 15:58:40 d38f3d5a39fb: Layer already exists
13-Nov-2024 15:58:40 fe60061c6c4e: Layer already exists
13-Nov-2024 15:58:40 35cc7d40b0db: Pushed
13-Nov-2024 15:58:40 7d63f8777ebf: Layer already exists
13-Nov-2024 15:58:40 ff90df1aad71: Pushed
13-Nov-2024 15:58:40 507796de9d2b: Pushed
13-Nov-2024 15:58:40 1b958b53b256: Layer already exists
13-Nov-2024 15:58:40 2c719774c1e1: Layer already exists
13-Nov-2024 15:58:41 ec62f19bb3aa: Layer already exists
13-Nov-2024 15:58:41 f94641f1fe1f: Layer already exists
13-Nov-2024 15:58:46 14357a75c5db: Pushed
13-Nov-2024 15:58:47 2.2.2-SNAPSHOT: digest: sha256:8d52efb381b99132311a6a6643d43481c9212a3f0604953d805f8dcef4bd2302 size: 4498
13-Nov-2024 15:58:47 Finished task 'Build and push docker image' with result: Success
13-Nov-2024 15:58:47 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
13-Nov-2024 15:58:47 Variable wasn't found in the Build context. It possibly doesn't exist.
13-Nov-2024 15:58:47 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:8d52efb381b99132311a6a6643d43481c9212a3f0604953d805f8dcef4bd2302
13-Nov-2024 15:58:47 Finished task 'Save docker image ID' with result: Success
13-Nov-2024 15:58:47 Running post build plugin 'Docker Container Cleanup'
13-Nov-2024 15:58:47 Running post build plugin 'NCover Results Collector'
13-Nov-2024 15:58:47 Running post build plugin 'Build Results Label Collector'
13-Nov-2024 15:58:47 Running post build plugin 'Clover Results Collector'
13-Nov-2024 15:58:47 Running post build plugin 'npm Cache Cleanup'
13-Nov-2024 15:58:47 Running post build plugin 'Artifact Copier'
13-Nov-2024 15:58:47 Finalising the build...
13-Nov-2024 15:58:47 Stopping timer.
13-Nov-2024 15:58:47 Build OP-OP2-PDI-117 completed.
13-Nov-2024 15:58:47 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Nov-2024 15:58:47 Running on server: post build plugin 'NCover Results Collector'
13-Nov-2024 15:58:47 Running on server: post build plugin 'Build Labeller'
13-Nov-2024 15:58:47 Running on server: post build plugin 'Clover Delta Calculator'
13-Nov-2024 15:58:47 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Nov-2024 15:58:47 All post build plugins have finished
13-Nov-2024 15:58:47 Generating build results summary...
13-Nov-2024 15:58:47 Saving build results to disk...
13-Nov-2024 15:58:47 Store variable context...
13-Nov-2024 15:58:47 Finished building OP-OP2-PDI-117.