Build: #114 was successful

Job: Push docker image was successful

Stages & jobs

  1. Update versions

  2. Build

  3. Push docker image

  4. Validate

  5. Release

    Requires a user to start manually
  6. Release 2nd stage

  7. Release 3rd stage

Build log

The build generated 243 lines of output. Download or view full build log.

21-Oct-2024 22:07:05 Build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #114 (OP-OP2-PDI-114) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
21-Oct-2024 22:07:05 Remote agent on host xiao.openmrs.org
21-Oct-2024 22:07:05 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
21-Oct-2024 22:07:05 Executing build OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #114 (OP-OP2-PDI-114)
21-Oct-2024 22:07:05 Preparing artifact 'docker-compose-snapshot' for use at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI (location: )
21-Oct-2024 22:07:12 Artifact 'docker-compose-snapshot' prepared in 7.093 s at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
21-Oct-2024 22:07:12 Running pre-build action: Build Log Labeller Pre Build Action
21-Oct-2024 22:07:12 Running pre-build action: VCS Version Collector
21-Oct-2024 22:07:12 Running pre-build action: Run Predator
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1295 java        1258 bamboo-age 2972Mb  405Mb 00:04:19 /usr/lib/jvm/java-8-ope
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1258 wrapper        1 bamboo-age   16Mb    2Mb 00:00:57 /home/bamboo-agent/bamb
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb   10Mb 00:00:04 /sbin/init             
21-Oct-2024 22:07:12 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Initial free space: 5.850033 GB
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OPM9-TOM
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
21-Oct-2024 22:07:12 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Oct-2024 22:07:13 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Oct-2024 22:07:13 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Oct-2024 22:07:13 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Oct-2024 22:07:13 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
21-Oct-2024 22:07:13 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Oct-2024 22:07:13 [PredatorPreBuildAction] Final free space: 5.8503036 GB
21-Oct-2024 22:07:13 [PredatorPreBuildAction] Done
21-Oct-2024 22:07:13
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Oct-2024 22:07:13
Substituting password variable: ${bamboo.dockerhub.password}
21-Oct-2024 22:07:13
Substituting variable: ${bamboo.maven.snapshot.version} with 2.2.2-SNAPSHOT
21-Oct-2024 22:07:13
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:07:13
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:07:13
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-platform
21-Oct-2024 22:07:13 Starting task 'Build and push docker image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Oct-2024 22:07:13
Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform 2.2.x - Push docker image #114 (OP-OP2-PDI-114)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OP-OP2-PDI-114-ScriptBuildTask-7108403742955829651.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OP-OP2-PDI
21-Oct-2024 22:07:13 + [[ ehuB != ehuxB ]]
21-Oct-2024 22:07:13 Start of Lmod init/bash script to define the module command
21-Oct-2024 22:07:13 + echo 'Start of Lmod init/bash script to define the module command'
21-Oct-2024 22:07:13 + LMOD_PKG=/usr/share/lmod/lmod
21-Oct-2024 22:07:13 + LMOD_DIR=/usr/share/lmod/lmod/libexec
21-Oct-2024 22:07:13 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
21-Oct-2024 22:07:13 + MODULESHOME=/usr/share/lmod/lmod
21-Oct-2024 22:07:13 + export LMOD_PKG
21-Oct-2024 22:07:13 + export LMOD_CMD
21-Oct-2024 22:07:13 + export LMOD_DIR
21-Oct-2024 22:07:13 + export MODULESHOME
21-Oct-2024 22:07:13 + LMOD_VERSION=6.6
21-Oct-2024 22:07:13 + export LMOD_VERSION
21-Oct-2024 22:07:13 + '[' : '!=' : ']'
21-Oct-2024 22:07:13 + unalias ml
21-Oct-2024 22:07:13 + true
21-Oct-2024 22:07:13 ++ echo YES
21-Oct-2024 22:07:13 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
21-Oct-2024 22:07:13 + export_module=yes
21-Oct-2024 22:07:13 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
21-Oct-2024 22:07:13 + export -f module
21-Oct-2024 22:07:13 + export -f ml
21-Oct-2024 22:07:13 + unset export_module
21-Oct-2024 22:07:13 + '[' -n '' ']'
21-Oct-2024 22:07:13 + '[' 5 -ge 3 ']'
21-Oct-2024 22:07:13 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
21-Oct-2024 22:07:13 + '[' -n '' ']'
21-Oct-2024 22:07:13 + [[ ehuB != ehuxB ]]
21-Oct-2024 22:07:13 + echo 'End of Lmod init/bash script to define the module command'
21-Oct-2024 22:07:13 + docker login -u openmrsci -p ********
21-Oct-2024 22:07:13 End of Lmod init/bash script to define the module command
21-Oct-2024 22:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Oct-2024 22:07:13 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Oct-2024 22:07:13 Configure a credential helper to remove this warning. See
21-Oct-2024 22:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Oct-2024 22:07:13
21-Oct-2024 22:07:13 Login Succeeded
21-Oct-2024 22:07:13 + set +x
21-Oct-2024 22:07:14 Sending build context to Docker daemon  100.9MB
21-Oct-2024 22:07:14
21-Oct-2024 22:07:14 Step 1/11 : FROM tomcat:7-jre8
21-Oct-2024 22:07:15 7-jre8: Pulling from library/tomcat
21-Oct-2024 22:07:15 c5e155d5a1d1: Pulling fs layer
21-Oct-2024 22:07:15 221d80d00ae9: Pulling fs layer
21-Oct-2024 22:07:15 4250b3117dca: Pulling fs layer
21-Oct-2024 22:07:15 d1370422ab93: Pulling fs layer
21-Oct-2024 22:07:15 deb6b03222ca: Pulling fs layer
21-Oct-2024 22:07:15 9cdea8d70cc3: Pulling fs layer
21-Oct-2024 22:07:15 968505be14db: Pulling fs layer
21-Oct-2024 22:07:15 04b5c270ac81: Pulling fs layer
21-Oct-2024 22:07:15 301d76fcab1f: Pulling fs layer
21-Oct-2024 22:07:15 ddf85cd1cc29: Pulling fs layer
21-Oct-2024 22:07:15 ef1e6f25e812: Pulling fs layer
21-Oct-2024 22:07:15 d1370422ab93: Waiting
21-Oct-2024 22:07:15 deb6b03222ca: Waiting
21-Oct-2024 22:07:15 9cdea8d70cc3: Waiting
21-Oct-2024 22:07:15 968505be14db: Waiting
21-Oct-2024 22:07:15 04b5c270ac81: Waiting
21-Oct-2024 22:07:15 301d76fcab1f: Waiting
21-Oct-2024 22:07:15 ef1e6f25e812: Waiting
21-Oct-2024 22:07:15 4250b3117dca: Verifying Checksum
21-Oct-2024 22:07:15 4250b3117dca: Download complete
21-Oct-2024 22:07:16 221d80d00ae9: Verifying Checksum
21-Oct-2024 22:07:16 221d80d00ae9: Download complete
21-Oct-2024 22:07:16 deb6b03222ca: Verifying Checksum
21-Oct-2024 22:07:16 deb6b03222ca: Download complete
21-Oct-2024 22:07:16 d1370422ab93: Verifying Checksum
21-Oct-2024 22:07:16 d1370422ab93: Download complete
21-Oct-2024 22:07:16 9cdea8d70cc3: Verifying Checksum
21-Oct-2024 22:07:16 9cdea8d70cc3: Download complete
21-Oct-2024 22:07:16 c5e155d5a1d1: Verifying Checksum
21-Oct-2024 22:07:16 c5e155d5a1d1: Download complete
21-Oct-2024 22:07:16 04b5c270ac81: Verifying Checksum
21-Oct-2024 22:07:16 04b5c270ac81: Download complete
21-Oct-2024 22:07:16 301d76fcab1f: Verifying Checksum
21-Oct-2024 22:07:16 301d76fcab1f: Download complete
21-Oct-2024 22:07:16 ef1e6f25e812: Verifying Checksum
21-Oct-2024 22:07:16 ef1e6f25e812: Download complete
21-Oct-2024 22:07:16 ddf85cd1cc29: Verifying Checksum
21-Oct-2024 22:07:16 ddf85cd1cc29: Download complete
21-Oct-2024 22:07:17 968505be14db: Verifying Checksum
21-Oct-2024 22:07:17 968505be14db: Download complete
21-Oct-2024 22:07:19 c5e155d5a1d1: Pull complete
21-Oct-2024 22:07:19 221d80d00ae9: Pull complete
21-Oct-2024 22:07:19 4250b3117dca: Pull complete
21-Oct-2024 22:07:20 d1370422ab93: Pull complete
21-Oct-2024 22:07:20 deb6b03222ca: Pull complete
21-Oct-2024 22:07:20 9cdea8d70cc3: Pull complete
21-Oct-2024 22:07:25 968505be14db: Pull complete
21-Oct-2024 22:07:25 04b5c270ac81: Pull complete
21-Oct-2024 22:07:25 301d76fcab1f: Pull complete
21-Oct-2024 22:07:25 ddf85cd1cc29: Pull complete
21-Oct-2024 22:07:25 ef1e6f25e812: Pull complete
21-Oct-2024 22:07:25 Digest: sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
21-Oct-2024 22:07:25 Status: Downloaded newer image for tomcat:7-jre8
21-Oct-2024 22:07:25 ---> 3037eb7cda68
21-Oct-2024 22:07:25 Step 2/11 : COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
21-Oct-2024 22:07:27 ---> 7382b0387f93
21-Oct-2024 22:07:27 Step 3/11 : COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
21-Oct-2024 22:07:28 ---> 8103b64ac243
21-Oct-2024 22:07:28 Step 4/11 : COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
21-Oct-2024 22:07:28 ---> c65f95b6b96e
21-Oct-2024 22:07:28 Step 5/11 : COPY startup.sh /usr/local/tomcat/startup.sh
21-Oct-2024 22:07:28 ---> 7657f904fb21
21-Oct-2024 22:07:28 Step 6/11 : RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
21-Oct-2024 22:07:28 ---> Running in acc42dfa07d7
21-Oct-2024 22:07:29 Removing intermediate container acc42dfa07d7
21-Oct-2024 22:07:29 ---> 56e5b01f6bcc
21-Oct-2024 22:07:29 Step 7/11 : RUN chmod +x /usr/local/tomcat/wait-for-it.sh
21-Oct-2024 22:07:29 ---> Running in 5d177abc02e6
21-Oct-2024 22:07:29 Removing intermediate container 5d177abc02e6
21-Oct-2024 22:07:29 ---> acadb813a256
21-Oct-2024 22:07:29 Step 8/11 : RUN chmod +x /usr/local/tomcat/startup.sh
21-Oct-2024 22:07:29 ---> Running in f2433efe76f5
21-Oct-2024 22:07:30 Removing intermediate container f2433efe76f5
21-Oct-2024 22:07:30 ---> 8830a2a984eb
21-Oct-2024 22:07:30 Step 9/11 : COPY openmrs-distro.properties /root/openmrs-distro.properties
21-Oct-2024 22:07:30 ---> c88246498651
21-Oct-2024 22:07:30 Step 10/11 : COPY Dockerfile /root/Dockerfile
21-Oct-2024 22:07:30 ---> bc1a768479fd
21-Oct-2024 22:07:30 Step 11/11 : CMD ["/usr/local/tomcat/startup.sh"]
21-Oct-2024 22:07:30 ---> Running in 726eb0484a2b
21-Oct-2024 22:07:30 Removing intermediate container 726eb0484a2b
21-Oct-2024 22:07:30 ---> 9fc01fc492eb
21-Oct-2024 22:07:30 Successfully built 9fc01fc492eb
21-Oct-2024 22:07:30 Successfully tagged openmrs/openmrs-distro-platform:2.2.2-SNAPSHOT
21-Oct-2024 22:07:30 The push refers to repository [docker.io/openmrs/openmrs-distro-platform]
21-Oct-2024 22:07:31 4a3204922355: Preparing
21-Oct-2024 22:07:31 779ebb5831c5: Preparing
21-Oct-2024 22:07:31 14ef1b7b296e: Preparing
21-Oct-2024 22:07:31 8ce2ab89fda9: Preparing
21-Oct-2024 22:07:31 1a798dbefe18: Preparing
21-Oct-2024 22:07:31 0d56cbc1b9ad: Preparing
21-Oct-2024 22:07:31 4a5a839554b4: Preparing
21-Oct-2024 22:07:31 2917e7a7910c: Preparing
21-Oct-2024 22:07:31 e52c5a3205ad: Preparing
21-Oct-2024 22:07:31 ccb063697e4b: Preparing
21-Oct-2024 22:07:31 abdaa093b247: Preparing
21-Oct-2024 22:07:31 f0e1731fd286: Preparing
21-Oct-2024 22:07:31 2b6c38ff3137: Preparing
21-Oct-2024 22:07:31 d38f3d5a39fb: Preparing
21-Oct-2024 22:07:31 fe60061c6c4e: Preparing
21-Oct-2024 22:07:31 7d63f8777ebf: Preparing
21-Oct-2024 22:07:31 1b958b53b256: Preparing
21-Oct-2024 22:07:31 2c719774c1e1: Preparing
21-Oct-2024 22:07:31 ec62f19bb3aa: Preparing
21-Oct-2024 22:07:31 f94641f1fe1f: Preparing
21-Oct-2024 22:07:31 abdaa093b247: Waiting
21-Oct-2024 22:07:31 f0e1731fd286: Waiting
21-Oct-2024 22:07:31 2b6c38ff3137: Waiting
21-Oct-2024 22:07:31 d38f3d5a39fb: Waiting
21-Oct-2024 22:07:31 fe60061c6c4e: Waiting
21-Oct-2024 22:07:31 7d63f8777ebf: Waiting
21-Oct-2024 22:07:31 1b958b53b256: Waiting
21-Oct-2024 22:07:31 2c719774c1e1: Waiting
21-Oct-2024 22:07:31 ec62f19bb3aa: Waiting
21-Oct-2024 22:07:31 f94641f1fe1f: Waiting
21-Oct-2024 22:07:31 4a5a839554b4: Waiting
21-Oct-2024 22:07:31 2917e7a7910c: Waiting
21-Oct-2024 22:07:31 e52c5a3205ad: Waiting
21-Oct-2024 22:07:31 ccb063697e4b: Waiting
21-Oct-2024 22:07:31 0d56cbc1b9ad: Waiting
21-Oct-2024 22:07:32 8ce2ab89fda9: Pushed
21-Oct-2024 22:07:32 1a798dbefe18: Pushed
21-Oct-2024 22:07:32 4a3204922355: Pushed
21-Oct-2024 22:07:32 14ef1b7b296e: Pushed
21-Oct-2024 22:07:32 779ebb5831c5: Pushed
21-Oct-2024 22:07:32 ccb063697e4b: Layer already exists
21-Oct-2024 22:07:32 abdaa093b247: Layer already exists
21-Oct-2024 22:07:32 f0e1731fd286: Layer already exists
21-Oct-2024 22:07:32 2b6c38ff3137: Layer already exists
21-Oct-2024 22:07:32 d38f3d5a39fb: Layer already exists
21-Oct-2024 22:07:33 fe60061c6c4e: Layer already exists
21-Oct-2024 22:07:33 7d63f8777ebf: Layer already exists
21-Oct-2024 22:07:33 1b958b53b256: Layer already exists
21-Oct-2024 22:07:33 2917e7a7910c: Pushed
21-Oct-2024 22:07:33 2c719774c1e1: Layer already exists
21-Oct-2024 22:07:33 ec62f19bb3aa: Layer already exists
21-Oct-2024 22:07:33 f94641f1fe1f: Layer already exists
21-Oct-2024 22:07:33 4a5a839554b4: Pushed
21-Oct-2024 22:07:33 0d56cbc1b9ad: Pushed
21-Oct-2024 22:07:39 e52c5a3205ad: Pushed
21-Oct-2024 22:07:40 2.2.2-SNAPSHOT: digest: sha256:ca5cd15000ef7b1c4f5c4022d219c7e80b72fd6ef43d252829517329342350e2 size: 4498
21-Oct-2024 22:07:40 Finished task 'Build and push docker image' with result: Success
21-Oct-2024 22:07:40 Starting task 'Save docker image ID' of type 'com.atlassian.bamboo.plugins.variable.updater.variable-updater-generic:variable-file-reader'
21-Oct-2024 22:07:40 Variable wasn't found in the Build context. It possibly doesn't exist.
21-Oct-2024 22:07:40 Changing variable docker.image.id of type RESULT from null to openmrs/openmrs-distro-platform@sha256:ca5cd15000ef7b1c4f5c4022d219c7e80b72fd6ef43d252829517329342350e2
21-Oct-2024 22:07:40 Finished task 'Save docker image ID' with result: Success
21-Oct-2024 22:07:40 Running post build plugin 'Docker Container Cleanup'
21-Oct-2024 22:07:40 Running post build plugin 'NCover Results Collector'
21-Oct-2024 22:07:40 Running post build plugin 'Build Results Label Collector'
21-Oct-2024 22:07:40 Running post build plugin 'Clover Results Collector'
21-Oct-2024 22:07:40 Running post build plugin 'npm Cache Cleanup'
21-Oct-2024 22:07:40 Running post build plugin 'Artifact Copier'
21-Oct-2024 22:07:40 Finalising the build...
21-Oct-2024 22:07:40 Stopping timer.
21-Oct-2024 22:07:40 Build OP-OP2-PDI-114 completed.
21-Oct-2024 22:07:40 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Oct-2024 22:07:40 Running on server: post build plugin 'NCover Results Collector'
21-Oct-2024 22:07:40 Running on server: post build plugin 'Build Labeller'
21-Oct-2024 22:07:40 Running on server: post build plugin 'Clover Delta Calculator'
21-Oct-2024 22:07:40 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Oct-2024 22:07:40 All post build plugins have finished
21-Oct-2024 22:07:40 Generating build results summary...
21-Oct-2024 22:07:41 Saving build results to disk...
21-Oct-2024 22:07:41 Store variable context...
21-Oct-2024 22:07:41 Finished building OP-OP2-PDI-114.