Deploys Reference Application SNAPSHOT to maven

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

02-Nov-2022 00:14:42 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13158 (REFAPP-OMODDISTRO-DTMTS-13158) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
02-Nov-2022 00:14:42 Remote agent on host xiao.openmrs.org
02-Nov-2022 00:14:42 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
02-Nov-2022 00:14:42 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13158 (REFAPP-OMODDISTRO-DTMTS-13158)
02-Nov-2022 00:14:42 Running pre-build action: Build Log Labeller Pre Build Action
02-Nov-2022 00:14:42 Running pre-build action: VCS Version Collector
02-Nov-2022 00:14:42 Running pre-build action: Run Predator
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
02-Nov-2022 00:14:42 [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;
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
02-Nov-2022 00:14:42 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40092 java        1402 bamboo-age 2973Mb  388Mb 00:04:45 /usr/lib/jvm/java-8-ope
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1402 wrapper        1 bamboo-age   16Mb    3Mb 00:01:34 /home/bamboo-agent/bamb
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:34 /sbin/init             
02-Nov-2022 00:14:44 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Initial free space: 4.6116943 GB
02-Nov-2022 00:14:44 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
02-Nov-2022 00:14:47 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
02-Nov-2022 00:14:47 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
02-Nov-2022 00:14:48 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
02-Nov-2022 00:14:48 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
02-Nov-2022 00:14:48 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
02-Nov-2022 00:14:48 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
02-Nov-2022 00:14:48 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
02-Nov-2022 00:14:48 [PredatorPreBuildAction] Final free space: 4.643322 GB
02-Nov-2022 00:14:48 [PredatorPreBuildAction] Done
02-Nov-2022 00:14:48
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
02-Nov-2022 00:14:48
Substituting password variable: ${bamboo.dockerhub.password}
02-Nov-2022 00:14:48
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
02-Nov-2022 00:14:48
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
02-Nov-2022 00:14:48 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
02-Nov-2022 00:14:48
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13158 (REFAPP-OMODDISTRO-DTMTS-13158)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13158-ScriptBuildTask-7215100725508263854.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
02-Nov-2022 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
02-Nov-2022 00:14:48 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
02-Nov-2022 00:14:48 Configure a credential helper to remove this warning. See
02-Nov-2022 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
02-Nov-2022 00:14:48
02-Nov-2022 00:14:48 Login Succeeded
02-Nov-2022 00:14:48 + docker pull openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48 docker.io/openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699: Pulling from openmrs/openmrs-reference-application
02-Nov-2022 00:14:48 Digest: sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48 docker.io/openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699
02-Nov-2022 00:14:48 + docker tag openmrs/openmrs-reference-application@sha256:e2194e4e436e4c3d40969c09b37aec27803311a695283380b26718152b35b699 openmrs/openmrs-reference-application:qa
02-Nov-2022 00:14:48 + docker push openmrs/openmrs-reference-application:qa
02-Nov-2022 00:14:48 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
02-Nov-2022 00:14:48 74f19c90e8c3: Preparing
02-Nov-2022 00:14:48 91e77aaa1bb3: Preparing
02-Nov-2022 00:14:48 a06f28bb468b: Preparing
02-Nov-2022 00:14:48 3379a1cb7392: Preparing
02-Nov-2022 00:14:48 2e325b4e8b61: Preparing
02-Nov-2022 00:14:48 527723c50bc5: Preparing
02-Nov-2022 00:14:48 7bf43068c282: Preparing
02-Nov-2022 00:14:48 5f70bf18a086: Preparing
02-Nov-2022 00:14:48 06037dc7883c: Preparing
02-Nov-2022 00:14:48 1c97edd722d8: Preparing
02-Nov-2022 00:14:48 a6d87fed6e37: Preparing
02-Nov-2022 00:14:48 81d76cbbb6cf: Preparing
02-Nov-2022 00:14:48 f9e3c74ded34: Preparing
02-Nov-2022 00:14:48 e802af8d4506: Preparing
02-Nov-2022 00:14:48 678542a60d0e: Preparing
02-Nov-2022 00:14:48 6edf69746447: Preparing
02-Nov-2022 00:14:48 2601b5eb4f37: Preparing
02-Nov-2022 00:14:48 4942a1abcbfa: Preparing
02-Nov-2022 00:14:48 527723c50bc5: Waiting
02-Nov-2022 00:14:48 7bf43068c282: Waiting
02-Nov-2022 00:14:48 5f70bf18a086: Waiting
02-Nov-2022 00:14:48 06037dc7883c: Waiting
02-Nov-2022 00:14:48 1c97edd722d8: Waiting
02-Nov-2022 00:14:48 a6d87fed6e37: Waiting
02-Nov-2022 00:14:48 81d76cbbb6cf: Waiting
02-Nov-2022 00:14:48 f9e3c74ded34: Waiting
02-Nov-2022 00:14:48 e802af8d4506: Waiting
02-Nov-2022 00:14:48 678542a60d0e: Waiting
02-Nov-2022 00:14:48 6edf69746447: Waiting
02-Nov-2022 00:14:48 2601b5eb4f37: Waiting
02-Nov-2022 00:14:48 4942a1abcbfa: Waiting
02-Nov-2022 00:14:49 2e325b4e8b61: Layer already exists
02-Nov-2022 00:14:49 3379a1cb7392: Layer already exists
02-Nov-2022 00:14:49 74f19c90e8c3: Layer already exists
02-Nov-2022 00:14:49 91e77aaa1bb3: Layer already exists
02-Nov-2022 00:14:49 a06f28bb468b: Layer already exists
02-Nov-2022 00:14:49 527723c50bc5: Layer already exists
02-Nov-2022 00:14:49 7bf43068c282: Layer already exists
02-Nov-2022 00:14:49 5f70bf18a086: Layer already exists
02-Nov-2022 00:14:49 1c97edd722d8: Layer already exists
02-Nov-2022 00:14:49 06037dc7883c: Layer already exists
02-Nov-2022 00:14:49 a6d87fed6e37: Layer already exists
02-Nov-2022 00:14:49 81d76cbbb6cf: Layer already exists
02-Nov-2022 00:14:49 f9e3c74ded34: Layer already exists
02-Nov-2022 00:14:49 e802af8d4506: Layer already exists
02-Nov-2022 00:14:49 678542a60d0e: Layer already exists
02-Nov-2022 00:14:49 6edf69746447: Layer already exists
02-Nov-2022 00:14:49 2601b5eb4f37: Layer already exists
02-Nov-2022 00:14:49 4942a1abcbfa: Layer already exists
02-Nov-2022 00:14:50 qa: digest: sha256:0fd7e767ad6d654fb2da4587ec7541cf30cc5deacad507f148dc3c6b8ca42394 size: 4096
02-Nov-2022 00:14:50 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
02-Nov-2022 00:14:50 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
02-Nov-2022 00:14:51 Removing unused images if any
02-Nov-2022 00:14:51 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Nov-2022 00:14:51 Pulling openmrs-referenceapplication-mysql ...
02-Nov-2022 00:14:51 Pulling openmrs-referenceapplication       ...
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication-mysql ... done
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... already exists
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... pulling fs layer
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... waiting
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (96.0%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (100.0%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... verifying checksum
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... download complete
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (0.5%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (0.7%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (16.2%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (21.7%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (1.1%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... verifying checksum
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... download complete
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (32.9%)
02-Nov-2022 00:14:52 Pulling openmrs-referenceapplication       ... downloading (45.3%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (49.6%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (68.3%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (66.2%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (90.0%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... verifying checksum
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... download complete
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (82.9%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (0.7%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... downloading (97.2%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... verifying checksum
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... download complete
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (28.0%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (53.8%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (78.3%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... pull complete
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... pull complete
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (0.5%)
02-Nov-2022 00:14:53 Pulling openmrs-referenceapplication       ... extracting (18.8%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (38.1%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (57.4%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (74.6%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (92.4%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... pull complete
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (3.0%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... extracting (100.0%)
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... pull complete
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... digest: sha256:0fd7e767ad6d654fb2...
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
02-Nov-2022 00:14:54 Pulling openmrs-referenceapplication       ... done
02-Nov-2022 00:14:54 Recreating all images and volumes
02-Nov-2022 00:14:54 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Nov-2022 00:14:54 Stopping qa-refapp_openmrs-referenceapplication_1       ...
02-Nov-2022 00:14:54 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Nov-2022 00:14:55 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
02-Nov-2022 00:14:57 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Nov-2022 00:14:57 Removing qa-refapp_openmrs-referenceapplication_1       ...
02-Nov-2022 00:14:57 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Nov-2022 00:14:57 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Nov-2022 00:14:59 Removing qa-refapp_openmrs-referenceapplication_1       ... done
02-Nov-2022 00:14:59 Removing network qa-refapp_default
02-Nov-2022 00:14:59 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
02-Nov-2022 00:14:59 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
02-Nov-2022 00:14:59 Creating network "qa-refapp_default" with the default driver
02-Nov-2022 00:14:59 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
02-Nov-2022 00:14:59 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
02-Nov-2022 00:15:00 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
02-Nov-2022 00:15:00 Creating qa-refapp_openmrs-referenceapplication_1       ...
02-Nov-2022 00:15:00 Creating qa-refapp_openmrs-referenceapplication_1       ... done
02-Nov-2022 00:15:01 Verifying if docker containers 2b99110404ce6c1a36f2755d8f0659d9a6d6cac542ccec542d73a6c8df0a660f
02-Nov-2022 00:15:01 a9b638155e13f3c2caeb6103ad2ca916a9497703e0a294e90abce3e3b10b8add are healthy
02-Nov-2022 00:15:01 Status found: "starting"
02-Nov-2022 00:15:01 Waiting 15s
02-Nov-2022 00:15:16 Verifying if docker containers 2b99110404ce6c1a36f2755d8f0659d9a6d6cac542ccec542d73a6c8df0a660f
02-Nov-2022 00:15:16 a9b638155e13f3c2caeb6103ad2ca916a9497703e0a294e90abce3e3b10b8add are healthy
02-Nov-2022 00:15:16 Status found: "starting"
02-Nov-2022 00:15:16 Waiting 15s
02-Nov-2022 00:15:31 Verifying if docker containers 2b99110404ce6c1a36f2755d8f0659d9a6d6cac542ccec542d73a6c8df0a660f
02-Nov-2022 00:15:31 a9b638155e13f3c2caeb6103ad2ca916a9497703e0a294e90abce3e3b10b8add are healthy
02-Nov-2022 00:15:31 Status found: "healthy"
02-Nov-2022 00:15:31 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
02-Nov-2022 00:15:31 Running post build plugin 'Docker Container Cleanup'
02-Nov-2022 00:15:31 Running post build plugin 'NCover Results Collector'
02-Nov-2022 00:15:31 Running post build plugin 'Build Results Label Collector'
02-Nov-2022 00:15:31 Running post build plugin 'Clover Results Collector'
02-Nov-2022 00:15:31 Running post build plugin 'npm Cache Cleanup'
02-Nov-2022 00:15:31 Running post build plugin 'Artifact Copier'
02-Nov-2022 00:15:31 Finalising the build...
02-Nov-2022 00:15:31 Stopping timer.
02-Nov-2022 00:15:31 Build REFAPP-OMODDISTRO-DTMTS-13158 completed.
02-Nov-2022 00:15:31 Running on server: post build plugin 'Build Hanging Detection Configuration'
02-Nov-2022 00:15:31 Running on server: post build plugin 'NCover Results Collector'
02-Nov-2022 00:15:31 Running on server: post build plugin 'Build Labeller'
02-Nov-2022 00:15:31 Running on server: post build plugin 'Clover Delta Calculator'
02-Nov-2022 00:15:31 Running on server: post build plugin 'Maven Dependencies Postprocessor'
02-Nov-2022 00:15:31 All post build plugins have finished
02-Nov-2022 00:15:31 Generating build results summary...
02-Nov-2022 00:15:31 Saving build results to disk...
02-Nov-2022 00:15:31 Store variable context...
02-Nov-2022 00:15:31 Finished building REFAPP-OMODDISTRO-DTMTS-13158.