simple 26-Apr-2024 00:38:30 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4 simple 26-Apr-2024 00:38:30 Remote agent on host xindi.openmrs.org simple 26-Apr-2024 00:38:30 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 26-Apr-2024 00:38:30 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89) simple 26-Apr-2024 00:38:30 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: ) simple 26-Apr-2024 00:38:34 Artifact 'docker-compose-snapshot' prepared in 4.292 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 26-Apr-2024 00:38:34 Running pre-build action: Build Log Labeller Pre Build Action simple 26-Apr-2024 00:38:34 Running pre-build action: VCS Version Collector simple 26-Apr-2024 00:38:34 Running pre-build action: Run Predator simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1973 java 1326 bamboo-age 2974Mb 402Mb 00:08:45 /usr/lib/jvm/java-8-ope simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1326 wrapper 1 bamboo-age 16Mb 2Mb 00:02:17 /home/bamboo-agent/bamb simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 11Mb 00:00:15 /sbin/init simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Initial free space: 5.6577682 GB simple 26-Apr-2024 00:38:34 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOMAR simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] Maven stable disk freed: 0.9998248 GB, deleted 1147 files simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] Final free space: 5.6580467 GB simple 26-Apr-2024 00:38:35 [PredatorPreBuildAction] Done command 26-Apr-2024 00:38:35 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 26-Apr-2024 00:38:35 Substituting password variable: ${bamboo.dockerhub.password} command 26-Apr-2024 00:38:35 Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT command 26-Apr-2024 00:38:35 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 26-Apr-2024 00:38:35 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 26-Apr-2024 00:38:35 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 26-Apr-2024 00:38:35 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-Apr-2024 00:38:35 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #89 (OP-OP2-PDI-89)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-89-ScriptBuildTask-8223407977303506371.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI\n build 26-Apr-2024 00:38:35 Start of Lmod init/bash script to define the module command error 26-Apr-2024 00:38:35 + [[ ehuB != ehuxB ]] error 26-Apr-2024 00:38:35 + echo 'Start of Lmod init/bash script to define the module command' error 26-Apr-2024 00:38:35 + LMOD_PKG=/usr/share/lmod/lmod error 26-Apr-2024 00:38:35 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 26-Apr-2024 00:38:35 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 26-Apr-2024 00:38:35 + MODULESHOME=/usr/share/lmod/lmod error 26-Apr-2024 00:38:35 + export LMOD_PKG error 26-Apr-2024 00:38:35 + export LMOD_CMD error 26-Apr-2024 00:38:35 + export LMOD_DIR error 26-Apr-2024 00:38:35 + export MODULESHOME error 26-Apr-2024 00:38:35 + LMOD_VERSION=6.6 error 26-Apr-2024 00:38:35 + export LMOD_VERSION error 26-Apr-2024 00:38:35 + '[' : '!=' : ']' error 26-Apr-2024 00:38:35 + unalias ml error 26-Apr-2024 00:38:35 + true error 26-Apr-2024 00:38:35 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 26-Apr-2024 00:38:35 ++ echo YES error 26-Apr-2024 00:38:35 + export_module=yes error 26-Apr-2024 00:38:35 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 26-Apr-2024 00:38:35 + export -f module error 26-Apr-2024 00:38:35 + export -f ml error 26-Apr-2024 00:38:35 + unset export_module error 26-Apr-2024 00:38:35 + '[' -n '' ']' error 26-Apr-2024 00:38:35 + '[' 5 -ge 3 ']' error 26-Apr-2024 00:38:35 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 26-Apr-2024 00:38:35 + '[' -n '' ']' error 26-Apr-2024 00:38:35 + [[ ehuB != ehuxB ]] error 26-Apr-2024 00:38:35 + echo 'End of Lmod init/bash script to define the module command' error 26-Apr-2024 00:38:35 + docker login -u openmrsci -p ******** build 26-Apr-2024 00:38:35 End of Lmod init/bash script to define the module command error 26-Apr-2024 00:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 26-Apr-2024 00:38:35 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 26-Apr-2024 00:38:35 Configure a credential helper to remove this warning. See error 26-Apr-2024 00:38:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 26-Apr-2024 00:38:35 build 26-Apr-2024 00:38:35 Login Succeeded error 26-Apr-2024 00:38:35 + set +x build 26-Apr-2024 00:38:36 Sending build context to Docker daemon 100.9MB build 26-Apr-2024 00:38:36 build 26-Apr-2024 00:38:36 Step 1/11 : FROM tomcat:7-jre8 build 26-Apr-2024 00:38:36 7-jre8: Pulling from library/tomcat build 26-Apr-2024 00:38:36 c5e155d5a1d1: Pulling fs layer build 26-Apr-2024 00:38:36 221d80d00ae9: Pulling fs layer build 26-Apr-2024 00:38:36 4250b3117dca: Pulling fs layer build 26-Apr-2024 00:38:36 d1370422ab93: Pulling fs layer build 26-Apr-2024 00:38:36 deb6b03222ca: Pulling fs layer build 26-Apr-2024 00:38:36 9cdea8d70cc3: Pulling fs layer build 26-Apr-2024 00:38:36 968505be14db: Pulling fs layer build 26-Apr-2024 00:38:36 04b5c270ac81: Pulling fs layer build 26-Apr-2024 00:38:36 301d76fcab1f: Pulling fs layer build 26-Apr-2024 00:38:36 ddf85cd1cc29: Pulling fs layer build 26-Apr-2024 00:38:36 ef1e6f25e812: Pulling fs layer build 26-Apr-2024 00:38:36 d1370422ab93: Waiting build 26-Apr-2024 00:38:36 deb6b03222ca: Waiting build 26-Apr-2024 00:38:36 9cdea8d70cc3: Waiting build 26-Apr-2024 00:38:36 968505be14db: Waiting build 26-Apr-2024 00:38:36 04b5c270ac81: Waiting build 26-Apr-2024 00:38:36 301d76fcab1f: Waiting build 26-Apr-2024 00:38:36 ddf85cd1cc29: Waiting build 26-Apr-2024 00:38:36 ef1e6f25e812: Waiting build 26-Apr-2024 00:38:37 4250b3117dca: Verifying Checksum build 26-Apr-2024 00:38:37 4250b3117dca: Download complete build 26-Apr-2024 00:38:37 221d80d00ae9: Verifying Checksum build 26-Apr-2024 00:38:37 221d80d00ae9: Download complete build 26-Apr-2024 00:38:37 d1370422ab93: Verifying Checksum build 26-Apr-2024 00:38:37 d1370422ab93: Download complete build 26-Apr-2024 00:38:37 deb6b03222ca: Verifying Checksum build 26-Apr-2024 00:38:37 deb6b03222ca: Download complete build 26-Apr-2024 00:38:37 c5e155d5a1d1: Verifying Checksum build 26-Apr-2024 00:38:37 c5e155d5a1d1: Download complete build 26-Apr-2024 00:38:37 9cdea8d70cc3: Verifying Checksum build 26-Apr-2024 00:38:37 9cdea8d70cc3: Download complete build 26-Apr-2024 00:38:37 04b5c270ac81: Verifying Checksum build 26-Apr-2024 00:38:37 04b5c270ac81: Download complete build 26-Apr-2024 00:38:37 301d76fcab1f: Verifying Checksum build 26-Apr-2024 00:38:37 301d76fcab1f: Download complete build 26-Apr-2024 00:38:37 ef1e6f25e812: Verifying Checksum build 26-Apr-2024 00:38:37 ef1e6f25e812: Download complete build 26-Apr-2024 00:38:37 ddf85cd1cc29: Verifying Checksum build 26-Apr-2024 00:38:37 ddf85cd1cc29: Download complete build 26-Apr-2024 00:38:39 968505be14db: Verifying Checksum build 26-Apr-2024 00:38:39 968505be14db: Download complete build 26-Apr-2024 00:38:40 c5e155d5a1d1: Pull complete build 26-Apr-2024 00:38:40 221d80d00ae9: Pull complete build 26-Apr-2024 00:38:40 4250b3117dca: Pull complete build 26-Apr-2024 00:38:40 d1370422ab93: Pull complete build 26-Apr-2024 00:38:41 deb6b03222ca: Pull complete build 26-Apr-2024 00:38:41 9cdea8d70cc3: Pull complete build 26-Apr-2024 00:38:46 968505be14db: Pull complete build 26-Apr-2024 00:38:46 04b5c270ac81: Pull complete build 26-Apr-2024 00:38:46 301d76fcab1f: Pull complete build 26-Apr-2024 00:38:46 ddf85cd1cc29: Pull complete build 26-Apr-2024 00:38:46 ef1e6f25e812: Pull complete build 26-Apr-2024 00:38:46 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 26-Apr-2024 00:38:46 Status: Downloaded newer image for tomcat:7-jre8 build 26-Apr-2024 00:38:46 ---> 3037eb7cda68 build 26-Apr-2024 00:38:46 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 26-Apr-2024 00:38:48 ---> 1c92c9cac206 build 26-Apr-2024 00:38:48 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 26-Apr-2024 00:38:48 ---> 6bdd7b50e88b build 26-Apr-2024 00:38:48 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 26-Apr-2024 00:38:48 ---> d893a35e4be1 build 26-Apr-2024 00:38:48 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 26-Apr-2024 00:38:48 ---> 0efe0bb40e05 build 26-Apr-2024 00:38:48 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml build 26-Apr-2024 00:38:48 ---> Running in c2c027381509 build 26-Apr-2024 00:38:48 Removing intermediate container c2c027381509 build 26-Apr-2024 00:38:48 ---> c608ac2b0f0c build 26-Apr-2024 00:38:48 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 26-Apr-2024 00:38:48 ---> Running in 28fd3e7fb0da build 26-Apr-2024 00:38:49 Removing intermediate container 28fd3e7fb0da build 26-Apr-2024 00:38:49 ---> 9f5100c5bbb2 build 26-Apr-2024 00:38:49 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 26-Apr-2024 00:38:49 ---> Running in 8ec075acc858 build 26-Apr-2024 00:38:50 Removing intermediate container 8ec075acc858 build 26-Apr-2024 00:38:50 ---> 548b6b6691a7 build 26-Apr-2024 00:38:50 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 26-Apr-2024 00:38:50 ---> 05692e3bae14 build 26-Apr-2024 00:38:50 Step 10/11 : COPY Dockerfile /root/Dockerfile build 26-Apr-2024 00:38:50 ---> 35d2c1487aae build 26-Apr-2024 00:38:50 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 26-Apr-2024 00:38:50 ---> Running in bcc9b1fd9101 build 26-Apr-2024 00:38:50 Removing intermediate container bcc9b1fd9101 build 26-Apr-2024 00:38:50 ---> 37abae14c047 build 26-Apr-2024 00:38:50 Successfully built 37abae14c047 build 26-Apr-2024 00:38:50 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT build 26-Apr-2024 00:38:50 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 26-Apr-2024 00:38:50 349cd2f08e73: Preparing build 26-Apr-2024 00:38:50 d247229f374a: Preparing build 26-Apr-2024 00:38:50 a0d109edeac9: Preparing build 26-Apr-2024 00:38:50 7409cf11c072: Preparing build 26-Apr-2024 00:38:50 20ee0a24898f: Preparing build 26-Apr-2024 00:38:50 7df180a94abf: Preparing build 26-Apr-2024 00:38:50 d9b5812faf96: Preparing build 26-Apr-2024 00:38:50 f5f5130cafe1: Preparing build 26-Apr-2024 00:38:50 bc9fd9583fcf: Preparing build 26-Apr-2024 00:38:50 ccb063697e4b: Preparing build 26-Apr-2024 00:38:50 abdaa093b247: Preparing build 26-Apr-2024 00:38:50 f0e1731fd286: Preparing build 26-Apr-2024 00:38:50 2b6c38ff3137: Preparing build 26-Apr-2024 00:38:50 d38f3d5a39fb: Preparing build 26-Apr-2024 00:38:50 fe60061c6c4e: Preparing build 26-Apr-2024 00:38:50 7d63f8777ebf: Preparing build 26-Apr-2024 00:38:50 1b958b53b256: Preparing build 26-Apr-2024 00:38:50 2c719774c1e1: Preparing build 26-Apr-2024 00:38:50 ec62f19bb3aa: Preparing build 26-Apr-2024 00:38:50 f94641f1fe1f: Preparing build 26-Apr-2024 00:38:50 f0e1731fd286: Waiting build 26-Apr-2024 00:38:50 2b6c38ff3137: Waiting build 26-Apr-2024 00:38:50 d38f3d5a39fb: Waiting build 26-Apr-2024 00:38:50 fe60061c6c4e: Waiting build 26-Apr-2024 00:38:50 7d63f8777ebf: Waiting build 26-Apr-2024 00:38:50 1b958b53b256: Waiting build 26-Apr-2024 00:38:50 2c719774c1e1: Waiting build 26-Apr-2024 00:38:50 ec62f19bb3aa: Waiting build 26-Apr-2024 00:38:50 f94641f1fe1f: Waiting build 26-Apr-2024 00:38:50 7df180a94abf: Waiting build 26-Apr-2024 00:38:50 d9b5812faf96: Waiting build 26-Apr-2024 00:38:50 f5f5130cafe1: Waiting build 26-Apr-2024 00:38:50 bc9fd9583fcf: Waiting build 26-Apr-2024 00:38:50 ccb063697e4b: Waiting build 26-Apr-2024 00:38:50 abdaa093b247: Waiting build 26-Apr-2024 00:38:51 349cd2f08e73: Pushed build 26-Apr-2024 00:38:51 d247229f374a: Pushed build 26-Apr-2024 00:38:51 a0d109edeac9: Pushed build 26-Apr-2024 00:38:52 7409cf11c072: Pushed build 26-Apr-2024 00:38:52 20ee0a24898f: Pushed build 26-Apr-2024 00:38:52 ccb063697e4b: Layer already exists build 26-Apr-2024 00:38:52 abdaa093b247: Layer already exists build 26-Apr-2024 00:38:52 f0e1731fd286: Layer already exists build 26-Apr-2024 00:38:52 2b6c38ff3137: Layer already exists build 26-Apr-2024 00:38:52 d38f3d5a39fb: Layer already exists build 26-Apr-2024 00:38:52 fe60061c6c4e: Layer already exists build 26-Apr-2024 00:38:53 7d63f8777ebf: Layer already exists build 26-Apr-2024 00:38:53 d9b5812faf96: Pushed build 26-Apr-2024 00:38:53 7df180a94abf: Pushed build 26-Apr-2024 00:38:53 1b958b53b256: Layer already exists build 26-Apr-2024 00:38:53 f5f5130cafe1: Pushed build 26-Apr-2024 00:38:53 ec62f19bb3aa: Layer already exists build 26-Apr-2024 00:38:53 2c719774c1e1: Layer already exists build 26-Apr-2024 00:38:53 f94641f1fe1f: Layer already exists build 26-Apr-2024 00:38:58 bc9fd9583fcf: Pushed build 26-Apr-2024 00:39:00 2.2.2-SNAPSHOT: digest: sha256:b735a4bfe46305bc725e7b6028da67a83fd7712e3aceea079ce986016bf371b2 size: 4498 simple 26-Apr-2024 00:39:00 Finished task 'Build and push docker image' with result: Success simple 26-Apr-2024 00:39:00 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader' simple 26-Apr-2024 00:39:00 Variable wasn't found in the Build context. It possibly doesn't exist. simple 26-Apr-2024 00:39:00 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:b735a4bfe46305bc725e7b6028da67a83fd7712e3aceea079ce986016bf371b2 simple 26-Apr-2024 00:39:00 Finished task 'Save docker image ID' with result: Success simple 26-Apr-2024 00:39:00 Running post build plugin 'Docker Container Cleanup' simple 26-Apr-2024 00:39:00 Running post build plugin 'NCover Results Collector' simple 26-Apr-2024 00:39:00 Running post build plugin 'Build Results Label Collector' simple 26-Apr-2024 00:39:00 Running post build plugin 'Clover Results Collector' simple 26-Apr-2024 00:39:00 Running post build plugin 'npm Cache Cleanup' simple 26-Apr-2024 00:39:00 Running post build plugin 'Artifact Copier' simple 26-Apr-2024 00:39:00 Finalising the build... simple 26-Apr-2024 00:39:00 Stopping timer. simple 26-Apr-2024 00:39:00 Build OP-OP2-PDI-89 completed. simple 26-Apr-2024 00:39:00 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Apr-2024 00:39:00 Running on server: post build plugin 'NCover Results Collector' simple 26-Apr-2024 00:39:00 Running on server: post build plugin 'Build Labeller' simple 26-Apr-2024 00:39:00 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Apr-2024 00:39:00 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Apr-2024 00:39:00 All post build plugins have finished simple 26-Apr-2024 00:39:00 Generating build results summary... simple 26-Apr-2024 00:39:00 Saving build results to disk... simple 26-Apr-2024 00:39:00 Store variable context... simple 26-Apr-2024 00:39:00 Finished building OP-OP2-PDI-89.