Build: #205 was successful
Job: Push docker image was successful
Build log
The build generated 243 lines of output. Download or view full build log.
31-Oct-2024 12:58:08 | Build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 |
31-Oct-2024 12:58:08 | Remote agent on host yu.openmrs.org |
31-Oct-2024 12:58:08 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI |
31-Oct-2024 12:58:08 | Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205) |
31-Oct-2024 12:58:08 | Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI (location: ) |
31-Oct-2024 12:58:12 | Artifact 'docker-compose-snapshot' prepared in 4.025 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI |
31-Oct-2024 12:58:12 | Running pre-build action: Build Log Labeller Pre Build Action |
31-Oct-2024 12:58:12 | Running pre-build action: VCS Version Collector |
31-Oct-2024 12:58:12 | Running pre-build action: Run Predator |
31-Oct-2024 12:58:12 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
31-Oct-2024 12:58:12 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
31-Oct-2024 12:58:12 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 22113 java 1349 bamboo-age 2981Mb 437Mb 00:00:53 /usr/lib/jvm/java-8-ope |
31-Oct-2024 12:58:27 | [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:58:27 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:27 /sbin/init |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Initial free space: 3.3438454 GB |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository |
31-Oct-2024 12:58:27 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] Final free space: 3.43824 GB |
31-Oct-2024 12:58:28 | [PredatorPreBuildAction] Done |
31-Oct-2024 12:58:28 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
31-Oct-2024 12:58:28 | Substituting password variable: ${bamboo.dockerhub.password} |
31-Oct-2024 12:58:28 | Substituting variable: ${bamboo.maven.snapshot.version} with 2.3.7-SNAPSHOT |
31-Oct-2024 12:58:28 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
31-Oct-2024 12:58:28 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
31-Oct-2024 12:58:28 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
31-Oct-2024 12:58:28 | Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
31-Oct-2024 12:58:28 | Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/OP-OP3-PDI-205-ScriptBuildTask-3280254868451803567.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI |
31-Oct-2024 12:58:28 | Start of Lmod init/bash script to define the module command |
31-Oct-2024 12:58:28 | + [[ ehuB != ehuxB ]] |
31-Oct-2024 12:58:28 | + echo 'Start of Lmod init/bash script to define the module command' |
31-Oct-2024 12:58:28 | + LMOD_PKG=/usr/share/lmod/lmod |
31-Oct-2024 12:58:28 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
31-Oct-2024 12:58:28 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
31-Oct-2024 12:58:28 | + MODULESHOME=/usr/share/lmod/lmod |
31-Oct-2024 12:58:28 | + export LMOD_PKG |
31-Oct-2024 12:58:28 | + export LMOD_CMD |
31-Oct-2024 12:58:28 | + export LMOD_DIR |
31-Oct-2024 12:58:28 | + export MODULESHOME |
31-Oct-2024 12:58:28 | + LMOD_VERSION=6.6 |
31-Oct-2024 12:58:28 | + export LMOD_VERSION |
31-Oct-2024 12:58:28 | + '[' : '!=' : ']' |
31-Oct-2024 12:58:28 | + unalias ml |
31-Oct-2024 12:58:28 | + true |
31-Oct-2024 12:58:28 | ++ echo YES |
31-Oct-2024 12:58:28 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
31-Oct-2024 12:58:28 | + export_module=yes |
31-Oct-2024 12:58:28 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
31-Oct-2024 12:58:28 | + export -f module |
31-Oct-2024 12:58:28 | + export -f ml |
31-Oct-2024 12:58:28 | + unset export_module |
31-Oct-2024 12:58:28 | + '[' -n '' ']' |
31-Oct-2024 12:58:28 | + '[' 5 -ge 3 ']' |
31-Oct-2024 12:58:28 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
31-Oct-2024 12:58:28 | + '[' -n '' ']' |
31-Oct-2024 12:58:28 | + [[ ehuB != ehuxB ]] |
31-Oct-2024 12:58:28 | + echo 'End of Lmod init/bash script to define the module command' |
31-Oct-2024 12:58:28 | End of Lmod init/bash script to define the module command |
31-Oct-2024 12:58:28 | + docker login -u openmrsci -p ******** |
31-Oct-2024 12:58:28 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
31-Oct-2024 12:58:28 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
31-Oct-2024 12:58:28 | Configure a credential helper to remove this warning. See |
31-Oct-2024 12:58:28 | https://docs.docker.com/engine/reference/commandline/login/#credentials-store |
31-Oct-2024 12:58:28 | |
31-Oct-2024 12:58:28 | Login Succeeded |
31-Oct-2024 12:58:28 | + set +x |
31-Oct-2024 12:58:29 | Sending build context to Docker daemon 104.5MB |
31-Oct-2024 12:58:29 | |
31-Oct-2024 12:58:29 | Step 1/11 : FROM tomcat:7-jre8 |
31-Oct-2024 12:58:29 | 7-jre8: Pulling from library/tomcat |
31-Oct-2024 12:58:30 | c5e155d5a1d1: Pulling fs layer |
31-Oct-2024 12:58:30 | 221d80d00ae9: Pulling fs layer |
31-Oct-2024 12:58:30 | 4250b3117dca: Pulling fs layer |
31-Oct-2024 12:58:30 | d1370422ab93: Pulling fs layer |
31-Oct-2024 12:58:30 | deb6b03222ca: Pulling fs layer |
31-Oct-2024 12:58:30 | 9cdea8d70cc3: Pulling fs layer |
31-Oct-2024 12:58:30 | 968505be14db: Pulling fs layer |
31-Oct-2024 12:58:30 | 04b5c270ac81: Pulling fs layer |
31-Oct-2024 12:58:30 | 301d76fcab1f: Pulling fs layer |
31-Oct-2024 12:58:30 | ddf85cd1cc29: Pulling fs layer |
31-Oct-2024 12:58:30 | ef1e6f25e812: Pulling fs layer |
31-Oct-2024 12:58:30 | d1370422ab93: Waiting |
31-Oct-2024 12:58:30 | deb6b03222ca: Waiting |
31-Oct-2024 12:58:30 | 04b5c270ac81: Waiting |
31-Oct-2024 12:58:30 | 9cdea8d70cc3: Waiting |
31-Oct-2024 12:58:30 | 968505be14db: Waiting |
31-Oct-2024 12:58:30 | 301d76fcab1f: Waiting |
31-Oct-2024 12:58:30 | ef1e6f25e812: Waiting |
31-Oct-2024 12:58:30 | ddf85cd1cc29: Waiting |
31-Oct-2024 12:58:30 | 4250b3117dca: Verifying Checksum |
31-Oct-2024 12:58:30 | 4250b3117dca: Download complete |
31-Oct-2024 12:58:30 | 221d80d00ae9: Verifying Checksum |
31-Oct-2024 12:58:30 | 221d80d00ae9: Download complete |
31-Oct-2024 12:58:30 | d1370422ab93: Verifying Checksum |
31-Oct-2024 12:58:30 | d1370422ab93: Download complete |
31-Oct-2024 12:58:30 | deb6b03222ca: Verifying Checksum |
31-Oct-2024 12:58:30 | deb6b03222ca: Download complete |
31-Oct-2024 12:58:30 | 9cdea8d70cc3: Verifying Checksum |
31-Oct-2024 12:58:30 | 9cdea8d70cc3: Download complete |
31-Oct-2024 12:58:30 | c5e155d5a1d1: Verifying Checksum |
31-Oct-2024 12:58:30 | c5e155d5a1d1: Download complete |
31-Oct-2024 12:58:30 | 04b5c270ac81: Verifying Checksum |
31-Oct-2024 12:58:30 | 04b5c270ac81: Download complete |
31-Oct-2024 12:58:30 | 301d76fcab1f: Verifying Checksum |
31-Oct-2024 12:58:30 | 301d76fcab1f: Download complete |
31-Oct-2024 12:58:30 | ef1e6f25e812: Verifying Checksum |
31-Oct-2024 12:58:30 | ef1e6f25e812: Download complete |
31-Oct-2024 12:58:30 | ddf85cd1cc29: Verifying Checksum |
31-Oct-2024 12:58:30 | ddf85cd1cc29: Download complete |
31-Oct-2024 12:58:32 | 968505be14db: Download complete |
31-Oct-2024 12:58:33 | c5e155d5a1d1: Pull complete |
31-Oct-2024 12:58:34 | 221d80d00ae9: Pull complete |
31-Oct-2024 12:58:34 | 4250b3117dca: Pull complete |
31-Oct-2024 12:58:34 | d1370422ab93: Pull complete |
31-Oct-2024 12:58:34 | deb6b03222ca: Pull complete |
31-Oct-2024 12:58:34 | 9cdea8d70cc3: Pull complete |
31-Oct-2024 12:58:39 | 968505be14db: Pull complete |
31-Oct-2024 12:58:39 | 04b5c270ac81: Pull complete |
31-Oct-2024 12:58:39 | 301d76fcab1f: Pull complete |
31-Oct-2024 12:58:39 | ddf85cd1cc29: Pull complete |
31-Oct-2024 12:58:39 | ef1e6f25e812: Pull complete |
31-Oct-2024 12:58:39 | Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 |
31-Oct-2024 12:58:39 | Status: Downloaded newer image for tomcat:7-jre8 |
31-Oct-2024 12:58:39 | ---> 3037eb7cda68 |
31-Oct-2024 12:58:39 | Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war |
31-Oct-2024 12:58:40 | ---> dbbd995741ab |
31-Oct-2024 12:58:40 | Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh |
31-Oct-2024 12:58:41 | ---> eaac958d597a |
31-Oct-2024 12:58:41 | Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh |
31-Oct-2024 12:58:41 | ---> 23675cd14dd9 |
31-Oct-2024 12:58:41 | Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh |
31-Oct-2024 12:58:41 | ---> 044166cc95bc |
31-Oct-2024 12:58:41 | 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:58:41 | ---> Running in 126399031b6c |
31-Oct-2024 12:58:41 | Removing intermediate container 126399031b6c |
31-Oct-2024 12:58:41 | ---> de3b3e30fe51 |
31-Oct-2024 12:58:41 | Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh |
31-Oct-2024 12:58:41 | ---> Running in af056566a476 |
31-Oct-2024 12:58:42 | Removing intermediate container af056566a476 |
31-Oct-2024 12:58:42 | ---> 48f76affc3ad |
31-Oct-2024 12:58:42 | Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh |
31-Oct-2024 12:58:42 | ---> Running in 82d652f4b483 |
31-Oct-2024 12:58:43 | Removing intermediate container 82d652f4b483 |
31-Oct-2024 12:58:43 | ---> 6588b8ddd3d0 |
31-Oct-2024 12:58:43 | Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties |
31-Oct-2024 12:58:43 | ---> 9b3b1636aa9e |
31-Oct-2024 12:58:43 | Step 10/11 : COPY Dockerfile /root/Dockerfile |
31-Oct-2024 12:58:43 | ---> 25fa9bf4a65f |
31-Oct-2024 12:58:43 | Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] |
31-Oct-2024 12:58:43 | ---> Running in 658e3c8c21e8 |
31-Oct-2024 12:58:43 | Removing intermediate container 658e3c8c21e8 |
31-Oct-2024 12:58:43 | ---> 17568bfffeab |
31-Oct-2024 12:58:43 | Successfully built 17568bfffeab |
31-Oct-2024 12:58:43 | Successfully tagged openmrs/openmrs-distro-platform:2.3.7-SNAPSHOT |
31-Oct-2024 12:58:43 | The push refers to repository [docker.io/openmrs/openmrs-distro-platform] |
31-Oct-2024 12:58:43 | 873d491e7f50: Preparing |
31-Oct-2024 12:58:43 | f8d54d2c544f: Preparing |
31-Oct-2024 12:58:43 | 15d7fe898210: Preparing |
31-Oct-2024 12:58:43 | b31badd6c56a: Preparing |
31-Oct-2024 12:58:43 | bba03803bef4: Preparing |
31-Oct-2024 12:58:43 | 2ed5ecf5af02: Preparing |
31-Oct-2024 12:58:43 | 0d7313160faf: Preparing |
31-Oct-2024 12:58:43 | b78901b5b7f2: Preparing |
31-Oct-2024 12:58:43 | bef026fad877: Preparing |
31-Oct-2024 12:58:43 | ccb063697e4b: Preparing |
31-Oct-2024 12:58:43 | abdaa093b247: Preparing |
31-Oct-2024 12:58:43 | f0e1731fd286: Preparing |
31-Oct-2024 12:58:43 | 2b6c38ff3137: Preparing |
31-Oct-2024 12:58:43 | d38f3d5a39fb: Preparing |
31-Oct-2024 12:58:43 | fe60061c6c4e: Preparing |
31-Oct-2024 12:58:43 | 7d63f8777ebf: Preparing |
31-Oct-2024 12:58:43 | 1b958b53b256: Preparing |
31-Oct-2024 12:58:43 | 2c719774c1e1: Preparing |
31-Oct-2024 12:58:43 | ec62f19bb3aa: Preparing |
31-Oct-2024 12:58:43 | f94641f1fe1f: Preparing |
31-Oct-2024 12:58:43 | abdaa093b247: Waiting |
31-Oct-2024 12:58:43 | f0e1731fd286: Waiting |
31-Oct-2024 12:58:43 | 2b6c38ff3137: Waiting |
31-Oct-2024 12:58:43 | d38f3d5a39fb: Waiting |
31-Oct-2024 12:58:43 | fe60061c6c4e: Waiting |
31-Oct-2024 12:58:43 | 7d63f8777ebf: Waiting |
31-Oct-2024 12:58:43 | 1b958b53b256: Waiting |
31-Oct-2024 12:58:43 | 2c719774c1e1: Waiting |
31-Oct-2024 12:58:43 | ec62f19bb3aa: Waiting |
31-Oct-2024 12:58:43 | f94641f1fe1f: Waiting |
31-Oct-2024 12:58:43 | 0d7313160faf: Waiting |
31-Oct-2024 12:58:43 | b78901b5b7f2: Waiting |
31-Oct-2024 12:58:43 | bef026fad877: Waiting |
31-Oct-2024 12:58:43 | ccb063697e4b: Waiting |
31-Oct-2024 12:58:43 | 2ed5ecf5af02: Waiting |
31-Oct-2024 12:58:45 | b31badd6c56a: Pushed |
31-Oct-2024 12:58:45 | f8d54d2c544f: Pushed |
31-Oct-2024 12:58:45 | 15d7fe898210: Pushed |
31-Oct-2024 12:58:45 | 873d491e7f50: Pushed |
31-Oct-2024 12:58:45 | bba03803bef4: Pushed |
31-Oct-2024 12:58:45 | ccb063697e4b: Layer already exists |
31-Oct-2024 12:58:45 | abdaa093b247: Layer already exists |
31-Oct-2024 12:58:45 | f0e1731fd286: Layer already exists |
31-Oct-2024 12:58:45 | 2b6c38ff3137: Layer already exists |
31-Oct-2024 12:58:45 | d38f3d5a39fb: Layer already exists |
31-Oct-2024 12:58:46 | fe60061c6c4e: Layer already exists |
31-Oct-2024 12:58:46 | 2ed5ecf5af02: Pushed |
31-Oct-2024 12:58:46 | 7d63f8777ebf: Layer already exists |
31-Oct-2024 12:58:46 | b78901b5b7f2: Pushed |
31-Oct-2024 12:58:46 | 2c719774c1e1: Layer already exists |
31-Oct-2024 12:58:46 | 0d7313160faf: Pushed |
31-Oct-2024 12:58:46 | 1b958b53b256: Layer already exists |
31-Oct-2024 12:58:46 | ec62f19bb3aa: Layer already exists |
31-Oct-2024 12:58:46 | f94641f1fe1f: Layer already exists |
31-Oct-2024 12:58:51 | bef026fad877: Pushed |
31-Oct-2024 12:58:53 | 2.3.7-SNAPSHOT: digest: sha256:4edf94111ffad49fc57ca36ec581acadeedf8b061009f47aca6b11ba37bfa84f size: 4498 |
31-Oct-2024 12:58:53 | Finished task 'Build and push docker image' with result: Success |
31-Oct-2024 12:58:53 | 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:53 | Variable wasn't found in the Build context. It possibly doesn't exist. |
31-Oct-2024 12:58:53 | Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:4edf94111ffad49fc57ca36ec581acadeedf8b061009f47aca6b11ba37bfa84f |
31-Oct-2024 12:58:53 | Finished task 'Save docker image ID' with result: Success |
31-Oct-2024 12:58:53 | Running post build plugin 'Docker Container Cleanup' |
31-Oct-2024 12:58:53 | Running post build plugin 'NCover Results Collector' |
31-Oct-2024 12:58:53 | Running post build plugin 'Build Results Label Collector' |
31-Oct-2024 12:58:53 | Running post build plugin 'Clover Results Collector' |
31-Oct-2024 12:58:53 | Running post build plugin 'npm Cache Cleanup' |
31-Oct-2024 12:58:53 | Running post build plugin 'Artifact Copier' |
31-Oct-2024 12:58:53 | Finalising the build... |
31-Oct-2024 12:58:53 | Stopping timer. |
31-Oct-2024 12:58:53 | Build OP-OP3-PDI-205 completed. |
31-Oct-2024 12:58:53 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
31-Oct-2024 12:58:53 | Running on server: post build plugin 'NCover Results Collector' |
31-Oct-2024 12:58:53 | Running on server: post build plugin 'Build Labeller' |
31-Oct-2024 12:58:53 | Running on server: post build plugin 'Clover Delta Calculator' |
31-Oct-2024 12:58:53 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
31-Oct-2024 12:58:53 | All post build plugins have finished |
31-Oct-2024 12:58:53 | Generating build results summary... |
31-Oct-2024 12:58:53 | Saving build results to disk... |
31-Oct-2024 12:58:53 | Store variable context... |
31-Oct-2024 12:58:53 | Finished building OP-OP3-PDI-205. |