Deploys Reference Application SNAPSHOT to maven

Build: #13130 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.

18-Oct-2022 00:13:56 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13130 (REFAPP-OMODDISTRO-DTMTS-13130) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
18-Oct-2022 00:13:56 Remote agent on host xindi.openmrs.org
18-Oct-2022 00:13:56 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Oct-2022 00:13:56 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13130 (REFAPP-OMODDISTRO-DTMTS-13130)
18-Oct-2022 00:13:56 Running pre-build action: Build Log Labeller Pre Build Action
18-Oct-2022 00:13:56 Running pre-build action: VCS Version Collector
18-Oct-2022 00:13:56 Running pre-build action: Run Predator
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
18-Oct-2022 00:13:56 [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;
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1916 java        1182 bamboo-age 2967Mb  382Mb 00:03:29 /usr/lib/jvm/java-8-ope
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1182 wrapper        1 bamboo-age   16Mb    3Mb 00:00:45 /home/bamboo-agent/bamb
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:08 /sbin/init             
18-Oct-2022 00:13:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Initial free space: 6.3342285 GB
18-Oct-2022 00:13:56 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
18-Oct-2022 00:13:58 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
18-Oct-2022 00:13:58 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
18-Oct-2022 00:13:58 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Final free space: 6.3658524 GB
18-Oct-2022 00:13:58 [PredatorPreBuildAction] Done
18-Oct-2022 00:13:58
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
18-Oct-2022 00:13:58
Substituting password variable: ${bamboo.dockerhub.password}
18-Oct-2022 00:13:58
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:58
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:58
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Oct-2022 00:13:58
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Oct-2022 00:13:58 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
18-Oct-2022 00:13:58
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13130 (REFAPP-OMODDISTRO-DTMTS-13130)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13130-ScriptBuildTask-5437261166811116220.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Oct-2022 00:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
18-Oct-2022 00:13:58 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
18-Oct-2022 00:13:58 Configure a credential helper to remove this warning. See
18-Oct-2022 00:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
18-Oct-2022 00:13:58
18-Oct-2022 00:13:58 Login Succeeded
18-Oct-2022 00:13:58 + docker pull openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:59 docker.io/openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d: Pulling from openmrs/openmrs-reference-application
18-Oct-2022 00:13:59 Digest: sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:59 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:59 docker.io/openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d
18-Oct-2022 00:13:59 + docker tag openmrs/openmrs-reference-application@sha256:19d0f7b23b1069afc703e689f644aeaf92b7800545f88e04b1aff7b79dbaec1d openmrs/openmrs-reference-application:qa
18-Oct-2022 00:13:59 + docker push openmrs/openmrs-reference-application:qa
18-Oct-2022 00:13:59 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
18-Oct-2022 00:13:59 7d1909cbf456: Preparing
18-Oct-2022 00:13:59 fa020a080f59: Preparing
18-Oct-2022 00:13:59 8ef5ae388ade: Preparing
18-Oct-2022 00:13:59 8da852a89ee3: Preparing
18-Oct-2022 00:13:59 c4d7d9344c94: Preparing
18-Oct-2022 00:13:59 3115f92dfde0: Preparing
18-Oct-2022 00:13:59 40662c443880: Preparing
18-Oct-2022 00:13:59 5f70bf18a086: Preparing
18-Oct-2022 00:13:59 e391162dac5a: Preparing
18-Oct-2022 00:13:59 a608f56d61bb: Preparing
18-Oct-2022 00:13:59 50c17e52d63c: Preparing
18-Oct-2022 00:13:59 1c08af3c999d: Preparing
18-Oct-2022 00:13:59 f9e3c74ded34: Preparing
18-Oct-2022 00:13:59 e802af8d4506: Preparing
18-Oct-2022 00:13:59 678542a60d0e: Preparing
18-Oct-2022 00:13:59 6edf69746447: Preparing
18-Oct-2022 00:13:59 2601b5eb4f37: Preparing
18-Oct-2022 00:13:59 4942a1abcbfa: Preparing
18-Oct-2022 00:13:59 a608f56d61bb: Waiting
18-Oct-2022 00:13:59 50c17e52d63c: Waiting
18-Oct-2022 00:13:59 1c08af3c999d: Waiting
18-Oct-2022 00:13:59 f9e3c74ded34: Waiting
18-Oct-2022 00:13:59 e802af8d4506: Waiting
18-Oct-2022 00:13:59 678542a60d0e: Waiting
18-Oct-2022 00:13:59 6edf69746447: Waiting
18-Oct-2022 00:13:59 2601b5eb4f37: Waiting
18-Oct-2022 00:13:59 4942a1abcbfa: Waiting
18-Oct-2022 00:13:59 3115f92dfde0: Waiting
18-Oct-2022 00:13:59 40662c443880: Waiting
18-Oct-2022 00:13:59 5f70bf18a086: Waiting
18-Oct-2022 00:13:59 e391162dac5a: Waiting
18-Oct-2022 00:13:59 7d1909cbf456: Layer already exists
18-Oct-2022 00:13:59 c4d7d9344c94: Layer already exists
18-Oct-2022 00:13:59 8ef5ae388ade: Layer already exists
18-Oct-2022 00:13:59 8da852a89ee3: Layer already exists
18-Oct-2022 00:13:59 fa020a080f59: Layer already exists
18-Oct-2022 00:13:59 40662c443880: Layer already exists
18-Oct-2022 00:13:59 3115f92dfde0: Layer already exists
18-Oct-2022 00:13:59 5f70bf18a086: Layer already exists
18-Oct-2022 00:13:59 e391162dac5a: Layer already exists
18-Oct-2022 00:13:59 a608f56d61bb: Layer already exists
18-Oct-2022 00:13:59 50c17e52d63c: Layer already exists
18-Oct-2022 00:13:59 1c08af3c999d: Layer already exists
18-Oct-2022 00:13:59 f9e3c74ded34: Layer already exists
18-Oct-2022 00:13:59 e802af8d4506: Layer already exists
18-Oct-2022 00:13:59 678542a60d0e: Layer already exists
18-Oct-2022 00:14:00 6edf69746447: Layer already exists
18-Oct-2022 00:14:00 4942a1abcbfa: Layer already exists
18-Oct-2022 00:14:00 2601b5eb4f37: Layer already exists
18-Oct-2022 00:14:00 qa: digest: sha256:8bb8ec88f5051504de3c786b4df6c85d0ea10c4ff58e81bdfb8d50fabba11e21 size: 4096
18-Oct-2022 00:14:00 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
18-Oct-2022 00:14:00 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
18-Oct-2022 00:14:01 Removing unused images if any
18-Oct-2022 00:14:01 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Oct-2022 00:14:01 Pulling openmrs-referenceapplication-mysql ...
18-Oct-2022 00:14:01 Pulling openmrs-referenceapplication       ...
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication-mysql ... done
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... already exists
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... waiting
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (96.0%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (100.0%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... verifying checksum
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... download complete
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (0.5%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (0.7%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (21.6%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (26.4%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (1.1%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... verifying checksum
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... download complete
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (39.8%)
18-Oct-2022 00:14:02 Pulling openmrs-referenceapplication       ... downloading (52.1%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... downloading (58.9%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... downloading (74.4%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... downloading (77.1%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... downloading (99.5%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... verifying checksum
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... download complete
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... downloading (92.9%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (0.7%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... verifying checksum
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... download complete
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (23.8%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (51.0%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (79.0%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... pull complete
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... pull complete
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (0.5%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (14.7%)
18-Oct-2022 00:14:03 Pulling openmrs-referenceapplication       ... extracting (31.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (50.3%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (67.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (88.4%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... pull complete
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (3.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... pull complete
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... digest: sha256:8bb8ec88f5051504de...
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
18-Oct-2022 00:14:04 Pulling openmrs-referenceapplication       ... done
18-Oct-2022 00:14:04 Recreating all images and volumes
18-Oct-2022 00:14:04 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Oct-2022 00:14:04 Stopping qa-refapp_openmrs-referenceapplication_1       ...
18-Oct-2022 00:14:04 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Oct-2022 00:14:05 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
18-Oct-2022 00:14:07 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Oct-2022 00:14:07 Removing qa-refapp_openmrs-referenceapplication_1       ...
18-Oct-2022 00:14:07 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Oct-2022 00:14:07 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Oct-2022 00:14:07 Removing qa-refapp_openmrs-referenceapplication_1       ... done
18-Oct-2022 00:14:07 Removing network qa-refapp_default
18-Oct-2022 00:14:08 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
18-Oct-2022 00:14:08 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Oct-2022 00:14:08 Creating network "qa-refapp_default" with the default driver
18-Oct-2022 00:14:08 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
18-Oct-2022 00:14:08 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Oct-2022 00:14:08 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Oct-2022 00:14:08 Creating qa-refapp_openmrs-referenceapplication_1       ...
18-Oct-2022 00:14:09 Creating qa-refapp_openmrs-referenceapplication_1       ... done
18-Oct-2022 00:14:09 Verifying if docker containers 8cfa9346244737e2385c5f7cb678d76c546847f6a09bb56b5ada134a49be169b
18-Oct-2022 00:14:09 ef2b6f62f5d8d0b19217f9d68164c8b536697a6e5549d68d92ffe3d16231b08e are healthy
18-Oct-2022 00:14:09 Status found: "starting"
18-Oct-2022 00:14:09 Waiting 15s
18-Oct-2022 00:14:24 Verifying if docker containers 8cfa9346244737e2385c5f7cb678d76c546847f6a09bb56b5ada134a49be169b
18-Oct-2022 00:14:24 ef2b6f62f5d8d0b19217f9d68164c8b536697a6e5549d68d92ffe3d16231b08e are healthy
18-Oct-2022 00:14:24 Status found: "starting"
18-Oct-2022 00:14:24 Waiting 15s
18-Oct-2022 00:14:39 Verifying if docker containers 8cfa9346244737e2385c5f7cb678d76c546847f6a09bb56b5ada134a49be169b
18-Oct-2022 00:14:39 ef2b6f62f5d8d0b19217f9d68164c8b536697a6e5549d68d92ffe3d16231b08e are healthy
18-Oct-2022 00:14:39 Status found: "healthy"
18-Oct-2022 00:14:39 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
18-Oct-2022 00:14:39 Running post build plugin 'Docker Container Cleanup'
18-Oct-2022 00:14:39 Running post build plugin 'NCover Results Collector'
18-Oct-2022 00:14:39 Running post build plugin 'Build Results Label Collector'
18-Oct-2022 00:14:39 Running post build plugin 'Clover Results Collector'
18-Oct-2022 00:14:39 Running post build plugin 'npm Cache Cleanup'
18-Oct-2022 00:14:39 Running post build plugin 'Artifact Copier'
18-Oct-2022 00:14:39 Finalising the build...
18-Oct-2022 00:14:39 Stopping timer.
18-Oct-2022 00:14:39 Build REFAPP-OMODDISTRO-DTMTS-13130 completed.
18-Oct-2022 00:14:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
18-Oct-2022 00:14:39 Running on server: post build plugin 'NCover Results Collector'
18-Oct-2022 00:14:40 Running on server: post build plugin 'Build Labeller'
18-Oct-2022 00:14:40 Running on server: post build plugin 'Clover Delta Calculator'
18-Oct-2022 00:14:40 Running on server: post build plugin 'Maven Dependencies Postprocessor'
18-Oct-2022 00:14:40 All post build plugins have finished
18-Oct-2022 00:14:40 Generating build results summary...
18-Oct-2022 00:14:40 Saving build results to disk...
18-Oct-2022 00:14:40 Store variable context...
18-Oct-2022 00:14:40 Finished building REFAPP-OMODDISTRO-DTMTS-13130.