simple 31-Oct-2024 12:58:08 Build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 31-Oct-2024 12:58:08 Remote agent on host yu.openmrs.org simple 31-Oct-2024 12:58:08 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 31-Oct-2024 12:58:08 Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205) simple 31-Oct-2024 12:58:08 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI (location: ) simple 31-Oct-2024 12:58:12 Artifact 'docker-compose-snapshot' prepared in 4.025 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 31-Oct-2024 12:58:12 Running pre-build action: Build Log Labeller Pre Build Action simple 31-Oct-2024 12:58:12 Running pre-build action: VCS Version Collector simple 31-Oct-2024 12:58:12 Running pre-build action: Run Predator simple 31-Oct-2024 12:58:12 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 31-Oct-2024 12:58:12 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 31-Oct-2024 12:58:12 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 22113 java 1349 bamboo-age 2981Mb 437Mb 00:00:53 /usr/lib/jvm/java-8-ope simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1349 wrapper 1 bamboo-age 16Mb 3Mb 00:06:44 /home/bamboo-agent/bamb simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:27 /sbin/init simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Initial free space: 3.3438454 GB simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 31-Oct-2024 12:58:27 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] Final free space: 3.43824 GB simple 31-Oct-2024 12:58:28 [PredatorPreBuildAction] Done command 31-Oct-2024 12:58:28 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 31-Oct-2024 12:58:28 Substituting password variable: ${bamboo.dockerhub.password} command 31-Oct-2024 12:58:28 Substituting variable: ${bamboo.maven.snapshot.version} with 2.3.7-SNAPSHOT command 31-Oct-2024 12:58:28 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 31-Oct-2024 12:58:28 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 31-Oct-2024 12:58:28 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 31-Oct-2024 12:58:28 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 31-Oct-2024 12:58:28 Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #205 (OP-OP3-PDI-205)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP3-PDI-205-ScriptBuildTask-3280254868451803567.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI\n build 31-Oct-2024 12:58:28 Start of Lmod init/bash script to define the module command error 31-Oct-2024 12:58:28 + [[ ehuB != ehuxB ]] error 31-Oct-2024 12:58:28 + echo 'Start of Lmod init/bash script to define the module command' error 31-Oct-2024 12:58:28 + LMOD_PKG=/usr/share/lmod/lmod error 31-Oct-2024 12:58:28 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 31-Oct-2024 12:58:28 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 31-Oct-2024 12:58:28 + MODULESHOME=/usr/share/lmod/lmod error 31-Oct-2024 12:58:28 + export LMOD_PKG error 31-Oct-2024 12:58:28 + export LMOD_CMD error 31-Oct-2024 12:58:28 + export LMOD_DIR error 31-Oct-2024 12:58:28 + export MODULESHOME error 31-Oct-2024 12:58:28 + LMOD_VERSION=6.6 error 31-Oct-2024 12:58:28 + export LMOD_VERSION error 31-Oct-2024 12:58:28 + '[' : '!=' : ']' error 31-Oct-2024 12:58:28 + unalias ml error 31-Oct-2024 12:58:28 + true error 31-Oct-2024 12:58:28 ++ echo YES error 31-Oct-2024 12:58:28 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 31-Oct-2024 12:58:28 + export_module=yes error 31-Oct-2024 12:58:28 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 31-Oct-2024 12:58:28 + export -f module error 31-Oct-2024 12:58:28 + export -f ml error 31-Oct-2024 12:58:28 + unset export_module error 31-Oct-2024 12:58:28 + '[' -n '' ']' error 31-Oct-2024 12:58:28 + '[' 5 -ge 3 ']' error 31-Oct-2024 12:58:28 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 31-Oct-2024 12:58:28 + '[' -n '' ']' error 31-Oct-2024 12:58:28 + [[ ehuB != ehuxB ]] error 31-Oct-2024 12:58:28 + echo 'End of Lmod init/bash script to define the module command' build 31-Oct-2024 12:58:28 End of Lmod init/bash script to define the module command error 31-Oct-2024 12:58:28 + docker login -u openmrsci -p ******** error 31-Oct-2024 12:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 31-Oct-2024 12:58:28 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 31-Oct-2024 12:58:28 Configure a credential helper to remove this warning. See error 31-Oct-2024 12:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 31-Oct-2024 12:58:28 build 31-Oct-2024 12:58:28 Login Succeeded error 31-Oct-2024 12:58:28 + set +x build 31-Oct-2024 12:58:29 Sending build context to Docker daemon 104.5MB build 31-Oct-2024 12:58:29 build 31-Oct-2024 12:58:29 Step 1/11 : FROM tomcat:7-jre8 build 31-Oct-2024 12:58:29 7-jre8: Pulling from library/tomcat build 31-Oct-2024 12:58:30 c5e155d5a1d1: Pulling fs layer build 31-Oct-2024 12:58:30 221d80d00ae9: Pulling fs layer build 31-Oct-2024 12:58:30 4250b3117dca: Pulling fs layer build 31-Oct-2024 12:58:30 d1370422ab93: Pulling fs layer build 31-Oct-2024 12:58:30 deb6b03222ca: Pulling fs layer build 31-Oct-2024 12:58:30 9cdea8d70cc3: Pulling fs layer build 31-Oct-2024 12:58:30 968505be14db: Pulling fs layer build 31-Oct-2024 12:58:30 04b5c270ac81: Pulling fs layer build 31-Oct-2024 12:58:30 301d76fcab1f: Pulling fs layer build 31-Oct-2024 12:58:30 ddf85cd1cc29: Pulling fs layer build 31-Oct-2024 12:58:30 ef1e6f25e812: Pulling fs layer build 31-Oct-2024 12:58:30 d1370422ab93: Waiting build 31-Oct-2024 12:58:30 deb6b03222ca: Waiting build 31-Oct-2024 12:58:30 04b5c270ac81: Waiting build 31-Oct-2024 12:58:30 9cdea8d70cc3: Waiting build 31-Oct-2024 12:58:30 968505be14db: Waiting build 31-Oct-2024 12:58:30 301d76fcab1f: Waiting build 31-Oct-2024 12:58:30 ef1e6f25e812: Waiting build 31-Oct-2024 12:58:30 ddf85cd1cc29: Waiting build 31-Oct-2024 12:58:30 4250b3117dca: Verifying Checksum build 31-Oct-2024 12:58:30 4250b3117dca: Download complete build 31-Oct-2024 12:58:30 221d80d00ae9: Verifying Checksum build 31-Oct-2024 12:58:30 221d80d00ae9: Download complete build 31-Oct-2024 12:58:30 d1370422ab93: Verifying Checksum build 31-Oct-2024 12:58:30 d1370422ab93: Download complete build 31-Oct-2024 12:58:30 deb6b03222ca: Verifying Checksum build 31-Oct-2024 12:58:30 deb6b03222ca: Download complete build 31-Oct-2024 12:58:30 9cdea8d70cc3: Verifying Checksum build 31-Oct-2024 12:58:30 9cdea8d70cc3: Download complete build 31-Oct-2024 12:58:30 c5e155d5a1d1: Verifying Checksum build 31-Oct-2024 12:58:30 c5e155d5a1d1: Download complete build 31-Oct-2024 12:58:30 04b5c270ac81: Verifying Checksum build 31-Oct-2024 12:58:30 04b5c270ac81: Download complete build 31-Oct-2024 12:58:30 301d76fcab1f: Verifying Checksum build 31-Oct-2024 12:58:30 301d76fcab1f: Download complete build 31-Oct-2024 12:58:30 ef1e6f25e812: Verifying Checksum build 31-Oct-2024 12:58:30 ef1e6f25e812: Download complete build 31-Oct-2024 12:58:30 ddf85cd1cc29: Verifying Checksum build 31-Oct-2024 12:58:30 ddf85cd1cc29: Download complete build 31-Oct-2024 12:58:32 968505be14db: Download complete build 31-Oct-2024 12:58:33 c5e155d5a1d1: Pull complete build 31-Oct-2024 12:58:34 221d80d00ae9: Pull complete build 31-Oct-2024 12:58:34 4250b3117dca: Pull complete build 31-Oct-2024 12:58:34 d1370422ab93: Pull complete build 31-Oct-2024 12:58:34 deb6b03222ca: Pull complete build 31-Oct-2024 12:58:34 9cdea8d70cc3: Pull complete build 31-Oct-2024 12:58:39 968505be14db: Pull complete build 31-Oct-2024 12:58:39 04b5c270ac81: Pull complete build 31-Oct-2024 12:58:39 301d76fcab1f: Pull complete build 31-Oct-2024 12:58:39 ddf85cd1cc29: Pull complete build 31-Oct-2024 12:58:39 ef1e6f25e812: Pull complete build 31-Oct-2024 12:58:39 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 31-Oct-2024 12:58:39 Status: Downloaded newer image for tomcat:7-jre8 build 31-Oct-2024 12:58:39 ---> 3037eb7cda68 build 31-Oct-2024 12:58:39 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 31-Oct-2024 12:58:40 ---> dbbd995741ab build 31-Oct-2024 12:58:40 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 31-Oct-2024 12:58:41 ---> eaac958d597a build 31-Oct-2024 12:58:41 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 31-Oct-2024 12:58:41 ---> 23675cd14dd9 build 31-Oct-2024 12:58:41 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 31-Oct-2024 12:58:41 ---> 044166cc95bc build 31-Oct-2024 12:58:41 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml build 31-Oct-2024 12:58:41 ---> Running in 126399031b6c build 31-Oct-2024 12:58:41 Removing intermediate container 126399031b6c build 31-Oct-2024 12:58:41 ---> de3b3e30fe51 build 31-Oct-2024 12:58:41 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 31-Oct-2024 12:58:41 ---> Running in af056566a476 build 31-Oct-2024 12:58:42 Removing intermediate container af056566a476 build 31-Oct-2024 12:58:42 ---> 48f76affc3ad build 31-Oct-2024 12:58:42 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 31-Oct-2024 12:58:42 ---> Running in 82d652f4b483 build 31-Oct-2024 12:58:43 Removing intermediate container 82d652f4b483 build 31-Oct-2024 12:58:43 ---> 6588b8ddd3d0 build 31-Oct-2024 12:58:43 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 31-Oct-2024 12:58:43 ---> 9b3b1636aa9e build 31-Oct-2024 12:58:43 Step 10/11 : COPY Dockerfile /root/Dockerfile build 31-Oct-2024 12:58:43 ---> 25fa9bf4a65f build 31-Oct-2024 12:58:43 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 31-Oct-2024 12:58:43 ---> Running in 658e3c8c21e8 build 31-Oct-2024 12:58:43 Removing intermediate container 658e3c8c21e8 build 31-Oct-2024 12:58:43 ---> 17568bfffeab build 31-Oct-2024 12:58:43 Successfully built 17568bfffeab build 31-Oct-2024 12:58:43 Successfully tagged openmrs/openmrs-distro-platform:2.3.7-SNAPSHOT build 31-Oct-2024 12:58:43 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 31-Oct-2024 12:58:43 873d491e7f50: Preparing build 31-Oct-2024 12:58:43 f8d54d2c544f: Preparing build 31-Oct-2024 12:58:43 15d7fe898210: Preparing build 31-Oct-2024 12:58:43 b31badd6c56a: Preparing build 31-Oct-2024 12:58:43 bba03803bef4: Preparing build 31-Oct-2024 12:58:43 2ed5ecf5af02: Preparing build 31-Oct-2024 12:58:43 0d7313160faf: Preparing build 31-Oct-2024 12:58:43 b78901b5b7f2: Preparing build 31-Oct-2024 12:58:43 bef026fad877: Preparing build 31-Oct-2024 12:58:43 ccb063697e4b: Preparing build 31-Oct-2024 12:58:43 abdaa093b247: Preparing build 31-Oct-2024 12:58:43 f0e1731fd286: Preparing build 31-Oct-2024 12:58:43 2b6c38ff3137: Preparing build 31-Oct-2024 12:58:43 d38f3d5a39fb: Preparing build 31-Oct-2024 12:58:43 fe60061c6c4e: Preparing build 31-Oct-2024 12:58:43 7d63f8777ebf: Preparing build 31-Oct-2024 12:58:43 1b958b53b256: Preparing build 31-Oct-2024 12:58:43 2c719774c1e1: Preparing build 31-Oct-2024 12:58:43 ec62f19bb3aa: Preparing build 31-Oct-2024 12:58:43 f94641f1fe1f: Preparing build 31-Oct-2024 12:58:43 abdaa093b247: Waiting build 31-Oct-2024 12:58:43 f0e1731fd286: Waiting build 31-Oct-2024 12:58:43 2b6c38ff3137: Waiting build 31-Oct-2024 12:58:43 d38f3d5a39fb: Waiting build 31-Oct-2024 12:58:43 fe60061c6c4e: Waiting build 31-Oct-2024 12:58:43 7d63f8777ebf: Waiting build 31-Oct-2024 12:58:43 1b958b53b256: Waiting build 31-Oct-2024 12:58:43 2c719774c1e1: Waiting build 31-Oct-2024 12:58:43 ec62f19bb3aa: Waiting build 31-Oct-2024 12:58:43 f94641f1fe1f: Waiting build 31-Oct-2024 12:58:43 0d7313160faf: Waiting build 31-Oct-2024 12:58:43 b78901b5b7f2: Waiting build 31-Oct-2024 12:58:43 bef026fad877: Waiting build 31-Oct-2024 12:58:43 ccb063697e4b: Waiting build 31-Oct-2024 12:58:43 2ed5ecf5af02: Waiting build 31-Oct-2024 12:58:45 b31badd6c56a: Pushed build 31-Oct-2024 12:58:45 f8d54d2c544f: Pushed build 31-Oct-2024 12:58:45 15d7fe898210: Pushed build 31-Oct-2024 12:58:45 873d491e7f50: Pushed build 31-Oct-2024 12:58:45 bba03803bef4: Pushed build 31-Oct-2024 12:58:45 ccb063697e4b: Layer already exists build 31-Oct-2024 12:58:45 abdaa093b247: Layer already exists build 31-Oct-2024 12:58:45 f0e1731fd286: Layer already exists build 31-Oct-2024 12:58:45 2b6c38ff3137: Layer already exists build 31-Oct-2024 12:58:45 d38f3d5a39fb: Layer already exists build 31-Oct-2024 12:58:46 fe60061c6c4e: Layer already exists build 31-Oct-2024 12:58:46 2ed5ecf5af02: Pushed build 31-Oct-2024 12:58:46 7d63f8777ebf: Layer already exists build 31-Oct-2024 12:58:46 b78901b5b7f2: Pushed build 31-Oct-2024 12:58:46 2c719774c1e1: Layer already exists build 31-Oct-2024 12:58:46 0d7313160faf: Pushed build 31-Oct-2024 12:58:46 1b958b53b256: Layer already exists build 31-Oct-2024 12:58:46 ec62f19bb3aa: Layer already exists build 31-Oct-2024 12:58:46 f94641f1fe1f: Layer already exists build 31-Oct-2024 12:58:51 bef026fad877: Pushed build 31-Oct-2024 12:58:53 2.3.7-SNAPSHOT: digest: sha256:4edf94111ffad49fc57ca36ec581acadeedf8b061009f47aca6b11ba37bfa84f size: 4498 simple 31-Oct-2024 12:58:53 Finished task 'Build and push docker image' with result: Success simple 31-Oct-2024 12:58:53 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 31-Oct-2024 12:58:53 Variable wasn't found in the Build context. It possibly doesn't exist. simple 31-Oct-2024 12:58:53 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:4edf94111ffad49fc57ca36ec581acadeedf8b061009f47aca6b11ba37bfa84f simple 31-Oct-2024 12:58:53 Finished task 'Save docker image ID' with result: Success simple 31-Oct-2024 12:58:53 Running post build plugin 'Docker Container Cleanup' simple 31-Oct-2024 12:58:53 Running post build plugin 'NCover Results Collector' simple 31-Oct-2024 12:58:53 Running post build plugin 'Build Results Label Collector' simple 31-Oct-2024 12:58:53 Running post build plugin 'Clover Results Collector' simple 31-Oct-2024 12:58:53 Running post build plugin 'npm Cache Cleanup' simple 31-Oct-2024 12:58:53 Running post build plugin 'Artifact Copier' simple 31-Oct-2024 12:58:53 Finalising the build... simple 31-Oct-2024 12:58:53 Stopping timer. simple 31-Oct-2024 12:58:53 Build OP-OP3-PDI-205 completed. simple 31-Oct-2024 12:58:53 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 31-Oct-2024 12:58:53 Running on server: post build plugin 'NCover Results Collector' simple 31-Oct-2024 12:58:53 Running on server: post build plugin 'Build Labeller' simple 31-Oct-2024 12:58:53 Running on server: post build plugin 'Clover Delta Calculator' simple 31-Oct-2024 12:58:53 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 31-Oct-2024 12:58:53 All post build plugins have finished simple 31-Oct-2024 12:58:53 Generating build results summary... simple 31-Oct-2024 12:58:53 Saving build results to disk... simple 31-Oct-2024 12:58:53 Store variable context... simple 31-Oct-2024 12:58:53 Finished building OP-OP3-PDI-205.