Deploys Reference Application SNAPSHOT to maven

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

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