Deploys Reference Application SNAPSHOT to maven

Build: #13401 was successful

Job: Deploy to qa-refapp was successful

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Validate

  4. Release

    Requires a user to start manually
  5. Set variables

  6. Release others

Build log

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

19-Jan-2023 03:13:08 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13401 (REFAPP-OMODDISTRO-DTMTS-13401) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
19-Jan-2023 03:13:08 Remote agent on host yu.openmrs.org
19-Jan-2023 03:13:08 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Jan-2023 03:13:08 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13401 (REFAPP-OMODDISTRO-DTMTS-13401)
19-Jan-2023 03:13:08 Running pre-build action: Build Log Labeller Pre Build Action
19-Jan-2023 03:13:08 Running pre-build action: VCS Version Collector
19-Jan-2023 03:13:08 Running pre-build action: Run Predator
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2957Mb  379Mb 00:06:25 /usr/lib/jvm/java-8-ope
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:01:40 /home/bamboo-agent/bamb
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:12 /sbin/init             
19-Jan-2023 03:13:08 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Initial free space: 3.74992 GB
19-Jan-2023 03:13:08 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
19-Jan-2023 03:13:12 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
19-Jan-2023 03:13:12 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
19-Jan-2023 03:13:13 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
19-Jan-2023 03:13:13 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
19-Jan-2023 03:13:13 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
19-Jan-2023 03:13:13 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
19-Jan-2023 03:13:13 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
19-Jan-2023 03:13:13 [PredatorPreBuildAction] Final free space: 3.7815552 GB
19-Jan-2023 03:13:13 [PredatorPreBuildAction] Done
19-Jan-2023 03:13:13
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
19-Jan-2023 03:13:13
Substituting password variable: ${bamboo.dockerhub.password}
19-Jan-2023 03:13:13
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Jan-2023 03:13:13
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Jan-2023 03:13:13 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
19-Jan-2023 03:13:13
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13401 (REFAPP-OMODDISTRO-DTMTS-13401)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13401-ScriptBuildTask-5182157976079734732.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Jan-2023 03:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
19-Jan-2023 03:13:13 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
19-Jan-2023 03:13:13 Configure a credential helper to remove this warning. See
19-Jan-2023 03:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
19-Jan-2023 03:13:13
19-Jan-2023 03:13:13 Login Succeeded
19-Jan-2023 03:13:13 + docker pull openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13 docker.io/openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120: Pulling from openmrs/openmrs-reference-application
19-Jan-2023 03:13:13 Digest: sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13 docker.io/openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120
19-Jan-2023 03:13:13 + docker tag openmrs/openmrs-reference-application@sha256:f2dfb049be630c807cd1a78b3de3047a177ca0d370b36ed6a25c967d59bac120 openmrs/openmrs-reference-application:qa
19-Jan-2023 03:13:13 + docker push openmrs/openmrs-reference-application:qa
19-Jan-2023 03:13:13 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
19-Jan-2023 03:13:13 7ee7471f8955: Preparing
19-Jan-2023 03:13:13 9ea49e729cff: Preparing
19-Jan-2023 03:13:13 9209958026e6: Preparing
19-Jan-2023 03:13:13 181965167e27: Preparing
19-Jan-2023 03:13:13 e61322449ad0: Preparing
19-Jan-2023 03:13:13 6fdd21bc4a9b: Preparing
19-Jan-2023 03:13:13 5f70bf18a086: Preparing
19-Jan-2023 03:13:13 b7243530d918: Preparing
19-Jan-2023 03:13:13 23323df4fbd9: Preparing
19-Jan-2023 03:13:13 725ecc0c9d62: Preparing
19-Jan-2023 03:13:13 6c1f45cb6682: Preparing
19-Jan-2023 03:13:13 b8aa9430b356: Preparing
19-Jan-2023 03:13:13 b46e16032f56: Preparing
19-Jan-2023 03:13:13 91ac82815b04: Preparing
19-Jan-2023 03:13:13 24fcda5a8b17: Preparing
19-Jan-2023 03:13:13 a4a7e924299e: Preparing
19-Jan-2023 03:13:13 059c2d42be74: Preparing
19-Jan-2023 03:13:13 3f800aca2a44: Preparing
19-Jan-2023 03:13:13 6fdd21bc4a9b: Waiting
19-Jan-2023 03:13:13 5f70bf18a086: Waiting
19-Jan-2023 03:13:13 b7243530d918: Waiting
19-Jan-2023 03:13:13 23323df4fbd9: Waiting
19-Jan-2023 03:13:13 725ecc0c9d62: Waiting
19-Jan-2023 03:13:13 6c1f45cb6682: Waiting
19-Jan-2023 03:13:13 b8aa9430b356: Waiting
19-Jan-2023 03:13:13 b46e16032f56: Waiting
19-Jan-2023 03:13:13 91ac82815b04: Waiting
19-Jan-2023 03:13:13 24fcda5a8b17: Waiting
19-Jan-2023 03:13:13 a4a7e924299e: Waiting
19-Jan-2023 03:13:13 059c2d42be74: Waiting
19-Jan-2023 03:13:13 3f800aca2a44: Waiting
19-Jan-2023 03:13:14 e61322449ad0: Layer already exists
19-Jan-2023 03:13:14 7ee7471f8955: Layer already exists
19-Jan-2023 03:13:14 9209958026e6: Layer already exists
19-Jan-2023 03:13:14 181965167e27: Layer already exists
19-Jan-2023 03:13:14 9ea49e729cff: Layer already exists
19-Jan-2023 03:13:14 6fdd21bc4a9b: Layer already exists
19-Jan-2023 03:13:14 5f70bf18a086: Layer already exists
19-Jan-2023 03:13:14 b7243530d918: Layer already exists
19-Jan-2023 03:13:14 725ecc0c9d62: Layer already exists
19-Jan-2023 03:13:14 23323df4fbd9: Layer already exists
19-Jan-2023 03:13:14 6c1f45cb6682: Layer already exists
19-Jan-2023 03:13:14 b8aa9430b356: Layer already exists
19-Jan-2023 03:13:14 91ac82815b04: Layer already exists
19-Jan-2023 03:13:14 b46e16032f56: Layer already exists
19-Jan-2023 03:13:14 24fcda5a8b17: Layer already exists
19-Jan-2023 03:13:14 a4a7e924299e: Layer already exists
19-Jan-2023 03:13:14 059c2d42be74: Layer already exists
19-Jan-2023 03:13:14 3f800aca2a44: Layer already exists
19-Jan-2023 03:13:14 qa: digest: sha256:43921e6c6a481a97943e6909e15bc31a80b932511aa92a523454488a186f85ab size: 4088
19-Jan-2023 03:13:14 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
19-Jan-2023 03:13:14 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
19-Jan-2023 03:13:15 Removing unused images if any
19-Jan-2023 03:13:16 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication-mysql ...
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ...
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication-mysql ... done
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 03:13:16 Pulling openmrs-referenceapplication       ... waiting
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (0.5%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (100.0%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (0.7%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (14.2%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (1.1%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (19.4%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (100.0%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (28.4%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (38.2%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (42.2%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (56.4%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (56.4%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (74.5%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (70.1%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (91.9%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (83.8%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... downloading (98.0%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... extracting (0.7%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... extracting (24.3%)
19-Jan-2023 03:13:17 Pulling openmrs-referenceapplication       ... extracting (44.4%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (68.7%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (87.4%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (0.5%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (19.2%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (37.0%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (52.2%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (70.9%)
19-Jan-2023 03:13:18 Pulling openmrs-referenceapplication       ... extracting (86.6%)
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... extracting (3.0%)
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... digest: sha256:43921e6c6a481a9794...
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
19-Jan-2023 03:13:19 Pulling openmrs-referenceapplication       ... done
19-Jan-2023 03:13:19 Recreating all images and volumes
19-Jan-2023 03:13:19 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 03:13:19 Stopping qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 03:13:19 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 03:13:20 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 03:13:21 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 03:13:21 Removing qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 03:13:21 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 03:13:21 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 03:13:23 Removing qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 03:13:23 Removing network qa-refapp_default
19-Jan-2023 03:13:23 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
19-Jan-2023 03:13:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 03:13:23 Creating network "qa-refapp_default" with the default driver
19-Jan-2023 03:13:23 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
19-Jan-2023 03:13:23 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 03:13:24 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 03:13:24 Creating qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 03:13:24 Creating qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 03:13:25 Verifying if docker containers 64f84dd55f56cf116725da34927c019206432c5d9781af20da1db59265ff57ea
19-Jan-2023 03:13:25 7572a82512bc21c878a5aa3121ddd20f8992738e4fdbff63f59f553d882ff651 are healthy
19-Jan-2023 03:13:25 Status found: "starting"
19-Jan-2023 03:13:25 Waiting 15s
19-Jan-2023 03:13:40 Verifying if docker containers 64f84dd55f56cf116725da34927c019206432c5d9781af20da1db59265ff57ea
19-Jan-2023 03:13:40 7572a82512bc21c878a5aa3121ddd20f8992738e4fdbff63f59f553d882ff651 are healthy
19-Jan-2023 03:13:40 Status found: "starting"
19-Jan-2023 03:13:40 Waiting 15s
19-Jan-2023 03:13:55 Verifying if docker containers 64f84dd55f56cf116725da34927c019206432c5d9781af20da1db59265ff57ea
19-Jan-2023 03:13:55 7572a82512bc21c878a5aa3121ddd20f8992738e4fdbff63f59f553d882ff651 are healthy
19-Jan-2023 03:13:55 Status found: "healthy"
19-Jan-2023 03:13:55 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
19-Jan-2023 03:13:55 Running post build plugin 'Docker Container Cleanup'
19-Jan-2023 03:13:55 Running post build plugin 'NCover Results Collector'
19-Jan-2023 03:13:55 Running post build plugin 'Build Results Label Collector'
19-Jan-2023 03:13:55 Running post build plugin 'Clover Results Collector'
19-Jan-2023 03:13:55 Running post build plugin 'npm Cache Cleanup'
19-Jan-2023 03:13:55 Running post build plugin 'Artifact Copier'
19-Jan-2023 03:13:55 Finalising the build...
19-Jan-2023 03:13:55 Stopping timer.
19-Jan-2023 03:13:55 Build REFAPP-OMODDISTRO-DTMTS-13401 completed.
19-Jan-2023 03:13:55 Running on server: post build plugin 'Build Hanging Detection Configuration'
19-Jan-2023 03:13:55 Running on server: post build plugin 'NCover Results Collector'
19-Jan-2023 03:13:55 Running on server: post build plugin 'Build Labeller'
19-Jan-2023 03:13:55 Running on server: post build plugin 'Clover Delta Calculator'
19-Jan-2023 03:13:55 Running on server: post build plugin 'Maven Dependencies Postprocessor'
19-Jan-2023 03:13:55 All post build plugins have finished
19-Jan-2023 03:13:55 Generating build results summary...
19-Jan-2023 03:13:55 Saving build results to disk...
19-Jan-2023 03:13:55 Store variable context...
19-Jan-2023 03:13:55 Finished building REFAPP-OMODDISTRO-DTMTS-13401.