simple 31-Oct-2024 12:57:33 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 31-Oct-2024 12:57:33 Remote agent on host yu.openmrs.org simple 31-Oct-2024 12:57:33 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 31-Oct-2024 12:57:33 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115) simple 31-Oct-2024 12:57:33 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: ) simple 31-Oct-2024 12:57:41 Artifact 'docker-compose-snapshot' prepared in 7.221 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI simple 31-Oct-2024 12:57:41 Running pre-build action: Build Log Labeller Pre Build Action simple 31-Oct-2024 12:57:41 Running pre-build action: VCS Version Collector simple 31-Oct-2024 12:57:41 Running pre-build action: Run Predator simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 22113 java 1349 bamboo-age 2981Mb 414Mb 00:00:50 /usr/lib/jvm/java-8-ope simple 31-Oct-2024 12:57:41 [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:57:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 163Mb 10Mb 00:00:27 /sbin/init simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Initial free space: 3.4158363 GB simple 31-Oct-2024 12:57:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BP-JOB1 simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Maven stable disk freed: 0.36797222 GB, deleted 62 files simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Final free space: 3.4415092 GB simple 31-Oct-2024 12:57:42 [PredatorPreBuildAction] Done command 31-Oct-2024 12:57:42 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 31-Oct-2024 12:57:42 Substituting password variable: ${bamboo.dockerhub.password} command 31-Oct-2024 12:57:42 Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT command 31-Oct-2024 12:57:42 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 31-Oct-2024 12:57:42 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform command 31-Oct-2024 12:57:42 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform simple 31-Oct-2024 12:57:42 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 31-Oct-2024 12:57:42 Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #115 (OP-OP2-PDI-115)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-115-ScriptBuildTask-9070852365417749522.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI\n build 31-Oct-2024 12:57:42 Start of Lmod init/bash script to define the module command error 31-Oct-2024 12:57:42 + [[ ehuB != ehuxB ]] error 31-Oct-2024 12:57:42 + echo 'Start of Lmod init/bash script to define the module command' error 31-Oct-2024 12:57:42 + LMOD_PKG=/usr/share/lmod/lmod error 31-Oct-2024 12:57:42 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 31-Oct-2024 12:57:42 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 31-Oct-2024 12:57:42 + MODULESHOME=/usr/share/lmod/lmod error 31-Oct-2024 12:57:42 + export LMOD_PKG error 31-Oct-2024 12:57:42 + export LMOD_CMD error 31-Oct-2024 12:57:42 + export LMOD_DIR error 31-Oct-2024 12:57:42 + export MODULESHOME error 31-Oct-2024 12:57:42 + LMOD_VERSION=6.6 error 31-Oct-2024 12:57:42 + export LMOD_VERSION error 31-Oct-2024 12:57:42 + '[' : '!=' : ']' error 31-Oct-2024 12:57:42 + unalias ml error 31-Oct-2024 12:57:42 + true error 31-Oct-2024 12:57:42 ++ echo YES error 31-Oct-2024 12:57:42 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 31-Oct-2024 12:57:42 + export_module=yes error 31-Oct-2024 12:57:42 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 31-Oct-2024 12:57:42 + export -f module error 31-Oct-2024 12:57:42 + export -f ml error 31-Oct-2024 12:57:42 + unset export_module error 31-Oct-2024 12:57:42 + '[' -n '' ']' error 31-Oct-2024 12:57:42 + '[' 5 -ge 3 ']' error 31-Oct-2024 12:57:42 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 31-Oct-2024 12:57:42 + '[' -n '' ']' error 31-Oct-2024 12:57:42 + [[ ehuB != ehuxB ]] error 31-Oct-2024 12:57:42 + echo 'End of Lmod init/bash script to define the module command' error 31-Oct-2024 12:57:42 + docker login -u openmrsci -p ******** build 31-Oct-2024 12:57:42 End of Lmod init/bash script to define the module command error 31-Oct-2024 12:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 31-Oct-2024 12:57:43 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 31-Oct-2024 12:57:43 Configure a credential helper to remove this warning. See error 31-Oct-2024 12:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 31-Oct-2024 12:57:43 build 31-Oct-2024 12:57:43 Login Succeeded error 31-Oct-2024 12:57:43 + set +x build 31-Oct-2024 12:57:43 Sending build context to Docker daemon 100.9MB build 31-Oct-2024 12:57:43 build 31-Oct-2024 12:57:43 Step 1/11 : FROM tomcat:7-jre8 build 31-Oct-2024 12:57:44 7-jre8: Pulling from library/tomcat build 31-Oct-2024 12:57:44 c5e155d5a1d1: Pulling fs layer build 31-Oct-2024 12:57:44 221d80d00ae9: Pulling fs layer build 31-Oct-2024 12:57:44 4250b3117dca: Pulling fs layer build 31-Oct-2024 12:57:44 d1370422ab93: Pulling fs layer build 31-Oct-2024 12:57:44 deb6b03222ca: Pulling fs layer build 31-Oct-2024 12:57:44 9cdea8d70cc3: Pulling fs layer build 31-Oct-2024 12:57:44 968505be14db: Pulling fs layer build 31-Oct-2024 12:57:44 04b5c270ac81: Pulling fs layer build 31-Oct-2024 12:57:44 301d76fcab1f: Pulling fs layer build 31-Oct-2024 12:57:44 ddf85cd1cc29: Pulling fs layer build 31-Oct-2024 12:57:44 ef1e6f25e812: Pulling fs layer build 31-Oct-2024 12:57:44 deb6b03222ca: Waiting build 31-Oct-2024 12:57:44 9cdea8d70cc3: Waiting build 31-Oct-2024 12:57:44 968505be14db: Waiting build 31-Oct-2024 12:57:44 d1370422ab93: Waiting build 31-Oct-2024 12:57:44 301d76fcab1f: Waiting build 31-Oct-2024 12:57:44 ddf85cd1cc29: Waiting build 31-Oct-2024 12:57:44 ef1e6f25e812: Waiting build 31-Oct-2024 12:57:44 04b5c270ac81: Waiting build 31-Oct-2024 12:57:44 4250b3117dca: Verifying Checksum build 31-Oct-2024 12:57:44 4250b3117dca: Download complete build 31-Oct-2024 12:57:44 221d80d00ae9: Verifying Checksum build 31-Oct-2024 12:57:44 221d80d00ae9: Download complete build 31-Oct-2024 12:57:44 d1370422ab93: Verifying Checksum build 31-Oct-2024 12:57:44 d1370422ab93: Download complete build 31-Oct-2024 12:57:44 deb6b03222ca: Verifying Checksum build 31-Oct-2024 12:57:44 deb6b03222ca: Download complete build 31-Oct-2024 12:57:45 c5e155d5a1d1: Verifying Checksum build 31-Oct-2024 12:57:45 c5e155d5a1d1: Download complete build 31-Oct-2024 12:57:45 9cdea8d70cc3: Verifying Checksum build 31-Oct-2024 12:57:45 9cdea8d70cc3: Download complete build 31-Oct-2024 12:57:45 04b5c270ac81: Verifying Checksum build 31-Oct-2024 12:57:45 04b5c270ac81: Download complete build 31-Oct-2024 12:57:45 301d76fcab1f: Verifying Checksum build 31-Oct-2024 12:57:45 301d76fcab1f: Download complete build 31-Oct-2024 12:57:45 ddf85cd1cc29: Verifying Checksum build 31-Oct-2024 12:57:45 ddf85cd1cc29: Download complete build 31-Oct-2024 12:57:45 ef1e6f25e812: Verifying Checksum build 31-Oct-2024 12:57:45 ef1e6f25e812: Download complete build 31-Oct-2024 12:57:46 968505be14db: Verifying Checksum build 31-Oct-2024 12:57:46 968505be14db: Download complete build 31-Oct-2024 12:57:48 c5e155d5a1d1: Pull complete build 31-Oct-2024 12:57:48 221d80d00ae9: Pull complete build 31-Oct-2024 12:57:49 4250b3117dca: Pull complete build 31-Oct-2024 12:57:49 d1370422ab93: Pull complete build 31-Oct-2024 12:57:49 deb6b03222ca: Pull complete build 31-Oct-2024 12:57:49 9cdea8d70cc3: Pull complete build 31-Oct-2024 12:57:54 968505be14db: Pull complete build 31-Oct-2024 12:57:54 04b5c270ac81: Pull complete build 31-Oct-2024 12:57:54 301d76fcab1f: Pull complete build 31-Oct-2024 12:57:54 ddf85cd1cc29: Pull complete build 31-Oct-2024 12:57:55 ef1e6f25e812: Pull complete build 31-Oct-2024 12:57:55 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3 build 31-Oct-2024 12:57:55 Status: Downloaded newer image for tomcat:7-jre8 build 31-Oct-2024 12:57:55 ---> 3037eb7cda68 build 31-Oct-2024 12:57:55 Step 2/11 : COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war build 31-Oct-2024 12:57:56 ---> fd5909c9b342 build 31-Oct-2024 12:57:56 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh build 31-Oct-2024 12:57:56 ---> 46048074d387 build 31-Oct-2024 12:57:56 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh build 31-Oct-2024 12:57:56 ---> 008a8750fecb build 31-Oct-2024 12:57:56 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh build 31-Oct-2024 12:57:56 ---> 411ed734b720 build 31-Oct-2024 12:57:56 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:57:56 ---> Running in 7c91b07d64e1 build 31-Oct-2024 12:57:57 Removing intermediate container 7c91b07d64e1 build 31-Oct-2024 12:57:57 ---> 8d3cc4972aaa build 31-Oct-2024 12:57:57 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh build 31-Oct-2024 12:57:57 ---> Running in 8e147334da03 build 31-Oct-2024 12:57:58 Removing intermediate container 8e147334da03 build 31-Oct-2024 12:57:58 ---> e43bca25a006 build 31-Oct-2024 12:57:58 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh build 31-Oct-2024 12:57:58 ---> Running in 53d9b94c2272 build 31-Oct-2024 12:57:58 Removing intermediate container 53d9b94c2272 build 31-Oct-2024 12:57:58 ---> 81731d729486 build 31-Oct-2024 12:57:58 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties build 31-Oct-2024 12:57:59 ---> 504f77a1539c build 31-Oct-2024 12:57:59 Step 10/11 : COPY Dockerfile /root/Dockerfile build 31-Oct-2024 12:57:59 ---> 60541b213fcc build 31-Oct-2024 12:57:59 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"] build 31-Oct-2024 12:57:59 ---> Running in 113d3e013085 build 31-Oct-2024 12:57:59 Removing intermediate container 113d3e013085 build 31-Oct-2024 12:57:59 ---> a344c143a9b8 build 31-Oct-2024 12:57:59 Successfully built a344c143a9b8 build 31-Oct-2024 12:57:59 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT build 31-Oct-2024 12:57:59 The push refers to repository [docker.io/openmrs/openmrs-distro-platform] build 31-Oct-2024 12:57:59 91bd6286e7fa: Preparing build 31-Oct-2024 12:57:59 54e4d24459d8: Preparing build 31-Oct-2024 12:57:59 7912135337c0: Preparing build 31-Oct-2024 12:57:59 6bd80eba9837: Preparing build 31-Oct-2024 12:57:59 73952363e1df: Preparing build 31-Oct-2024 12:57:59 34798904187d: Preparing build 31-Oct-2024 12:57:59 4e2a8583eed5: Preparing build 31-Oct-2024 12:57:59 26ae97fa96d7: Preparing build 31-Oct-2024 12:57:59 2ba748fa3176: Preparing build 31-Oct-2024 12:57:59 ccb063697e4b: Preparing build 31-Oct-2024 12:57:59 abdaa093b247: Preparing build 31-Oct-2024 12:57:59 f0e1731fd286: Preparing build 31-Oct-2024 12:57:59 2b6c38ff3137: Preparing build 31-Oct-2024 12:57:59 d38f3d5a39fb: Preparing build 31-Oct-2024 12:57:59 fe60061c6c4e: Preparing build 31-Oct-2024 12:57:59 7d63f8777ebf: Preparing build 31-Oct-2024 12:57:59 1b958b53b256: Preparing build 31-Oct-2024 12:57:59 2c719774c1e1: Preparing build 31-Oct-2024 12:57:59 ec62f19bb3aa: Preparing build 31-Oct-2024 12:57:59 f94641f1fe1f: Preparing build 31-Oct-2024 12:57:59 abdaa093b247: Waiting build 31-Oct-2024 12:57:59 f0e1731fd286: Waiting build 31-Oct-2024 12:57:59 2b6c38ff3137: Waiting build 31-Oct-2024 12:57:59 d38f3d5a39fb: Waiting build 31-Oct-2024 12:57:59 fe60061c6c4e: Waiting build 31-Oct-2024 12:57:59 7d63f8777ebf: Waiting build 31-Oct-2024 12:57:59 1b958b53b256: Waiting build 31-Oct-2024 12:57:59 2c719774c1e1: Waiting build 31-Oct-2024 12:57:59 ec62f19bb3aa: Waiting build 31-Oct-2024 12:57:59 f94641f1fe1f: Waiting build 31-Oct-2024 12:57:59 26ae97fa96d7: Waiting build 31-Oct-2024 12:57:59 34798904187d: Waiting build 31-Oct-2024 12:57:59 4e2a8583eed5: Waiting build 31-Oct-2024 12:57:59 2ba748fa3176: Waiting build 31-Oct-2024 12:57:59 ccb063697e4b: Waiting build 31-Oct-2024 12:58:00 6bd80eba9837: Pushed build 31-Oct-2024 12:58:00 7912135337c0: Pushed build 31-Oct-2024 12:58:00 73952363e1df: Pushed build 31-Oct-2024 12:58:00 91bd6286e7fa: Pushed build 31-Oct-2024 12:58:00 54e4d24459d8: Pushed build 31-Oct-2024 12:58:00 ccb063697e4b: Layer already exists build 31-Oct-2024 12:58:01 abdaa093b247: Layer already exists build 31-Oct-2024 12:58:01 f0e1731fd286: Layer already exists build 31-Oct-2024 12:58:01 2b6c38ff3137: Layer already exists build 31-Oct-2024 12:58:01 d38f3d5a39fb: Layer already exists build 31-Oct-2024 12:58:01 fe60061c6c4e: Layer already exists build 31-Oct-2024 12:58:01 7d63f8777ebf: Layer already exists build 31-Oct-2024 12:58:01 34798904187d: Pushed build 31-Oct-2024 12:58:01 1b958b53b256: Layer already exists build 31-Oct-2024 12:58:01 26ae97fa96d7: Pushed build 31-Oct-2024 12:58:01 4e2a8583eed5: Pushed build 31-Oct-2024 12:58:02 2c719774c1e1: Layer already exists build 31-Oct-2024 12:58:02 ec62f19bb3aa: Layer already exists build 31-Oct-2024 12:58:02 f94641f1fe1f: Layer already exists build 31-Oct-2024 12:58:07 2ba748fa3176: Pushed build 31-Oct-2024 12:58:08 2.2.2-SNAPSHOT: digest: sha256:46447e4b7f1c3b7043c28576f5a3fd3019777a2e4055372eb65548c6cacb63fe size: 4498 simple 31-Oct-2024 12:58:08 Finished task 'Build and push docker image' with result: Success simple 31-Oct-2024 12:58:08 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:08 Variable wasn't found in the Build context. It possibly doesn't exist. simple 31-Oct-2024 12:58:08 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:46447e4b7f1c3b7043c28576f5a3fd3019777a2e4055372eb65548c6cacb63fe simple 31-Oct-2024 12:58:08 Finished task 'Save docker image ID' with result: Success simple 31-Oct-2024 12:58:08 Running post build plugin 'Docker Container Cleanup' simple 31-Oct-2024 12:58:08 Running post build plugin 'NCover Results Collector' simple 31-Oct-2024 12:58:08 Running post build plugin 'Build Results Label Collector' simple 31-Oct-2024 12:58:08 Running post build plugin 'Clover Results Collector' simple 31-Oct-2024 12:58:08 Running post build plugin 'npm Cache Cleanup' simple 31-Oct-2024 12:58:08 Running post build plugin 'Artifact Copier' simple 31-Oct-2024 12:58:08 Finalising the build... simple 31-Oct-2024 12:58:08 Stopping timer. simple 31-Oct-2024 12:58:08 Build OP-OP2-PDI-115 completed. simple 31-Oct-2024 12:58:08 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 31-Oct-2024 12:58:08 Running on server: post build plugin 'NCover Results Collector' simple 31-Oct-2024 12:58:08 Running on server: post build plugin 'Build Labeller' simple 31-Oct-2024 12:58:08 Running on server: post build plugin 'Clover Delta Calculator' simple 31-Oct-2024 12:58:08 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 31-Oct-2024 12:58:08 All post build plugins have finished simple 31-Oct-2024 12:58:08 Generating build results summary... simple 31-Oct-2024 12:58:08 Saving build results to disk... simple 31-Oct-2024 12:58:08 Store variable context... simple 31-Oct-2024 12:58:08 Finished building OP-OP2-PDI-115.