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

31-Oct-2024 12:57:33 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
31-Oct-2024 12:57:33 Remote agent on host yu.openmrs.org
31-Oct-2024 12:57:33 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
31-Oct-2024 12:57:33 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115)
31-Oct-2024 12:57:33 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
31-Oct-2024 12:57:41 Artifact 'docker-compose-snapshot' prepared in 7.221 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
31-Oct-2024 12:57:41 Running pre-build action: Build Log Labeller Pre Build Action
31-Oct-2024 12:57:41 Running pre-build action: VCS Version Collector
31-Oct-2024 12:57:41 Running pre-build action: Run Predator
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 22113 java        1349 bamboo-age 2981Mb  414Mb 00:00:50 /usr/lib/jvm/java-8-ope
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1349 wrapper        1 bamboo-age   16Mb    3Mb 00:06:44 /home/bamboo-agent/bamb
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:27 /sbin/init             
31-Oct-2024 12:57:41 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Initial free space: 3.4158363 GB
31-Oct-2024 12:57:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BP-JOB1
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
31-Oct-2024 12:57:42 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files
31-Oct-2024 12:57:42 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
31-Oct-2024 12:57:42 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Final free space: 3.4415092 GB
31-Oct-2024 12:57:42 [PredatorPreBuildAction] Done
31-Oct-2024 12:57:42
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
31-Oct-2024 12:57:42
Substituting password variable: ${bamboo.dockerhub.password}
31-Oct-2024 12:57:42
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
31-Oct-2024 12:57:42
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
31-Oct-2024 12:57:42
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
31-Oct-2024 12:57:42
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
31-Oct-2024 12:57:42 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
31-Oct-2024 12:57:42
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-115-ScriptBuildTask-9070852365417749522.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
31-Oct-2024 12:57:42 Start of Lmod init/bash script to define the module command
31-Oct-2024 12:57:42 + [[ ehuB != ehuxB ]]
31-Oct-2024 12:57:42 + echo 'Start of Lmod init/bash script to define the module command'
31-Oct-2024 12:57:42 + LMOD_PKG=/usr/share/lmod/lmod
31-Oct-2024 12:57:42 + LMOD_DIR=/usr/share/lmod/lmod/libexec
31-Oct-2024 12:57:42 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
31-Oct-2024 12:57:42 + MODULESHOME=/usr/share/lmod/lmod
31-Oct-2024 12:57:42 + export LMOD_PKG
31-Oct-2024 12:57:42 + export LMOD_CMD
31-Oct-2024 12:57:42 + export LMOD_DIR
31-Oct-2024 12:57:42 + export MODULESHOME
31-Oct-2024 12:57:42 + LMOD_VERSION=6.6
31-Oct-2024 12:57:42 + export LMOD_VERSION
31-Oct-2024 12:57:42 + '[' : '!=' : ']'
31-Oct-2024 12:57:42 + unalias ml
31-Oct-2024 12:57:42 + true
31-Oct-2024 12:57:42 ++ echo YES
31-Oct-2024 12:57:42 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
31-Oct-2024 12:57:42 + export_module=yes
31-Oct-2024 12:57:42 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
31-Oct-2024 12:57:42 + export -f module
31-Oct-2024 12:57:42 + export -f ml
31-Oct-2024 12:57:42 + unset export_module
31-Oct-2024 12:57:42 + '[' -n '' ']'
31-Oct-2024 12:57:42 + '[' 5 -ge 3 ']'
31-Oct-2024 12:57:42 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
31-Oct-2024 12:57:42 + '[' -n '' ']'
31-Oct-2024 12:57:42 + [[ ehuB != ehuxB ]]
31-Oct-2024 12:57:42 + echo 'End of Lmod init/bash script to define the module command'
31-Oct-2024 12:57:42 + docker login -u openmrsci -p ********
31-Oct-2024 12:57:42 End of Lmod init/bash script to define the module command
31-Oct-2024 12:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
31-Oct-2024 12:57:43 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
31-Oct-2024 12:57:43 Configure a credential helper to remove this warning. See
31-Oct-2024 12:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
31-Oct-2024 12:57:43
31-Oct-2024 12:57:43 Login Succeeded
31-Oct-2024 12:57:43 + set +x
31-Oct-2024 12:57:43 Sending build context to Docker daemon  100.9MB
31-Oct-2024 12:57:43
31-Oct-2024 12:57:43 Step 1/11 : FROM tomcat:7-jre8
31-Oct-2024 12:57:44 7-jre8: Pulling from library/tomcat
31-Oct-2024 12:57:44 c5e155d5a1d1: Pulling fs layer
31-Oct-2024 12:57:44 221d80d00ae9: Pulling fs layer
31-Oct-2024 12:57:44 4250b3117dca: Pulling fs layer
31-Oct-2024 12:57:44 d1370422ab93: Pulling fs layer
31-Oct-2024 12:57:44 deb6b03222ca: Pulling fs layer
31-Oct-2024 12:57:44 9cdea8d70cc3: Pulling fs layer
31-Oct-2024 12:57:44 968505be14db: Pulling fs layer
31-Oct-2024 12:57:44 04b5c270ac81: Pulling fs layer
31-Oct-2024 12:57:44 301d76fcab1f: Pulling fs layer
31-Oct-2024 12:57:44 ddf85cd1cc29: Pulling fs layer
31-Oct-2024 12:57:44 ef1e6f25e812: Pulling fs layer
31-Oct-2024 12:57:44 deb6b03222ca: Waiting
31-Oct-2024 12:57:44 9cdea8d70cc3: Waiting
31-Oct-2024 12:57:44 968505be14db: Waiting
31-Oct-2024 12:57:44 d1370422ab93: Waiting
31-Oct-2024 12:57:44 301d76fcab1f: Waiting
31-Oct-2024 12:57:44 ddf85cd1cc29: Waiting
31-Oct-2024 12:57:44 ef1e6f25e812: Waiting
31-Oct-2024 12:57:44 04b5c270ac81: Waiting
31-Oct-2024 12:57:44 4250b3117dca: Verifying Checksum
31-Oct-2024 12:57:44 4250b3117dca: Download complete
31-Oct-2024 12:57:44 221d80d00ae9: Verifying Checksum
31-Oct-2024 12:57:44 221d80d00ae9: Download complete
31-Oct-2024 12:57:44 d1370422ab93: Verifying Checksum
31-Oct-2024 12:57:44 d1370422ab93: Download complete
31-Oct-2024 12:57:44 deb6b03222ca: Verifying Checksum
31-Oct-2024 12:57:44 deb6b03222ca: Download complete
31-Oct-2024 12:57:45 c5e155d5a1d1: Verifying Checksum
31-Oct-2024 12:57:45 c5e155d5a1d1: Download complete
31-Oct-2024 12:57:45 9cdea8d70cc3: Verifying Checksum
31-Oct-2024 12:57:45 9cdea8d70cc3: Download complete
31-Oct-2024 12:57:45 04b5c270ac81: Verifying Checksum
31-Oct-2024 12:57:45 04b5c270ac81: Download complete
31-Oct-2024 12:57:45 301d76fcab1f: Verifying Checksum
31-Oct-2024 12:57:45 301d76fcab1f: Download complete
31-Oct-2024 12:57:45 ddf85cd1cc29: Verifying Checksum
31-Oct-2024 12:57:45 ddf85cd1cc29: Download complete
31-Oct-2024 12:57:45 ef1e6f25e812: Verifying Checksum
31-Oct-2024 12:57:45 ef1e6f25e812: Download complete
31-Oct-2024 12:57:46 968505be14db: Verifying Checksum
31-Oct-2024 12:57:46 968505be14db: Download complete
31-Oct-2024 12:57:48 c5e155d5a1d1: Pull complete
31-Oct-2024 12:57:48 221d80d00ae9: Pull complete
31-Oct-2024 12:57:49 4250b3117dca: Pull complete
31-Oct-2024 12:57:49 d1370422ab93: Pull complete
31-Oct-2024 12:57:49 deb6b03222ca: Pull complete
31-Oct-2024 12:57:49 9cdea8d70cc3: Pull complete
31-Oct-2024 12:57:54 968505be14db: Pull complete
31-Oct-2024 12:57:54 04b5c270ac81: Pull complete
31-Oct-2024 12:57:54 301d76fcab1f: Pull complete
31-Oct-2024 12:57:54 ddf85cd1cc29: Pull complete
31-Oct-2024 12:57:55 ef1e6f25e812: Pull complete
31-Oct-2024 12:57:55 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
31-Oct-2024 12:57:55 Status: Downloaded newer image for tomcat:7-jre8
31-Oct-2024 12:57:55 ---> 3037eb7cda68
31-Oct-2024 12:57:55 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
31-Oct-2024 12:57:56 ---> fd5909c9b342
31-Oct-2024 12:57:56 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
31-Oct-2024 12:57:56 ---> 46048074d387
31-Oct-2024 12:57:56 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
31-Oct-2024 12:57:56 ---> 008a8750fecb
31-Oct-2024 12:57:56 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
31-Oct-2024 12:57:56 ---> 411ed734b720
31-Oct-2024 12:57:56 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
31-Oct-2024 12:57:56 ---> Running in 7c91b07d64e1
31-Oct-2024 12:57:57 Removing intermediate container 7c91b07d64e1
31-Oct-2024 12:57:57 ---> 8d3cc4972aaa
31-Oct-2024 12:57:57 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
31-Oct-2024 12:57:57 ---> Running in 8e147334da03
31-Oct-2024 12:57:58 Removing intermediate container 8e147334da03
31-Oct-2024 12:57:58 ---> e43bca25a006
31-Oct-2024 12:57:58 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
31-Oct-2024 12:57:58 ---> Running in 53d9b94c2272
31-Oct-2024 12:57:58 Removing intermediate container 53d9b94c2272
31-Oct-2024 12:57:58 ---> 81731d729486
31-Oct-2024 12:57:58 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
31-Oct-2024 12:57:59 ---> 504f77a1539c
31-Oct-2024 12:57:59 Step 10/11 : COPY Dockerfile /root/Dockerfile
31-Oct-2024 12:57:59 ---> 60541b213fcc
31-Oct-2024 12:57:59 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
31-Oct-2024 12:57:59 ---> Running in 113d3e013085
31-Oct-2024 12:57:59 Removing intermediate container 113d3e013085
31-Oct-2024 12:57:59 ---> a344c143a9b8
31-Oct-2024 12:57:59 Successfully built a344c143a9b8
31-Oct-2024 12:57:59 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
31-Oct-2024 12:57:59 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
31-Oct-2024 12:57:59 91bd6286e7fa: Preparing
31-Oct-2024 12:57:59 54e4d24459d8: Preparing
31-Oct-2024 12:57:59 7912135337c0: Preparing
31-Oct-2024 12:57:59 6bd80eba9837: Preparing
31-Oct-2024 12:57:59 73952363e1df: Preparing
31-Oct-2024 12:57:59 34798904187d: Preparing
31-Oct-2024 12:57:59 4e2a8583eed5: Preparing
31-Oct-2024 12:57:59 26ae97fa96d7: Preparing
31-Oct-2024 12:57:59 2ba748fa3176: Preparing
31-Oct-2024 12:57:59 ccb063697e4b: Preparing
31-Oct-2024 12:57:59 abdaa093b247: Preparing
31-Oct-2024 12:57:59 f0e1731fd286: Preparing
31-Oct-2024 12:57:59 2b6c38ff3137: Preparing
31-Oct-2024 12:57:59 d38f3d5a39fb: Preparing
31-Oct-2024 12:57:59 fe60061c6c4e: Preparing
31-Oct-2024 12:57:59 7d63f8777ebf: Preparing
31-Oct-2024 12:57:59 1b958b53b256: Preparing
31-Oct-2024 12:57:59 2c719774c1e1: Preparing
31-Oct-2024 12:57:59 ec62f19bb3aa: Preparing
31-Oct-2024 12:57:59 f94641f1fe1f: Preparing
31-Oct-2024 12:57:59 abdaa093b247: Waiting
31-Oct-2024 12:57:59 f0e1731fd286: Waiting
31-Oct-2024 12:57:59 2b6c38ff3137: Waiting
31-Oct-2024 12:57:59 d38f3d5a39fb: Waiting
31-Oct-2024 12:57:59 fe60061c6c4e: Waiting
31-Oct-2024 12:57:59 7d63f8777ebf: Waiting
31-Oct-2024 12:57:59 1b958b53b256: Waiting
31-Oct-2024 12:57:59 2c719774c1e1: Waiting
31-Oct-2024 12:57:59 ec62f19bb3aa: Waiting
31-Oct-2024 12:57:59 f94641f1fe1f: Waiting
31-Oct-2024 12:57:59 26ae97fa96d7: Waiting
31-Oct-2024 12:57:59 34798904187d: Waiting
31-Oct-2024 12:57:59 4e2a8583eed5: Waiting
31-Oct-2024 12:57:59 2ba748fa3176: Waiting
31-Oct-2024 12:57:59 ccb063697e4b: Waiting
31-Oct-2024 12:58:00 6bd80eba9837: Pushed
31-Oct-2024 12:58:00 7912135337c0: Pushed
31-Oct-2024 12:58:00 73952363e1df: Pushed
31-Oct-2024 12:58:00 91bd6286e7fa: Pushed
31-Oct-2024 12:58:00 54e4d24459d8: Pushed
31-Oct-2024 12:58:00 ccb063697e4b: Layer already exists
31-Oct-2024 12:58:01 abdaa093b247: Layer already exists
31-Oct-2024 12:58:01 f0e1731fd286: Layer already exists
31-Oct-2024 12:58:01 2b6c38ff3137: Layer already exists
31-Oct-2024 12:58:01 d38f3d5a39fb: Layer already exists
31-Oct-2024 12:58:01 fe60061c6c4e: Layer already exists
31-Oct-2024 12:58:01 7d63f8777ebf: Layer already exists
31-Oct-2024 12:58:01 34798904187d: Pushed
31-Oct-2024 12:58:01 1b958b53b256: Layer already exists
31-Oct-2024 12:58:01 26ae97fa96d7: Pushed
31-Oct-2024 12:58:01 4e2a8583eed5: Pushed
31-Oct-2024 12:58:02 2c719774c1e1: Layer already exists
31-Oct-2024 12:58:02 ec62f19bb3aa: Layer already exists
31-Oct-2024 12:58:02 f94641f1fe1f: Layer already exists
31-Oct-2024 12:58:07 2ba748fa3176: Pushed
31-Oct-2024 12:58:08 2.2.2-SNAPSHOT: digest: sha256:46447e4b7f1c3b7043c28576f5a3fd3019777a2e4055372eb65548c6cacb63fe size: 4498
31-Oct-2024 12:58:08 Finished task 'Build and push docker image' with result: Success
31-Oct-2024 12:58:08 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
31-Oct-2024 12:58:08 Variable wasn't found in the Build context. It possibly doesn't exist.
31-Oct-2024 12:58:08 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:46447e4b7f1c3b7043c28576f5a3fd3019777a2e4055372eb65548c6cacb63fe
31-Oct-2024 12:58:08 Finished task 'Save docker image ID' with result: Success
31-Oct-2024 12:58:08 Running post build plugin 'Docker Container Cleanup'
31-Oct-2024 12:58:08 Running post build plugin 'NCover Results Collector'
31-Oct-2024 12:58:08 Running post build plugin 'Build Results Label Collector'
31-Oct-2024 12:58:08 Running post build plugin 'Clover Results Collector'
31-Oct-2024 12:58:08 Running post build plugin 'npm Cache Cleanup'
31-Oct-2024 12:58:08 Running post build plugin 'Artifact Copier'
31-Oct-2024 12:58:08 Finalising the build...
31-Oct-2024 12:58:08 Stopping timer.
31-Oct-2024 12:58:08 Build OP-OP2-PDI-115 completed.
31-Oct-2024 12:58:08 Running on server: post build plugin 'Build Hanging Detection Configuration'
31-Oct-2024 12:58:08 Running on server: post build plugin 'NCover Results Collector'
31-Oct-2024 12:58:08 Running on server: post build plugin 'Build Labeller'
31-Oct-2024 12:58:08 Running on server: post build plugin 'Clover Delta Calculator'
31-Oct-2024 12:58:08 Running on server: post build plugin 'Maven Dependencies Postprocessor'
31-Oct-2024 12:58:08 All post build plugins have finished
31-Oct-2024 12:58:08 Generating build results summary...
31-Oct-2024 12:58:08 Saving build results to disk...
31-Oct-2024 12:58:08 Store variable context...
31-Oct-2024 12:58:08 Finished building OP-OP2-PDI-115.