Deploys Reference Application SNAPSHOT to maven

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

23-Oct-2022 00:14:28 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13141 (REFAPP-OMODDISTRO-DTMTS-13141) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
23-Oct-2022 00:14:28 Remote agent on host xiao.openmrs.org
23-Oct-2022 00:14:28 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Oct-2022 00:14:28 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13141 (REFAPP-OMODDISTRO-DTMTS-13141)
23-Oct-2022 00:14:28 Running pre-build action: Build Log Labeller Pre Build Action
23-Oct-2022 00:14:28 Running pre-build action: VCS Version Collector
23-Oct-2022 00:14:28 Running pre-build action: Run Predator
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Oct-2022 00:14:28 [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;
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
23-Oct-2022 00:14:28 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
23-Oct-2022 00:14:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1755 java        1179 bamboo-age 2974Mb  424Mb 00:11:22 /usr/lib/jvm/java-8-ope
23-Oct-2022 00:14:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1179 wrapper        1 bamboo-age   16Mb    3Mb 00:03:03 /home/bamboo-agent/bamb
23-Oct-2022 00:14:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:19 /sbin/init             
23-Oct-2022 00:14:29 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Oct-2022 00:14:29 [PredatorPreBuildAction] Initial free space: 5.2942696 GB
23-Oct-2022 00:14:29 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Oct-2022 00:14:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
23-Oct-2022 00:14:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Oct-2022 00:14:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Final free space: 5.325886 GB
23-Oct-2022 00:14:32 [PredatorPreBuildAction] Done
23-Oct-2022 00:14:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Oct-2022 00:14:32
Substituting password variable: ${bamboo.dockerhub.password}
23-Oct-2022 00:14:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Oct-2022 00:14:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Oct-2022 00:14:32 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Oct-2022 00:14:32
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13141 (REFAPP-OMODDISTRO-DTMTS-13141)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13141-ScriptBuildTask-2582854209131471950.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Oct-2022 00:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Oct-2022 00:14:32 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Oct-2022 00:14:32 Configure a credential helper to remove this warning. See
23-Oct-2022 00:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Oct-2022 00:14:32
23-Oct-2022 00:14:32 Login Succeeded
23-Oct-2022 00:14:32 + docker pull openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:33 docker.io/openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1: Pulling from openmrs/openmrs-reference-application
23-Oct-2022 00:14:33 Digest: sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:33 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:33 docker.io/openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1
23-Oct-2022 00:14:33 + docker tag openmrs/openmrs-reference-application@sha256:8006cad86c5c25a055d0cbb828b5971612a76256676c473e191dc03595cacbe1 openmrs/openmrs-reference-application:qa
23-Oct-2022 00:14:33 + docker push openmrs/openmrs-reference-application:qa
23-Oct-2022 00:14:33 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Oct-2022 00:14:33 10103975fce4: Preparing
23-Oct-2022 00:14:33 16bf9ac2f3f6: Preparing
23-Oct-2022 00:14:33 fe80b72f6768: Preparing
23-Oct-2022 00:14:33 2a89a5aaad6f: Preparing
23-Oct-2022 00:14:33 c4d7d9344c94: Preparing
23-Oct-2022 00:14:33 3115f92dfde0: Preparing
23-Oct-2022 00:14:33 40662c443880: Preparing
23-Oct-2022 00:14:33 5f70bf18a086: Preparing
23-Oct-2022 00:14:33 e391162dac5a: Preparing
23-Oct-2022 00:14:33 a608f56d61bb: Preparing
23-Oct-2022 00:14:33 50c17e52d63c: Preparing
23-Oct-2022 00:14:33 1c08af3c999d: Preparing
23-Oct-2022 00:14:33 f9e3c74ded34: Preparing
23-Oct-2022 00:14:33 e802af8d4506: Preparing
23-Oct-2022 00:14:33 678542a60d0e: Preparing
23-Oct-2022 00:14:33 6edf69746447: Preparing
23-Oct-2022 00:14:33 2601b5eb4f37: Preparing
23-Oct-2022 00:14:33 4942a1abcbfa: Preparing
23-Oct-2022 00:14:33 3115f92dfde0: Waiting
23-Oct-2022 00:14:33 40662c443880: Waiting
23-Oct-2022 00:14:33 5f70bf18a086: Waiting
23-Oct-2022 00:14:33 e391162dac5a: Waiting
23-Oct-2022 00:14:33 a608f56d61bb: Waiting
23-Oct-2022 00:14:33 50c17e52d63c: Waiting
23-Oct-2022 00:14:33 1c08af3c999d: Waiting
23-Oct-2022 00:14:33 f9e3c74ded34: Waiting
23-Oct-2022 00:14:33 e802af8d4506: Waiting
23-Oct-2022 00:14:33 678542a60d0e: Waiting
23-Oct-2022 00:14:33 6edf69746447: Waiting
23-Oct-2022 00:14:33 2601b5eb4f37: Waiting
23-Oct-2022 00:14:33 4942a1abcbfa: Waiting
23-Oct-2022 00:14:33 c4d7d9344c94: Layer already exists
23-Oct-2022 00:14:33 2a89a5aaad6f: Layer already exists
23-Oct-2022 00:14:33 fe80b72f6768: Layer already exists
23-Oct-2022 00:14:33 10103975fce4: Layer already exists
23-Oct-2022 00:14:33 16bf9ac2f3f6: Layer already exists
23-Oct-2022 00:14:33 3115f92dfde0: Layer already exists
23-Oct-2022 00:14:33 40662c443880: Layer already exists
23-Oct-2022 00:14:33 e391162dac5a: Layer already exists
23-Oct-2022 00:14:33 a608f56d61bb: Layer already exists
23-Oct-2022 00:14:33 5f70bf18a086: Layer already exists
23-Oct-2022 00:14:33 50c17e52d63c: Layer already exists
23-Oct-2022 00:14:33 1c08af3c999d: Layer already exists
23-Oct-2022 00:14:33 f9e3c74ded34: Layer already exists
23-Oct-2022 00:14:33 e802af8d4506: Layer already exists
23-Oct-2022 00:14:33 678542a60d0e: Layer already exists
23-Oct-2022 00:14:34 6edf69746447: Layer already exists
23-Oct-2022 00:14:34 2601b5eb4f37: Layer already exists
23-Oct-2022 00:14:34 4942a1abcbfa: Layer already exists
23-Oct-2022 00:14:34 qa: digest: sha256:038223c55246daf6ce888dd03c0a73fd6078c13a664b9af32ef0c27570f6b9be size: 4096
23-Oct-2022 00:14:34 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Oct-2022 00:14:34 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Oct-2022 00:14:35 Removing unused images if any
23-Oct-2022 00:14:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication-mysql ...
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication       ...
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Oct-2022 00:14:35 Pulling openmrs-referenceapplication-mysql ... done
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... already exists
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... waiting
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (96.0%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... download complete
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (15.7%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (26.9%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... download complete
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (31.5%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (49.9%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (48.2%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (72.3%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (64.4%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (93.9%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... download complete
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... downloading (81.1%)
23-Oct-2022 00:14:36 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... downloading (95.3%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (21.7%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... verifying checksum
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... download complete
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (45.4%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (72.0%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (97.9%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... pull complete
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... pull complete
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (18.3%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (38.1%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (56.4%)
23-Oct-2022 00:14:37 Pulling openmrs-referenceapplication       ... extracting (72.6%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (88.8%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... pull complete
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... pull complete
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... digest: sha256:038223c55246daf6ce...
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Oct-2022 00:14:38 Pulling openmrs-referenceapplication       ... done
23-Oct-2022 00:14:38 Recreating all images and volumes
23-Oct-2022 00:14:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Oct-2022 00:14:38 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Oct-2022 00:14:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Oct-2022 00:14:39 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Oct-2022 00:14:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Oct-2022 00:14:40 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Oct-2022 00:14:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Oct-2022 00:14:40 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Oct-2022 00:14:41 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Oct-2022 00:14:41 Removing network qa-refapp_default
23-Oct-2022 00:14:41 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Oct-2022 00:14:41 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Oct-2022 00:14:41 Creating network "qa-refapp_default" with the default driver
23-Oct-2022 00:14:41 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Oct-2022 00:14:41 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Oct-2022 00:14:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Oct-2022 00:14:42 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Oct-2022 00:14:43 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Oct-2022 00:14:43 Verifying if docker containers 7b8b96180a513cf696985ae90fc541bd371d7b1033eedff1e1b62ebc5b2008c2
23-Oct-2022 00:14:43 9e58fa113f04071e4ccbf4bdaa1a6b176423d2518827b29771b84b1f857605ed are healthy
23-Oct-2022 00:14:43 Status found: "starting"
23-Oct-2022 00:14:43 Waiting 15s
23-Oct-2022 00:14:58 Verifying if docker containers 7b8b96180a513cf696985ae90fc541bd371d7b1033eedff1e1b62ebc5b2008c2
23-Oct-2022 00:14:58 9e58fa113f04071e4ccbf4bdaa1a6b176423d2518827b29771b84b1f857605ed are healthy
23-Oct-2022 00:14:58 Status found: "starting"
23-Oct-2022 00:14:58 Waiting 15s
23-Oct-2022 00:15:13 Verifying if docker containers 7b8b96180a513cf696985ae90fc541bd371d7b1033eedff1e1b62ebc5b2008c2
23-Oct-2022 00:15:13 9e58fa113f04071e4ccbf4bdaa1a6b176423d2518827b29771b84b1f857605ed are healthy
23-Oct-2022 00:15:13 Status found: "healthy"
23-Oct-2022 00:15:13 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Oct-2022 00:15:13 Running post build plugin 'Docker Container Cleanup'
23-Oct-2022 00:15:13 Running post build plugin 'NCover Results Collector'
23-Oct-2022 00:15:13 Running post build plugin 'Build Results Label Collector'
23-Oct-2022 00:15:13 Running post build plugin 'Clover Results Collector'
23-Oct-2022 00:15:13 Running post build plugin 'npm Cache Cleanup'
23-Oct-2022 00:15:13 Running post build plugin 'Artifact Copier'
23-Oct-2022 00:15:13 Finalising the build...
23-Oct-2022 00:15:13 Stopping timer.
23-Oct-2022 00:15:13 Build REFAPP-OMODDISTRO-DTMTS-13141 completed.
23-Oct-2022 00:15:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Oct-2022 00:15:13 Running on server: post build plugin 'NCover Results Collector'
23-Oct-2022 00:15:13 Running on server: post build plugin 'Build Labeller'
23-Oct-2022 00:15:13 Running on server: post build plugin 'Clover Delta Calculator'
23-Oct-2022 00:15:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Oct-2022 00:15:13 All post build plugins have finished
23-Oct-2022 00:15:13 Generating build results summary...
23-Oct-2022 00:15:13 Saving build results to disk...
23-Oct-2022 00:15:13 Store variable context...
23-Oct-2022 00:15:13 Finished building REFAPP-OMODDISTRO-DTMTS-13141.