Deploys Reference Application SNAPSHOT to maven

Build: #13397 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 225 lines of output. Download or view full build log.

17-Jan-2023 03:18:15 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13397 (REFAPP-OMODDISTRO-DTMTS-13397) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
17-Jan-2023 03:18:15 Remote agent on host xindi.openmrs.org
17-Jan-2023 03:18:15 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Jan-2023 03:18:15 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13397 (REFAPP-OMODDISTRO-DTMTS-13397)
17-Jan-2023 03:18:15 Running pre-build action: Build Log Labeller Pre Build Action
17-Jan-2023 03:18:15 Running pre-build action: VCS Version Collector
17-Jan-2023 03:18:15 Running pre-build action: Run Predator
17-Jan-2023 03:18:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
17-Jan-2023 03:18:15 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
17-Jan-2023 03:18:15 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2053 java        1484 bamboo-age 2960Mb  351Mb 00:03:21 /usr/lib/jvm/java-8-ope
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:00:49 /home/bamboo-agent/bamb
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:14 /sbin/init             
17-Jan-2023 03:18:16 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Initial free space: 3.492958 GB
17-Jan-2023 03:18:16 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
17-Jan-2023 03:18:17 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
17-Jan-2023 03:18:17 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
17-Jan-2023 03:18:17 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Final free space: 3.524601 GB
17-Jan-2023 03:18:17 [PredatorPreBuildAction] Done
17-Jan-2023 03:18:17
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
17-Jan-2023 03:18:17
Substituting password variable: ${bamboo.dockerhub.password}
17-Jan-2023 03:18:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Jan-2023 03:18:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
17-Jan-2023 03:18:17 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
17-Jan-2023 03:18:17
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13397 (REFAPP-OMODDISTRO-DTMTS-13397)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13397-ScriptBuildTask-3842986227295289634.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
17-Jan-2023 03:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
17-Jan-2023 03:18:17 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
17-Jan-2023 03:18:17 Configure a credential helper to remove this warning. See
17-Jan-2023 03:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
17-Jan-2023 03:18:17
17-Jan-2023 03:18:17 Login Succeeded
17-Jan-2023 03:18:17 + docker pull openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:18 docker.io/openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143: Pulling from openmrs/openmrs-reference-application
17-Jan-2023 03:18:18 Digest: sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:18 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:18 docker.io/openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143
17-Jan-2023 03:18:18 + docker tag openmrs/openmrs-reference-application@sha256:5817035c4e72bf7f582857e65387bb3492c80386a79b1e695bf4a35fd06f7143 openmrs/openmrs-reference-application:qa
17-Jan-2023 03:18:18 + docker push openmrs/openmrs-reference-application:qa
17-Jan-2023 03:18:18 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
17-Jan-2023 03:18:18 a659d4e38479: Preparing
17-Jan-2023 03:18:18 88c0ae64da34: Preparing
17-Jan-2023 03:18:18 4b274322bce6: Preparing
17-Jan-2023 03:18:18 3e73eb3a8d9e: Preparing
17-Jan-2023 03:18:18 e61322449ad0: Preparing
17-Jan-2023 03:18:18 6fdd21bc4a9b: Preparing
17-Jan-2023 03:18:18 5f70bf18a086: Preparing
17-Jan-2023 03:18:18 b7243530d918: Preparing
17-Jan-2023 03:18:18 23323df4fbd9: Preparing
17-Jan-2023 03:18:18 725ecc0c9d62: Preparing
17-Jan-2023 03:18:18 6c1f45cb6682: Preparing
17-Jan-2023 03:18:18 b8aa9430b356: Preparing
17-Jan-2023 03:18:18 b46e16032f56: Preparing
17-Jan-2023 03:18:18 91ac82815b04: Preparing
17-Jan-2023 03:18:18 24fcda5a8b17: Preparing
17-Jan-2023 03:18:18 a4a7e924299e: Preparing
17-Jan-2023 03:18:18 059c2d42be74: Preparing
17-Jan-2023 03:18:18 3f800aca2a44: Preparing
17-Jan-2023 03:18:18 6fdd21bc4a9b: Waiting
17-Jan-2023 03:18:18 5f70bf18a086: Waiting
17-Jan-2023 03:18:18 b7243530d918: Waiting
17-Jan-2023 03:18:18 23323df4fbd9: Waiting
17-Jan-2023 03:18:18 725ecc0c9d62: Waiting
17-Jan-2023 03:18:18 6c1f45cb6682: Waiting
17-Jan-2023 03:18:18 b8aa9430b356: Waiting
17-Jan-2023 03:18:18 b46e16032f56: Waiting
17-Jan-2023 03:18:18 91ac82815b04: Waiting
17-Jan-2023 03:18:18 24fcda5a8b17: Waiting
17-Jan-2023 03:18:18 a4a7e924299e: Waiting
17-Jan-2023 03:18:18 059c2d42be74: Waiting
17-Jan-2023 03:18:18 3f800aca2a44: Waiting
17-Jan-2023 03:18:18 e61322449ad0: Layer already exists
17-Jan-2023 03:18:18 a659d4e38479: Layer already exists
17-Jan-2023 03:18:18 3e73eb3a8d9e: Layer already exists
17-Jan-2023 03:18:18 88c0ae64da34: Layer already exists
17-Jan-2023 03:18:18 4b274322bce6: Layer already exists
17-Jan-2023 03:18:18 6fdd21bc4a9b: Layer already exists
17-Jan-2023 03:18:18 5f70bf18a086: Layer already exists
17-Jan-2023 03:18:18 b7243530d918: Layer already exists
17-Jan-2023 03:18:18 23323df4fbd9: Layer already exists
17-Jan-2023 03:18:18 725ecc0c9d62: Layer already exists
17-Jan-2023 03:18:18 6c1f45cb6682: Layer already exists
17-Jan-2023 03:18:18 b46e16032f56: Layer already exists
17-Jan-2023 03:18:18 b8aa9430b356: Layer already exists
17-Jan-2023 03:18:18 91ac82815b04: Layer already exists
17-Jan-2023 03:18:18 24fcda5a8b17: Layer already exists
17-Jan-2023 03:18:18 a4a7e924299e: Layer already exists
17-Jan-2023 03:18:18 059c2d42be74: Layer already exists
17-Jan-2023 03:18:18 3f800aca2a44: Layer already exists
17-Jan-2023 03:18:19 qa: digest: sha256:af0ba1ed9b758ebb4978bba21c3c13e0663833bccf391db9d70171aae90750e7 size: 4088
17-Jan-2023 03:18:19 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
17-Jan-2023 03:18:19 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
17-Jan-2023 03:18:20 Removing unused images if any
17-Jan-2023 03:18:20 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication-mysql ...
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ...
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication-mysql ... done
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:20 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... already exists
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... pulling fs layer
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... waiting
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (0.7%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (100.0%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (0.5%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (24.1%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (16.6%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (1.1%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (47.7%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (33.2%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (71.9%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (50.9%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (96.1%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (68.5%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... extracting (0.7%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (84.7%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... extracting (22.2%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... downloading (98.4%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... verifying checksum
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... download complete
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... extracting (46.5%)
17-Jan-2023 03:18:21 Pulling openmrs-referenceapplication       ... extracting (72.9%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (94.4%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (0.5%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (18.7%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (39.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (56.2%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (70.9%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (88.1%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (3.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... pull complete
17-Jan-2023 03:18:22 Pulling openmrs-referenceapplication       ... digest: sha256:af0ba1ed9b758ebb49...
17-Jan-2023 03:18:23 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
17-Jan-2023 03:18:23 Pulling openmrs-referenceapplication       ... done
17-Jan-2023 03:18:23 Recreating all images and volumes
17-Jan-2023 03:18:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 03:18:23 Stopping qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 03:18:23 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 03:18:23 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 03:18:25 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 03:18:25 Removing qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 03:18:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 03:18:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 03:18:25 Removing qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 03:18:25 Removing network qa-refapp_default
17-Jan-2023 03:18:25 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
17-Jan-2023 03:18:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
17-Jan-2023 03:18:26 Creating network "qa-refapp_default" with the default driver
17-Jan-2023 03:18:26 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
17-Jan-2023 03:18:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
17-Jan-2023 03:18:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
17-Jan-2023 03:18:26 Creating qa-refapp_openmrs-referenceapplication_1       ...
17-Jan-2023 03:18:27 Creating qa-refapp_openmrs-referenceapplication_1       ... done
17-Jan-2023 03:18:27 Verifying if docker containers 40cf6eb0729210003a7fe7a65c5af884fbe0c41428f4241087cd0ec9e83105d5
17-Jan-2023 03:18:27 539aafc6e7a6553432467825febdd1f4e597c07650482f5b69466c852a3b81e3 are healthy
17-Jan-2023 03:18:28 Status found: "starting"
17-Jan-2023 03:18:28 Waiting 15s
17-Jan-2023 03:18:43 Verifying if docker containers 40cf6eb0729210003a7fe7a65c5af884fbe0c41428f4241087cd0ec9e83105d5
17-Jan-2023 03:18:43 539aafc6e7a6553432467825febdd1f4e597c07650482f5b69466c852a3b81e3 are healthy
17-Jan-2023 03:18:43 Status found: "starting"
17-Jan-2023 03:18:43 Waiting 15s
17-Jan-2023 03:18:58 Verifying if docker containers 40cf6eb0729210003a7fe7a65c5af884fbe0c41428f4241087cd0ec9e83105d5
17-Jan-2023 03:18:58 539aafc6e7a6553432467825febdd1f4e597c07650482f5b69466c852a3b81e3 are healthy
17-Jan-2023 03:18:58 Status found: "healthy"
17-Jan-2023 03:18:58 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
17-Jan-2023 03:18:58 Running post build plugin 'Docker Container Cleanup'
17-Jan-2023 03:18:58 Running post build plugin 'NCover Results Collector'
17-Jan-2023 03:18:58 Running post build plugin 'Build Results Label Collector'
17-Jan-2023 03:18:58 Running post build plugin 'Clover Results Collector'
17-Jan-2023 03:18:58 Running post build plugin 'npm Cache Cleanup'
17-Jan-2023 03:18:58 Running post build plugin 'Artifact Copier'
17-Jan-2023 03:18:58 Finalising the build...
17-Jan-2023 03:18:58 Stopping timer.
17-Jan-2023 03:18:58 Build REFAPP-OMODDISTRO-DTMTS-13397 completed.
17-Jan-2023 03:18:58 Running on server: post build plugin 'Build Hanging Detection Configuration'
17-Jan-2023 03:18:58 Running on server: post build plugin 'NCover Results Collector'
17-Jan-2023 03:18:58 Running on server: post build plugin 'Build Labeller'
17-Jan-2023 03:18:58 Running on server: post build plugin 'Clover Delta Calculator'
17-Jan-2023 03:18:58 Running on server: post build plugin 'Maven Dependencies Postprocessor'
17-Jan-2023 03:18:58 All post build plugins have finished
17-Jan-2023 03:18:58 Generating build results summary...
17-Jan-2023 03:18:58 Saving build results to disk...
17-Jan-2023 03:18:58 Store variable context...
17-Jan-2023 03:18:58 Finished building REFAPP-OMODDISTRO-DTMTS-13397.