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

04-Jun-2024 18:40:54 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #91 (OP-OP2-PDI-91) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
04-Jun-2024 18:40:54 Remote agent on host xiao.openmrs.org
04-Jun-2024 18:40:54 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
04-Jun-2024 18:40:54 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #91 (OP-OP2-PDI-91)
04-Jun-2024 18:40:54 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
04-Jun-2024 18:40:58 Artifact 'docker-compose-snapshot' prepared in 4.776 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
04-Jun-2024 18:40:58 Running pre-build action: Build Log Labeller Pre Build Action
04-Jun-2024 18:40:58 Running pre-build action: VCS Version Collector
04-Jun-2024 18:40:58 Running pre-build action: Run Predator
04-Jun-2024 18:40:58 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
04-Jun-2024 18:40:58 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
04-Jun-2024 18:40:58 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2106 java        1227 bamboo-age 2967Mb  420Mb 00:05:30 /usr/lib/jvm/java-8-ope
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1227 wrapper        1 bamboo-age   16Mb    2Mb 00:01:13 /home/bamboo-agent/bamb
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:09 /sbin/init             
04-Jun-2024 18:40:59 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Initial free space: 5.218052 GB
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM-TOMAR
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
04-Jun-2024 18:40:59 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
04-Jun-2024 18:40:59 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
04-Jun-2024 18:41:00 [PredatorPreBuildAction] Maven stable disk freed: 0.77552557 GB, deleted 918 files
04-Jun-2024 18:41:00 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
04-Jun-2024 18:41:00 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
04-Jun-2024 18:41:00 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
04-Jun-2024 18:41:00 [PredatorPreBuildAction] Final free space: 5.218315 GB
04-Jun-2024 18:41:00 [PredatorPreBuildAction] Done
04-Jun-2024 18:41:00
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
04-Jun-2024 18:41:00
Substituting password variable: ${bamboo.dockerhub.password}
04-Jun-2024 18:41:00
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
04-Jun-2024 18:41:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
04-Jun-2024 18:41:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
04-Jun-2024 18:41:00
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
04-Jun-2024 18:41:00 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
04-Jun-2024 18:41:00
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #91 (OP-OP2-PDI-91)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-91-ScriptBuildTask-1497171706516768847.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
04-Jun-2024 18:41:00 Start of Lmod init/bash script to define the module command
04-Jun-2024 18:41:00 + [[ ehuB != ehuxB ]]
04-Jun-2024 18:41:00 + echo 'Start of Lmod init/bash script to define the module command'
04-Jun-2024 18:41:00 + LMOD_PKG=/usr/share/lmod/lmod
04-Jun-2024 18:41:00 + LMOD_DIR=/usr/share/lmod/lmod/libexec
04-Jun-2024 18:41:00 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
04-Jun-2024 18:41:00 + MODULESHOME=/usr/share/lmod/lmod
04-Jun-2024 18:41:00 + export LMOD_PKG
04-Jun-2024 18:41:00 + export LMOD_CMD
04-Jun-2024 18:41:00 + export LMOD_DIR
04-Jun-2024 18:41:00 + export MODULESHOME
04-Jun-2024 18:41:00 + LMOD_VERSION=6.6
04-Jun-2024 18:41:00 + export LMOD_VERSION
04-Jun-2024 18:41:00 + '[' : '!=' : ']'
04-Jun-2024 18:41:00 + unalias ml
04-Jun-2024 18:41:00 + true
04-Jun-2024 18:41:00 ++ echo YES
04-Jun-2024 18:41:00 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
04-Jun-2024 18:41:00 + export_module=yes
04-Jun-2024 18:41:00 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
04-Jun-2024 18:41:00 + export -f module
04-Jun-2024 18:41:00 + export -f ml
04-Jun-2024 18:41:00 + unset export_module
04-Jun-2024 18:41:00 + '[' -n '' ']'
04-Jun-2024 18:41:00 + '[' 5 -ge 3 ']'
04-Jun-2024 18:41:00 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
04-Jun-2024 18:41:00 + '[' -n '' ']'
04-Jun-2024 18:41:00 + [[ ehuB != ehuxB ]]
04-Jun-2024 18:41:00 + echo 'End of Lmod init/bash script to define the module command'
04-Jun-2024 18:41:00 + docker login -u openmrsci -p ********
04-Jun-2024 18:41:00 End of Lmod init/bash script to define the module command
04-Jun-2024 18:41:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
04-Jun-2024 18:41:00 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
04-Jun-2024 18:41:00 Configure a credential helper to remove this warning. See
04-Jun-2024 18:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
04-Jun-2024 18:41:00
04-Jun-2024 18:41:00 Login Succeeded
04-Jun-2024 18:41:00 + set +x
04-Jun-2024 18:41:01 Sending build context to Docker daemon  100.9MB
04-Jun-2024 18:41:01
04-Jun-2024 18:41:01 Step 1/11 : FROM tomcat:7-jre8
04-Jun-2024 18:41:01 7-jre8: Pulling from library/tomcat
04-Jun-2024 18:41:02 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
04-Jun-2024 18:41:02 Status: Downloaded newer image for tomcat:7-jre8
04-Jun-2024 18:41:02 ---> 3037eb7cda68
04-Jun-2024 18:41:02 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
04-Jun-2024 18:41:03 ---> 9d63771b8cfa
04-Jun-2024 18:41:03 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
04-Jun-2024 18:41:03 ---> 20901c08d2d0
04-Jun-2024 18:41:03 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
04-Jun-2024 18:41:03 ---> 9020f4f5abd7
04-Jun-2024 18:41:03 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
04-Jun-2024 18:41:03 ---> db77005392fc
04-Jun-2024 18:41:03 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
04-Jun-2024 18:41:03 ---> Running in d66d523dafa1
04-Jun-2024 18:41:04 Removing intermediate container d66d523dafa1
04-Jun-2024 18:41:04 ---> e84421f1b167
04-Jun-2024 18:41:04 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
04-Jun-2024 18:41:04 ---> Running in 48eace30d11f
04-Jun-2024 18:41:05 Removing intermediate container 48eace30d11f
04-Jun-2024 18:41:05 ---> 43a52815ef27
04-Jun-2024 18:41:05 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
04-Jun-2024 18:41:05 ---> Running in 3fee3934b97f
04-Jun-2024 18:41:05 Removing intermediate container 3fee3934b97f
04-Jun-2024 18:41:05 ---> 70d26ca0a766
04-Jun-2024 18:41:05 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
04-Jun-2024 18:41:05 ---> 4648b5db938e
04-Jun-2024 18:41:05 Step 10/11 : COPY Dockerfile /root/Dockerfile
04-Jun-2024 18:41:05 ---> fde2ada58a81
04-Jun-2024 18:41:05 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
04-Jun-2024 18:41:06 ---> Running in f3c59d8d9828
04-Jun-2024 18:41:06 Removing intermediate container f3c59d8d9828
04-Jun-2024 18:41:06 ---> 3899efa9f66e
04-Jun-2024 18:41:06 Successfully built 3899efa9f66e
04-Jun-2024 18:41:06 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
04-Jun-2024 18:41:06 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
04-Jun-2024 18:41:06 9877f1eb8a6d: Preparing
04-Jun-2024 18:41:06 a15ef37ad68b: Preparing
04-Jun-2024 18:41:06 9e1d57009df4: Preparing
04-Jun-2024 18:41:06 809c53173804: Preparing
04-Jun-2024 18:41:06 8ac432a589d8: Preparing
04-Jun-2024 18:41:06 9b59e630bee4: Preparing
04-Jun-2024 18:41:06 3201a6540eb1: Preparing
04-Jun-2024 18:41:06 18fa0a98c62c: Preparing
04-Jun-2024 18:41:06 98b0bf0e27fe: Preparing
04-Jun-2024 18:41:06 ccb063697e4b: Preparing
04-Jun-2024 18:41:06 abdaa093b247: Preparing
04-Jun-2024 18:41:06 f0e1731fd286: Preparing
04-Jun-2024 18:41:06 2b6c38ff3137: Preparing
04-Jun-2024 18:41:06 d38f3d5a39fb: Preparing
04-Jun-2024 18:41:06 fe60061c6c4e: Preparing
04-Jun-2024 18:41:06 7d63f8777ebf: Preparing
04-Jun-2024 18:41:06 1b958b53b256: Preparing
04-Jun-2024 18:41:06 2c719774c1e1: Preparing
04-Jun-2024 18:41:06 ec62f19bb3aa: Preparing
04-Jun-2024 18:41:06 f94641f1fe1f: Preparing
04-Jun-2024 18:41:06 9b59e630bee4: Waiting
04-Jun-2024 18:41:06 d38f3d5a39fb: Waiting
04-Jun-2024 18:41:06 fe60061c6c4e: Waiting
04-Jun-2024 18:41:06 3201a6540eb1: Waiting
04-Jun-2024 18:41:06 7d63f8777ebf: Waiting
04-Jun-2024 18:41:06 18fa0a98c62c: Waiting
04-Jun-2024 18:41:06 98b0bf0e27fe: Waiting
04-Jun-2024 18:41:06 ccb063697e4b: Waiting
04-Jun-2024 18:41:06 1b958b53b256: Waiting
04-Jun-2024 18:41:06 2c719774c1e1: Waiting
04-Jun-2024 18:41:06 abdaa093b247: Waiting
04-Jun-2024 18:41:06 ec62f19bb3aa: Waiting
04-Jun-2024 18:41:06 f94641f1fe1f: Waiting
04-Jun-2024 18:41:06 f0e1731fd286: Waiting
04-Jun-2024 18:41:06 2b6c38ff3137: Waiting
04-Jun-2024 18:41:07 9e1d57009df4: Pushed
04-Jun-2024 18:41:07 8ac432a589d8: Pushed
04-Jun-2024 18:41:07 a15ef37ad68b: Pushed
04-Jun-2024 18:41:07 9877f1eb8a6d: Pushed
04-Jun-2024 18:41:08 809c53173804: Pushed
04-Jun-2024 18:41:08 ccb063697e4b: Layer already exists
04-Jun-2024 18:41:08 abdaa093b247: Layer already exists
04-Jun-2024 18:41:08 f0e1731fd286: Layer already exists
04-Jun-2024 18:41:08 2b6c38ff3137: Layer already exists
04-Jun-2024 18:41:08 d38f3d5a39fb: Layer already exists
04-Jun-2024 18:41:08 fe60061c6c4e: Layer already exists
04-Jun-2024 18:41:09 9b59e630bee4: Pushed
04-Jun-2024 18:41:09 3201a6540eb1: Pushed
04-Jun-2024 18:41:09 7d63f8777ebf: Layer already exists
04-Jun-2024 18:41:09 18fa0a98c62c: Pushed
04-Jun-2024 18:41:09 1b958b53b256: Layer already exists
04-Jun-2024 18:41:09 2c719774c1e1: Layer already exists
04-Jun-2024 18:41:09 ec62f19bb3aa: Layer already exists
04-Jun-2024 18:41:09 f94641f1fe1f: Layer already exists
04-Jun-2024 18:41:15 98b0bf0e27fe: Pushed
04-Jun-2024 18:41:17 2.2.2-SNAPSHOT: digest: sha256:0ebb943c006de1b3429fe79ac3bcc8508891782c10a4ecd7c972ac7b8c6e808b size: 4498
04-Jun-2024 18:41:17 Finished task 'Build and push docker image' with result: Success
04-Jun-2024 18:41:17 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
04-Jun-2024 18:41:17 Variable wasn't found in the Build context. It possibly doesn't exist.
04-Jun-2024 18:41:17 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:0ebb943c006de1b3429fe79ac3bcc8508891782c10a4ecd7c972ac7b8c6e808b
04-Jun-2024 18:41:17 Finished task 'Save docker image ID' with result: Success
04-Jun-2024 18:41:17 Running post build plugin 'Docker Container Cleanup'
04-Jun-2024 18:41:17 Running post build plugin 'NCover Results Collector'
04-Jun-2024 18:41:17 Running post build plugin 'Build Results Label Collector'
04-Jun-2024 18:41:17 Running post build plugin 'Clover Results Collector'
04-Jun-2024 18:41:17 Running post build plugin 'npm Cache Cleanup'
04-Jun-2024 18:41:17 Running post build plugin 'Artifact Copier'
04-Jun-2024 18:41:17 Finalising the build...
04-Jun-2024 18:41:17 Stopping timer.
04-Jun-2024 18:41:17 Build OP-OP2-PDI-91 completed.
04-Jun-2024 18:41:17 Running on server: post build plugin 'Build Hanging Detection Configuration'
04-Jun-2024 18:41:17 Running on server: post build plugin 'NCover Results Collector'
04-Jun-2024 18:41:17 Running on server: post build plugin 'Build Labeller'
04-Jun-2024 18:41:17 Running on server: post build plugin 'Clover Delta Calculator'
04-Jun-2024 18:41:17 Running on server: post build plugin 'Maven Dependencies Postprocessor'
04-Jun-2024 18:41:17 All post build plugins have finished
04-Jun-2024 18:41:17 Generating build results summary...
04-Jun-2024 18:41:17 Saving build results to disk...
04-Jun-2024 18:41:17 Store variable context...
04-Jun-2024 18:41:17 Finished building OP-OP2-PDI-91.