simple 13-Nov-2024 14:37:35 Build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #206 (OP-OP3-PDI-206) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 13-Nov-2024 14:37:35 Remote agent on host yu.openmrs.org simple 13-Nov-2024 14:37:35 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 13-Nov-2024 14:37:35 Executing build OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #206 (OP-OP3-PDI-206) simple 13-Nov-2024 14:37:35 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI (location: ) simple 13-Nov-2024 14:37:39 Artifact 'docker-compose-snapshot' prepared in 4.026 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI simple 13-Nov-2024 14:37:39 Running pre-build action: Build Log Labeller Pre Build Action simple 13-Nov-2024 14:37:39 Running pre-build action: VCS Version Collector simple 13-Nov-2024 14:37:39 Running pre-build action: Run Predator simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26382 java 1349 bamboo-age 2995Mb 566Mb 00:34:29 /usr/lib/jvm/java-8-ope simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1349 wrapper 1 bamboo-age 16Mb 3Mb 00:14:54 /home/bamboo-agent/bamb simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:26 /sbin/init simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Initial free space: 2.720398 GB simple 13-Nov-2024 14:37:39 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 13-Nov-2024 14:37:40 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository simple 13-Nov-2024 14:37:40 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 13-Nov-2024 14:37:40 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] Final free space: 2.8147964 GB simple 13-Nov-2024 14:37:41 [PredatorPreBuildAction] Done command 13-Nov-2024 14:37:41 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 13-Nov-2024 14:37:41 Substituting password variable: ${bamboo.dockerhub.password} command 13-Nov-2024 14:37:41 Substituting variable: ${bamboo.maven.snapshot.version} with 2.3.7-SNAPSHOT command 13-Nov-2024 14:37:41 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 13-Nov-2024 14:37:41 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 13-Nov-2024 14:37:41 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 13-Nov-2024 14:37:41 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 13-Nov-2024 14:37:41 Beginning to execute external process for build 'OpenMRS Platform - Openmrs Platform 2.3.x - Push docker image #206 (OP-OP3-PDI-206)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP3-PDI-206-ScriptBuildTask-126053418003610952.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP3-PDI\n error 13-Nov-2024 14:37:41 + [[ ehuB != ehuxB ]] build 13-Nov-2024 14:37:41 Start of Lmod init/bash script to define the module command error 13-Nov-2024 14:37:41 + echo 'Start of Lmod init/bash script to define the module command' error 13-Nov-2024 14:37:41 + LMOD_PKG=/usr/share/lmod/lmod error 13-Nov-2024 14:37:41 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 13-Nov-2024 14:37:41 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 13-Nov-2024 14:37:41 + MODULESHOME=/usr/share/lmod/lmod error 13-Nov-2024 14:37:41 + export LMOD_PKG error 13-Nov-2024 14:37:41 + export LMOD_CMD error 13-Nov-2024 14:37:41 + export LMOD_DIR error 13-Nov-2024 14:37:41 + export MODULESHOME error 13-Nov-2024 14:37:41 + LMOD_VERSION=6.6 error 13-Nov-2024 14:37:41 + export LMOD_VERSION error 13-Nov-2024 14:37:41 + '[' : '!=' : ']' error 13-Nov-2024 14:37:41 + unalias ml error 13-Nov-2024 14:37:41 + true error 13-Nov-2024 14:37:41 ++ echo YES error 13-Nov-2024 14:37:41 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 13-Nov-2024 14:37:41 + export_module=yes error 13-Nov-2024 14:37:41 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 13-Nov-2024 14:37:41 + export -f module error 13-Nov-2024 14:37:41 + export -f ml error 13-Nov-2024 14:37:41 + unset export_module error 13-Nov-2024 14:37:41 + '[' -n '' ']' error 13-Nov-2024 14:37:41 + '[' 5 -ge 3 ']' error 13-Nov-2024 14:37:41 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 13-Nov-2024 14:37:41 + '[' -n '' ']' error 13-Nov-2024 14:37:41 + [[ ehuB != ehuxB ]] error 13-Nov-2024 14:37:41 + echo 'End of Lmod init/bash script to define the module command' error 13-Nov-2024 14:37:41 + docker login -u openmrsci -p ******** build 13-Nov-2024 14:37:41 End of Lmod init/bash script to define the module command error 13-Nov-2024 14:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 13-Nov-2024 14:37:41 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 13-Nov-2024 14:37:41 Configure a credential helper to remove this warning. See error 13-Nov-2024 14:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 13-Nov-2024 14:37:41 build 13-Nov-2024 14:37:41 Login Succeeded error 13-Nov-2024 14:37:41 + set +x build 13-Nov-2024 14:37:41 Sending build context to Docker daemon 104.5MB build 13-Nov-2024 14:37:41 build 13-Nov-2024 14:37:41 Step 1/11 : FROM tomcat:7-jre8 build 13-Nov-2024 14:37:42 7-jre8: Pulling from library/tomcat build 13-Nov-2024 14:37:42 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 13-Nov-2024 14:37:42 Status: Downloaded newer image for tomcat:7-jre8 build 13-Nov-2024 14:37:42 ---> 3037eb7cda68 build 13-Nov-2024 14:37:42 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 13-Nov-2024 14:37:43 ---> 3fff30175184 build 13-Nov-2024 14:37:43 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 13-Nov-2024 14:37:43 ---> b5ce18fed260 build 13-Nov-2024 14:37:43 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 13-Nov-2024 14:37:43 ---> 4db69e3d0781 build 13-Nov-2024 14:37:43 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 13-Nov-2024 14:37:44 ---> 097944492f7f build 13-Nov-2024 14:37:44 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:37:44 ---> Running in e644c6e627c3 build 13-Nov-2024 14:37:44 Removing intermediate container e644c6e627c3 build 13-Nov-2024 14:37:44 ---> 27802303abaa build 13-Nov-2024 14:37:44 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 13-Nov-2024 14:37:44 ---> Running in 456248ea5c88 build 13-Nov-2024 14:37:45 Removing intermediate container 456248ea5c88 build 13-Nov-2024 14:37:45 ---> 65365e777c0c build 13-Nov-2024 14:37:45 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 13-Nov-2024 14:37:45 ---> Running in c2f6dffbc88f build 13-Nov-2024 14:37:46 Removing intermediate container c2f6dffbc88f build 13-Nov-2024 14:37:46 ---> 0a3d19a9bddc build 13-Nov-2024 14:37:46 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 13-Nov-2024 14:37:46 ---> 1cdfb664a4db build 13-Nov-2024 14:37:46 Step 10/11 : COPY Dockerfile /root/Dockerfile build 13-Nov-2024 14:37:46 ---> e89d732df854 build 13-Nov-2024 14:37:46 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 13-Nov-2024 14:37:46 ---> Running in fbde1cf68b46 build 13-Nov-2024 14:37:46 Removing intermediate container fbde1cf68b46 build 13-Nov-2024 14:37:46 ---> 942e7ceb34a0 build 13-Nov-2024 14:37:46 Successfully built 942e7ceb34a0 build 13-Nov-2024 14:37:46 Successfully tagged openmrs/openmrs-distro-platform:2.3.7-SNAPSHOT build 13-Nov-2024 14:37:46 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 13-Nov-2024 14:37:46 1b69e9b1ec52: Preparing build 13-Nov-2024 14:37:46 fc359c6a0681: Preparing build 13-Nov-2024 14:37:46 96bf015bbf2c: Preparing build 13-Nov-2024 14:37:46 ae4880388094: Preparing build 13-Nov-2024 14:37:46 80079df34254: Preparing build 13-Nov-2024 14:37:46 3a320c5268ac: Preparing build 13-Nov-2024 14:37:46 5c5485319467: Preparing build 13-Nov-2024 14:37:46 f51f6781af7c: Preparing build 13-Nov-2024 14:37:46 aa4d35bdfbaf: Preparing build 13-Nov-2024 14:37:46 ccb063697e4b: Preparing build 13-Nov-2024 14:37:46 abdaa093b247: Preparing build 13-Nov-2024 14:37:46 f0e1731fd286: Preparing build 13-Nov-2024 14:37:46 2b6c38ff3137: Preparing build 13-Nov-2024 14:37:46 d38f3d5a39fb: Preparing build 13-Nov-2024 14:37:46 fe60061c6c4e: Preparing build 13-Nov-2024 14:37:46 7d63f8777ebf: Preparing build 13-Nov-2024 14:37:46 1b958b53b256: Preparing build 13-Nov-2024 14:37:46 2c719774c1e1: Preparing build 13-Nov-2024 14:37:46 ec62f19bb3aa: Preparing build 13-Nov-2024 14:37:46 f94641f1fe1f: Preparing build 13-Nov-2024 14:37:46 abdaa093b247: Waiting build 13-Nov-2024 14:37:46 f0e1731fd286: Waiting build 13-Nov-2024 14:37:46 3a320c5268ac: Waiting build 13-Nov-2024 14:37:46 2b6c38ff3137: Waiting build 13-Nov-2024 14:37:46 5c5485319467: Waiting build 13-Nov-2024 14:37:46 f51f6781af7c: Waiting build 13-Nov-2024 14:37:46 d38f3d5a39fb: Waiting build 13-Nov-2024 14:37:46 aa4d35bdfbaf: Waiting build 13-Nov-2024 14:37:46 fe60061c6c4e: Waiting build 13-Nov-2024 14:37:46 ccb063697e4b: Waiting build 13-Nov-2024 14:37:46 7d63f8777ebf: Waiting build 13-Nov-2024 14:37:46 1b958b53b256: Waiting build 13-Nov-2024 14:37:46 2c719774c1e1: Waiting build 13-Nov-2024 14:37:46 ec62f19bb3aa: Waiting build 13-Nov-2024 14:37:46 f94641f1fe1f: Waiting build 13-Nov-2024 14:37:48 fc359c6a0681: Pushed build 13-Nov-2024 14:37:48 80079df34254: Pushed build 13-Nov-2024 14:37:48 1b69e9b1ec52: Pushed build 13-Nov-2024 14:37:48 96bf015bbf2c: Pushed build 13-Nov-2024 14:37:48 ae4880388094: Pushed build 13-Nov-2024 14:37:48 ccb063697e4b: Layer already exists build 13-Nov-2024 14:37:48 abdaa093b247: Layer already exists build 13-Nov-2024 14:37:48 f0e1731fd286: Layer already exists build 13-Nov-2024 14:37:48 2b6c38ff3137: Layer already exists build 13-Nov-2024 14:37:48 d38f3d5a39fb: Layer already exists build 13-Nov-2024 14:37:49 fe60061c6c4e: Layer already exists build 13-Nov-2024 14:37:49 7d63f8777ebf: Layer already exists build 13-Nov-2024 14:37:49 1b958b53b256: Layer already exists build 13-Nov-2024 14:37:49 f51f6781af7c: Pushed build 13-Nov-2024 14:37:49 3a320c5268ac: Pushed build 13-Nov-2024 14:37:49 5c5485319467: Pushed build 13-Nov-2024 14:37:49 2c719774c1e1: Layer already exists build 13-Nov-2024 14:37:49 ec62f19bb3aa: Layer already exists build 13-Nov-2024 14:37:49 f94641f1fe1f: Layer already exists build 13-Nov-2024 14:37:54 aa4d35bdfbaf: Pushed build 13-Nov-2024 14:37:56 2.3.7-SNAPSHOT: digest: sha256:4e86c170fbf00de85d0f0023bfe1de652727508225f601dc55d7207e9059b600 size: 4498 simple 13-Nov-2024 14:37:56 Finished task 'Build and push docker image' with result: Success simple 13-Nov-2024 14:37:56 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:37:56 Variable wasn't found in the Build context. It possibly doesn't exist. simple 13-Nov-2024 14:37:56 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:4e86c170fbf00de85d0f0023bfe1de652727508225f601dc55d7207e9059b600 simple 13-Nov-2024 14:37:56 Finished task 'Save docker image ID' with result: Success simple 13-Nov-2024 14:37:56 Running post build plugin 'Docker Container Cleanup' simple 13-Nov-2024 14:37:56 Running post build plugin 'NCover Results Collector' simple 13-Nov-2024 14:37:56 Running post build plugin 'Build Results Label Collector' simple 13-Nov-2024 14:37:56 Running post build plugin 'Clover Results Collector' simple 13-Nov-2024 14:37:56 Running post build plugin 'npm Cache Cleanup' simple 13-Nov-2024 14:37:56 Running post build plugin 'Artifact Copier' simple 13-Nov-2024 14:37:56 Finalising the build... simple 13-Nov-2024 14:37:56 Stopping timer. simple 13-Nov-2024 14:37:56 Build OP-OP3-PDI-206 completed. simple 13-Nov-2024 14:37:56 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 13-Nov-2024 14:37:56 Running on server: post build plugin 'NCover Results Collector' simple 13-Nov-2024 14:37:56 Running on server: post build plugin 'Build Labeller' simple 13-Nov-2024 14:37:56 Running on server: post build plugin 'Clover Delta Calculator' simple 13-Nov-2024 14:37:56 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 13-Nov-2024 14:37:56 All post build plugins have finished simple 13-Nov-2024 14:37:56 Generating build results summary... simple 13-Nov-2024 14:37:56 Saving build results to disk... simple 13-Nov-2024 14:37:56 Store variable context... simple 13-Nov-2024 14:37:56 Finished building OP-OP3-PDI-206.