Deploys Reference Application SNAPSHOT to maven

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