simple 26-Apr-2024 00:42:45 Build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 26-Apr-2024 00:42:45 Remote agent on host xiao.openmrs.org simple 26-Apr-2024 00:42:45 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 26-Apr-2024 00:42:45 Executing build OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205) simple 26-Apr-2024 00:42:45 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI (location: ) simple 26-Apr-2024 00:42:51 Artifact 'docker-compose-snapshot' prepared in 5.775 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI simple 26-Apr-2024 00:42:51 Running pre-build action: Build Log Labeller Pre Build Action simple 26-Apr-2024 00:42:51 Running pre-build action: VCS Version Collector simple 26-Apr-2024 00:42:51 Running pre-build action: Run Predator simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1683 java 1229 bamboo-age 2967Mb 429Mb 00:08:41 /usr/lib/jvm/java-8-ope simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1229 wrapper 1 bamboo-age 16Mb 2Mb 00:02:16 /home/bamboo-agent/bamb simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:12 /sbin/init simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Initial free space: 5.162304 GB simple 26-Apr-2024 00:42:51 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM-TOM simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] Maven stable disk freed: 0.77545595 GB, deleted 907 files simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] Final free space: 5.162571 GB simple 26-Apr-2024 00:42:52 [PredatorPreBuildAction] Done command 26-Apr-2024 00:42:52 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 26-Apr-2024 00:42:52 Substituting password variable: ${bamboo.dockerhub.password} command 26-Apr-2024 00:42:52 Substituting variable: ${bamboo.maven.snapshot.version} with 2.4.6-SNAPSHOT command 26-Apr-2024 00:42:52 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 26-Apr-2024 00:42:52 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 26-Apr-2024 00:42:52 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 26-Apr-2024 00:42:52 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-Apr-2024 00:42:52 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.4.x - Push docker image #205 (OP-PLATFORM-PDI-205)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-PLATFORM-PDI-205-ScriptBuildTask-4550247420982403686.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-PLATFORM-PDI\n build 26-Apr-2024 00:42:52 Start of Lmod init/bash script to define the module command error 26-Apr-2024 00:42:52 + [[ ehuB != ehuxB ]] error 26-Apr-2024 00:42:52 + echo 'Start of Lmod init/bash script to define the module command' error 26-Apr-2024 00:42:52 + LMOD_PKG=/usr/share/lmod/lmod error 26-Apr-2024 00:42:52 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 26-Apr-2024 00:42:52 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 26-Apr-2024 00:42:52 + MODULESHOME=/usr/share/lmod/lmod error 26-Apr-2024 00:42:52 + export LMOD_PKG error 26-Apr-2024 00:42:52 + export LMOD_CMD error 26-Apr-2024 00:42:52 + export LMOD_DIR error 26-Apr-2024 00:42:52 + export MODULESHOME error 26-Apr-2024 00:42:52 + LMOD_VERSION=6.6 error 26-Apr-2024 00:42:52 + export LMOD_VERSION error 26-Apr-2024 00:42:52 + '[' : '!=' : ']' error 26-Apr-2024 00:42:52 + unalias ml error 26-Apr-2024 00:42:52 + true error 26-Apr-2024 00:42:52 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 26-Apr-2024 00:42:52 ++ echo YES build 26-Apr-2024 00:42:52 End of Lmod init/bash script to define the module command error 26-Apr-2024 00:42:52 + export_module=yes error 26-Apr-2024 00:42:52 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 26-Apr-2024 00:42:52 + export -f module error 26-Apr-2024 00:42:52 + export -f ml error 26-Apr-2024 00:42:52 + unset export_module error 26-Apr-2024 00:42:52 + '[' -n '' ']' error 26-Apr-2024 00:42:52 + '[' 5 -ge 3 ']' error 26-Apr-2024 00:42:52 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 26-Apr-2024 00:42:52 + '[' -n '' ']' error 26-Apr-2024 00:42:52 + [[ ehuB != ehuxB ]] error 26-Apr-2024 00:42:52 + echo 'End of Lmod init/bash script to define the module command' error 26-Apr-2024 00:42:52 + docker login -u openmrsci -p ******** error 26-Apr-2024 00:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 26-Apr-2024 00:42:52 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 26-Apr-2024 00:42:52 Configure a credential helper to remove this warning. See error 26-Apr-2024 00:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 26-Apr-2024 00:42:52 build 26-Apr-2024 00:42:52 Login Succeeded error 26-Apr-2024 00:42:52 + set +x build 26-Apr-2024 00:42:53 Sending build context to Docker daemon 137.9MB build 26-Apr-2024 00:42:53 build 26-Apr-2024 00:42:53 Step 1/11 : FROM tomcat:7-jre8 build 26-Apr-2024 00:42:54 7-jre8: Pulling from library/tomcat build 26-Apr-2024 00:42:54 c5e155d5a1d1: Pulling fs layer build 26-Apr-2024 00:42:54 221d80d00ae9: Pulling fs layer build 26-Apr-2024 00:42:54 4250b3117dca: Pulling fs layer build 26-Apr-2024 00:42:54 d1370422ab93: Pulling fs layer build 26-Apr-2024 00:42:54 deb6b03222ca: Pulling fs layer build 26-Apr-2024 00:42:54 9cdea8d70cc3: Pulling fs layer build 26-Apr-2024 00:42:54 968505be14db: Pulling fs layer build 26-Apr-2024 00:42:54 04b5c270ac81: Pulling fs layer build 26-Apr-2024 00:42:54 d1370422ab93: Waiting build 26-Apr-2024 00:42:54 deb6b03222ca: Waiting build 26-Apr-2024 00:42:54 9cdea8d70cc3: Waiting build 26-Apr-2024 00:42:54 968505be14db: Waiting build 26-Apr-2024 00:42:54 301d76fcab1f: Pulling fs layer build 26-Apr-2024 00:42:54 04b5c270ac81: Waiting build 26-Apr-2024 00:42:54 301d76fcab1f: Waiting build 26-Apr-2024 00:42:54 ddf85cd1cc29: Pulling fs layer build 26-Apr-2024 00:42:54 ef1e6f25e812: Pulling fs layer build 26-Apr-2024 00:42:54 ddf85cd1cc29: Waiting build 26-Apr-2024 00:42:54 ef1e6f25e812: Waiting build 26-Apr-2024 00:42:54 4250b3117dca: Verifying Checksum build 26-Apr-2024 00:42:54 4250b3117dca: Download complete build 26-Apr-2024 00:42:54 221d80d00ae9: Verifying Checksum build 26-Apr-2024 00:42:54 221d80d00ae9: Download complete build 26-Apr-2024 00:42:54 d1370422ab93: Verifying Checksum build 26-Apr-2024 00:42:54 d1370422ab93: Download complete build 26-Apr-2024 00:42:54 c5e155d5a1d1: Verifying Checksum build 26-Apr-2024 00:42:54 c5e155d5a1d1: Download complete build 26-Apr-2024 00:42:54 9cdea8d70cc3: Verifying Checksum build 26-Apr-2024 00:42:54 9cdea8d70cc3: Download complete build 26-Apr-2024 00:42:54 deb6b03222ca: Verifying Checksum build 26-Apr-2024 00:42:54 deb6b03222ca: Download complete build 26-Apr-2024 00:42:55 04b5c270ac81: Download complete build 26-Apr-2024 00:42:55 301d76fcab1f: Verifying Checksum build 26-Apr-2024 00:42:55 301d76fcab1f: Download complete build 26-Apr-2024 00:42:55 ef1e6f25e812: Verifying Checksum build 26-Apr-2024 00:42:55 ef1e6f25e812: Download complete build 26-Apr-2024 00:42:55 ddf85cd1cc29: Verifying Checksum build 26-Apr-2024 00:42:55 ddf85cd1cc29: Download complete build 26-Apr-2024 00:42:56 968505be14db: Verifying Checksum build 26-Apr-2024 00:42:56 968505be14db: Download complete build 26-Apr-2024 00:42:57 c5e155d5a1d1: Pull complete build 26-Apr-2024 00:42:57 221d80d00ae9: Pull complete build 26-Apr-2024 00:42:58 4250b3117dca: Pull complete build 26-Apr-2024 00:42:58 d1370422ab93: Pull complete build 26-Apr-2024 00:42:58 deb6b03222ca: Pull complete build 26-Apr-2024 00:42:58 9cdea8d70cc3: Pull complete build 26-Apr-2024 00:43:02 968505be14db: Pull complete build 26-Apr-2024 00:43:02 04b5c270ac81: Pull complete build 26-Apr-2024 00:43:02 301d76fcab1f: Pull complete build 26-Apr-2024 00:43:03 ddf85cd1cc29: Pull complete build 26-Apr-2024 00:43:03 ef1e6f25e812: Pull complete build 26-Apr-2024 00:43:03 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 26-Apr-2024 00:43:03 Status: Downloaded newer image for tomcat:7-jre8 build 26-Apr-2024 00:43:03 ---> 3037eb7cda68 build 26-Apr-2024 00:43:03 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 26-Apr-2024 00:43:04 ---> 34bf0b922aad build 26-Apr-2024 00:43:04 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 26-Apr-2024 00:43:04 ---> 30bc618b20c5 build 26-Apr-2024 00:43:04 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 26-Apr-2024 00:43:04 ---> 8377a38fb3ea build 26-Apr-2024 00:43:04 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 26-Apr-2024 00:43:04 ---> 315e7e7a8db8 build 26-Apr-2024 00:43:04 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:43:04 ---> Running in c3fed0b62212 build 26-Apr-2024 00:43:05 Removing intermediate container c3fed0b62212 build 26-Apr-2024 00:43:05 ---> fb7b3d7c2be5 build 26-Apr-2024 00:43:05 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 26-Apr-2024 00:43:05 ---> Running in 6730a65970e0 build 26-Apr-2024 00:43:05 Removing intermediate container 6730a65970e0 build 26-Apr-2024 00:43:05 ---> 902095fa0665 build 26-Apr-2024 00:43:05 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 26-Apr-2024 00:43:05 ---> Running in da97ab22f34b build 26-Apr-2024 00:43:06 Removing intermediate container da97ab22f34b build 26-Apr-2024 00:43:06 ---> 55041ae02f14 build 26-Apr-2024 00:43:06 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 26-Apr-2024 00:43:06 ---> 96dfd8618ac4 build 26-Apr-2024 00:43:06 Step 10/11 : COPY Dockerfile /root/Dockerfile build 26-Apr-2024 00:43:06 ---> eeec6e3f6c03 build 26-Apr-2024 00:43:06 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 26-Apr-2024 00:43:06 ---> Running in 832440a7c2c8 build 26-Apr-2024 00:43:06 Removing intermediate container 832440a7c2c8 build 26-Apr-2024 00:43:06 ---> 7cc82bda9f5f build 26-Apr-2024 00:43:06 Successfully built 7cc82bda9f5f build 26-Apr-2024 00:43:06 Successfully tagged openmrs/openmrs-distro-platform:2.4.6-SNAPSHOT build 26-Apr-2024 00:43:06 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 26-Apr-2024 00:43:06 cc9f2e375653: Preparing build 26-Apr-2024 00:43:06 d485c0b959c2: Preparing build 26-Apr-2024 00:43:06 87f2c1bdef6e: Preparing build 26-Apr-2024 00:43:06 13424e44c81a: Preparing build 26-Apr-2024 00:43:06 f11acc54708d: Preparing build 26-Apr-2024 00:43:06 f54683d0ed2f: Preparing build 26-Apr-2024 00:43:06 5cbaa052ece4: Preparing build 26-Apr-2024 00:43:06 675698454727: Preparing build 26-Apr-2024 00:43:06 0bfa43d2a455: Preparing build 26-Apr-2024 00:43:06 ccb063697e4b: Preparing build 26-Apr-2024 00:43:06 abdaa093b247: Preparing build 26-Apr-2024 00:43:06 f0e1731fd286: Preparing build 26-Apr-2024 00:43:06 2b6c38ff3137: Preparing build 26-Apr-2024 00:43:06 d38f3d5a39fb: Preparing build 26-Apr-2024 00:43:06 fe60061c6c4e: Preparing build 26-Apr-2024 00:43:06 7d63f8777ebf: Preparing build 26-Apr-2024 00:43:06 1b958b53b256: Preparing build 26-Apr-2024 00:43:06 2c719774c1e1: Preparing build 26-Apr-2024 00:43:06 ec62f19bb3aa: Preparing build 26-Apr-2024 00:43:06 f94641f1fe1f: Preparing build 26-Apr-2024 00:43:06 f54683d0ed2f: Waiting build 26-Apr-2024 00:43:06 5cbaa052ece4: Waiting build 26-Apr-2024 00:43:06 2b6c38ff3137: Waiting build 26-Apr-2024 00:43:06 675698454727: Waiting build 26-Apr-2024 00:43:06 d38f3d5a39fb: Waiting build 26-Apr-2024 00:43:06 0bfa43d2a455: Waiting build 26-Apr-2024 00:43:06 fe60061c6c4e: Waiting build 26-Apr-2024 00:43:06 7d63f8777ebf: Waiting build 26-Apr-2024 00:43:06 ccb063697e4b: Waiting build 26-Apr-2024 00:43:06 abdaa093b247: Waiting build 26-Apr-2024 00:43:06 f0e1731fd286: Waiting build 26-Apr-2024 00:43:06 1b958b53b256: Waiting build 26-Apr-2024 00:43:06 2c719774c1e1: Waiting build 26-Apr-2024 00:43:06 ec62f19bb3aa: Waiting build 26-Apr-2024 00:43:06 f94641f1fe1f: Waiting build 26-Apr-2024 00:43:08 87f2c1bdef6e: Pushed build 26-Apr-2024 00:43:08 f11acc54708d: Pushed build 26-Apr-2024 00:43:08 d485c0b959c2: Pushed build 26-Apr-2024 00:43:08 13424e44c81a: Pushed build 26-Apr-2024 00:43:08 cc9f2e375653: Pushed build 26-Apr-2024 00:43:08 ccb063697e4b: Layer already exists build 26-Apr-2024 00:43:08 abdaa093b247: Layer already exists build 26-Apr-2024 00:43:08 f0e1731fd286: Layer already exists build 26-Apr-2024 00:43:08 2b6c38ff3137: Layer already exists build 26-Apr-2024 00:43:08 d38f3d5a39fb: Layer already exists build 26-Apr-2024 00:43:09 fe60061c6c4e: Layer already exists build 26-Apr-2024 00:43:09 7d63f8777ebf: Layer already exists build 26-Apr-2024 00:43:09 1b958b53b256: Layer already exists build 26-Apr-2024 00:43:09 2c719774c1e1: Layer already exists build 26-Apr-2024 00:43:09 f54683d0ed2f: Pushed build 26-Apr-2024 00:43:09 ec62f19bb3aa: Layer already exists build 26-Apr-2024 00:43:09 f94641f1fe1f: Layer already exists build 26-Apr-2024 00:43:09 5cbaa052ece4: Pushed build 26-Apr-2024 00:43:09 675698454727: Pushed build 26-Apr-2024 00:43:16 0bfa43d2a455: Pushed build 26-Apr-2024 00:43:18 2.4.6-SNAPSHOT: digest: sha256:9e7776ba10d071b148a7bbeb388ad04e539abbdd2e5a49408d723a0f2ffc4447 size: 4498 simple 26-Apr-2024 00:43:18 Finished task 'Build and push docker image' with result: Success simple 26-Apr-2024 00:43:18 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:43:18 Variable wasn't found in the Build context. It possibly doesn't exist. simple 26-Apr-2024 00:43:18 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:9e7776ba10d071b148a7bbeb388ad04e539abbdd2e5a49408d723a0f2ffc4447 simple 26-Apr-2024 00:43:18 Finished task 'Save docker image ID' with result: Success simple 26-Apr-2024 00:43:18 Running post build plugin 'Docker Container Cleanup' simple 26-Apr-2024 00:43:18 Running post build plugin 'NCover Results Collector' simple 26-Apr-2024 00:43:18 Running post build plugin 'Build Results Label Collector' simple 26-Apr-2024 00:43:18 Running post build plugin 'Clover Results Collector' simple 26-Apr-2024 00:43:18 Running post build plugin 'npm Cache Cleanup' simple 26-Apr-2024 00:43:18 Running post build plugin 'Artifact Copier' simple 26-Apr-2024 00:43:18 Finalising the build... simple 26-Apr-2024 00:43:18 Stopping timer. simple 26-Apr-2024 00:43:18 Build OP-PLATFORM-PDI-205 completed. simple 26-Apr-2024 00:43:18 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-Apr-2024 00:43:18 Running on server: post build plugin 'NCover Results Collector' simple 26-Apr-2024 00:43:18 Running on server: post build plugin 'Build Labeller' simple 26-Apr-2024 00:43:18 Running on server: post build plugin 'Clover Delta Calculator' simple 26-Apr-2024 00:43:18 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-Apr-2024 00:43:18 All post build plugins have finished simple 26-Apr-2024 00:43:18 Generating build results summary... simple 26-Apr-2024 00:43:18 Saving build results to disk... simple 26-Apr-2024 00:43:18 Store variable context... simple 26-Apr-2024 00:43:18 Finished building OP-PLATFORM-PDI-205.