simple 10-Jun-2024 17:33:01 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 10-Jun-2024 17:33:01 Remote agent on host xindi.openmrs.org simple 10-Jun-2024 17:33:01 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 10-Jun-2024 17:33:01 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92) simple 10-Jun-2024 17:33:01 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: ) simple 10-Jun-2024 17:33:08 Artifact 'docker-compose-snapshot' prepared in 6.186 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 10-Jun-2024 17:33:08 Running pre-build action: Build Log Labeller Pre Build Action simple 10-Jun-2024 17:33:08 Running pre-build action: VCS Version Collector simple 10-Jun-2024 17:33:08 Running pre-build action: Run Predator simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3283 java 1310 bamboo-age 2967Mb 434Mb 00:03:45 /usr/lib/jvm/java-8-ope simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1310 wrapper 1 bamboo-age 16Mb 2Mb 00:00:50 /home/bamboo-agent/bamb simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 99Mb 10Mb 00:00:05 /sbin/init simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Initial free space: 5.776142 GB simple 10-Jun-2024 17:33:08 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP26-BP simple 10-Jun-2024 17:33:11 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 10-Jun-2024 17:33:11 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] Final free space: 5.777443 GB simple 10-Jun-2024 17:33:12 [PredatorPreBuildAction] Done command 10-Jun-2024 17:33:12 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 10-Jun-2024 17:33:12 Substituting password variable: ${bamboo.dockerhub.password} command 10-Jun-2024 17:33:12 Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT command 10-Jun-2024 17:33:12 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 10-Jun-2024 17:33:12 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 10-Jun-2024 17:33:12 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 10-Jun-2024 17:33:12 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 10-Jun-2024 17:33:12 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #92 (OP-OP2-PDI-92)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-92-ScriptBuildTask-5565803496340401063.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI\n build 10-Jun-2024 17:33:12 Start of Lmod init/bash script to define the module command error 10-Jun-2024 17:33:12 + [[ ehuB != ehuxB ]] error 10-Jun-2024 17:33:12 + echo 'Start of Lmod init/bash script to define the module command' error 10-Jun-2024 17:33:12 + LMOD_PKG=/usr/share/lmod/lmod error 10-Jun-2024 17:33:12 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 10-Jun-2024 17:33:12 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 10-Jun-2024 17:33:12 + MODULESHOME=/usr/share/lmod/lmod error 10-Jun-2024 17:33:12 + export LMOD_PKG error 10-Jun-2024 17:33:12 + export LMOD_CMD error 10-Jun-2024 17:33:12 + export LMOD_DIR error 10-Jun-2024 17:33:12 + export MODULESHOME error 10-Jun-2024 17:33:12 + LMOD_VERSION=6.6 error 10-Jun-2024 17:33:12 + export LMOD_VERSION error 10-Jun-2024 17:33:12 + '[' : '!=' : ']' error 10-Jun-2024 17:33:12 + unalias ml error 10-Jun-2024 17:33:12 + true error 10-Jun-2024 17:33:12 ++ echo YES error 10-Jun-2024 17:33:12 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 10-Jun-2024 17:33:12 + export_module=yes error 10-Jun-2024 17:33:12 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 10-Jun-2024 17:33:12 + export -f module build 10-Jun-2024 17:33:12 End of Lmod init/bash script to define the module command error 10-Jun-2024 17:33:12 + export -f ml error 10-Jun-2024 17:33:12 + unset export_module error 10-Jun-2024 17:33:12 + '[' -n '' ']' error 10-Jun-2024 17:33:12 + '[' 5 -ge 3 ']' error 10-Jun-2024 17:33:12 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 10-Jun-2024 17:33:12 + '[' -n '' ']' error 10-Jun-2024 17:33:12 + [[ ehuB != ehuxB ]] error 10-Jun-2024 17:33:12 + echo 'End of Lmod init/bash script to define the module command' error 10-Jun-2024 17:33:12 + docker login -u openmrsci -p ******** error 10-Jun-2024 17:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 10-Jun-2024 17:33:12 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 10-Jun-2024 17:33:12 Configure a credential helper to remove this warning. See error 10-Jun-2024 17:33:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 10-Jun-2024 17:33:12 build 10-Jun-2024 17:33:12 Login Succeeded error 10-Jun-2024 17:33:12 + set +x build 10-Jun-2024 17:33:13 Sending build context to Docker daemon 100.9MB build 10-Jun-2024 17:33:13 build 10-Jun-2024 17:33:13 Step 1/11 : FROM tomcat:7-jre8 build 10-Jun-2024 17:33:13 7-jre8: Pulling from library/tomcat build 10-Jun-2024 17:33:14 c5e155d5a1d1: Pulling fs layer build 10-Jun-2024 17:33:14 221d80d00ae9: Pulling fs layer build 10-Jun-2024 17:33:14 4250b3117dca: Pulling fs layer build 10-Jun-2024 17:33:14 d1370422ab93: Pulling fs layer build 10-Jun-2024 17:33:14 deb6b03222ca: Pulling fs layer build 10-Jun-2024 17:33:14 9cdea8d70cc3: Pulling fs layer build 10-Jun-2024 17:33:14 968505be14db: Pulling fs layer build 10-Jun-2024 17:33:14 04b5c270ac81: Pulling fs layer build 10-Jun-2024 17:33:14 301d76fcab1f: Pulling fs layer build 10-Jun-2024 17:33:14 ddf85cd1cc29: Pulling fs layer build 10-Jun-2024 17:33:14 ef1e6f25e812: Pulling fs layer build 10-Jun-2024 17:33:14 d1370422ab93: Waiting build 10-Jun-2024 17:33:14 deb6b03222ca: Waiting build 10-Jun-2024 17:33:14 9cdea8d70cc3: Waiting build 10-Jun-2024 17:33:14 968505be14db: Waiting build 10-Jun-2024 17:33:14 04b5c270ac81: Waiting build 10-Jun-2024 17:33:14 301d76fcab1f: Waiting build 10-Jun-2024 17:33:14 ddf85cd1cc29: Waiting build 10-Jun-2024 17:33:14 ef1e6f25e812: Waiting build 10-Jun-2024 17:33:14 4250b3117dca: Verifying Checksum build 10-Jun-2024 17:33:14 4250b3117dca: Download complete build 10-Jun-2024 17:33:14 d1370422ab93: Verifying Checksum build 10-Jun-2024 17:33:14 d1370422ab93: Download complete build 10-Jun-2024 17:33:14 221d80d00ae9: Verifying Checksum build 10-Jun-2024 17:33:14 221d80d00ae9: Download complete build 10-Jun-2024 17:33:14 deb6b03222ca: Verifying Checksum build 10-Jun-2024 17:33:14 deb6b03222ca: Download complete build 10-Jun-2024 17:33:14 c5e155d5a1d1: Verifying Checksum build 10-Jun-2024 17:33:14 c5e155d5a1d1: Download complete build 10-Jun-2024 17:33:14 9cdea8d70cc3: Verifying Checksum build 10-Jun-2024 17:33:14 9cdea8d70cc3: Download complete build 10-Jun-2024 17:33:14 04b5c270ac81: Verifying Checksum build 10-Jun-2024 17:33:14 04b5c270ac81: Download complete build 10-Jun-2024 17:33:14 301d76fcab1f: Verifying Checksum build 10-Jun-2024 17:33:14 301d76fcab1f: Download complete build 10-Jun-2024 17:33:14 ef1e6f25e812: Verifying Checksum build 10-Jun-2024 17:33:14 ef1e6f25e812: Download complete build 10-Jun-2024 17:33:14 ddf85cd1cc29: Verifying Checksum build 10-Jun-2024 17:33:14 ddf85cd1cc29: Download complete build 10-Jun-2024 17:33:16 968505be14db: Verifying Checksum build 10-Jun-2024 17:33:16 968505be14db: Download complete build 10-Jun-2024 17:33:17 c5e155d5a1d1: Pull complete build 10-Jun-2024 17:33:18 221d80d00ae9: Pull complete build 10-Jun-2024 17:33:18 4250b3117dca: Pull complete build 10-Jun-2024 17:33:18 d1370422ab93: Pull complete build 10-Jun-2024 17:33:18 deb6b03222ca: Pull complete build 10-Jun-2024 17:33:18 9cdea8d70cc3: Pull complete build 10-Jun-2024 17:33:23 968505be14db: Pull complete build 10-Jun-2024 17:33:23 04b5c270ac81: Pull complete build 10-Jun-2024 17:33:23 301d76fcab1f: Pull complete build 10-Jun-2024 17:33:23 ddf85cd1cc29: Pull complete build 10-Jun-2024 17:33:23 ef1e6f25e812: Pull complete build 10-Jun-2024 17:33:23 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 10-Jun-2024 17:33:23 Status: Downloaded newer image for tomcat:7-jre8 build 10-Jun-2024 17:33:23 ---> 3037eb7cda68 build 10-Jun-2024 17:33:23 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 10-Jun-2024 17:33:24 ---> c47c3bd7ff97 build 10-Jun-2024 17:33:24 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 10-Jun-2024 17:33:25 ---> 008ca24c1d48 build 10-Jun-2024 17:33:25 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 10-Jun-2024 17:33:25 ---> 67a3d788b2f4 build 10-Jun-2024 17:33:25 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 10-Jun-2024 17:33:25 ---> 10d1ede18279 build 10-Jun-2024 17:33:25 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml build 10-Jun-2024 17:33:25 ---> Running in 6df34dca3e99 build 10-Jun-2024 17:33:26 Removing intermediate container 6df34dca3e99 build 10-Jun-2024 17:33:26 ---> 8222268be596 build 10-Jun-2024 17:33:26 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 10-Jun-2024 17:33:26 ---> Running in 4fb3fc8b98cd build 10-Jun-2024 17:33:26 Removing intermediate container 4fb3fc8b98cd build 10-Jun-2024 17:33:26 ---> 3141c35ae4b9 build 10-Jun-2024 17:33:26 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 10-Jun-2024 17:33:26 ---> Running in ade31ac9e2c4 build 10-Jun-2024 17:33:27 Removing intermediate container ade31ac9e2c4 build 10-Jun-2024 17:33:27 ---> 389c14b81325 build 10-Jun-2024 17:33:27 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 10-Jun-2024 17:33:27 ---> e97fdee6c056 build 10-Jun-2024 17:33:27 Step 10/11 : COPY Dockerfile /root/Dockerfile build 10-Jun-2024 17:33:27 ---> 912c729f3741 build 10-Jun-2024 17:33:27 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 10-Jun-2024 17:33:27 ---> Running in fb23de4ae90c build 10-Jun-2024 17:33:27 Removing intermediate container fb23de4ae90c build 10-Jun-2024 17:33:27 ---> 54d4bb8894f5 build 10-Jun-2024 17:33:27 Successfully built 54d4bb8894f5 build 10-Jun-2024 17:33:27 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT build 10-Jun-2024 17:33:27 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 10-Jun-2024 17:33:27 c93a643e2e8a: Preparing build 10-Jun-2024 17:33:27 1a87b7d40cd7: Preparing build 10-Jun-2024 17:33:27 2d66be18a79a: Preparing build 10-Jun-2024 17:33:27 21a174686327: Preparing build 10-Jun-2024 17:33:27 9d25678b451d: Preparing build 10-Jun-2024 17:33:27 adb202e6e75e: Preparing build 10-Jun-2024 17:33:27 7814e2d86feb: Preparing build 10-Jun-2024 17:33:27 1b459ee2adae: Preparing build 10-Jun-2024 17:33:27 87a22c91d6a4: Preparing build 10-Jun-2024 17:33:27 ccb063697e4b: Preparing build 10-Jun-2024 17:33:27 abdaa093b247: Preparing build 10-Jun-2024 17:33:27 f0e1731fd286: Preparing build 10-Jun-2024 17:33:27 2b6c38ff3137: Preparing build 10-Jun-2024 17:33:27 d38f3d5a39fb: Preparing build 10-Jun-2024 17:33:27 fe60061c6c4e: Preparing build 10-Jun-2024 17:33:27 7d63f8777ebf: Preparing build 10-Jun-2024 17:33:27 1b958b53b256: Preparing build 10-Jun-2024 17:33:27 2c719774c1e1: Preparing build 10-Jun-2024 17:33:27 ec62f19bb3aa: Preparing build 10-Jun-2024 17:33:27 f94641f1fe1f: Preparing build 10-Jun-2024 17:33:27 abdaa093b247: Waiting build 10-Jun-2024 17:33:27 2b6c38ff3137: Waiting build 10-Jun-2024 17:33:27 d38f3d5a39fb: Waiting build 10-Jun-2024 17:33:27 fe60061c6c4e: Waiting build 10-Jun-2024 17:33:27 7d63f8777ebf: Waiting build 10-Jun-2024 17:33:27 1b958b53b256: Waiting build 10-Jun-2024 17:33:27 2c719774c1e1: Waiting build 10-Jun-2024 17:33:27 ec62f19bb3aa: Waiting build 10-Jun-2024 17:33:27 f94641f1fe1f: Waiting build 10-Jun-2024 17:33:27 f0e1731fd286: Waiting build 10-Jun-2024 17:33:27 7814e2d86feb: Waiting build 10-Jun-2024 17:33:27 1b459ee2adae: Waiting build 10-Jun-2024 17:33:27 87a22c91d6a4: Waiting build 10-Jun-2024 17:33:27 adb202e6e75e: Waiting build 10-Jun-2024 17:33:27 ccb063697e4b: Waiting build 10-Jun-2024 17:33:29 21a174686327: Pushed build 10-Jun-2024 17:33:29 9d25678b451d: Pushed build 10-Jun-2024 17:33:29 1a87b7d40cd7: Pushed build 10-Jun-2024 17:33:29 2d66be18a79a: Pushed build 10-Jun-2024 17:33:29 c93a643e2e8a: Pushed build 10-Jun-2024 17:33:29 ccb063697e4b: Layer already exists build 10-Jun-2024 17:33:30 abdaa093b247: Layer already exists build 10-Jun-2024 17:33:30 f0e1731fd286: Layer already exists build 10-Jun-2024 17:33:30 2b6c38ff3137: Layer already exists build 10-Jun-2024 17:33:30 d38f3d5a39fb: Layer already exists build 10-Jun-2024 17:33:30 fe60061c6c4e: Layer already exists build 10-Jun-2024 17:33:30 7d63f8777ebf: Layer already exists build 10-Jun-2024 17:33:30 7814e2d86feb: Pushed build 10-Jun-2024 17:33:30 adb202e6e75e: Pushed build 10-Jun-2024 17:33:30 1b958b53b256: Layer already exists build 10-Jun-2024 17:33:30 ec62f19bb3aa: Layer already exists build 10-Jun-2024 17:33:30 2c719774c1e1: Layer already exists build 10-Jun-2024 17:33:30 f94641f1fe1f: Layer already exists build 10-Jun-2024 17:33:30 1b459ee2adae: Pushed build 10-Jun-2024 17:33:36 87a22c91d6a4: Pushed build 10-Jun-2024 17:33:38 2.2.2-SNAPSHOT: digest: sha256:e6065b82872bf95588394bd0ec7c8873f1d888097f12e15c406919162df7af3a size: 4498 simple 10-Jun-2024 17:33:38 Finished task 'Build and push docker image' with result: Success simple 10-Jun-2024 17:33:38 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 10-Jun-2024 17:33:38 Variable wasn't found in the Build context. It possibly doesn't exist. simple 10-Jun-2024 17:33:38 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:e6065b82872bf95588394bd0ec7c8873f1d888097f12e15c406919162df7af3a simple 10-Jun-2024 17:33:38 Finished task 'Save docker image ID' with result: Success simple 10-Jun-2024 17:33:38 Running post build plugin 'Docker Container Cleanup' simple 10-Jun-2024 17:33:38 Running post build plugin 'NCover Results Collector' simple 10-Jun-2024 17:33:38 Running post build plugin 'Build Results Label Collector' simple 10-Jun-2024 17:33:38 Running post build plugin 'Clover Results Collector' simple 10-Jun-2024 17:33:38 Running post build plugin 'npm Cache Cleanup' simple 10-Jun-2024 17:33:38 Running post build plugin 'Artifact Copier' simple 10-Jun-2024 17:33:38 Finalising the build... simple 10-Jun-2024 17:33:38 Stopping timer. simple 10-Jun-2024 17:33:38 Build OP-OP2-PDI-92 completed. simple 10-Jun-2024 17:33:38 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 10-Jun-2024 17:33:38 Running on server: post build plugin 'NCover Results Collector' simple 10-Jun-2024 17:33:38 Running on server: post build plugin 'Build Labeller' simple 10-Jun-2024 17:33:38 Running on server: post build plugin 'Clover Delta Calculator' simple 10-Jun-2024 17:33:38 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 10-Jun-2024 17:33:38 All post build plugins have finished simple 10-Jun-2024 17:33:38 Generating build results summary... simple 10-Jun-2024 17:33:38 Saving build results to disk... simple 10-Jun-2024 17:33:38 Store variable context... simple 10-Jun-2024 17:33:38 Finished building OP-OP2-PDI-92.