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