Deploys Reference Application SNAPSHOT to maven

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

11-Dec-2022 00:13:30 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13298 (REFAPP-OMODDISTRO-DTMTS-13298) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
11-Dec-2022 00:13:30 Remote agent on host xiao.openmrs.org
11-Dec-2022 00:13:30 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Dec-2022 00:13:30 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13298 (REFAPP-OMODDISTRO-DTMTS-13298)
11-Dec-2022 00:13:30 Running pre-build action: Build Log Labeller Pre Build Action
11-Dec-2022 00:13:30 Running pre-build action: VCS Version Collector
11-Dec-2022 00:13:30 Running pre-build action: Run Predator
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Dec-2022 00:13:30 [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;
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
11-Dec-2022 00:13:30 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2048 java        1474 bamboo-age 2979Mb  592Mb 00:14:35 /usr/lib/jvm/java-8-ope
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    2Mb 00:02:56 /home/bamboo-agent/bamb
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:27 /sbin/init             
11-Dec-2022 00:13:31 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Initial free space: 4.222122 GB
11-Dec-2022 00:13:31 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Dec-2022 00:13:36 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Dec-2022 00:13:36 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
11-Dec-2022 00:13:36 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Final free space: 4.2537613 GB
11-Dec-2022 00:13:36 [PredatorPreBuildAction] Done
11-Dec-2022 00:13:36
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
11-Dec-2022 00:13:36
Substituting password variable: ${bamboo.dockerhub.password}
11-Dec-2022 00:13:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Dec-2022 00:13:36
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Dec-2022 00:13:36 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Dec-2022 00:13:36
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13298 (REFAPP-OMODDISTRO-DTMTS-13298)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13298-ScriptBuildTask-2476603099728804428.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Dec-2022 00:13:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
11-Dec-2022 00:13:36 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
11-Dec-2022 00:13:36 Configure a credential helper to remove this warning. See
11-Dec-2022 00:13:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
11-Dec-2022 00:13:36
11-Dec-2022 00:13:36 Login Succeeded
11-Dec-2022 00:13:36 + docker pull openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36 docker.io/openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979: Pulling from openmrs/openmrs-reference-application
11-Dec-2022 00:13:36 Digest: sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36 docker.io/openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979
11-Dec-2022 00:13:36 + docker tag openmrs/openmrs-reference-application@sha256:dbd0a8744b7a866f983a8e912594912c003a14e7aca6c354487a0246b90b2979 openmrs/openmrs-reference-application:qa
11-Dec-2022 00:13:36 + docker push openmrs/openmrs-reference-application:qa
11-Dec-2022 00:13:37 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
11-Dec-2022 00:13:37 0ee17ff3a0ab: Preparing
11-Dec-2022 00:13:37 bdb23f3efd4b: Preparing
11-Dec-2022 00:13:37 3064a15a7c50: Preparing
11-Dec-2022 00:13:37 257fb456111e: Preparing
11-Dec-2022 00:13:37 f722e2b8a40a: Preparing
11-Dec-2022 00:13:37 6ba61db59e35: Preparing
11-Dec-2022 00:13:37 5f70bf18a086: Preparing
11-Dec-2022 00:13:37 852de993c6f4: Preparing
11-Dec-2022 00:13:37 94675690e4cc: Preparing
11-Dec-2022 00:13:37 57a58ff8ea38: Preparing
11-Dec-2022 00:13:37 23c40a338c54: Preparing
11-Dec-2022 00:13:37 4b543dbc5195: Preparing
11-Dec-2022 00:13:37 490d8abcf044: Preparing
11-Dec-2022 00:13:37 375e91c73c0d: Preparing
11-Dec-2022 00:13:37 b44e64b6b5dd: Preparing
11-Dec-2022 00:13:37 30b06f850be5: Preparing
11-Dec-2022 00:13:37 d3de7f222ccb: Preparing
11-Dec-2022 00:13:37 4635ea08a558: Preparing
11-Dec-2022 00:13:37 6ba61db59e35: Waiting
11-Dec-2022 00:13:37 5f70bf18a086: Waiting
11-Dec-2022 00:13:37 852de993c6f4: Waiting
11-Dec-2022 00:13:37 94675690e4cc: Waiting
11-Dec-2022 00:13:37 57a58ff8ea38: Waiting
11-Dec-2022 00:13:37 23c40a338c54: Waiting
11-Dec-2022 00:13:37 4b543dbc5195: Waiting
11-Dec-2022 00:13:37 490d8abcf044: Waiting
11-Dec-2022 00:13:37 375e91c73c0d: Waiting
11-Dec-2022 00:13:37 b44e64b6b5dd: Waiting
11-Dec-2022 00:13:37 30b06f850be5: Waiting
11-Dec-2022 00:13:37 d3de7f222ccb: Waiting
11-Dec-2022 00:13:37 4635ea08a558: Waiting
11-Dec-2022 00:13:37 0ee17ff3a0ab: Layer already exists
11-Dec-2022 00:13:37 257fb456111e: Layer already exists
11-Dec-2022 00:13:37 f722e2b8a40a: Layer already exists
11-Dec-2022 00:13:37 3064a15a7c50: Layer already exists
11-Dec-2022 00:13:37 bdb23f3efd4b: Layer already exists
11-Dec-2022 00:13:37 6ba61db59e35: Layer already exists
11-Dec-2022 00:13:37 5f70bf18a086: Layer already exists
11-Dec-2022 00:13:37 852de993c6f4: Layer already exists
11-Dec-2022 00:13:37 57a58ff8ea38: Layer already exists
11-Dec-2022 00:13:37 94675690e4cc: Layer already exists
11-Dec-2022 00:13:37 23c40a338c54: Layer already exists
11-Dec-2022 00:13:37 4b543dbc5195: Layer already exists
11-Dec-2022 00:13:37 490d8abcf044: Layer already exists
11-Dec-2022 00:13:37 375e91c73c0d: Layer already exists
11-Dec-2022 00:13:37 b44e64b6b5dd: Layer already exists
11-Dec-2022 00:13:37 30b06f850be5: Layer already exists
11-Dec-2022 00:13:37 d3de7f222ccb: Layer already exists
11-Dec-2022 00:13:37 4635ea08a558: Layer already exists
11-Dec-2022 00:13:37 qa: digest: sha256:d1cd76a975a01256fc73a31926cc17082b8b0cc938617283176a19ff798c8222 size: 4089
11-Dec-2022 00:13:37 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
11-Dec-2022 00:13:38 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
11-Dec-2022 00:13:39 Removing unused images if any
11-Dec-2022 00:13:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication-mysql ...
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ...
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication-mysql ... done
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:39 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... already exists
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... waiting
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (98.3%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... download complete
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (0.7%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (0.5%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (26.2%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (20.1%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (1.1%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (100.0%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... verifying checksum
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... download complete
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (38.3%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (49.7%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (56.0%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (73.9%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (97.4%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (73.7%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... verifying checksum
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... download complete
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... downloading (91.4%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... verifying checksum
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... download complete
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... extracting (0.7%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... extracting (27.1%)
11-Dec-2022 00:13:40 Pulling openmrs-referenceapplication       ... extracting (51.3%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (77.7%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... pull complete
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... pull complete
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (0.5%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (18.3%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (36.0%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (54.3%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (71.6%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (89.3%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... pull complete
11-Dec-2022 00:13:41 Pulling openmrs-referenceapplication       ... extracting (3.0%)
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... pull complete
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... digest: sha256:d1cd76a975a01256fc...
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
11-Dec-2022 00:13:42 Pulling openmrs-referenceapplication       ... done
11-Dec-2022 00:13:42 Recreating all images and volumes
11-Dec-2022 00:13:42 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Dec-2022 00:13:42 Stopping qa-refapp_openmrs-referenceapplication_1       ...
11-Dec-2022 00:13:42 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Dec-2022 00:13:42 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
11-Dec-2022 00:13:44 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Dec-2022 00:13:44 Removing qa-refapp_openmrs-referenceapplication_1       ...
11-Dec-2022 00:13:44 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Dec-2022 00:13:44 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Dec-2022 00:13:44 Removing qa-refapp_openmrs-referenceapplication_1       ... done
11-Dec-2022 00:13:44 Removing network qa-refapp_default
11-Dec-2022 00:13:44 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
11-Dec-2022 00:13:45 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Dec-2022 00:13:45 Creating network "qa-refapp_default" with the default driver
11-Dec-2022 00:13:45 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
11-Dec-2022 00:13:45 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Dec-2022 00:13:45 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Dec-2022 00:13:45 Creating qa-refapp_openmrs-referenceapplication_1       ...
11-Dec-2022 00:13:46 Creating qa-refapp_openmrs-referenceapplication_1       ... done
11-Dec-2022 00:13:46 Verifying if docker containers aebc82ac8e27ba9f9cf16b79a18cd9a028b859e03741cad5a631213bd6859ef1
11-Dec-2022 00:13:46 4b5f6c1599fc1bcaf699ead13d7ca9b2b90ba913e8b13498b1af2e8fc62e9575 are healthy
11-Dec-2022 00:13:46 Status found: "starting"
11-Dec-2022 00:13:46 Waiting 15s
11-Dec-2022 00:14:01 Verifying if docker containers aebc82ac8e27ba9f9cf16b79a18cd9a028b859e03741cad5a631213bd6859ef1
11-Dec-2022 00:14:01 4b5f6c1599fc1bcaf699ead13d7ca9b2b90ba913e8b13498b1af2e8fc62e9575 are healthy
11-Dec-2022 00:14:01 Status found: "starting"
11-Dec-2022 00:14:01 Waiting 15s
11-Dec-2022 00:14:16 Verifying if docker containers aebc82ac8e27ba9f9cf16b79a18cd9a028b859e03741cad5a631213bd6859ef1
11-Dec-2022 00:14:16 4b5f6c1599fc1bcaf699ead13d7ca9b2b90ba913e8b13498b1af2e8fc62e9575 are healthy
11-Dec-2022 00:14:16 Status found: "healthy"
11-Dec-2022 00:14:16 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
11-Dec-2022 00:14:16 Running post build plugin 'Docker Container Cleanup'
11-Dec-2022 00:14:16 Running post build plugin 'NCover Results Collector'
11-Dec-2022 00:14:16 Running post build plugin 'Build Results Label Collector'
11-Dec-2022 00:14:16 Running post build plugin 'Clover Results Collector'
11-Dec-2022 00:14:16 Running post build plugin 'npm Cache Cleanup'
11-Dec-2022 00:14:16 Running post build plugin 'Artifact Copier'
11-Dec-2022 00:14:16 Finalising the build...
11-Dec-2022 00:14:16 Stopping timer.
11-Dec-2022 00:14:16 Build REFAPP-OMODDISTRO-DTMTS-13298 completed.
11-Dec-2022 00:14:16 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Dec-2022 00:14:16 Running on server: post build plugin 'NCover Results Collector'
11-Dec-2022 00:14:16 Running on server: post build plugin 'Build Labeller'
11-Dec-2022 00:14:16 Running on server: post build plugin 'Clover Delta Calculator'
11-Dec-2022 00:14:16 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Dec-2022 00:14:16 All post build plugins have finished
11-Dec-2022 00:14:16 Generating build results summary...
11-Dec-2022 00:14:16 Saving build results to disk...
11-Dec-2022 00:14:16 Store variable context...
11-Dec-2022 00:14:16 Finished building REFAPP-OMODDISTRO-DTMTS-13298.