Deploys Reference Application SNAPSHOT to maven

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

29-Nov-2022 03:22:02 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13240 (REFAPP-OMODDISTRO-DTMTS-13240) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
29-Nov-2022 03:22:02 Remote agent on host xindi.openmrs.org
29-Nov-2022 03:22:02 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
29-Nov-2022 03:22:02 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13240 (REFAPP-OMODDISTRO-DTMTS-13240)
29-Nov-2022 03:22:02 Running pre-build action: Build Log Labeller Pre Build Action
29-Nov-2022 03:22:02 Running pre-build action: VCS Version Collector
29-Nov-2022 03:22:02 Running pre-build action: Run Predator
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 27670 java        1446 bamboo-age 2978Mb  576Mb 00:11:46 /usr/lib/jvm/java-8-ope
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1446 wrapper        1 bamboo-age   16Mb    2Mb 00:03:47 /home/bamboo-agent/bamb
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:53 /sbin/init             
29-Nov-2022 03:22:02 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Initial free space: 3.4999352 GB
29-Nov-2022 03:22:02 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
29-Nov-2022 03:22:06 [PredatorPreBuildAction] Deleting 8 snapshot folders from /home/bamboo-agent/.m2/repository
29-Nov-2022 03:22:06 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
29-Nov-2022 03:22:07 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
29-Nov-2022 03:22:07 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
29-Nov-2022 03:22:07 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
29-Nov-2022 03:22:07 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
29-Nov-2022 03:22:07 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
29-Nov-2022 03:22:07 [PredatorPreBuildAction] Final free space: 3.5315552 GB
29-Nov-2022 03:22:07 [PredatorPreBuildAction] Done
29-Nov-2022 03:22:07
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
29-Nov-2022 03:22:07
Substituting password variable: ${bamboo.dockerhub.password}
29-Nov-2022 03:22:07
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
29-Nov-2022 03:22:07
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
29-Nov-2022 03:22:07 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
29-Nov-2022 03:22:07
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13240 (REFAPP-OMODDISTRO-DTMTS-13240)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13240-ScriptBuildTask-6094468640675063647.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
29-Nov-2022 03:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
29-Nov-2022 03:22:07 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
29-Nov-2022 03:22:07 Configure a credential helper to remove this warning. See
29-Nov-2022 03:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
29-Nov-2022 03:22:07
29-Nov-2022 03:22:07 Login Succeeded
29-Nov-2022 03:22:07 + docker pull openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07 docker.io/openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d: Pulling from openmrs/openmrs-reference-application
29-Nov-2022 03:22:07 Digest: sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07 docker.io/openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d
29-Nov-2022 03:22:07 + docker tag openmrs/openmrs-reference-application@sha256:9ca5f0400362f8256994aebc80bda93d5da7a036002053158e2e8aa0aed6313d openmrs/openmrs-reference-application:qa
29-Nov-2022 03:22:07 + docker push openmrs/openmrs-reference-application:qa
29-Nov-2022 03:22:07 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
29-Nov-2022 03:22:07 b3860c40bf7c: Preparing
29-Nov-2022 03:22:07 7141e6611eaf: Preparing
29-Nov-2022 03:22:07 b7c48e75c8cf: Preparing
29-Nov-2022 03:22:07 234b22841726: Preparing
29-Nov-2022 03:22:07 94888767c206: Preparing
29-Nov-2022 03:22:07 7166366c10ed: Preparing
29-Nov-2022 03:22:07 5f70bf18a086: Preparing
29-Nov-2022 03:22:07 ff399fe66155: Preparing
29-Nov-2022 03:22:07 f68cc74660ac: Preparing
29-Nov-2022 03:22:07 5e8152c21c19: Preparing
29-Nov-2022 03:22:07 d3b649348a36: Preparing
29-Nov-2022 03:22:07 863977ed1cf5: Preparing
29-Nov-2022 03:22:07 61fabc09defd: Preparing
29-Nov-2022 03:22:07 024fb52116d1: Preparing
29-Nov-2022 03:22:07 7f084483de6c: Preparing
29-Nov-2022 03:22:07 c0742fa78f13: Preparing
29-Nov-2022 03:22:07 97d2f1c2ec25: Preparing
29-Nov-2022 03:22:07 8c6806a06924: Preparing
29-Nov-2022 03:22:07 d3b649348a36: Waiting
29-Nov-2022 03:22:07 863977ed1cf5: Waiting
29-Nov-2022 03:22:07 61fabc09defd: Waiting
29-Nov-2022 03:22:07 024fb52116d1: Waiting
29-Nov-2022 03:22:07 7f084483de6c: Waiting
29-Nov-2022 03:22:07 c0742fa78f13: Waiting
29-Nov-2022 03:22:07 97d2f1c2ec25: Waiting
29-Nov-2022 03:22:07 8c6806a06924: Waiting
29-Nov-2022 03:22:07 7166366c10ed: Waiting
29-Nov-2022 03:22:07 5f70bf18a086: Waiting
29-Nov-2022 03:22:07 ff399fe66155: Waiting
29-Nov-2022 03:22:07 f68cc74660ac: Waiting
29-Nov-2022 03:22:07 5e8152c21c19: Waiting
29-Nov-2022 03:22:08 94888767c206: Layer already exists
29-Nov-2022 03:22:08 b7c48e75c8cf: Layer already exists
29-Nov-2022 03:22:08 7141e6611eaf: Layer already exists
29-Nov-2022 03:22:08 234b22841726: Layer already exists
29-Nov-2022 03:22:08 b3860c40bf7c: Layer already exists
29-Nov-2022 03:22:08 7166366c10ed: Layer already exists
29-Nov-2022 03:22:08 5f70bf18a086: Layer already exists
29-Nov-2022 03:22:08 ff399fe66155: Layer already exists
29-Nov-2022 03:22:08 f68cc74660ac: Layer already exists
29-Nov-2022 03:22:08 5e8152c21c19: Layer already exists
29-Nov-2022 03:22:08 d3b649348a36: Layer already exists
29-Nov-2022 03:22:08 863977ed1cf5: Layer already exists
29-Nov-2022 03:22:08 61fabc09defd: Layer already exists
29-Nov-2022 03:22:08 024fb52116d1: Layer already exists
29-Nov-2022 03:22:08 7f084483de6c: Layer already exists
29-Nov-2022 03:22:08 c0742fa78f13: Layer already exists
29-Nov-2022 03:22:08 97d2f1c2ec25: Layer already exists
29-Nov-2022 03:22:08 8c6806a06924: Layer already exists
29-Nov-2022 03:22:08 qa: digest: sha256:740e2d3e5bd1402274599728cb37d6ece79ca8d386fa0172c2ebb66bd99fba72 size: 4089
29-Nov-2022 03:22:08 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
29-Nov-2022 03:22:08 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
29-Nov-2022 03:22:09 Removing unused images if any
29-Nov-2022 03:22:10 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication-mysql ...
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ...
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication-mysql ... done
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... already exists
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... pulling fs layer
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... pulling fs layer
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... pulling fs layer
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... pulling fs layer
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... waiting
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (98.5%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (100.0%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... verifying checksum
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... download complete
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (0.5%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (0.7%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (18.7%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (1.1%)
29-Nov-2022 03:22:10 Pulling openmrs-referenceapplication       ... downloading (16.8%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... verifying checksum
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... download complete
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (34.9%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (41.6%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (51.2%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (63.8%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (66.9%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (83.3%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... verifying checksum
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... download complete
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... downloading (84.1%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... verifying checksum
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... download complete
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (0.7%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (30.5%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (59.0%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (83.9%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... pull complete
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:11 Pulling openmrs-referenceapplication       ... pull complete
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (0.5%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (19.3%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (38.6%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (56.4%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (73.1%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (87.8%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... pull complete
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (3.0%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... pull complete
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... digest: sha256:740e2d3e5bd1402274...
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
29-Nov-2022 03:22:12 Pulling openmrs-referenceapplication       ... done
29-Nov-2022 03:22:12 Recreating all images and volumes
29-Nov-2022 03:22:13 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
29-Nov-2022 03:22:13 Stopping qa-refapp_openmrs-referenceapplication_1       ...
29-Nov-2022 03:22:13 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
29-Nov-2022 03:22:13 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
29-Nov-2022 03:22:15 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
29-Nov-2022 03:22:15 Removing qa-refapp_openmrs-referenceapplication_1       ...
29-Nov-2022 03:22:15 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
29-Nov-2022 03:22:15 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
29-Nov-2022 03:22:16 Removing qa-refapp_openmrs-referenceapplication_1       ... done
29-Nov-2022 03:22:16 Removing network qa-refapp_default
29-Nov-2022 03:22:16 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
29-Nov-2022 03:22:16 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
29-Nov-2022 03:22:16 Creating network "qa-refapp_default" with the default driver
29-Nov-2022 03:22:16 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
29-Nov-2022 03:22:16 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
29-Nov-2022 03:22:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
29-Nov-2022 03:22:17 Creating qa-refapp_openmrs-referenceapplication_1       ...
29-Nov-2022 03:22:17 Creating qa-refapp_openmrs-referenceapplication_1       ... done
29-Nov-2022 03:22:18 Verifying if docker containers 8acd931b440960e8b1aa456ec0f95b8ae13fb5ff7dab0370f5a1e724041692b3
29-Nov-2022 03:22:18 24a0883ecca35c845b6764df703e4c0617285d9e3b2b42e2b94fbd4d201ca64b are healthy
29-Nov-2022 03:22:18 Status found: "starting"
29-Nov-2022 03:22:18 Waiting 15s
29-Nov-2022 03:22:33 Verifying if docker containers 8acd931b440960e8b1aa456ec0f95b8ae13fb5ff7dab0370f5a1e724041692b3
29-Nov-2022 03:22:33 24a0883ecca35c845b6764df703e4c0617285d9e3b2b42e2b94fbd4d201ca64b are healthy
29-Nov-2022 03:22:33 Status found: "starting"
29-Nov-2022 03:22:33 Waiting 15s
29-Nov-2022 03:22:48 Verifying if docker containers 8acd931b440960e8b1aa456ec0f95b8ae13fb5ff7dab0370f5a1e724041692b3
29-Nov-2022 03:22:48 24a0883ecca35c845b6764df703e4c0617285d9e3b2b42e2b94fbd4d201ca64b are healthy
29-Nov-2022 03:22:48 Status found: "healthy"
29-Nov-2022 03:22:48 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
29-Nov-2022 03:22:48 Running post build plugin 'Docker Container Cleanup'
29-Nov-2022 03:22:48 Running post build plugin 'NCover Results Collector'
29-Nov-2022 03:22:48 Running post build plugin 'Build Results Label Collector'
29-Nov-2022 03:22:48 Running post build plugin 'Clover Results Collector'
29-Nov-2022 03:22:48 Running post build plugin 'npm Cache Cleanup'
29-Nov-2022 03:22:48 Running post build plugin 'Artifact Copier'
29-Nov-2022 03:22:48 Finalising the build...
29-Nov-2022 03:22:48 Stopping timer.
29-Nov-2022 03:22:48 Build REFAPP-OMODDISTRO-DTMTS-13240 completed.
29-Nov-2022 03:22:48 Running on server: post build plugin 'Build Hanging Detection Configuration'
29-Nov-2022 03:22:48 Running on server: post build plugin 'NCover Results Collector'
29-Nov-2022 03:22:48 Running on server: post build plugin 'Build Labeller'
29-Nov-2022 03:22:48 Running on server: post build plugin 'Clover Delta Calculator'
29-Nov-2022 03:22:48 Running on server: post build plugin 'Maven Dependencies Postprocessor'
29-Nov-2022 03:22:48 All post build plugins have finished
29-Nov-2022 03:22:48 Generating build results summary...
29-Nov-2022 03:22:48 Saving build results to disk...
29-Nov-2022 03:22:48 Store variable context...
29-Nov-2022 03:22:48 Finished building REFAPP-OMODDISTRO-DTMTS-13240.