Deploys Reference Application SNAPSHOT to maven

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

28-Nov-2022 02:54:44 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13235 (REFAPP-OMODDISTRO-DTMTS-13235) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
28-Nov-2022 02:54:44 Remote agent on host xindi.openmrs.org
28-Nov-2022 02:54:44 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Nov-2022 02:54:44 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13235 (REFAPP-OMODDISTRO-DTMTS-13235)
28-Nov-2022 02:54:44 Running pre-build action: Build Log Labeller Pre Build Action
28-Nov-2022 02:54:44 Running pre-build action: VCS Version Collector
28-Nov-2022 02:54:44 Running pre-build action: Run Predator
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
28-Nov-2022 02:54:44 [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;
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 27670 java        1446 bamboo-age 2978Mb  487Mb 00:09:44 /usr/lib/jvm/java-8-ope
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1446 wrapper        1 bamboo-age   16Mb    2Mb 00:03:20 /home/bamboo-agent/bamb
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:10 /sbin/init             
28-Nov-2022 02:54:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Initial free space: 4.345249 GB
28-Nov-2022 02:54:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
28-Nov-2022 02:54:48 [PredatorPreBuildAction] Deleting 8 snapshot folders from /home/bamboo-agent/.m2/repository
28-Nov-2022 02:54:48 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
28-Nov-2022 02:54:48 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
28-Nov-2022 02:54:49 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
28-Nov-2022 02:54:49 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
28-Nov-2022 02:54:49 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
28-Nov-2022 02:54:49 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
28-Nov-2022 02:54:49 [PredatorPreBuildAction] Final free space: 4.376877 GB
28-Nov-2022 02:54:49 [PredatorPreBuildAction] Done
28-Nov-2022 02:54:49
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
28-Nov-2022 02:54:49
Substituting password variable: ${bamboo.dockerhub.password}
28-Nov-2022 02:54:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Nov-2022 02:54:49
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
28-Nov-2022 02:54:49 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Nov-2022 02:54:49
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13235 (REFAPP-OMODDISTRO-DTMTS-13235)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13235-ScriptBuildTask-8772682520391446824.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
28-Nov-2022 02:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
28-Nov-2022 02:54:49 Login Succeeded
28-Nov-2022 02:54:49 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
28-Nov-2022 02:54:49 Configure a credential helper to remove this warning. See
28-Nov-2022 02:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
28-Nov-2022 02:54:49
28-Nov-2022 02:54:49 + docker pull openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49 docker.io/openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb: Pulling from openmrs/openmrs-reference-application
28-Nov-2022 02:54:49 Digest: sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49 docker.io/openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb
28-Nov-2022 02:54:49 + docker tag openmrs/openmrs-reference-application@sha256:871cabc256f1b60849feba7a3d5952ff8d9e1c704d0468ecea66edc24a5b91eb openmrs/openmrs-reference-application:qa
28-Nov-2022 02:54:49 + docker push openmrs/openmrs-reference-application:qa
28-Nov-2022 02:54:49 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
28-Nov-2022 02:54:49 0a925a5449e7: Preparing
28-Nov-2022 02:54:49 411299267c25: Preparing
28-Nov-2022 02:54:49 43c3f1d1f34b: Preparing
28-Nov-2022 02:54:49 0f0fa9efb4cd: Preparing
28-Nov-2022 02:54:49 94888767c206: Preparing
28-Nov-2022 02:54:49 7166366c10ed: Preparing
28-Nov-2022 02:54:49 5f70bf18a086: Preparing
28-Nov-2022 02:54:49 ff399fe66155: Preparing
28-Nov-2022 02:54:49 f68cc74660ac: Preparing
28-Nov-2022 02:54:49 5e8152c21c19: Preparing
28-Nov-2022 02:54:49 d3b649348a36: Preparing
28-Nov-2022 02:54:49 863977ed1cf5: Preparing
28-Nov-2022 02:54:49 61fabc09defd: Preparing
28-Nov-2022 02:54:49 024fb52116d1: Preparing
28-Nov-2022 02:54:49 7f084483de6c: Preparing
28-Nov-2022 02:54:49 c0742fa78f13: Preparing
28-Nov-2022 02:54:49 97d2f1c2ec25: Preparing
28-Nov-2022 02:54:49 8c6806a06924: Preparing
28-Nov-2022 02:54:49 7166366c10ed: Waiting
28-Nov-2022 02:54:49 5f70bf18a086: Waiting
28-Nov-2022 02:54:49 ff399fe66155: Waiting
28-Nov-2022 02:54:49 f68cc74660ac: Waiting
28-Nov-2022 02:54:49 5e8152c21c19: Waiting
28-Nov-2022 02:54:49 d3b649348a36: Waiting
28-Nov-2022 02:54:49 863977ed1cf5: Waiting
28-Nov-2022 02:54:49 61fabc09defd: Waiting
28-Nov-2022 02:54:49 024fb52116d1: Waiting
28-Nov-2022 02:54:49 7f084483de6c: Waiting
28-Nov-2022 02:54:49 c0742fa78f13: Waiting
28-Nov-2022 02:54:49 97d2f1c2ec25: Waiting
28-Nov-2022 02:54:49 8c6806a06924: Waiting
28-Nov-2022 02:54:50 94888767c206: Layer already exists
28-Nov-2022 02:54:50 0f0fa9efb4cd: Layer already exists
28-Nov-2022 02:54:50 0a925a5449e7: Layer already exists
28-Nov-2022 02:54:50 43c3f1d1f34b: Layer already exists
28-Nov-2022 02:54:50 411299267c25: Layer already exists
28-Nov-2022 02:54:50 ff399fe66155: Layer already exists
28-Nov-2022 02:54:50 f68cc74660ac: Layer already exists
28-Nov-2022 02:54:50 7166366c10ed: Layer already exists
28-Nov-2022 02:54:50 5e8152c21c19: Layer already exists
28-Nov-2022 02:54:50 5f70bf18a086: Layer already exists
28-Nov-2022 02:54:50 d3b649348a36: Layer already exists
28-Nov-2022 02:54:50 61fabc09defd: Layer already exists
28-Nov-2022 02:54:50 7f084483de6c: Layer already exists
28-Nov-2022 02:54:50 024fb52116d1: Layer already exists
28-Nov-2022 02:54:50 863977ed1cf5: Layer already exists
28-Nov-2022 02:54:50 c0742fa78f13: Layer already exists
28-Nov-2022 02:54:50 97d2f1c2ec25: Layer already exists
28-Nov-2022 02:54:50 8c6806a06924: Layer already exists
28-Nov-2022 02:54:50 qa: digest: sha256:5468c1856e77b433f357af6447e341306cf319952ca7e10cbd9f56d1e00b1245 size: 4089
28-Nov-2022 02:54:50 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
28-Nov-2022 02:54:50 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
28-Nov-2022 02:54:51 Removing unused images if any
28-Nov-2022 02:54:51 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Nov-2022 02:54:51 Pulling openmrs-referenceapplication-mysql ...
28-Nov-2022 02:54:51 Pulling openmrs-referenceapplication       ...
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication-mysql ... done
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... already exists
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... pulling fs layer
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... waiting
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (98.3%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... download complete
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (0.5%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (0.7%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (1.1%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (15.7%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (22.2%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (100.0%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... verifying checksum
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... download complete
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (28.0%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (38.3%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (44.2%)
28-Nov-2022 02:54:52 Pulling openmrs-referenceapplication       ... downloading (58.5%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... downloading (62.9%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... downloading (83.3%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... verifying checksum
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... download complete
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... downloading (80.1%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... downloading (97.3%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... verifying checksum
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (0.7%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (17.3%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (44.4%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (70.1%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (93.7%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... pull complete
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... pull complete
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (0.5%)
28-Nov-2022 02:54:53 Pulling openmrs-referenceapplication       ... extracting (18.3%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (35.0%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (52.8%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (71.6%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (90.4%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... pull complete
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (3.0%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... pull complete
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... digest: sha256:5468c1856e77b433f3...
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
28-Nov-2022 02:54:54 Pulling openmrs-referenceapplication       ... done
28-Nov-2022 02:54:54 Recreating all images and volumes
28-Nov-2022 02:54:54 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Nov-2022 02:54:54 Stopping qa-refapp_openmrs-referenceapplication_1       ...
28-Nov-2022 02:54:54 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Nov-2022 02:54:55 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
28-Nov-2022 02:54:56 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Nov-2022 02:54:56 Removing qa-refapp_openmrs-referenceapplication_1       ...
28-Nov-2022 02:54:56 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Nov-2022 02:54:56 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Nov-2022 02:54:57 Removing qa-refapp_openmrs-referenceapplication_1       ... done
28-Nov-2022 02:54:57 Removing network qa-refapp_default
28-Nov-2022 02:54:57 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
28-Nov-2022 02:54:57 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
28-Nov-2022 02:54:57 Creating network "qa-refapp_default" with the default driver
28-Nov-2022 02:54:57 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
28-Nov-2022 02:54:57 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
28-Nov-2022 02:54:58 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
28-Nov-2022 02:54:58 Creating qa-refapp_openmrs-referenceapplication_1       ...
28-Nov-2022 02:54:58 Creating qa-refapp_openmrs-referenceapplication_1       ... done
28-Nov-2022 02:54:59 Verifying if docker containers a145a603cc383496661e9b0da2baebabba4ebc90ac31f854cc9ff3a4147e46b6
28-Nov-2022 02:54:59 d9607872738568031fe51c67ccaccc7f703818fa687494ebaca52c9a7224074f are healthy
28-Nov-2022 02:54:59 Status found: "starting"
28-Nov-2022 02:54:59 Waiting 15s
28-Nov-2022 02:55:14 Verifying if docker containers a145a603cc383496661e9b0da2baebabba4ebc90ac31f854cc9ff3a4147e46b6
28-Nov-2022 02:55:14 d9607872738568031fe51c67ccaccc7f703818fa687494ebaca52c9a7224074f are healthy
28-Nov-2022 02:55:14 Status found: "starting"
28-Nov-2022 02:55:14 Waiting 15s
28-Nov-2022 02:55:29 Verifying if docker containers a145a603cc383496661e9b0da2baebabba4ebc90ac31f854cc9ff3a4147e46b6
28-Nov-2022 02:55:29 d9607872738568031fe51c67ccaccc7f703818fa687494ebaca52c9a7224074f are healthy
28-Nov-2022 02:55:29 Status found: "healthy"
28-Nov-2022 02:55:29 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
28-Nov-2022 02:55:29 Running post build plugin 'Docker Container Cleanup'
28-Nov-2022 02:55:29 Running post build plugin 'NCover Results Collector'
28-Nov-2022 02:55:29 Running post build plugin 'Build Results Label Collector'
28-Nov-2022 02:55:29 Running post build plugin 'Clover Results Collector'
28-Nov-2022 02:55:29 Running post build plugin 'npm Cache Cleanup'
28-Nov-2022 02:55:29 Running post build plugin 'Artifact Copier'
28-Nov-2022 02:55:29 Finalising the build...
28-Nov-2022 02:55:29 Stopping timer.
28-Nov-2022 02:55:29 Build REFAPP-OMODDISTRO-DTMTS-13235 completed.
28-Nov-2022 02:55:29 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Nov-2022 02:55:29 Running on server: post build plugin 'NCover Results Collector'
28-Nov-2022 02:55:29 Running on server: post build plugin 'Build Labeller'
28-Nov-2022 02:55:29 Running on server: post build plugin 'Clover Delta Calculator'
28-Nov-2022 02:55:29 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Nov-2022 02:55:29 All post build plugins have finished
28-Nov-2022 02:55:29 Generating build results summary...
28-Nov-2022 02:55:29 Saving build results to disk...
28-Nov-2022 02:55:29 Store variable context...
28-Nov-2022 02:55:29 Finished building REFAPP-OMODDISTRO-DTMTS-13235.