Deploys Reference Application SNAPSHOT to maven

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

22-Nov-2022 16:20:10 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13215 (REFAPP-OMODDISTRO-DTMTS-13215) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
22-Nov-2022 16:20:10 Remote agent on host xindi.openmrs.org
22-Nov-2022 16:20:10 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Nov-2022 16:20:10 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13215 (REFAPP-OMODDISTRO-DTMTS-13215)
22-Nov-2022 16:20:10 Running pre-build action: Build Log Labeller Pre Build Action
22-Nov-2022 16:20:10 Running pre-build action: VCS Version Collector
22-Nov-2022 16:20:10 Running pre-build action: Run Predator
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
22-Nov-2022 16:20:10 [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;
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 java        1446 bamboo-age 2970Mb  369Mb 00:04:35 /usr/lib/jvm/java-8-ope
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1446 wrapper        1 bamboo-age   16Mb    3Mb 00:01:00 /home/bamboo-agent/bamb
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:05 /sbin/init             
22-Nov-2022 16:20:10 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Initial free space: 4.0585556 GB
22-Nov-2022 16:20:10 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Deleting 8 snapshot folders from /home/bamboo-agent/.m2/repository
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
22-Nov-2022 16:20:12 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
22-Nov-2022 16:20:12 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
22-Nov-2022 16:20:12 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Final free space: 4.0901833 GB
22-Nov-2022 16:20:12 [PredatorPreBuildAction] Done
22-Nov-2022 16:20:12
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
22-Nov-2022 16:20:12
Substituting password variable: ${bamboo.dockerhub.password}
22-Nov-2022 16:20:12
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:12
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Nov-2022 16:20:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
22-Nov-2022 16:20:12 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Nov-2022 16:20:12
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13215 (REFAPP-OMODDISTRO-DTMTS-13215)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13215-ScriptBuildTask-7679046058223473548.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
22-Nov-2022 16:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
22-Nov-2022 16:20:13 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
22-Nov-2022 16:20:13 Configure a credential helper to remove this warning. See
22-Nov-2022 16:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
22-Nov-2022 16:20:13
22-Nov-2022 16:20:13 Login Succeeded
22-Nov-2022 16:20:13 + docker pull openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:13 docker.io/openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b: Pulling from openmrs/openmrs-reference-application
22-Nov-2022 16:20:13 Digest: sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:13 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:13 docker.io/openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b
22-Nov-2022 16:20:13 + docker tag openmrs/openmrs-reference-application@sha256:23f5fb40bad8ad6e0f18b8a9f682846ca15c1887ac0836cc73e447053730879b openmrs/openmrs-reference-application:qa
22-Nov-2022 16:20:13 + docker push openmrs/openmrs-reference-application:qa
22-Nov-2022 16:20:13 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
22-Nov-2022 16:20:13 d2bc1b1e2a9d: Preparing
22-Nov-2022 16:20:13 370a976a8025: Preparing
22-Nov-2022 16:20:13 1268f1685544: Preparing
22-Nov-2022 16:20:13 611ac58d4cff: Preparing
22-Nov-2022 16:20:13 94888767c206: Preparing
22-Nov-2022 16:20:13 7166366c10ed: Preparing
22-Nov-2022 16:20:13 5f70bf18a086: Preparing
22-Nov-2022 16:20:13 ff399fe66155: Preparing
22-Nov-2022 16:20:13 f68cc74660ac: Preparing
22-Nov-2022 16:20:13 5e8152c21c19: Preparing
22-Nov-2022 16:20:13 d3b649348a36: Preparing
22-Nov-2022 16:20:13 863977ed1cf5: Preparing
22-Nov-2022 16:20:13 61fabc09defd: Preparing
22-Nov-2022 16:20:13 7166366c10ed: Waiting
22-Nov-2022 16:20:13 5f70bf18a086: Waiting
22-Nov-2022 16:20:13 ff399fe66155: Waiting
22-Nov-2022 16:20:13 f68cc74660ac: Waiting
22-Nov-2022 16:20:13 5e8152c21c19: Waiting
22-Nov-2022 16:20:13 d3b649348a36: Waiting
22-Nov-2022 16:20:13 863977ed1cf5: Waiting
22-Nov-2022 16:20:13 61fabc09defd: Waiting
22-Nov-2022 16:20:13 024fb52116d1: Preparing
22-Nov-2022 16:20:13 7f084483de6c: Preparing
22-Nov-2022 16:20:13 c0742fa78f13: Preparing
22-Nov-2022 16:20:13 97d2f1c2ec25: Preparing
22-Nov-2022 16:20:13 8c6806a06924: Preparing
22-Nov-2022 16:20:13 024fb52116d1: Waiting
22-Nov-2022 16:20:13 7f084483de6c: Waiting
22-Nov-2022 16:20:13 c0742fa78f13: Waiting
22-Nov-2022 16:20:13 97d2f1c2ec25: Waiting
22-Nov-2022 16:20:13 8c6806a06924: Waiting
22-Nov-2022 16:20:13 94888767c206: Layer already exists
22-Nov-2022 16:20:13 d2bc1b1e2a9d: Layer already exists
22-Nov-2022 16:20:13 611ac58d4cff: Layer already exists
22-Nov-2022 16:20:13 370a976a8025: Layer already exists
22-Nov-2022 16:20:13 1268f1685544: Layer already exists
22-Nov-2022 16:20:13 7166366c10ed: Layer already exists
22-Nov-2022 16:20:13 5f70bf18a086: Layer already exists
22-Nov-2022 16:20:13 ff399fe66155: Layer already exists
22-Nov-2022 16:20:13 5e8152c21c19: Layer already exists
22-Nov-2022 16:20:13 f68cc74660ac: Layer already exists
22-Nov-2022 16:20:13 d3b649348a36: Layer already exists
22-Nov-2022 16:20:13 61fabc09defd: Layer already exists
22-Nov-2022 16:20:13 024fb52116d1: Layer already exists
22-Nov-2022 16:20:13 863977ed1cf5: Layer already exists
22-Nov-2022 16:20:13 7f084483de6c: Layer already exists
22-Nov-2022 16:20:14 c0742fa78f13: Layer already exists
22-Nov-2022 16:20:14 97d2f1c2ec25: Layer already exists
22-Nov-2022 16:20:14 8c6806a06924: Layer already exists
22-Nov-2022 16:20:14 qa: digest: sha256:0a9e3bc33715df6516a8faf9080255a479d63aa62979d9e7bbd4b75a9821874f size: 4089
22-Nov-2022 16:20:14 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
22-Nov-2022 16:20:14 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
22-Nov-2022 16:20:15 Removing unused images if any
22-Nov-2022 16:20:16 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication-mysql ...
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ...
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication-mysql ... done
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... already exists
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... pulling fs layer
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (0.7%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (98.2%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... download complete
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (0.5%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (24.2%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (12.2%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (1.1%)
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... download complete
22-Nov-2022 16:20:16 Pulling openmrs-referenceapplication       ... downloading (46.4%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (26.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (67.2%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (41.7%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (88.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (56.9%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... verifying checksum
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... download complete
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (72.7%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (0.7%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (85.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (23.6%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... downloading (98.2%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... verifying checksum
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... download complete
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (46.5%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (71.5%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (95.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... pull complete
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... pull complete
22-Nov-2022 16:20:17 Pulling openmrs-referenceapplication       ... extracting (0.5%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (18.3%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (36.0%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (53.3%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (66.5%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (77.7%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (93.4%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... pull complete
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (3.0%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... extracting (100.0%)
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... pull complete
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... digest: sha256:0a9e3bc33715df6516...
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
22-Nov-2022 16:20:18 Pulling openmrs-referenceapplication       ... done
22-Nov-2022 16:20:18 Recreating all images and volumes
22-Nov-2022 16:20:18 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Nov-2022 16:20:19 Stopping qa-refapp_openmrs-referenceapplication_1       ...
22-Nov-2022 16:20:19 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Nov-2022 16:20:19 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
22-Nov-2022 16:20:21 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Nov-2022 16:20:21 Removing qa-refapp_openmrs-referenceapplication_1       ...
22-Nov-2022 16:20:21 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Nov-2022 16:20:21 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Nov-2022 16:20:21 Removing qa-refapp_openmrs-referenceapplication_1       ... done
22-Nov-2022 16:20:21 Removing network qa-refapp_default
22-Nov-2022 16:20:21 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
22-Nov-2022 16:20:22 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
22-Nov-2022 16:20:22 Creating network "qa-refapp_default" with the default driver
22-Nov-2022 16:20:22 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
22-Nov-2022 16:20:22 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
22-Nov-2022 16:20:22 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
22-Nov-2022 16:20:22 Creating qa-refapp_openmrs-referenceapplication_1       ...
22-Nov-2022 16:20:23 Creating qa-refapp_openmrs-referenceapplication_1       ... done
22-Nov-2022 16:20:23 Verifying if docker containers 59ef90c4c1265273fe237f5a4b1fc8d510303c038eae664ac2a3f6d65ef33dd7
22-Nov-2022 16:20:23 388fa90b40aed69a140f672837d2c0bce42532c3572fdfe768cca08acadccaea are healthy
22-Nov-2022 16:20:23 Status found: "starting"
22-Nov-2022 16:20:23 Waiting 15s
22-Nov-2022 16:20:38 Verifying if docker containers 59ef90c4c1265273fe237f5a4b1fc8d510303c038eae664ac2a3f6d65ef33dd7
22-Nov-2022 16:20:38 388fa90b40aed69a140f672837d2c0bce42532c3572fdfe768cca08acadccaea are healthy
22-Nov-2022 16:20:38 Status found: "starting"
22-Nov-2022 16:20:38 Waiting 15s
22-Nov-2022 16:20:53 Verifying if docker containers 59ef90c4c1265273fe237f5a4b1fc8d510303c038eae664ac2a3f6d65ef33dd7
22-Nov-2022 16:20:53 388fa90b40aed69a140f672837d2c0bce42532c3572fdfe768cca08acadccaea are healthy
22-Nov-2022 16:20:53 Status found: "healthy"
22-Nov-2022 16:20:53 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
22-Nov-2022 16:20:53 Running post build plugin 'Docker Container Cleanup'
22-Nov-2022 16:20:53 Running post build plugin 'NCover Results Collector'
22-Nov-2022 16:20:53 Running post build plugin 'Build Results Label Collector'
22-Nov-2022 16:20:53 Running post build plugin 'Clover Results Collector'
22-Nov-2022 16:20:53 Running post build plugin 'npm Cache Cleanup'
22-Nov-2022 16:20:53 Running post build plugin 'Artifact Copier'
22-Nov-2022 16:20:53 Finalising the build...
22-Nov-2022 16:20:53 Stopping timer.
22-Nov-2022 16:20:53 Build REFAPP-OMODDISTRO-DTMTS-13215 completed.
22-Nov-2022 16:20:53 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Nov-2022 16:20:53 Running on server: post build plugin 'NCover Results Collector'
22-Nov-2022 16:20:53 Running on server: post build plugin 'Build Labeller'
22-Nov-2022 16:20:53 Running on server: post build plugin 'Clover Delta Calculator'
22-Nov-2022 16:20:53 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Nov-2022 16:20:53 All post build plugins have finished
22-Nov-2022 16:20:53 Generating build results summary...
22-Nov-2022 16:20:53 Saving build results to disk...
22-Nov-2022 16:20:53 Store variable context...
22-Nov-2022 16:20:53 Finished building REFAPP-OMODDISTRO-DTMTS-13215.