Deploys Reference Application SNAPSHOT to maven

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

06-Nov-2022 03:34:15 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13172 (REFAPP-OMODDISTRO-DTMTS-13172) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
06-Nov-2022 03:34:15 Remote agent on host xindi.openmrs.org
06-Nov-2022 03:34:15 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Nov-2022 03:34:15 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13172 (REFAPP-OMODDISTRO-DTMTS-13172)
06-Nov-2022 03:34:15 Running pre-build action: Build Log Labeller Pre Build Action
06-Nov-2022 03:34:15 Running pre-build action: VCS Version Collector
06-Nov-2022 03:34:15 Running pre-build action: Run Predator
06-Nov-2022 03:34:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
06-Nov-2022 03:34:15 [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;
06-Nov-2022 03:34:15 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39613 java        1433 bamboo-age 2979Mb  482Mb 00:11:57 /usr/lib/jvm/java-8-ope
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1433 wrapper        1 bamboo-age   16Mb    2Mb 00:03:37 /home/bamboo-agent/bamb
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:25 /sbin/init             
06-Nov-2022 03:34:16 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Initial free space: 4.893837 GB
06-Nov-2022 03:34:16 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
06-Nov-2022 03:34:19 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
06-Nov-2022 03:34:19 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
06-Nov-2022 03:34:19 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
06-Nov-2022 03:34:20 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
06-Nov-2022 03:34:20 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
06-Nov-2022 03:34:20 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
06-Nov-2022 03:34:20 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
06-Nov-2022 03:34:20 [PredatorPreBuildAction] Final free space: 4.925453 GB
06-Nov-2022 03:34:20 [PredatorPreBuildAction] Done
06-Nov-2022 03:34:20
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
06-Nov-2022 03:34:20
Substituting password variable: ${bamboo.dockerhub.password}
06-Nov-2022 03:34:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Nov-2022 03:34:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Nov-2022 03:34:20 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
06-Nov-2022 03:34:20
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13172 (REFAPP-OMODDISTRO-DTMTS-13172)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13172-ScriptBuildTask-7501141398284271520.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Nov-2022 03:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
06-Nov-2022 03:34:20 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
06-Nov-2022 03:34:20 Configure a credential helper to remove this warning. See
06-Nov-2022 03:34:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
06-Nov-2022 03:34:20
06-Nov-2022 03:34:20 Login Succeeded
06-Nov-2022 03:34:20 + docker pull openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20 docker.io/openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5: Pulling from openmrs/openmrs-reference-application
06-Nov-2022 03:34:20 Digest: sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20 docker.io/openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5
06-Nov-2022 03:34:20 + docker tag openmrs/openmrs-reference-application@sha256:f196a267a7e6e6764cf3465983baf55908ed5d3ede59c4d74fc33ca5ed64fdf5 openmrs/openmrs-reference-application:qa
06-Nov-2022 03:34:20 + docker push openmrs/openmrs-reference-application:qa
06-Nov-2022 03:34:20 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
06-Nov-2022 03:34:20 4a4ff9a7bc86: Preparing
06-Nov-2022 03:34:20 65bb7bc0e22c: Preparing
06-Nov-2022 03:34:20 42a8719efc3e: Preparing
06-Nov-2022 03:34:20 2a3f254cdedf: Preparing
06-Nov-2022 03:34:20 68bc78f47b97: Preparing
06-Nov-2022 03:34:20 a058e4057cb5: Preparing
06-Nov-2022 03:34:20 20b8c6933e85: Preparing
06-Nov-2022 03:34:20 5f70bf18a086: Preparing
06-Nov-2022 03:34:20 3045ef3b6902: Preparing
06-Nov-2022 03:34:20 a33f02fdc429: Preparing
06-Nov-2022 03:34:20 7d7401142bc3: Preparing
06-Nov-2022 03:34:20 af2648fed780: Preparing
06-Nov-2022 03:34:20 f9e3c74ded34: Preparing
06-Nov-2022 03:34:20 e802af8d4506: Preparing
06-Nov-2022 03:34:20 678542a60d0e: Preparing
06-Nov-2022 03:34:20 6edf69746447: Preparing
06-Nov-2022 03:34:20 2601b5eb4f37: Preparing
06-Nov-2022 03:34:20 4942a1abcbfa: Preparing
06-Nov-2022 03:34:20 7d7401142bc3: Waiting
06-Nov-2022 03:34:20 af2648fed780: Waiting
06-Nov-2022 03:34:20 f9e3c74ded34: Waiting
06-Nov-2022 03:34:20 e802af8d4506: Waiting
06-Nov-2022 03:34:20 678542a60d0e: Waiting
06-Nov-2022 03:34:20 6edf69746447: Waiting
06-Nov-2022 03:34:20 2601b5eb4f37: Waiting
06-Nov-2022 03:34:20 4942a1abcbfa: Waiting
06-Nov-2022 03:34:20 3045ef3b6902: Waiting
06-Nov-2022 03:34:20 a058e4057cb5: Waiting
06-Nov-2022 03:34:20 20b8c6933e85: Waiting
06-Nov-2022 03:34:20 5f70bf18a086: Waiting
06-Nov-2022 03:34:21 68bc78f47b97: Layer already exists
06-Nov-2022 03:34:21 4a4ff9a7bc86: Layer already exists
06-Nov-2022 03:34:21 42a8719efc3e: Layer already exists
06-Nov-2022 03:34:21 2a3f254cdedf: Layer already exists
06-Nov-2022 03:34:21 65bb7bc0e22c: Layer already exists
06-Nov-2022 03:34:21 a058e4057cb5: Layer already exists
06-Nov-2022 03:34:21 20b8c6933e85: Layer already exists
06-Nov-2022 03:34:21 5f70bf18a086: Layer already exists
06-Nov-2022 03:34:21 3045ef3b6902: Layer already exists
06-Nov-2022 03:34:21 a33f02fdc429: Layer already exists
06-Nov-2022 03:34:21 7d7401142bc3: Layer already exists
06-Nov-2022 03:34:21 af2648fed780: Layer already exists
06-Nov-2022 03:34:21 f9e3c74ded34: Layer already exists
06-Nov-2022 03:34:21 e802af8d4506: Layer already exists
06-Nov-2022 03:34:21 678542a60d0e: Layer already exists
06-Nov-2022 03:34:21 6edf69746447: Layer already exists
06-Nov-2022 03:34:21 2601b5eb4f37: Layer already exists
06-Nov-2022 03:34:21 4942a1abcbfa: Layer already exists
06-Nov-2022 03:34:22 qa: digest: sha256:3475b5b28b986ae0f144cdaa3d7c71609dc36dd820608a768205772ae7cbf6f5 size: 4096
06-Nov-2022 03:34:22 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
06-Nov-2022 03:34:22 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
06-Nov-2022 03:34:23 Removing unused images if any
06-Nov-2022 03:34:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication-mysql ...
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication       ...
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
06-Nov-2022 03:34:23 Pulling openmrs-referenceapplication-mysql ... done
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... already exists
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... waiting
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (95.9%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (100.0%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... download complete
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (0.5%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (0.7%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (20.2%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (16.7%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (1.1%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... download complete
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (35.6%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (29.0%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (55.8%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (41.3%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (76.5%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (57.5%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (95.2%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (72.3%)
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... verifying checksum
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... download complete
06-Nov-2022 03:34:24 Pulling openmrs-referenceapplication       ... downloading (88.0%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (0.7%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... verifying checksum
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... download complete
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (23.1%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (43.3%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (61.5%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (85.3%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... pull complete
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... pull complete
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (0.5%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (18.3%)
06-Nov-2022 03:34:25 Pulling openmrs-referenceapplication       ... extracting (38.1%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (57.4%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (74.6%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (87.8%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... pull complete
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (3.0%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... pull complete
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... digest: sha256:3475b5b28b986ae0f1...
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
06-Nov-2022 03:34:26 Pulling openmrs-referenceapplication       ... done
06-Nov-2022 03:34:26 Recreating all images and volumes
06-Nov-2022 03:34:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Nov-2022 03:34:26 Stopping qa-refapp_openmrs-referenceapplication_1       ...
06-Nov-2022 03:34:26 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Nov-2022 03:34:27 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
06-Nov-2022 03:34:29 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Nov-2022 03:34:29 Removing qa-refapp_openmrs-referenceapplication_1       ...
06-Nov-2022 03:34:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Nov-2022 03:34:29 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Nov-2022 03:34:29 Removing qa-refapp_openmrs-referenceapplication_1       ... done
06-Nov-2022 03:34:29 Removing network qa-refapp_default
06-Nov-2022 03:34:29 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
06-Nov-2022 03:34:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Nov-2022 03:34:29 Creating network "qa-refapp_default" with the default driver
06-Nov-2022 03:34:30 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
06-Nov-2022 03:34:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Nov-2022 03:34:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Nov-2022 03:34:30 Creating qa-refapp_openmrs-referenceapplication_1       ...
06-Nov-2022 03:34:31 Creating qa-refapp_openmrs-referenceapplication_1       ... done
06-Nov-2022 03:34:31 Verifying if docker containers b189b25d5946f56714128aacd2ec93a9144554cf3e5f7c3bb024111c0aec1703
06-Nov-2022 03:34:31 49609448b66b01e4e49402c1c9e10a6bf83164fc23edf7a467571d73f15a9a42 are healthy
06-Nov-2022 03:34:31 Status found: "starting"
06-Nov-2022 03:34:31 Waiting 15s
06-Nov-2022 03:34:46 Verifying if docker containers b189b25d5946f56714128aacd2ec93a9144554cf3e5f7c3bb024111c0aec1703
06-Nov-2022 03:34:46 49609448b66b01e4e49402c1c9e10a6bf83164fc23edf7a467571d73f15a9a42 are healthy
06-Nov-2022 03:34:46 Status found: "starting"
06-Nov-2022 03:34:46 Waiting 15s
06-Nov-2022 03:35:01 Verifying if docker containers b189b25d5946f56714128aacd2ec93a9144554cf3e5f7c3bb024111c0aec1703
06-Nov-2022 03:35:01 49609448b66b01e4e49402c1c9e10a6bf83164fc23edf7a467571d73f15a9a42 are healthy
06-Nov-2022 03:35:01 Status found: "healthy"
06-Nov-2022 03:35:01 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
06-Nov-2022 03:35:01 Running post build plugin 'Docker Container Cleanup'
06-Nov-2022 03:35:01 Running post build plugin 'NCover Results Collector'
06-Nov-2022 03:35:01 Running post build plugin 'Build Results Label Collector'
06-Nov-2022 03:35:01 Running post build plugin 'Clover Results Collector'
06-Nov-2022 03:35:01 Running post build plugin 'npm Cache Cleanup'
06-Nov-2022 03:35:01 Running post build plugin 'Artifact Copier'
06-Nov-2022 03:35:01 Finalising the build...
06-Nov-2022 03:35:01 Stopping timer.
06-Nov-2022 03:35:01 Build REFAPP-OMODDISTRO-DTMTS-13172 completed.
06-Nov-2022 03:35:01 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Nov-2022 03:35:01 Running on server: post build plugin 'NCover Results Collector'
06-Nov-2022 03:35:01 Running on server: post build plugin 'Build Labeller'
06-Nov-2022 03:35:01 Running on server: post build plugin 'Clover Delta Calculator'
06-Nov-2022 03:35:01 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Nov-2022 03:35:01 All post build plugins have finished
06-Nov-2022 03:35:01 Generating build results summary...
06-Nov-2022 03:35:01 Saving build results to disk...
06-Nov-2022 03:35:01 Store variable context...
06-Nov-2022 03:35:01 Finished building REFAPP-OMODDISTRO-DTMTS-13172.