Deploys Reference Application SNAPSHOT to maven

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

01-Nov-2022 03:25:25 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13157 (REFAPP-OMODDISTRO-DTMTS-13157) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
01-Nov-2022 03:25:25 Remote agent on host xindi.openmrs.org
01-Nov-2022 03:25:25 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Nov-2022 03:25:25 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13157 (REFAPP-OMODDISTRO-DTMTS-13157)
01-Nov-2022 03:25:25 Running pre-build action: Build Log Labeller Pre Build Action
01-Nov-2022 03:25:25 Running pre-build action: VCS Version Collector
01-Nov-2022 03:25:25 Running pre-build action: Run Predator
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
01-Nov-2022 03:25:25 [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;
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39613 java        1433 bamboo-age 2970Mb  375Mb 00:03:13 /usr/lib/jvm/java-8-ope
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1433 wrapper        1 bamboo-age   16Mb    2Mb 00:01:12 /home/bamboo-agent/bamb
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:04 /sbin/init             
01-Nov-2022 03:25:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Initial free space: 4.665718 GB
01-Nov-2022 03:25:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
01-Nov-2022 03:25:27 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
01-Nov-2022 03:25:27 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
01-Nov-2022 03:25:27 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Final free space: 4.697338 GB
01-Nov-2022 03:25:27 [PredatorPreBuildAction] Done
01-Nov-2022 03:25:27
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
01-Nov-2022 03:25:27
Substituting password variable: ${bamboo.dockerhub.password}
01-Nov-2022 03:25:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Nov-2022 03:25:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
01-Nov-2022 03:25:27 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
01-Nov-2022 03:25:27
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13157 (REFAPP-OMODDISTRO-DTMTS-13157)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13157-ScriptBuildTask-1808328154738520651.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
01-Nov-2022 03:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
01-Nov-2022 03:25:28 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
01-Nov-2022 03:25:28 Configure a credential helper to remove this warning. See
01-Nov-2022 03:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
01-Nov-2022 03:25:28
01-Nov-2022 03:25:28 Login Succeeded
01-Nov-2022 03:25:28 + docker pull openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:28 docker.io/openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395: Pulling from openmrs/openmrs-reference-application
01-Nov-2022 03:25:28 Digest: sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:28 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:28 docker.io/openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395
01-Nov-2022 03:25:28 + docker tag openmrs/openmrs-reference-application@sha256:94dbfda685aa8463bed86ce34cdb42b03f8466ce4c496b3d702512a4316fd395 openmrs/openmrs-reference-application:qa
01-Nov-2022 03:25:28 + docker push openmrs/openmrs-reference-application:qa
01-Nov-2022 03:25:28 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
01-Nov-2022 03:25:28 7d16ae7ead97: Preparing
01-Nov-2022 03:25:28 f477db7864a5: Preparing
01-Nov-2022 03:25:28 5f81d4383d41: Preparing
01-Nov-2022 03:25:28 d7c8c9ca2eb4: Preparing
01-Nov-2022 03:25:28 2e325b4e8b61: Preparing
01-Nov-2022 03:25:28 527723c50bc5: Preparing
01-Nov-2022 03:25:28 7bf43068c282: Preparing
01-Nov-2022 03:25:28 5f70bf18a086: Preparing
01-Nov-2022 03:25:28 06037dc7883c: Preparing
01-Nov-2022 03:25:28 1c97edd722d8: Preparing
01-Nov-2022 03:25:28 a6d87fed6e37: Preparing
01-Nov-2022 03:25:28 81d76cbbb6cf: Preparing
01-Nov-2022 03:25:28 f9e3c74ded34: Preparing
01-Nov-2022 03:25:28 e802af8d4506: Preparing
01-Nov-2022 03:25:28 678542a60d0e: Preparing
01-Nov-2022 03:25:28 6edf69746447: Preparing
01-Nov-2022 03:25:28 2601b5eb4f37: Preparing
01-Nov-2022 03:25:28 4942a1abcbfa: Preparing
01-Nov-2022 03:25:28 7bf43068c282: Waiting
01-Nov-2022 03:25:28 f9e3c74ded34: Waiting
01-Nov-2022 03:25:28 e802af8d4506: Waiting
01-Nov-2022 03:25:28 678542a60d0e: Waiting
01-Nov-2022 03:25:28 6edf69746447: Waiting
01-Nov-2022 03:25:28 2601b5eb4f37: Waiting
01-Nov-2022 03:25:28 4942a1abcbfa: Waiting
01-Nov-2022 03:25:28 5f70bf18a086: Waiting
01-Nov-2022 03:25:28 06037dc7883c: Waiting
01-Nov-2022 03:25:28 1c97edd722d8: Waiting
01-Nov-2022 03:25:28 a6d87fed6e37: Waiting
01-Nov-2022 03:25:28 81d76cbbb6cf: Waiting
01-Nov-2022 03:25:28 2e325b4e8b61: Layer already exists
01-Nov-2022 03:25:28 7d16ae7ead97: Layer already exists
01-Nov-2022 03:25:28 5f81d4383d41: Layer already exists
01-Nov-2022 03:25:28 d7c8c9ca2eb4: Layer already exists
01-Nov-2022 03:25:28 f477db7864a5: Layer already exists
01-Nov-2022 03:25:29 527723c50bc5: Layer already exists
01-Nov-2022 03:25:29 7bf43068c282: Layer already exists
01-Nov-2022 03:25:29 5f70bf18a086: Layer already exists
01-Nov-2022 03:25:29 1c97edd722d8: Layer already exists
01-Nov-2022 03:25:29 06037dc7883c: Layer already exists
01-Nov-2022 03:25:29 a6d87fed6e37: Layer already exists
01-Nov-2022 03:25:29 81d76cbbb6cf: Layer already exists
01-Nov-2022 03:25:29 f9e3c74ded34: Layer already exists
01-Nov-2022 03:25:29 678542a60d0e: Layer already exists
01-Nov-2022 03:25:29 e802af8d4506: Layer already exists
01-Nov-2022 03:25:29 6edf69746447: Layer already exists
01-Nov-2022 03:25:29 2601b5eb4f37: Layer already exists
01-Nov-2022 03:25:29 4942a1abcbfa: Layer already exists
01-Nov-2022 03:25:29 qa: digest: sha256:f0617c56eefb91c35882a36fb2d79a179610f5e2dfbe1036f8e2db07ebfde07d size: 4096
01-Nov-2022 03:25:29 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
01-Nov-2022 03:25:29 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
01-Nov-2022 03:25:30 Removing unused images if any
01-Nov-2022 03:25:31 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication-mysql ...
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ...
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication-mysql ... done
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... already exists
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... pulling fs layer
01-Nov-2022 03:25:31 Pulling openmrs-referenceapplication       ... waiting
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (96.1%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (100.0%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... download complete
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (0.5%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (0.7%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (12.8%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (29.1%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (1.1%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... verifying checksum
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... download complete
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (31.9%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (54.2%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (47.7%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (76.5%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (64.9%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... verifying checksum
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... download complete
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (82.6%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... extracting (0.7%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... downloading (95.9%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... verifying checksum
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... download complete
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... extracting (22.4%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... extracting (46.8%)
01-Nov-2022 03:25:32 Pulling openmrs-referenceapplication       ... extracting (72.7%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (97.9%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... pull complete
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... pull complete
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (0.5%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (16.8%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (36.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (53.3%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (70.6%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (85.8%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... pull complete
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (3.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... pull complete
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... digest: sha256:f0617c56eefb91c358...
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
01-Nov-2022 03:25:33 Pulling openmrs-referenceapplication       ... done
01-Nov-2022 03:25:33 Recreating all images and volumes
01-Nov-2022 03:25:34 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Nov-2022 03:25:34 Stopping qa-refapp_openmrs-referenceapplication_1       ...
01-Nov-2022 03:25:34 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Nov-2022 03:25:34 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
01-Nov-2022 03:25:36 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Nov-2022 03:25:36 Removing qa-refapp_openmrs-referenceapplication_1       ...
01-Nov-2022 03:25:36 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Nov-2022 03:25:36 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Nov-2022 03:25:36 Removing qa-refapp_openmrs-referenceapplication_1       ... done
01-Nov-2022 03:25:36 Removing network qa-refapp_default
01-Nov-2022 03:25:36 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
01-Nov-2022 03:25:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
01-Nov-2022 03:25:36 Creating network "qa-refapp_default" with the default driver
01-Nov-2022 03:25:36 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
01-Nov-2022 03:25:36 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
01-Nov-2022 03:25:37 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
01-Nov-2022 03:25:37 Creating qa-refapp_openmrs-referenceapplication_1       ...
01-Nov-2022 03:25:38 Creating qa-refapp_openmrs-referenceapplication_1       ... done
01-Nov-2022 03:25:38 Verifying if docker containers 6fc2f9a57911f040d2e58082d1df5eda841ad7021ae70df97fdca480cf115a6d
01-Nov-2022 03:25:38 05b801b4452e8072b824f208f330c334f9b95b7de6b2c2f6ae2b676389ececfa are healthy
01-Nov-2022 03:25:38 Status found: "starting"
01-Nov-2022 03:25:38 Waiting 15s
01-Nov-2022 03:25:53 Verifying if docker containers 6fc2f9a57911f040d2e58082d1df5eda841ad7021ae70df97fdca480cf115a6d
01-Nov-2022 03:25:53 05b801b4452e8072b824f208f330c334f9b95b7de6b2c2f6ae2b676389ececfa are healthy
01-Nov-2022 03:25:53 Status found: "starting"
01-Nov-2022 03:25:53 Waiting 15s
01-Nov-2022 03:26:08 Verifying if docker containers 6fc2f9a57911f040d2e58082d1df5eda841ad7021ae70df97fdca480cf115a6d
01-Nov-2022 03:26:08 05b801b4452e8072b824f208f330c334f9b95b7de6b2c2f6ae2b676389ececfa are healthy
01-Nov-2022 03:26:08 Status found: "healthy"
01-Nov-2022 03:26:08 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
01-Nov-2022 03:26:08 Running post build plugin 'Docker Container Cleanup'
01-Nov-2022 03:26:08 Running post build plugin 'NCover Results Collector'
01-Nov-2022 03:26:08 Running post build plugin 'Build Results Label Collector'
01-Nov-2022 03:26:08 Running post build plugin 'Clover Results Collector'
01-Nov-2022 03:26:08 Running post build plugin 'npm Cache Cleanup'
01-Nov-2022 03:26:08 Running post build plugin 'Artifact Copier'
01-Nov-2022 03:26:08 Finalising the build...
01-Nov-2022 03:26:08 Stopping timer.
01-Nov-2022 03:26:08 Build REFAPP-OMODDISTRO-DTMTS-13157 completed.
01-Nov-2022 03:26:08 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Nov-2022 03:26:08 Running on server: post build plugin 'NCover Results Collector'
01-Nov-2022 03:26:08 Running on server: post build plugin 'Build Labeller'
01-Nov-2022 03:26:08 Running on server: post build plugin 'Clover Delta Calculator'
01-Nov-2022 03:26:08 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Nov-2022 03:26:08 All post build plugins have finished
01-Nov-2022 03:26:08 Generating build results summary...
01-Nov-2022 03:26:08 Saving build results to disk...
01-Nov-2022 03:26:08 Store variable context...
01-Nov-2022 03:26:08 Finished building REFAPP-OMODDISTRO-DTMTS-13157.