simple 25-Jun-2025 23:00:37 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 25-Jun-2025 23:00:37 Remote agent on host xindi.openmrs.org simple 25-Jun-2025 23:00:37 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 25-Jun-2025 23:00:37 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273) simple 25-Jun-2025 23:00:37 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: ) simple 25-Jun-2025 23:00:42 Artifact 'docker-compose-snapshot' prepared in 4.851 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 25-Jun-2025 23:00:42 Running pre-build action: Build Log Labeller Pre Build Action simple 25-Jun-2025 23:00:42 Running pre-build action: VCS Version Collector simple 25-Jun-2025 23:00:42 Running pre-build action: Run Predator simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40047 java 1356 bamboo-age 2975Mb 496Mb 00:05:05 /usr/lib/jvm/java-8-ope simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1356 wrapper 1 bamboo-age 16Mb 3Mb 00:02:11 /home/bamboo-agent/bamb simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 12Mb 00:00:36 /sbin/init simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Initial free space: 2.561367 GB simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIFR-UFL-DTM simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HTMLWIDGETS-HWL-DTM simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-JOB1 simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/LU-LUL-DTM simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/UIL-ULL-DTM simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CALC-CML-RTM simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository simple 25-Jun-2025 23:00:42 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] Maven stable disk freed: 0.50024134 GB, deleted 82 files simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] Final free space: 2.655754 GB simple 25-Jun-2025 23:00:43 [PredatorPreBuildAction] Done command 25-Jun-2025 23:00:43 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 25-Jun-2025 23:00:43 Substituting password variable: ${bamboo.dockerhub.password} command 25-Jun-2025 23:00:43 Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT command 25-Jun-2025 23:00:43 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 25-Jun-2025 23:00:43 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 25-Jun-2025 23:00:43 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 25-Jun-2025 23:00:43 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 25-Jun-2025 23:00:43 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #273 (OP-PLATFORM-PDI-273)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-273-ScriptBuildTask-4079721555782365463.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI\n error 25-Jun-2025 23:00:43 + [[ ehuB != ehuxB ]] error 25-Jun-2025 23:00:43 + echo 'Start of Lmod init/bash script to define the module command' build 25-Jun-2025 23:00:43 Start of Lmod init/bash script to define the module command error 25-Jun-2025 23:00:43 + LMOD_PKG=/usr/share/lmod/lmod error 25-Jun-2025 23:00:43 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 25-Jun-2025 23:00:43 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 25-Jun-2025 23:00:43 + MODULESHOME=/usr/share/lmod/lmod error 25-Jun-2025 23:00:43 + export LMOD_PKG error 25-Jun-2025 23:00:43 + export LMOD_CMD error 25-Jun-2025 23:00:43 + export LMOD_DIR error 25-Jun-2025 23:00:43 + export MODULESHOME error 25-Jun-2025 23:00:43 + LMOD_VERSION=6.6 error 25-Jun-2025 23:00:43 + export LMOD_VERSION error 25-Jun-2025 23:00:43 + '[' : '!=' : ']' error 25-Jun-2025 23:00:43 + unalias ml error 25-Jun-2025 23:00:43 + true error 25-Jun-2025 23:00:43 ++ echo YES error 25-Jun-2025 23:00:43 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 25-Jun-2025 23:00:43 + export_module=yes error 25-Jun-2025 23:00:43 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 25-Jun-2025 23:00:43 + export -f module error 25-Jun-2025 23:00:43 + export -f ml error 25-Jun-2025 23:00:43 + unset export_module error 25-Jun-2025 23:00:43 + '[' -n '' ']' error 25-Jun-2025 23:00:43 + '[' 5 -ge 3 ']' error 25-Jun-2025 23:00:43 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 25-Jun-2025 23:00:43 + '[' -n '' ']' error 25-Jun-2025 23:00:43 + [[ ehuB != ehuxB ]] error 25-Jun-2025 23:00:43 + echo 'End of Lmod init/bash script to define the module command' error 25-Jun-2025 23:00:43 + docker login -u openmrsci -p ******** build 25-Jun-2025 23:00:43 End of Lmod init/bash script to define the module command error 25-Jun-2025 23:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 25-Jun-2025 23:00:43 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 25-Jun-2025 23:00:43 Configure a credential helper to remove this warning. See error 25-Jun-2025 23:00:43 https://docs.docker.com/engine/reference/commandline/login/#credential-stores error 25-Jun-2025 23:00:43 build 25-Jun-2025 23:00:43 Login Succeeded error 25-Jun-2025 23:00:43 + set +x error 25-Jun-2025 23:00:44 #1 [internal] load build definition from Dockerfile error 25-Jun-2025 23:00:44 #1 transferring dockerfile: 751B done error 25-Jun-2025 23:00:44 #1 DONE 0.0s error 25-Jun-2025 23:00:44 error 25-Jun-2025 23:00:44 #2 [internal] load metadata for docker.io/library/tomcat:7-jre8 error 25-Jun-2025 23:00:44 #2 DONE 0.2s error 25-Jun-2025 23:00:44 error 25-Jun-2025 23:00:44 #3 [internal] load .dockerignore error 25-Jun-2025 23:00:44 #3 transferring context: 2B done error 25-Jun-2025 23:00:44 #3 DONE 0.0s error 25-Jun-2025 23:00:44 error 25-Jun-2025 23:00:44 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 error 25-Jun-2025 23:00:44 #4 DONE 0.0s error 25-Jun-2025 23:00:44 error 25-Jun-2025 23:00:44 #5 [internal] load build context error 25-Jun-2025 23:00:45 #5 transferring context: 136.21MB 0.9s done error 25-Jun-2025 23:00:45 #5 DONE 0.9s error 25-Jun-2025 23:00:45 error 25-Jun-2025 23:00:45 #4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 error 25-Jun-2025 23:00:45 #4 CACHED error 25-Jun-2025 23:00:45 error 25-Jun-2025 23:00:45 #6 [ 2/10] COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war error 25-Jun-2025 23:00:45 #6 DONE 0.5s error 25-Jun-2025 23:00:46 error 25-Jun-2025 23:00:46 #7 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh error 25-Jun-2025 23:00:46 #7 DONE 0.1s error 25-Jun-2025 23:00:46 error 25-Jun-2025 23:00:46 #8 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh error 25-Jun-2025 23:00:46 #8 DONE 0.2s error 25-Jun-2025 23:00:46 error 25-Jun-2025 23:00:46 #9 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh error 25-Jun-2025 23:00:46 #9 DONE 0.2s error 25-Jun-2025 23:00:46 error 25-Jun-2025 23:00:46 #10 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml error 25-Jun-2025 23:00:46 #10 DONE 0.4s error 25-Jun-2025 23:00:46 error 25-Jun-2025 23:00:46 #11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh error 25-Jun-2025 23:00:47 #11 DONE 0.4s error 25-Jun-2025 23:00:47 error 25-Jun-2025 23:00:47 #12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh error 25-Jun-2025 23:00:47 #12 DONE 0.5s error 25-Jun-2025 23:00:47 error 25-Jun-2025 23:00:47 #13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties error 25-Jun-2025 23:00:47 #13 DONE 0.1s error 25-Jun-2025 23:00:47 error 25-Jun-2025 23:00:47 #14 [10/10] COPY Dockerfile /root/Dockerfile error 25-Jun-2025 23:00:48 #14 DONE 0.2s error 25-Jun-2025 23:00:48 error 25-Jun-2025 23:00:48 #15 exporting to image error 25-Jun-2025 23:00:48 #15 exporting layers error 25-Jun-2025 23:00:48 #15 exporting layers 0.7s done error 25-Jun-2025 23:00:48 #15 writing image sha256:f0fccf36c3995c956ef79469c2f47a266484ae11f7ba878ac543e2d26588e813 done error 25-Jun-2025 23:00:48 #15 naming to docker.io/openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT 0.0s done error 25-Jun-2025 23:00:48 #15 DONE 0.8s build 25-Jun-2025 23:00:49 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 25-Jun-2025 23:00:49 64ba5943648a: Preparing build 25-Jun-2025 23:00:49 7b2bcf747a1d: Preparing build 25-Jun-2025 23:00:49 07e51e2bd800: Preparing build 25-Jun-2025 23:00:49 8647dd6ced8f: Preparing build 25-Jun-2025 23:00:49 5e3f756ebcab: Preparing build 25-Jun-2025 23:00:49 48e6c1a5849f: Preparing build 25-Jun-2025 23:00:49 a84eaee4c71f: Preparing build 25-Jun-2025 23:00:49 a9a5fa35bb22: Preparing build 25-Jun-2025 23:00:49 70fa6e0dbd39: Preparing build 25-Jun-2025 23:00:49 ccb063697e4b: Preparing build 25-Jun-2025 23:00:49 abdaa093b247: Preparing build 25-Jun-2025 23:00:49 f0e1731fd286: Preparing build 25-Jun-2025 23:00:49 2b6c38ff3137: Preparing build 25-Jun-2025 23:00:49 d38f3d5a39fb: Preparing build 25-Jun-2025 23:00:49 fe60061c6c4e: Preparing build 25-Jun-2025 23:00:49 7d63f8777ebf: Preparing build 25-Jun-2025 23:00:49 1b958b53b256: Preparing build 25-Jun-2025 23:00:49 2c719774c1e1: Preparing build 25-Jun-2025 23:00:49 ec62f19bb3aa: Preparing build 25-Jun-2025 23:00:49 f94641f1fe1f: Preparing build 25-Jun-2025 23:00:49 abdaa093b247: Waiting build 25-Jun-2025 23:00:49 f0e1731fd286: Waiting build 25-Jun-2025 23:00:49 2b6c38ff3137: Waiting build 25-Jun-2025 23:00:49 d38f3d5a39fb: Waiting build 25-Jun-2025 23:00:49 fe60061c6c4e: Waiting build 25-Jun-2025 23:00:49 7d63f8777ebf: Waiting build 25-Jun-2025 23:00:49 1b958b53b256: Waiting build 25-Jun-2025 23:00:49 2c719774c1e1: Waiting build 25-Jun-2025 23:00:49 ec62f19bb3aa: Waiting build 25-Jun-2025 23:00:49 f94641f1fe1f: Waiting build 25-Jun-2025 23:00:49 48e6c1a5849f: Waiting build 25-Jun-2025 23:00:49 a84eaee4c71f: Waiting build 25-Jun-2025 23:00:49 a9a5fa35bb22: Waiting build 25-Jun-2025 23:00:49 70fa6e0dbd39: Waiting build 25-Jun-2025 23:00:49 ccb063697e4b: Waiting build 25-Jun-2025 23:00:50 5e3f756ebcab: Pushed build 25-Jun-2025 23:00:50 7b2bcf747a1d: Pushed build 25-Jun-2025 23:00:50 8647dd6ced8f: Pushed build 25-Jun-2025 23:00:50 64ba5943648a: Pushed build 25-Jun-2025 23:00:50 07e51e2bd800: Pushed build 25-Jun-2025 23:00:50 ccb063697e4b: Layer already exists build 25-Jun-2025 23:00:50 abdaa093b247: Layer already exists build 25-Jun-2025 23:00:51 f0e1731fd286: Layer already exists build 25-Jun-2025 23:00:51 2b6c38ff3137: Layer already exists build 25-Jun-2025 23:00:51 d38f3d5a39fb: Layer already exists build 25-Jun-2025 23:00:51 fe60061c6c4e: Layer already exists build 25-Jun-2025 23:00:51 7d63f8777ebf: Layer already exists build 25-Jun-2025 23:00:51 48e6c1a5849f: Pushed build 25-Jun-2025 23:00:51 a84eaee4c71f: Pushed build 25-Jun-2025 23:00:51 1b958b53b256: Layer already exists build 25-Jun-2025 23:00:51 a9a5fa35bb22: Pushed build 25-Jun-2025 23:00:51 2c719774c1e1: Layer already exists build 25-Jun-2025 23:00:52 ec62f19bb3aa: Layer already exists build 25-Jun-2025 23:00:52 f94641f1fe1f: Layer already exists build 25-Jun-2025 23:00:57 70fa6e0dbd39: Pushed build 25-Jun-2025 23:00:59 2.4.6-SNAPSHOT: digest: sha256:1ae2b8c8da88f50fdc66177c268eb79e17e6ffd47e9cbb0b6dbc41e73e7fd3e0 size: 4498 simple 25-Jun-2025 23:00:59 Finished task 'Build and push docker image' with result: Success simple 25-Jun-2025 23:00:59 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 25-Jun-2025 23:00:59 Variable wasn't found in the Build context. It possibly doesn't exist. simple 25-Jun-2025 23:00:59 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:1ae2b8c8da88f50fdc66177c268eb79e17e6ffd47e9cbb0b6dbc41e73e7fd3e0 simple 25-Jun-2025 23:00:59 Finished task 'Save docker image ID' with result: Success simple 25-Jun-2025 23:00:59 Running post build plugin 'Docker Container Cleanup' simple 25-Jun-2025 23:00:59 Running post build plugin 'NCover Results Collector' simple 25-Jun-2025 23:00:59 Running post build plugin 'Build Results Label Collector' simple 25-Jun-2025 23:00:59 Running post build plugin 'Clover Results Collector' simple 25-Jun-2025 23:00:59 Running post build plugin 'npm Cache Cleanup' simple 25-Jun-2025 23:00:59 Running post build plugin 'Artifact Copier' simple 25-Jun-2025 23:00:59 Finalising the build... simple 25-Jun-2025 23:00:59 Stopping timer. simple 25-Jun-2025 23:00:59 Build OP-PLATFORM-PDI-273 completed. simple 25-Jun-2025 23:01:00 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 25-Jun-2025 23:01:00 Running on server: post build plugin 'NCover Results Collector' simple 25-Jun-2025 23:01:00 Running on server: post build plugin 'Build Labeller' simple 25-Jun-2025 23:01:00 Running on server: post build plugin 'Clover Delta Calculator' simple 25-Jun-2025 23:01:00 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 25-Jun-2025 23:01:00 All post build plugins have finished simple 25-Jun-2025 23:01:00 Generating build results summary... simple 25-Jun-2025 23:01:00 Saving build results to disk... simple 25-Jun-2025 23:01:00 Store variable context... simple 25-Jun-2025 23:01:00 Finished building OP-PLATFORM-PDI-273.