simple 15-Oct-2024 14:16:33 Build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #203 (OP-OP3-PDI-203) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 15-Oct-2024 14:16:33 Remote agent on host yu.openmrs.org simple 15-Oct-2024 14:16:33 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 15-Oct-2024 14:16:33 Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #203 (OP-OP3-PDI-203) simple 15-Oct-2024 14:16:33 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI (location: ) simple 15-Oct-2024 14:16:37 Artifact 'docker-compose-snapshot' prepared in 4.123 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 15-Oct-2024 14:16:37 Running pre-build action: Build Log Labeller Pre Build Action simple 15-Oct-2024 14:16:37 Running pre-build action: VCS Version Collector simple 15-Oct-2024 14:16:37 Running pre-build action: Run Predator simple 15-Oct-2024 14:16:37 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 15-Oct-2024 14:16:37 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 15-Oct-2024 14:16:37 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1918 java 1404 bamboo-age 2995Mb 606Mb 00:55:39 /usr/lib/jvm/java-8-ope simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1404 wrapper 1 bamboo-age 16Mb 2Mb 00:14:32 /home/bamboo-agent/bamb simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:18 /sbin/init simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Initial free space: 3.5039978 GB simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOMAR simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 15-Oct-2024 14:16:38 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] Final free space: 3.5042686 GB simple 15-Oct-2024 14:16:39 [PredatorPreBuildAction] Done command 15-Oct-2024 14:16:39 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 15-Oct-2024 14:16:39 Substituting password variable: ${bamboo.dockerhub.password} command 15-Oct-2024 14:16:39 Substituting variable: ${bamboo.maven.snapshot.version} with 2.3.7-SNAPSHOT command 15-Oct-2024 14:16:39 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 15-Oct-2024 14:16:39 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 15-Oct-2024 14:16:39 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 15-Oct-2024 14:16:39 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 15-Oct-2024 14:16:39 Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #203 (OP-OP3-PDI-203)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP3-PDI-203-ScriptBuildTask-3828734055725077644.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI\n error 15-Oct-2024 14:16:39 + [[ ehuB != ehuxB ]] build 15-Oct-2024 14:16:39 Start of Lmod init/bash script to define the module command error 15-Oct-2024 14:16:39 + echo 'Start of Lmod init/bash script to define the module command' error 15-Oct-2024 14:16:39 + LMOD_PKG=/usr/share/lmod/lmod error 15-Oct-2024 14:16:39 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 15-Oct-2024 14:16:39 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 15-Oct-2024 14:16:39 + MODULESHOME=/usr/share/lmod/lmod error 15-Oct-2024 14:16:39 + export LMOD_PKG error 15-Oct-2024 14:16:39 + export LMOD_CMD error 15-Oct-2024 14:16:39 + export LMOD_DIR error 15-Oct-2024 14:16:39 + export MODULESHOME error 15-Oct-2024 14:16:39 + LMOD_VERSION=6.6 error 15-Oct-2024 14:16:39 + export LMOD_VERSION error 15-Oct-2024 14:16:39 + '[' : '!=' : ']' error 15-Oct-2024 14:16:39 + unalias ml error 15-Oct-2024 14:16:39 + true error 15-Oct-2024 14:16:39 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 15-Oct-2024 14:16:39 ++ echo YES error 15-Oct-2024 14:16:39 + export_module=yes error 15-Oct-2024 14:16:39 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 15-Oct-2024 14:16:39 + export -f module error 15-Oct-2024 14:16:39 + export -f ml error 15-Oct-2024 14:16:39 + unset export_module error 15-Oct-2024 14:16:39 + '[' -n '' ']' error 15-Oct-2024 14:16:39 + '[' 5 -ge 3 ']' error 15-Oct-2024 14:16:39 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 15-Oct-2024 14:16:39 + '[' -n '' ']' error 15-Oct-2024 14:16:39 + [[ ehuB != ehuxB ]] error 15-Oct-2024 14:16:39 + echo 'End of Lmod init/bash script to define the module command' build 15-Oct-2024 14:16:39 End of Lmod init/bash script to define the module command error 15-Oct-2024 14:16:39 + docker login -u openmrsci -p ******** error 15-Oct-2024 14:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 15-Oct-2024 14:16:39 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 15-Oct-2024 14:16:39 Configure a credential helper to remove this warning. See error 15-Oct-2024 14:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 15-Oct-2024 14:16:39 build 15-Oct-2024 14:16:39 Login Succeeded error 15-Oct-2024 14:16:39 + set +x build 15-Oct-2024 14:16:40 Sending build context to Docker daemon 104.5MB build 15-Oct-2024 14:16:40 build 15-Oct-2024 14:16:40 Step 1/11 : FROM tomcat:7-jre8 build 15-Oct-2024 14:16:40 7-jre8: Pulling from library/tomcat build 15-Oct-2024 14:16:41 c5e155d5a1d1: Pulling fs layer build 15-Oct-2024 14:16:41 221d80d00ae9: Pulling fs layer build 15-Oct-2024 14:16:41 4250b3117dca: Pulling fs layer build 15-Oct-2024 14:16:41 d1370422ab93: Pulling fs layer build 15-Oct-2024 14:16:41 deb6b03222ca: Pulling fs layer build 15-Oct-2024 14:16:41 9cdea8d70cc3: Pulling fs layer build 15-Oct-2024 14:16:41 968505be14db: Pulling fs layer build 15-Oct-2024 14:16:41 04b5c270ac81: Pulling fs layer build 15-Oct-2024 14:16:41 301d76fcab1f: Pulling fs layer build 15-Oct-2024 14:16:41 ddf85cd1cc29: Pulling fs layer build 15-Oct-2024 14:16:41 ef1e6f25e812: Pulling fs layer build 15-Oct-2024 14:16:41 d1370422ab93: Waiting build 15-Oct-2024 14:16:41 deb6b03222ca: Waiting build 15-Oct-2024 14:16:41 9cdea8d70cc3: Waiting build 15-Oct-2024 14:16:41 968505be14db: Waiting build 15-Oct-2024 14:16:41 04b5c270ac81: Waiting build 15-Oct-2024 14:16:41 301d76fcab1f: Waiting build 15-Oct-2024 14:16:41 ddf85cd1cc29: Waiting build 15-Oct-2024 14:16:41 ef1e6f25e812: Waiting build 15-Oct-2024 14:16:41 4250b3117dca: Verifying Checksum build 15-Oct-2024 14:16:41 4250b3117dca: Download complete build 15-Oct-2024 14:16:41 221d80d00ae9: Verifying Checksum build 15-Oct-2024 14:16:41 221d80d00ae9: Download complete build 15-Oct-2024 14:16:41 deb6b03222ca: Verifying Checksum build 15-Oct-2024 14:16:41 deb6b03222ca: Download complete build 15-Oct-2024 14:16:41 d1370422ab93: Verifying Checksum build 15-Oct-2024 14:16:41 d1370422ab93: Download complete build 15-Oct-2024 14:16:41 9cdea8d70cc3: Verifying Checksum build 15-Oct-2024 14:16:41 9cdea8d70cc3: Download complete build 15-Oct-2024 14:16:41 c5e155d5a1d1: Verifying Checksum build 15-Oct-2024 14:16:41 c5e155d5a1d1: Download complete build 15-Oct-2024 14:16:41 04b5c270ac81: Verifying Checksum build 15-Oct-2024 14:16:41 04b5c270ac81: Download complete build 15-Oct-2024 14:16:41 301d76fcab1f: Verifying Checksum build 15-Oct-2024 14:16:41 301d76fcab1f: Download complete build 15-Oct-2024 14:16:41 ddf85cd1cc29: Verifying Checksum build 15-Oct-2024 14:16:41 ddf85cd1cc29: Download complete build 15-Oct-2024 14:16:41 ef1e6f25e812: Verifying Checksum build 15-Oct-2024 14:16:41 ef1e6f25e812: Download complete build 15-Oct-2024 14:16:42 968505be14db: Verifying Checksum build 15-Oct-2024 14:16:42 968505be14db: Download complete build 15-Oct-2024 14:16:44 c5e155d5a1d1: Pull complete build 15-Oct-2024 14:16:45 221d80d00ae9: Pull complete build 15-Oct-2024 14:16:45 4250b3117dca: Pull complete build 15-Oct-2024 14:16:45 d1370422ab93: Pull complete build 15-Oct-2024 14:16:46 deb6b03222ca: Pull complete build 15-Oct-2024 14:16:46 9cdea8d70cc3: Pull complete build 15-Oct-2024 14:16:52 968505be14db: Pull complete build 15-Oct-2024 14:16:52 04b5c270ac81: Pull complete build 15-Oct-2024 14:16:52 301d76fcab1f: Pull complete build 15-Oct-2024 14:16:52 ddf85cd1cc29: Pull complete build 15-Oct-2024 14:16:52 ef1e6f25e812: Pull complete build 15-Oct-2024 14:16:52 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 15-Oct-2024 14:16:52 Status: Downloaded newer image for tomcat:7-jre8 build 15-Oct-2024 14:16:52 ---> 3037eb7cda68 build 15-Oct-2024 14:16:52 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 15-Oct-2024 14:16:54 ---> e31172405122 build 15-Oct-2024 14:16:54 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 15-Oct-2024 14:16:54 ---> 53711adca701 build 15-Oct-2024 14:16:54 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 15-Oct-2024 14:16:54 ---> 0ac62cd66cd5 build 15-Oct-2024 14:16:54 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 15-Oct-2024 14:16:55 ---> 91c4f97d4a55 build 15-Oct-2024 14:16:55 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml build 15-Oct-2024 14:16:55 ---> Running in cb35dbe45804 build 15-Oct-2024 14:16:55 Removing intermediate container cb35dbe45804 build 15-Oct-2024 14:16:55 ---> 2cb083ea7ece build 15-Oct-2024 14:16:55 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 15-Oct-2024 14:16:55 ---> Running in 264a52fffbf9 build 15-Oct-2024 14:16:56 Removing intermediate container 264a52fffbf9 build 15-Oct-2024 14:16:56 ---> bd4469496d1c build 15-Oct-2024 14:16:56 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 15-Oct-2024 14:16:56 ---> Running in 08b8dd110cbb build 15-Oct-2024 14:16:57 Removing intermediate container 08b8dd110cbb build 15-Oct-2024 14:16:57 ---> 5720a942b701 build 15-Oct-2024 14:16:57 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 15-Oct-2024 14:16:57 ---> 360f9963c176 build 15-Oct-2024 14:16:57 Step 10/11 : COPY Dockerfile /root/Dockerfile build 15-Oct-2024 14:16:57 ---> 36bc7b4961cf build 15-Oct-2024 14:16:57 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 15-Oct-2024 14:16:57 ---> Running in bf5b333c85c9 build 15-Oct-2024 14:16:57 Removing intermediate container bf5b333c85c9 build 15-Oct-2024 14:16:57 ---> 7ab4813261f5 build 15-Oct-2024 14:16:57 Successfully built 7ab4813261f5 build 15-Oct-2024 14:16:57 Successfully tagged openmrs/openmrs-distro-platform:2.3.7-SNAPSHOT build 15-Oct-2024 14:16:57 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 15-Oct-2024 14:16:58 bfb998e448c9: Preparing build 15-Oct-2024 14:16:58 2834b550292d: Preparing build 15-Oct-2024 14:16:58 f71ea4c841dc: Preparing build 15-Oct-2024 14:16:58 ddff4ea766e4: Preparing build 15-Oct-2024 14:16:58 3db624dcf070: Preparing build 15-Oct-2024 14:16:58 134715b29c90: Preparing build 15-Oct-2024 14:16:58 62db0d20e196: Preparing build 15-Oct-2024 14:16:58 f31b09428e87: Preparing build 15-Oct-2024 14:16:58 a16e41a939f7: Preparing build 15-Oct-2024 14:16:58 ccb063697e4b: Preparing build 15-Oct-2024 14:16:58 abdaa093b247: Preparing build 15-Oct-2024 14:16:58 f0e1731fd286: Preparing build 15-Oct-2024 14:16:58 2b6c38ff3137: Preparing build 15-Oct-2024 14:16:58 d38f3d5a39fb: Preparing build 15-Oct-2024 14:16:58 fe60061c6c4e: Preparing build 15-Oct-2024 14:16:58 7d63f8777ebf: Preparing build 15-Oct-2024 14:16:58 1b958b53b256: Preparing build 15-Oct-2024 14:16:58 2c719774c1e1: Preparing build 15-Oct-2024 14:16:58 ec62f19bb3aa: Preparing build 15-Oct-2024 14:16:58 f94641f1fe1f: Preparing build 15-Oct-2024 14:16:58 f0e1731fd286: Waiting build 15-Oct-2024 14:16:58 2b6c38ff3137: Waiting build 15-Oct-2024 14:16:58 d38f3d5a39fb: Waiting build 15-Oct-2024 14:16:58 fe60061c6c4e: Waiting build 15-Oct-2024 14:16:58 7d63f8777ebf: Waiting build 15-Oct-2024 14:16:58 1b958b53b256: Waiting build 15-Oct-2024 14:16:58 2c719774c1e1: Waiting build 15-Oct-2024 14:16:58 ec62f19bb3aa: Waiting build 15-Oct-2024 14:16:58 f94641f1fe1f: Waiting build 15-Oct-2024 14:16:58 134715b29c90: Waiting build 15-Oct-2024 14:16:58 62db0d20e196: Waiting build 15-Oct-2024 14:16:58 f31b09428e87: Waiting build 15-Oct-2024 14:16:58 a16e41a939f7: Waiting build 15-Oct-2024 14:16:58 ccb063697e4b: Waiting build 15-Oct-2024 14:16:58 abdaa093b247: Waiting build 15-Oct-2024 14:16:59 3db624dcf070: Pushed build 15-Oct-2024 14:16:59 f71ea4c841dc: Pushed build 15-Oct-2024 14:16:59 2834b550292d: Pushed build 15-Oct-2024 14:16:59 ddff4ea766e4: Pushed build 15-Oct-2024 14:16:59 bfb998e448c9: Pushed build 15-Oct-2024 14:16:59 ccb063697e4b: Layer already exists build 15-Oct-2024 14:16:59 abdaa093b247: Layer already exists build 15-Oct-2024 14:16:59 f0e1731fd286: Layer already exists build 15-Oct-2024 14:17:00 2b6c38ff3137: Layer already exists build 15-Oct-2024 14:17:00 d38f3d5a39fb: Layer already exists build 15-Oct-2024 14:17:00 fe60061c6c4e: Layer already exists build 15-Oct-2024 14:17:00 7d63f8777ebf: Layer already exists build 15-Oct-2024 14:17:00 1b958b53b256: Layer already exists build 15-Oct-2024 14:17:00 134715b29c90: Pushed build 15-Oct-2024 14:17:00 62db0d20e196: Pushed build 15-Oct-2024 14:17:00 f31b09428e87: Pushed build 15-Oct-2024 14:17:00 2c719774c1e1: Layer already exists build 15-Oct-2024 14:17:00 ec62f19bb3aa: Layer already exists build 15-Oct-2024 14:17:00 f94641f1fe1f: Layer already exists build 15-Oct-2024 14:17:06 a16e41a939f7: Pushed build 15-Oct-2024 14:17:08 2.3.7-SNAPSHOT: digest: sha256:07c2eb17c8b9d146847000061dfd9d65874c720a14d87885293811b1adc3efc5 size: 4498 simple 15-Oct-2024 14:17:08 Finished task 'Build and push docker image' with result: Success simple 15-Oct-2024 14:17:08 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 15-Oct-2024 14:17:08 Variable wasn't found in the Build context. It possibly doesn't exist. simple 15-Oct-2024 14:17:08 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:07c2eb17c8b9d146847000061dfd9d65874c720a14d87885293811b1adc3efc5 simple 15-Oct-2024 14:17:08 Finished task 'Save docker image ID' with result: Success simple 15-Oct-2024 14:17:08 Running post build plugin 'Docker Container Cleanup' simple 15-Oct-2024 14:17:08 Running post build plugin 'NCover Results Collector' simple 15-Oct-2024 14:17:08 Running post build plugin 'Build Results Label Collector' simple 15-Oct-2024 14:17:08 Running post build plugin 'Clover Results Collector' simple 15-Oct-2024 14:17:08 Running post build plugin 'npm Cache Cleanup' simple 15-Oct-2024 14:17:08 Running post build plugin 'Artifact Copier' simple 15-Oct-2024 14:17:08 Finalising the build... simple 15-Oct-2024 14:17:08 Stopping timer. simple 15-Oct-2024 14:17:08 Build OP-OP3-PDI-203 completed. simple 15-Oct-2024 14:17:08 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 15-Oct-2024 14:17:08 Running on server: post build plugin 'NCover Results Collector' simple 15-Oct-2024 14:17:08 Running on server: post build plugin 'Build Labeller' simple 15-Oct-2024 14:17:08 Running on server: post build plugin 'Clover Delta Calculator' simple 15-Oct-2024 14:17:08 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 15-Oct-2024 14:17:08 All post build plugins have finished simple 15-Oct-2024 14:17:08 Generating build results summary... simple 15-Oct-2024 14:17:08 Saving build results to disk... simple 15-Oct-2024 14:17:08 Store variable context... simple 15-Oct-2024 14:17:08 Finished building OP-OP3-PDI-203.