Build: #231 was successful
Job: Push docker image was successful
Build log
The build generated 192 lines of output. Download or view full build log.
21-Oct-2024 22:08:37 | Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #231 (OP-PLATFORM-PDI-231) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 |
21-Oct-2024 22:08:37 | Remote agent on host xiao.openmrs.org |
21-Oct-2024 22:08:37 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
21-Oct-2024 22:08:37 | Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #231 (OP-PLATFORM-PDI-231) |
21-Oct-2024 22:08:37 | Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: ) |
21-Oct-2024 22:08:41 | Artifact 'docker-compose-snapshot' prepared in 4.871 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
21-Oct-2024 22:08:41 | Running pre-build action: Build Log Labeller Pre Build Action |
21-Oct-2024 22:08:41 | Running pre-build action: VCS Version Collector |
21-Oct-2024 22:08:41 | Running pre-build action: Run Predator |
21-Oct-2024 22:08:41 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
21-Oct-2024 22:08:41 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
21-Oct-2024 22:08:41 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1295 java 1258 bamboo-age 2972Mb 473Mb 00:04:27 /usr/lib/jvm/java-8-ope |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1258 wrapper 1 bamboo-age 16Mb 2Mb 00:00:57 /home/bamboo-agent/bamb |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:05 /sbin/init |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Initial free space: 5.7179832 GB |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
21-Oct-2024 22:08:42 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] Final free space: 5.8157387 GB |
21-Oct-2024 22:08:43 | [PredatorPreBuildAction] Done |
21-Oct-2024 22:08:43 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
21-Oct-2024 22:08:43 | Substituting password variable: ${bamboo.dockerhub.password} |
21-Oct-2024 22:08:43 | Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT |
21-Oct-2024 22:08:43 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
21-Oct-2024 22:08:43 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
21-Oct-2024 22:08:43 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
21-Oct-2024 22:08:43 | Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
21-Oct-2024 22:08:43 | Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #231 (OP-PLATFORM-PDI-231)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-231-ScriptBuildTask-7397171425478211433.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
21-Oct-2024 22:08:43 | + [[ ehuB != ehuxB ]] |
21-Oct-2024 22:08:43 | Start of Lmod init/bash script to define the module command |
21-Oct-2024 22:08:43 | + echo 'Start of Lmod init/bash script to define the module command' |
21-Oct-2024 22:08:43 | + LMOD_PKG=/usr/share/lmod/lmod |
21-Oct-2024 22:08:43 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
21-Oct-2024 22:08:43 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
21-Oct-2024 22:08:43 | + MODULESHOME=/usr/share/lmod/lmod |
21-Oct-2024 22:08:43 | + export LMOD_PKG |
21-Oct-2024 22:08:43 | + export LMOD_CMD |
21-Oct-2024 22:08:43 | + export LMOD_DIR |
21-Oct-2024 22:08:43 | + export MODULESHOME |
21-Oct-2024 22:08:43 | + LMOD_VERSION=6.6 |
21-Oct-2024 22:08:43 | + export LMOD_VERSION |
21-Oct-2024 22:08:43 | + '[' : '!=' : ']' |
21-Oct-2024 22:08:43 | + unalias ml |
21-Oct-2024 22:08:43 | + true |
21-Oct-2024 22:08:43 | ++ echo YES |
21-Oct-2024 22:08:43 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
21-Oct-2024 22:08:43 | + export_module=yes |
21-Oct-2024 22:08:43 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
21-Oct-2024 22:08:43 | + export -f module |
21-Oct-2024 22:08:43 | + export -f ml |
21-Oct-2024 22:08:43 | + unset export_module |
21-Oct-2024 22:08:43 | + '[' -n '' ']' |
21-Oct-2024 22:08:43 | + '[' 5 -ge 3 ']' |
21-Oct-2024 22:08:43 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
21-Oct-2024 22:08:43 | + '[' -n '' ']' |
21-Oct-2024 22:08:43 | + [[ ehuB != ehuxB ]] |
21-Oct-2024 22:08:43 | + echo 'End of Lmod init/bash script to define the module command' |
21-Oct-2024 22:08:43 | End of Lmod init/bash script to define the module command |
21-Oct-2024 22:08:43 | + docker login -u openmrsci -p ******** |
21-Oct-2024 22:08:43 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
21-Oct-2024 22:08:43 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
21-Oct-2024 22:08:43 | Configure a credential helper to remove this warning. See |
21-Oct-2024 22:08:43 | https://docs.docker.com/engine/reference/commandline/login/#credentials-store |
21-Oct-2024 22:08:43 | |
21-Oct-2024 22:08:43 | Login Succeeded |
21-Oct-2024 22:08:43 | + set +x |
21-Oct-2024 22:08:44 | Sending build context to Docker daemon 137.9MB |
21-Oct-2024 22:08:44 | |
21-Oct-2024 22:08:44 | Step 1/11 : FROM tomcat:7-jre8 |
21-Oct-2024 22:08:45 | 7-jre8: Pulling from library/tomcat |
21-Oct-2024 22:08:45 | Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 |
21-Oct-2024 22:08:45 | Status: Downloaded newer image for tomcat:7-jre8 |
21-Oct-2024 22:08:45 | ---> 3037eb7cda68 |
21-Oct-2024 22:08:45 | Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war |
21-Oct-2024 22:08:47 | ---> f111cf002ab2 |
21-Oct-2024 22:08:47 | Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh |
21-Oct-2024 22:08:47 | ---> 9fae84a0f197 |
21-Oct-2024 22:08:47 | Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh |
21-Oct-2024 22:08:48 | ---> 749b7118c66a |
21-Oct-2024 22:08:48 | Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh |
21-Oct-2024 22:08:48 | ---> da9c317e9e70 |
21-Oct-2024 22:08:48 | Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml |
21-Oct-2024 22:08:48 | ---> Running in 359f9c2207ae |
21-Oct-2024 22:08:49 | Removing intermediate container 359f9c2207ae |
21-Oct-2024 22:08:49 | ---> 9226482c1e72 |
21-Oct-2024 22:08:49 | Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh |
21-Oct-2024 22:08:49 | ---> Running in e99556c98505 |
21-Oct-2024 22:08:49 | Removing intermediate container e99556c98505 |
21-Oct-2024 22:08:49 | ---> 33178ae2ace9 |
21-Oct-2024 22:08:49 | Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh |
21-Oct-2024 22:08:49 | ---> Running in 2d38143e20a3 |
21-Oct-2024 22:08:50 | Removing intermediate container 2d38143e20a3 |
21-Oct-2024 22:08:50 | ---> 394a9610af0e |
21-Oct-2024 22:08:50 | Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties |
21-Oct-2024 22:08:50 | ---> cb263f7ccc2a |
21-Oct-2024 22:08:50 | Step 10/11 : COPY Dockerfile /root/Dockerfile |
21-Oct-2024 22:08:50 | ---> 462c28d45a90 |
21-Oct-2024 22:08:50 | Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] |
21-Oct-2024 22:08:50 | ---> Running in aeb44da1b61b |
21-Oct-2024 22:08:51 | Removing intermediate container aeb44da1b61b |
21-Oct-2024 22:08:51 | ---> 6fbabf566111 |
21-Oct-2024 22:08:51 | Successfully built 6fbabf566111 |
21-Oct-2024 22:08:51 | Successfully tagged openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT |
21-Oct-2024 22:08:51 | The push refers to repository [docker.io/openmrs/openmrs-distro-platform] |
21-Oct-2024 22:08:51 | 68be139bf970: Preparing |
21-Oct-2024 22:08:51 | 0c1ae81d121b: Preparing |
21-Oct-2024 22:08:51 | 825ea50ad977: Preparing |
21-Oct-2024 22:08:51 | 2f9085cfc535: Preparing |
21-Oct-2024 22:08:51 | d45bfb50c02a: Preparing |
21-Oct-2024 22:08:51 | a703de5a677d: Preparing |
21-Oct-2024 22:08:51 | 8a74de2fc61d: Preparing |
21-Oct-2024 22:08:51 | ebc61962b6c2: Preparing |
21-Oct-2024 22:08:51 | 6fbd6067b7a4: Preparing |
21-Oct-2024 22:08:51 | ccb063697e4b: Preparing |
21-Oct-2024 22:08:51 | abdaa093b247: Preparing |
21-Oct-2024 22:08:51 | f0e1731fd286: Preparing |
21-Oct-2024 22:08:51 | 2b6c38ff3137: Preparing |
21-Oct-2024 22:08:51 | d38f3d5a39fb: Preparing |
21-Oct-2024 22:08:51 | fe60061c6c4e: Preparing |
21-Oct-2024 22:08:51 | 7d63f8777ebf: Preparing |
21-Oct-2024 22:08:51 | 1b958b53b256: Preparing |
21-Oct-2024 22:08:51 | 2c719774c1e1: Preparing |
21-Oct-2024 22:08:51 | ec62f19bb3aa: Preparing |
21-Oct-2024 22:08:51 | f94641f1fe1f: Preparing |
21-Oct-2024 22:08:51 | f0e1731fd286: Waiting |
21-Oct-2024 22:08:51 | 2b6c38ff3137: Waiting |
21-Oct-2024 22:08:51 | d38f3d5a39fb: Waiting |
21-Oct-2024 22:08:51 | fe60061c6c4e: Waiting |
21-Oct-2024 22:08:51 | 7d63f8777ebf: Waiting |
21-Oct-2024 22:08:51 | 1b958b53b256: Waiting |
21-Oct-2024 22:08:51 | 2c719774c1e1: Waiting |
21-Oct-2024 22:08:51 | ec62f19bb3aa: Waiting |
21-Oct-2024 22:08:51 | f94641f1fe1f: Waiting |
21-Oct-2024 22:08:51 | ebc61962b6c2: Waiting |
21-Oct-2024 22:08:51 | 6fbd6067b7a4: Waiting |
21-Oct-2024 22:08:51 | ccb063697e4b: Waiting |
21-Oct-2024 22:08:51 | abdaa093b247: Waiting |
21-Oct-2024 22:08:51 | a703de5a677d: Waiting |
21-Oct-2024 22:08:51 | 8a74de2fc61d: Waiting |
21-Oct-2024 22:08:52 | 68be139bf970: Pushed |
21-Oct-2024 22:08:52 | 2f9085cfc535: Pushed |
21-Oct-2024 22:08:52 | d45bfb50c02a: Pushed |
21-Oct-2024 22:08:52 | 0c1ae81d121b: Pushed |
21-Oct-2024 22:08:52 | 825ea50ad977: Pushed |
21-Oct-2024 22:08:52 | ccb063697e4b: Layer already exists |
21-Oct-2024 22:08:52 | abdaa093b247: Layer already exists |
21-Oct-2024 22:08:52 | f0e1731fd286: Layer already exists |
21-Oct-2024 22:08:52 | 2b6c38ff3137: Layer already exists |
21-Oct-2024 22:08:53 | d38f3d5a39fb: Layer already exists |
21-Oct-2024 22:08:53 | fe60061c6c4e: Layer already exists |
21-Oct-2024 22:08:53 | 7d63f8777ebf: Layer already exists |
21-Oct-2024 22:08:53 | 1b958b53b256: Layer already exists |
21-Oct-2024 22:08:53 | a703de5a677d: Pushed |
21-Oct-2024 22:08:53 | 2c719774c1e1: Layer already exists |
21-Oct-2024 22:08:53 | ec62f19bb3aa: Layer already exists |
21-Oct-2024 22:08:53 | ebc61962b6c2: Pushed |
21-Oct-2024 22:08:53 | 8a74de2fc61d: Pushed |
21-Oct-2024 22:08:53 | f94641f1fe1f: Layer already exists |
21-Oct-2024 22:09:00 | 6fbd6067b7a4: Pushed |
21-Oct-2024 22:09:02 | 2.4.6-SNAPSHOT: digest: sha256:57b2e78fa67d701802352e4cbc85e43f9920aac9596ca71d3ffa72f6afb401e3 size: 4498 |
21-Oct-2024 22:09:02 | Finished task 'Build and push docker image' with result: Success |
21-Oct-2024 22:09:02 | Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' |
21-Oct-2024 22:09:02 | Variable wasn't found in the Build context. It possibly doesn't exist. |
21-Oct-2024 22:09:02 | Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:57b2e78fa67d701802352e4cbc85e43f9920aac9596ca71d3ffa72f6afb401e3 |
21-Oct-2024 22:09:02 | Finished task 'Save docker image ID' with result: Success |
21-Oct-2024 22:09:02 | Running post build plugin 'Docker Container Cleanup' |
21-Oct-2024 22:09:02 | Running post build plugin 'NCover Results Collector' |
21-Oct-2024 22:09:02 | Running post build plugin 'Build Results Label Collector' |
21-Oct-2024 22:09:02 | Running post build plugin 'Clover Results Collector' |
21-Oct-2024 22:09:02 | Running post build plugin 'npm Cache Cleanup' |
21-Oct-2024 22:09:02 | Running post build plugin 'Artifact Copier' |
21-Oct-2024 22:09:02 | Finalising the build... |
21-Oct-2024 22:09:02 | Stopping timer. |
21-Oct-2024 22:09:02 | Build OP-PLATFORM-PDI-231 completed. |
21-Oct-2024 22:09:02 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
21-Oct-2024 22:09:02 | Running on server: post build plugin 'NCover Results Collector' |
21-Oct-2024 22:09:02 | Running on server: post build plugin 'Build Labeller' |
21-Oct-2024 22:09:02 | Running on server: post build plugin 'Clover Delta Calculator' |
21-Oct-2024 22:09:02 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
21-Oct-2024 22:09:02 | All post build plugins have finished |
21-Oct-2024 22:09:02 | Generating build results summary... |
21-Oct-2024 22:09:02 | Saving build results to disk... |
21-Oct-2024 22:09:02 | Store variable context... |
21-Oct-2024 22:09:02 | Finished building OP-PLATFORM-PDI-231. |