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.
26-Apr-2024 00:42:45 | Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 |
26-Apr-2024 00:42:45 | Remote agent on host xiao.openmrs.org |
26-Apr-2024 00:42:45 | Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
26-Apr-2024 00:42:45 | Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205) |
26-Apr-2024 00:42:45 | Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: ) |
26-Apr-2024 00:42:51 | Artifact 'docker-compose-snapshot' prepared in 5.775 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
26-Apr-2024 00:42:51 | Running pre-build action: Build Log Labeller Pre Build Action |
26-Apr-2024 00:42:51 | Running pre-build action: VCS Version Collector |
26-Apr-2024 00:42:51 | Running pre-build action: Run Predator |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1683 java 1229 bamboo-age 2967Mb 429Mb 00:08:41 /usr/lib/jvm/java-8-ope |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1229 wrapper 1 bamboo-age 16Mb 2Mb 00:02:16 /home/bamboo-agent/bamb |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:12 /sbin/init |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Initial free space: 5.162304 GB |
26-Apr-2024 00:42:51 | [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM-TOM |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] Maven stable disk freed: 0.77545595 GB, deleted 907 files |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] Final free space: 5.162571 GB |
26-Apr-2024 00:42:52 | [PredatorPreBuildAction] Done |
26-Apr-2024 00:42:52 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
26-Apr-2024 00:42:52 | Substituting password variable: ${bamboo.dockerhub.password} |
26-Apr-2024 00:42:52 | Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT |
26-Apr-2024 00:42:52 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
26-Apr-2024 00:42:52 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
26-Apr-2024 00:42:52 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform |
26-Apr-2024 00:42:52 | Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
26-Apr-2024 00:42:52 | Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205)' ... running command line: /home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-205-ScriptBuildTask-4550247420982403686.sh ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI |
26-Apr-2024 00:42:52 | Start of Lmod init/bash script to define the module command |
26-Apr-2024 00:42:52 | + [[ ehuB != ehuxB ]] |
26-Apr-2024 00:42:52 | + echo 'Start of Lmod init/bash script to define the module command' |
26-Apr-2024 00:42:52 | + LMOD_PKG=/usr/share/lmod/lmod |
26-Apr-2024 00:42:52 | + LMOD_DIR=/usr/share/lmod/lmod/libexec |
26-Apr-2024 00:42:52 | + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod |
26-Apr-2024 00:42:52 | + MODULESHOME=/usr/share/lmod/lmod |
26-Apr-2024 00:42:52 | + export LMOD_PKG |
26-Apr-2024 00:42:52 | + export LMOD_CMD |
26-Apr-2024 00:42:52 | + export LMOD_DIR |
26-Apr-2024 00:42:52 | + export MODULESHOME |
26-Apr-2024 00:42:52 | + LMOD_VERSION=6.6 |
26-Apr-2024 00:42:52 | + export LMOD_VERSION |
26-Apr-2024 00:42:52 | + '[' : '!=' : ']' |
26-Apr-2024 00:42:52 | + unalias ml |
26-Apr-2024 00:42:52 | + true |
26-Apr-2024 00:42:52 | ++ /usr/bin/tr '[:upper:]' '[:lower:]' |
26-Apr-2024 00:42:52 | ++ echo YES |
26-Apr-2024 00:42:52 | End of Lmod init/bash script to define the module command |
26-Apr-2024 00:42:52 | + export_module=yes |
26-Apr-2024 00:42:52 | + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' |
26-Apr-2024 00:42:52 | + export -f module |
26-Apr-2024 00:42:52 | + export -f ml |
26-Apr-2024 00:42:52 | + unset export_module |
26-Apr-2024 00:42:52 | + '[' -n '' ']' |
26-Apr-2024 00:42:52 | + '[' 5 -ge 3 ']' |
26-Apr-2024 00:42:52 | + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' |
26-Apr-2024 00:42:52 | + '[' -n '' ']' |
26-Apr-2024 00:42:52 | + [[ ehuB != ehuxB ]] |
26-Apr-2024 00:42:52 | + echo 'End of Lmod init/bash script to define the module command' |
26-Apr-2024 00:42:52 | + docker login -u openmrsci -p ******** |
26-Apr-2024 00:42:52 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
26-Apr-2024 00:42:52 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
26-Apr-2024 00:42:52 | Configure a credential helper to remove this warning. See |
26-Apr-2024 00:42:52 | https://docs.docker.com/engine/reference/commandline/login/#credentials-store |
26-Apr-2024 00:42:52 | |
26-Apr-2024 00:42:52 | Login Succeeded |
26-Apr-2024 00:42:52 | + set +x |
26-Apr-2024 00:42:53 | Sending build context to Docker daemon 137.9MB |
26-Apr-2024 00:42:53 | |
26-Apr-2024 00:42:53 | Step 1/11 : FROM tomcat:7-jre8 |
26-Apr-2024 00:42:54 | 7-jre8: Pulling from library/tomcat |
26-Apr-2024 00:42:54 | c5e155d5a1d1: Pulling fs layer |
26-Apr-2024 00:42:54 | 221d80d00ae9: Pulling fs layer |
26-Apr-2024 00:42:54 | 4250b3117dca: Pulling fs layer |
26-Apr-2024 00:42:54 | d1370422ab93: Pulling fs layer |
26-Apr-2024 00:42:54 | deb6b03222ca: Pulling fs layer |
26-Apr-2024 00:42:54 | 9cdea8d70cc3: Pulling fs layer |
26-Apr-2024 00:42:54 | 968505be14db: Pulling fs layer |
26-Apr-2024 00:42:54 | 04b5c270ac81: Pulling fs layer |
26-Apr-2024 00:42:54 | d1370422ab93: Waiting |
26-Apr-2024 00:42:54 | deb6b03222ca: Waiting |
26-Apr-2024 00:42:54 | 9cdea8d70cc3: Waiting |
26-Apr-2024 00:42:54 | 968505be14db: Waiting |
26-Apr-2024 00:42:54 | 301d76fcab1f: Pulling fs layer |
26-Apr-2024 00:42:54 | 04b5c270ac81: Waiting |
26-Apr-2024 00:42:54 | 301d76fcab1f: Waiting |
26-Apr-2024 00:42:54 | ddf85cd1cc29: Pulling fs layer |
26-Apr-2024 00:42:54 | ef1e6f25e812: Pulling fs layer |
26-Apr-2024 00:42:54 | ddf85cd1cc29: Waiting |
26-Apr-2024 00:42:54 | ef1e6f25e812: Waiting |
26-Apr-2024 00:42:54 | 4250b3117dca: Verifying Checksum |
26-Apr-2024 00:42:54 | 4250b3117dca: Download complete |
26-Apr-2024 00:42:54 | 221d80d00ae9: Verifying Checksum |
26-Apr-2024 00:42:54 | 221d80d00ae9: Download complete |
26-Apr-2024 00:42:54 | d1370422ab93: Verifying Checksum |
26-Apr-2024 00:42:54 | d1370422ab93: Download complete |
26-Apr-2024 00:42:54 | c5e155d5a1d1: Verifying Checksum |
26-Apr-2024 00:42:54 | c5e155d5a1d1: Download complete |
26-Apr-2024 00:42:54 | 9cdea8d70cc3: Verifying Checksum |
26-Apr-2024 00:42:54 | 9cdea8d70cc3: Download complete |
26-Apr-2024 00:42:54 | deb6b03222ca: Verifying Checksum |
26-Apr-2024 00:42:54 | deb6b03222ca: Download complete |
26-Apr-2024 00:42:55 | 04b5c270ac81: Download complete |
26-Apr-2024 00:42:55 | 301d76fcab1f: Verifying Checksum |
26-Apr-2024 00:42:55 | 301d76fcab1f: Download complete |
26-Apr-2024 00:42:55 | ef1e6f25e812: Verifying Checksum |
26-Apr-2024 00:42:55 | ef1e6f25e812: Download complete |
26-Apr-2024 00:42:55 | ddf85cd1cc29: Verifying Checksum |
26-Apr-2024 00:42:55 | ddf85cd1cc29: Download complete |
26-Apr-2024 00:42:56 | 968505be14db: Verifying Checksum |
26-Apr-2024 00:42:56 | 968505be14db: Download complete |
26-Apr-2024 00:42:57 | c5e155d5a1d1: Pull complete |
26-Apr-2024 00:42:57 | 221d80d00ae9: Pull complete |
26-Apr-2024 00:42:58 | 4250b3117dca: Pull complete |
26-Apr-2024 00:42:58 | d1370422ab93: Pull complete |
26-Apr-2024 00:42:58 | deb6b03222ca: Pull complete |
26-Apr-2024 00:42:58 | 9cdea8d70cc3: Pull complete |
26-Apr-2024 00:43:02 | 968505be14db: Pull complete |
26-Apr-2024 00:43:02 | 04b5c270ac81: Pull complete |
26-Apr-2024 00:43:02 | 301d76fcab1f: Pull complete |
26-Apr-2024 00:43:03 | ddf85cd1cc29: Pull complete |
26-Apr-2024 00:43:03 | ef1e6f25e812: Pull complete |
26-Apr-2024 00:43:03 | Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 |
26-Apr-2024 00:43:03 | Status: Downloaded newer image for tomcat:7-jre8 |
26-Apr-2024 00:43:03 | ---> 3037eb7cda68 |
26-Apr-2024 00:43:03 | Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war |
26-Apr-2024 00:43:04 | ---> 34bf0b922aad |
26-Apr-2024 00:43:04 | Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh |
26-Apr-2024 00:43:04 | ---> 30bc618b20c5 |
26-Apr-2024 00:43:04 | Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh |
26-Apr-2024 00:43:04 | ---> 8377a38fb3ea |
26-Apr-2024 00:43:04 | Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh |
26-Apr-2024 00:43:04 | ---> 315e7e7a8db8 |
26-Apr-2024 00:43:04 | Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml |
26-Apr-2024 00:43:04 | ---> Running in c3fed0b62212 |
26-Apr-2024 00:43:05 | Removing intermediate container c3fed0b62212 |
26-Apr-2024 00:43:05 | ---> fb7b3d7c2be5 |
26-Apr-2024 00:43:05 | Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh |
26-Apr-2024 00:43:05 | ---> Running in 6730a65970e0 |
26-Apr-2024 00:43:05 | Removing intermediate container 6730a65970e0 |
26-Apr-2024 00:43:05 | ---> 902095fa0665 |
26-Apr-2024 00:43:05 | Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh |
26-Apr-2024 00:43:05 | ---> Running in da97ab22f34b |
26-Apr-2024 00:43:06 | Removing intermediate container da97ab22f34b |
26-Apr-2024 00:43:06 | ---> 55041ae02f14 |
26-Apr-2024 00:43:06 | Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties |
26-Apr-2024 00:43:06 | ---> 96dfd8618ac4 |
26-Apr-2024 00:43:06 | Step 10/11 : COPY Dockerfile /root/Dockerfile |
26-Apr-2024 00:43:06 | ---> eeec6e3f6c03 |
26-Apr-2024 00:43:06 | Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] |
26-Apr-2024 00:43:06 | ---> Running in 832440a7c2c8 |
26-Apr-2024 00:43:06 | Removing intermediate container 832440a7c2c8 |
26-Apr-2024 00:43:06 | ---> 7cc82bda9f5f |
26-Apr-2024 00:43:06 | Successfully built 7cc82bda9f5f |
26-Apr-2024 00:43:06 | Successfully tagged openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT |
26-Apr-2024 00:43:06 | The push refers to repository [docker.io/openmrs/openmrs-distro-platform] |
26-Apr-2024 00:43:06 | cc9f2e375653: Preparing |
26-Apr-2024 00:43:06 | d485c0b959c2: Preparing |
26-Apr-2024 00:43:06 | 87f2c1bdef6e: Preparing |
26-Apr-2024 00:43:06 | 13424e44c81a: Preparing |
26-Apr-2024 00:43:06 | f11acc54708d: Preparing |
26-Apr-2024 00:43:06 | f54683d0ed2f: Preparing |
26-Apr-2024 00:43:06 | 5cbaa052ece4: Preparing |
26-Apr-2024 00:43:06 | 675698454727: Preparing |
26-Apr-2024 00:43:06 | 0bfa43d2a455: Preparing |
26-Apr-2024 00:43:06 | ccb063697e4b: Preparing |
26-Apr-2024 00:43:06 | abdaa093b247: Preparing |
26-Apr-2024 00:43:06 | f0e1731fd286: Preparing |
26-Apr-2024 00:43:06 | 2b6c38ff3137: Preparing |
26-Apr-2024 00:43:06 | d38f3d5a39fb: Preparing |
26-Apr-2024 00:43:06 | fe60061c6c4e: Preparing |
26-Apr-2024 00:43:06 | 7d63f8777ebf: Preparing |
26-Apr-2024 00:43:06 | 1b958b53b256: Preparing |
26-Apr-2024 00:43:06 | 2c719774c1e1: Preparing |
26-Apr-2024 00:43:06 | ec62f19bb3aa: Preparing |
26-Apr-2024 00:43:06 | f94641f1fe1f: Preparing |
26-Apr-2024 00:43:06 | f54683d0ed2f: Waiting |
26-Apr-2024 00:43:06 | 5cbaa052ece4: Waiting |
26-Apr-2024 00:43:06 | 2b6c38ff3137: Waiting |
26-Apr-2024 00:43:06 | 675698454727: Waiting |
26-Apr-2024 00:43:06 | d38f3d5a39fb: Waiting |
26-Apr-2024 00:43:06 | 0bfa43d2a455: Waiting |
26-Apr-2024 00:43:06 | fe60061c6c4e: Waiting |
26-Apr-2024 00:43:06 | 7d63f8777ebf: Waiting |
26-Apr-2024 00:43:06 | ccb063697e4b: Waiting |
26-Apr-2024 00:43:06 | abdaa093b247: Waiting |
26-Apr-2024 00:43:06 | f0e1731fd286: Waiting |
26-Apr-2024 00:43:06 | 1b958b53b256: Waiting |
26-Apr-2024 00:43:06 | 2c719774c1e1: Waiting |
26-Apr-2024 00:43:06 | ec62f19bb3aa: Waiting |
26-Apr-2024 00:43:06 | f94641f1fe1f: Waiting |
26-Apr-2024 00:43:08 | 87f2c1bdef6e: Pushed |
26-Apr-2024 00:43:08 | f11acc54708d: Pushed |
26-Apr-2024 00:43:08 | d485c0b959c2: Pushed |
26-Apr-2024 00:43:08 | 13424e44c81a: Pushed |
26-Apr-2024 00:43:08 | cc9f2e375653: Pushed |
26-Apr-2024 00:43:08 | ccb063697e4b: Layer already exists |
26-Apr-2024 00:43:08 | abdaa093b247: Layer already exists |
26-Apr-2024 00:43:08 | f0e1731fd286: Layer already exists |
26-Apr-2024 00:43:08 | 2b6c38ff3137: Layer already exists |
26-Apr-2024 00:43:08 | d38f3d5a39fb: Layer already exists |
26-Apr-2024 00:43:09 | fe60061c6c4e: Layer already exists |
26-Apr-2024 00:43:09 | 7d63f8777ebf: Layer already exists |
26-Apr-2024 00:43:09 | 1b958b53b256: Layer already exists |
26-Apr-2024 00:43:09 | 2c719774c1e1: Layer already exists |
26-Apr-2024 00:43:09 | f54683d0ed2f: Pushed |
26-Apr-2024 00:43:09 | ec62f19bb3aa: Layer already exists |
26-Apr-2024 00:43:09 | f94641f1fe1f: Layer already exists |
26-Apr-2024 00:43:09 | 5cbaa052ece4: Pushed |
26-Apr-2024 00:43:09 | 675698454727: Pushed |
26-Apr-2024 00:43:16 | 0bfa43d2a455: Pushed |
26-Apr-2024 00:43:18 | 2.4.6-SNAPSHOT: digest: sha256:9e7776ba10d071b148a7bbeb388ad04e539abbdd2e5a49408d723a0f2ffc4447 size: 4498 |
26-Apr-2024 00:43:18 | Finished task 'Build and push docker image' with result: Success |
26-Apr-2024 00:43:18 | Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' |
26-Apr-2024 00:43:18 | Variable wasn't found in the Build context. It possibly doesn't exist. |
26-Apr-2024 00:43:18 | Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:9e7776ba10d071b148a7bbeb388ad04e539abbdd2e5a49408d723a0f2ffc4447 |
26-Apr-2024 00:43:18 | Finished task 'Save docker image ID' with result: Success |
26-Apr-2024 00:43:18 | Running post build plugin 'Docker Container Cleanup' |
26-Apr-2024 00:43:18 | Running post build plugin 'NCover Results Collector' |
26-Apr-2024 00:43:18 | Running post build plugin 'Build Results Label Collector' |
26-Apr-2024 00:43:18 | Running post build plugin 'Clover Results Collector' |
26-Apr-2024 00:43:18 | Running post build plugin 'npm Cache Cleanup' |
26-Apr-2024 00:43:18 | Running post build plugin 'Artifact Copier' |
26-Apr-2024 00:43:18 | Finalising the build... |
26-Apr-2024 00:43:18 | Stopping timer. |
26-Apr-2024 00:43:18 | Build OP-PLATFORM-PDI-205 completed. |
26-Apr-2024 00:43:18 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
26-Apr-2024 00:43:18 | Running on server: post build plugin 'NCover Results Collector' |
26-Apr-2024 00:43:18 | Running on server: post build plugin 'Build Labeller' |
26-Apr-2024 00:43:18 | Running on server: post build plugin 'Clover Delta Calculator' |
26-Apr-2024 00:43:18 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
26-Apr-2024 00:43:18 | All post build plugins have finished |
26-Apr-2024 00:43:18 | Generating build results summary... |
26-Apr-2024 00:43:18 | Saving build results to disk... |
26-Apr-2024 00:43:18 | Store variable context... |
26-Apr-2024 00:43:18 | Finished building OP-PLATFORM-PDI-205. |