simple 13-Nov-2024 14:46:18 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #233 (OP-PLATFORM-PDI-233) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 13-Nov-2024 14:46:18 Remote agent on host xindi.openmrs.org simple 13-Nov-2024 14:46:18 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 13-Nov-2024 14:46:18 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #233 (OP-PLATFORM-PDI-233) simple 13-Nov-2024 14:46:18 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: ) simple 13-Nov-2024 14:46:23 Artifact 'docker-compose-snapshot' prepared in 4.919 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 13-Nov-2024 14:46:23 Running pre-build action: Build Log Labeller Pre Build Action simple 13-Nov-2024 14:46:23 Running pre-build action: VCS Version Collector simple 13-Nov-2024 14:46:23 Running pre-build action: Run Predator simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26797 java 1394 bamboo-age 2995Mb 603Mb 00:35:44 /usr/lib/jvm/java-8-ope simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1394 wrapper 1 bamboo-age 16Mb 2Mb 00:16:03 /home/bamboo-agent/bamb simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:46 /sbin/init simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Initial free space: 3.762989 GB simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP26-UV simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository simple 13-Nov-2024 14:46:23 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] Maven stable disk freed: 0.70933807 GB, deleted 272 files simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] Final free space: 3.7636566 GB simple 13-Nov-2024 14:46:24 [PredatorPreBuildAction] Done command 13-Nov-2024 14:46:24 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 13-Nov-2024 14:46:24 Substituting password variable: ${bamboo.dockerhub.password} command 13-Nov-2024 14:46:24 Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT command 13-Nov-2024 14:46:24 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 13-Nov-2024 14:46:24 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 13-Nov-2024 14:46:24 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 13-Nov-2024 14:46:24 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 13-Nov-2024 14:46:24 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #233 (OP-PLATFORM-PDI-233)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-233-ScriptBuildTask-497219865578254782.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI\n error 13-Nov-2024 14:46:24 + [[ ehuB != ehuxB ]] error 13-Nov-2024 14:46:24 + echo 'Start of Lmod init/bash script to define the module command' error 13-Nov-2024 14:46:24 + LMOD_PKG=/usr/share/lmod/lmod build 13-Nov-2024 14:46:24 Start of Lmod init/bash script to define the module command error 13-Nov-2024 14:46:24 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 13-Nov-2024 14:46:24 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 13-Nov-2024 14:46:24 + MODULESHOME=/usr/share/lmod/lmod error 13-Nov-2024 14:46:24 + export LMOD_PKG error 13-Nov-2024 14:46:24 + export LMOD_CMD error 13-Nov-2024 14:46:24 + export LMOD_DIR error 13-Nov-2024 14:46:24 + export MODULESHOME error 13-Nov-2024 14:46:24 + LMOD_VERSION=6.6 error 13-Nov-2024 14:46:24 + export LMOD_VERSION error 13-Nov-2024 14:46:24 + '[' : '!=' : ']' error 13-Nov-2024 14:46:24 + unalias ml error 13-Nov-2024 14:46:24 + true error 13-Nov-2024 14:46:24 ++ echo YES error 13-Nov-2024 14:46:24 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 13-Nov-2024 14:46:24 End of Lmod init/bash script to define the module command error 13-Nov-2024 14:46:24 + export_module=yes error 13-Nov-2024 14:46:24 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 13-Nov-2024 14:46:24 + export -f module error 13-Nov-2024 14:46:24 + export -f ml error 13-Nov-2024 14:46:24 + unset export_module error 13-Nov-2024 14:46:24 + '[' -n '' ']' error 13-Nov-2024 14:46:24 + '[' 5 -ge 3 ']' error 13-Nov-2024 14:46:24 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 13-Nov-2024 14:46:24 + '[' -n '' ']' error 13-Nov-2024 14:46:24 + [[ ehuB != ehuxB ]] error 13-Nov-2024 14:46:24 + echo 'End of Lmod init/bash script to define the module command' error 13-Nov-2024 14:46:24 + docker login -u openmrsci -p ******** error 13-Nov-2024 14:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 13-Nov-2024 14:46:25 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 13-Nov-2024 14:46:25 Configure a credential helper to remove this warning. See error 13-Nov-2024 14:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 13-Nov-2024 14:46:25 build 13-Nov-2024 14:46:25 Login Succeeded error 13-Nov-2024 14:46:25 + set +x build 13-Nov-2024 14:46:25 Sending build context to Docker daemon 137.9MB build 13-Nov-2024 14:46:25 build 13-Nov-2024 14:46:25 Step 1/11 : FROM tomcat:7-jre8 build 13-Nov-2024 14:46:26 7-jre8: Pulling from library/tomcat build 13-Nov-2024 14:46:26 c5e155d5a1d1: Pulling fs layer build 13-Nov-2024 14:46:26 221d80d00ae9: Pulling fs layer build 13-Nov-2024 14:46:26 4250b3117dca: Pulling fs layer build 13-Nov-2024 14:46:26 d1370422ab93: Pulling fs layer build 13-Nov-2024 14:46:26 deb6b03222ca: Pulling fs layer build 13-Nov-2024 14:46:26 9cdea8d70cc3: Pulling fs layer build 13-Nov-2024 14:46:26 968505be14db: Pulling fs layer build 13-Nov-2024 14:46:26 04b5c270ac81: Pulling fs layer build 13-Nov-2024 14:46:26 301d76fcab1f: Pulling fs layer build 13-Nov-2024 14:46:26 ddf85cd1cc29: Pulling fs layer build 13-Nov-2024 14:46:26 ef1e6f25e812: Pulling fs layer build 13-Nov-2024 14:46:26 9cdea8d70cc3: Waiting build 13-Nov-2024 14:46:26 968505be14db: Waiting build 13-Nov-2024 14:46:26 04b5c270ac81: Waiting build 13-Nov-2024 14:46:26 301d76fcab1f: Waiting build 13-Nov-2024 14:46:26 ddf85cd1cc29: Waiting build 13-Nov-2024 14:46:26 ef1e6f25e812: Waiting build 13-Nov-2024 14:46:26 d1370422ab93: Waiting build 13-Nov-2024 14:46:26 deb6b03222ca: Waiting build 13-Nov-2024 14:46:26 4250b3117dca: Verifying Checksum build 13-Nov-2024 14:46:26 4250b3117dca: Download complete build 13-Nov-2024 14:46:26 221d80d00ae9: Verifying Checksum build 13-Nov-2024 14:46:26 221d80d00ae9: Download complete build 13-Nov-2024 14:46:26 d1370422ab93: Verifying Checksum build 13-Nov-2024 14:46:26 d1370422ab93: Download complete build 13-Nov-2024 14:46:27 deb6b03222ca: Verifying Checksum build 13-Nov-2024 14:46:27 deb6b03222ca: Download complete build 13-Nov-2024 14:46:27 c5e155d5a1d1: Verifying Checksum build 13-Nov-2024 14:46:27 c5e155d5a1d1: Download complete build 13-Nov-2024 14:46:27 9cdea8d70cc3: Verifying Checksum build 13-Nov-2024 14:46:27 9cdea8d70cc3: Download complete build 13-Nov-2024 14:46:27 04b5c270ac81: Verifying Checksum build 13-Nov-2024 14:46:27 04b5c270ac81: Download complete build 13-Nov-2024 14:46:27 301d76fcab1f: Verifying Checksum build 13-Nov-2024 14:46:27 301d76fcab1f: Download complete build 13-Nov-2024 14:46:27 ef1e6f25e812: Verifying Checksum build 13-Nov-2024 14:46:27 ef1e6f25e812: Download complete build 13-Nov-2024 14:46:27 ddf85cd1cc29: Verifying Checksum build 13-Nov-2024 14:46:27 ddf85cd1cc29: Download complete build 13-Nov-2024 14:46:28 968505be14db: Verifying Checksum build 13-Nov-2024 14:46:28 968505be14db: Download complete build 13-Nov-2024 14:46:30 c5e155d5a1d1: Pull complete build 13-Nov-2024 14:46:30 221d80d00ae9: Pull complete build 13-Nov-2024 14:46:31 4250b3117dca: Pull complete build 13-Nov-2024 14:46:31 d1370422ab93: Pull complete build 13-Nov-2024 14:46:31 deb6b03222ca: Pull complete build 13-Nov-2024 14:46:31 9cdea8d70cc3: Pull complete build 13-Nov-2024 14:46:36 968505be14db: Pull complete build 13-Nov-2024 14:46:36 04b5c270ac81: Pull complete build 13-Nov-2024 14:46:36 301d76fcab1f: Pull complete build 13-Nov-2024 14:46:36 ddf85cd1cc29: Pull complete build 13-Nov-2024 14:46:37 ef1e6f25e812: Pull complete build 13-Nov-2024 14:46:37 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 13-Nov-2024 14:46:37 Status: Downloaded newer image for tomcat:7-jre8 build 13-Nov-2024 14:46:37 ---> 3037eb7cda68 build 13-Nov-2024 14:46:37 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 13-Nov-2024 14:46:38 ---> 0f011bc0ecc5 build 13-Nov-2024 14:46:38 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 13-Nov-2024 14:46:38 ---> 1a3d37cf7b4e build 13-Nov-2024 14:46:38 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 13-Nov-2024 14:46:38 ---> 176b97fe452c build 13-Nov-2024 14:46:38 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 13-Nov-2024 14:46:39 ---> 41529efb5ded build 13-Nov-2024 14:46:39 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml build 13-Nov-2024 14:46:39 ---> Running in 6f7db79550e2 build 13-Nov-2024 14:46:39 Removing intermediate container 6f7db79550e2 build 13-Nov-2024 14:46:39 ---> e1a7f18b8500 build 13-Nov-2024 14:46:39 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 13-Nov-2024 14:46:39 ---> Running in 5b15fa4b7280 build 13-Nov-2024 14:46:40 Removing intermediate container 5b15fa4b7280 build 13-Nov-2024 14:46:40 ---> 875b19e85a55 build 13-Nov-2024 14:46:40 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 13-Nov-2024 14:46:40 ---> Running in 691f7a26877c build 13-Nov-2024 14:46:41 Removing intermediate container 691f7a26877c build 13-Nov-2024 14:46:41 ---> d44d686fd1c2 build 13-Nov-2024 14:46:41 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 13-Nov-2024 14:46:41 ---> 3291fac91e92 build 13-Nov-2024 14:46:41 Step 10/11 : COPY Dockerfile /root/Dockerfile build 13-Nov-2024 14:46:41 ---> 806639c75582 build 13-Nov-2024 14:46:41 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 13-Nov-2024 14:46:41 ---> Running in b5574f5793fd build 13-Nov-2024 14:46:41 Removing intermediate container b5574f5793fd build 13-Nov-2024 14:46:41 ---> cb86fc07f636 build 13-Nov-2024 14:46:41 Successfully built cb86fc07f636 build 13-Nov-2024 14:46:41 Successfully tagged openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT build 13-Nov-2024 14:46:41 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 13-Nov-2024 14:46:41 0dcaac75dd2e: Preparing build 13-Nov-2024 14:46:41 70a4aadd52f6: Preparing build 13-Nov-2024 14:46:41 2f83ff8d9243: Preparing build 13-Nov-2024 14:46:41 5c51d2d3fc3d: Preparing build 13-Nov-2024 14:46:41 fc87a5cfe24d: Preparing build 13-Nov-2024 14:46:41 4217ae81b046: Preparing build 13-Nov-2024 14:46:41 5f2a14cc2317: Preparing build 13-Nov-2024 14:46:41 6b6b092bf037: Preparing build 13-Nov-2024 14:46:41 c2b964c354a6: Preparing build 13-Nov-2024 14:46:41 ccb063697e4b: Preparing build 13-Nov-2024 14:46:41 abdaa093b247: Preparing build 13-Nov-2024 14:46:41 f0e1731fd286: Preparing build 13-Nov-2024 14:46:41 2b6c38ff3137: Preparing build 13-Nov-2024 14:46:41 d38f3d5a39fb: Preparing build 13-Nov-2024 14:46:41 fe60061c6c4e: Preparing build 13-Nov-2024 14:46:41 7d63f8777ebf: Preparing build 13-Nov-2024 14:46:41 1b958b53b256: Preparing build 13-Nov-2024 14:46:41 2c719774c1e1: Preparing build 13-Nov-2024 14:46:41 ec62f19bb3aa: Preparing build 13-Nov-2024 14:46:41 f94641f1fe1f: Preparing build 13-Nov-2024 14:46:41 4217ae81b046: Waiting build 13-Nov-2024 14:46:41 2b6c38ff3137: Waiting build 13-Nov-2024 14:46:41 d38f3d5a39fb: Waiting build 13-Nov-2024 14:46:41 fe60061c6c4e: Waiting build 13-Nov-2024 14:46:41 7d63f8777ebf: Waiting build 13-Nov-2024 14:46:41 1b958b53b256: Waiting build 13-Nov-2024 14:46:41 2c719774c1e1: Waiting build 13-Nov-2024 14:46:41 ec62f19bb3aa: Waiting build 13-Nov-2024 14:46:41 f94641f1fe1f: Waiting build 13-Nov-2024 14:46:41 5f2a14cc2317: Waiting build 13-Nov-2024 14:46:41 6b6b092bf037: Waiting build 13-Nov-2024 14:46:41 c2b964c354a6: Waiting build 13-Nov-2024 14:46:41 ccb063697e4b: Waiting build 13-Nov-2024 14:46:41 abdaa093b247: Waiting build 13-Nov-2024 14:46:41 f0e1731fd286: Waiting build 13-Nov-2024 14:46:43 70a4aadd52f6: Pushed build 13-Nov-2024 14:46:43 2f83ff8d9243: Pushed build 13-Nov-2024 14:46:43 0dcaac75dd2e: Pushed build 13-Nov-2024 14:46:43 5c51d2d3fc3d: Pushed build 13-Nov-2024 14:46:43 fc87a5cfe24d: Pushed build 13-Nov-2024 14:46:43 ccb063697e4b: Layer already exists build 13-Nov-2024 14:46:43 abdaa093b247: Layer already exists build 13-Nov-2024 14:46:43 f0e1731fd286: Layer already exists build 13-Nov-2024 14:46:43 2b6c38ff3137: Layer already exists build 13-Nov-2024 14:46:43 d38f3d5a39fb: Layer already exists build 13-Nov-2024 14:46:44 fe60061c6c4e: Layer already exists build 13-Nov-2024 14:46:44 7d63f8777ebf: Layer already exists build 13-Nov-2024 14:46:44 1b958b53b256: Layer already exists build 13-Nov-2024 14:46:44 4217ae81b046: Pushed build 13-Nov-2024 14:46:44 5f2a14cc2317: Pushed build 13-Nov-2024 14:46:44 6b6b092bf037: Pushed build 13-Nov-2024 14:46:44 2c719774c1e1: Layer already exists build 13-Nov-2024 14:46:44 ec62f19bb3aa: Layer already exists build 13-Nov-2024 14:46:44 f94641f1fe1f: Layer already exists build 13-Nov-2024 14:46:52 c2b964c354a6: Pushed build 13-Nov-2024 14:46:53 2.4.6-SNAPSHOT: digest: sha256:3f73e059d7946b387da952d9c575b6529db82f94900892ad97de0e4c061378a9 size: 4498 simple 13-Nov-2024 14:46:53 Finished task 'Build and push docker image' with result: Success simple 13-Nov-2024 14:46:53 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 13-Nov-2024 14:46:53 Variable wasn't found in the Build context. It possibly doesn't exist. simple 13-Nov-2024 14:46:53 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:3f73e059d7946b387da952d9c575b6529db82f94900892ad97de0e4c061378a9 simple 13-Nov-2024 14:46:53 Finished task 'Save docker image ID' with result: Success simple 13-Nov-2024 14:46:53 Running post build plugin 'Docker Container Cleanup' simple 13-Nov-2024 14:46:53 Running post build plugin 'NCover Results Collector' simple 13-Nov-2024 14:46:53 Running post build plugin 'Build Results Label Collector' simple 13-Nov-2024 14:46:53 Running post build plugin 'Clover Results Collector' simple 13-Nov-2024 14:46:53 Running post build plugin 'npm Cache Cleanup' simple 13-Nov-2024 14:46:53 Running post build plugin 'Artifact Copier' simple 13-Nov-2024 14:46:53 Finalising the build... simple 13-Nov-2024 14:46:53 Stopping timer. simple 13-Nov-2024 14:46:53 Build OP-PLATFORM-PDI-233 completed. simple 13-Nov-2024 14:46:53 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 13-Nov-2024 14:46:53 Running on server: post build plugin 'NCover Results Collector' simple 13-Nov-2024 14:46:53 Running on server: post build plugin 'Build Labeller' simple 13-Nov-2024 14:46:53 Running on server: post build plugin 'Clover Delta Calculator' simple 13-Nov-2024 14:46:53 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 13-Nov-2024 14:46:53 All post build plugins have finished simple 13-Nov-2024 14:46:53 Generating build results summary... simple 13-Nov-2024 14:46:53 Saving build results to disk... simple 13-Nov-2024 14:46:53 Store variable context... simple 13-Nov-2024 14:46:53 Finished building OP-PLATFORM-PDI-233.