Deploys Reference Application SNAPSHOT to maven

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

06-Feb-2023 03:14:08 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13449 (REFAPP-OMODDISTRO-DTMTS-13449) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
06-Feb-2023 03:14:08 Remote agent on host xindi.openmrs.org
06-Feb-2023 03:14:08 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Feb-2023 03:14:08 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13449 (REFAPP-OMODDISTRO-DTMTS-13449)
06-Feb-2023 03:14:08 Running pre-build action: Build Log Labeller Pre Build Action
06-Feb-2023 03:14:08 Running pre-build action: VCS Version Collector
06-Feb-2023 03:14:08 Running pre-build action: Run Predator
06-Feb-2023 03:14:08 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
06-Feb-2023 03:14:08 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
06-Feb-2023 03:14:08 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2976Mb  519Mb 00:11:20 /usr/lib/jvm/java-8-ope
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:10:08 /home/bamboo-agent/bamb
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:38 /sbin/init             
06-Feb-2023 03:14:09 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Initial free space: 3.2929878 GB
06-Feb-2023 03:14:09 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
06-Feb-2023 03:14:10 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
06-Feb-2023 03:14:10 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
06-Feb-2023 03:14:11 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
06-Feb-2023 03:14:11 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
06-Feb-2023 03:14:11 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
06-Feb-2023 03:14:11 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
06-Feb-2023 03:14:11 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
06-Feb-2023 03:14:11 [PredatorPreBuildAction] Final free space: 3.324627 GB
06-Feb-2023 03:14:11 [PredatorPreBuildAction] Done
06-Feb-2023 03:14:11
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
06-Feb-2023 03:14:11
Substituting password variable: ${bamboo.dockerhub.password}
06-Feb-2023 03:14:11
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Feb-2023 03:14:11
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
06-Feb-2023 03:14:11 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
06-Feb-2023 03:14:11
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13449 (REFAPP-OMODDISTRO-DTMTS-13449)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13449-ScriptBuildTask-5118184638168668559.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
06-Feb-2023 03:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
06-Feb-2023 03:14:11 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
06-Feb-2023 03:14:11 Configure a credential helper to remove this warning. See
06-Feb-2023 03:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
06-Feb-2023 03:14:11
06-Feb-2023 03:14:11 Login Succeeded
06-Feb-2023 03:14:11 + docker pull openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11 docker.io/openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864: Pulling from openmrs/openmrs-reference-application
06-Feb-2023 03:14:11 Digest: sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11 docker.io/openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864
06-Feb-2023 03:14:11 + docker tag openmrs/openmrs-reference-application@sha256:29a2ce30ae87dcfb34dd99d671847c1ab8e1625d3f0bdbf7de5b402f61bcf864 openmrs/openmrs-reference-application:qa
06-Feb-2023 03:14:11 + docker push openmrs/openmrs-reference-application:qa
06-Feb-2023 03:14:11 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
06-Feb-2023 03:14:11 4ad904b60d98: Preparing
06-Feb-2023 03:14:11 b4844f17a006: Preparing
06-Feb-2023 03:14:11 6d436e2b9310: Preparing
06-Feb-2023 03:14:11 69ab099be18b: Preparing
06-Feb-2023 03:14:11 0740b0956fe0: Preparing
06-Feb-2023 03:14:11 60de0bbda0ed: Preparing
06-Feb-2023 03:14:11 5f70bf18a086: Preparing
06-Feb-2023 03:14:11 b34b6277c81b: Preparing
06-Feb-2023 03:14:11 d0a6a0df9123: Preparing
06-Feb-2023 03:14:11 63bbdb3574ed: Preparing
06-Feb-2023 03:14:11 118873527352: Preparing
06-Feb-2023 03:14:11 3353ee3d6876: Preparing
06-Feb-2023 03:14:11 ab5b3452b7ed: Preparing
06-Feb-2023 03:14:11 34f73756f7aa: Preparing
06-Feb-2023 03:14:11 93d6620f79bb: Preparing
06-Feb-2023 03:14:11 be417e78cadd: Preparing
06-Feb-2023 03:14:11 647dc4000019: Preparing
06-Feb-2023 03:14:11 8c5ff259ef50: Preparing
06-Feb-2023 03:14:11 60de0bbda0ed: Waiting
06-Feb-2023 03:14:11 5f70bf18a086: Waiting
06-Feb-2023 03:14:11 b34b6277c81b: Waiting
06-Feb-2023 03:14:11 d0a6a0df9123: Waiting
06-Feb-2023 03:14:11 63bbdb3574ed: Waiting
06-Feb-2023 03:14:11 118873527352: Waiting
06-Feb-2023 03:14:11 3353ee3d6876: Waiting
06-Feb-2023 03:14:11 ab5b3452b7ed: Waiting
06-Feb-2023 03:14:11 34f73756f7aa: Waiting
06-Feb-2023 03:14:11 93d6620f79bb: Waiting
06-Feb-2023 03:14:11 be417e78cadd: Waiting
06-Feb-2023 03:14:11 647dc4000019: Waiting
06-Feb-2023 03:14:11 8c5ff259ef50: Waiting
06-Feb-2023 03:14:12 0740b0956fe0: Layer already exists
06-Feb-2023 03:14:12 69ab099be18b: Layer already exists
06-Feb-2023 03:14:12 b4844f17a006: Layer already exists
06-Feb-2023 03:14:12 6d436e2b9310: Layer already exists
06-Feb-2023 03:14:12 4ad904b60d98: Layer already exists
06-Feb-2023 03:14:12 60de0bbda0ed: Layer already exists
06-Feb-2023 03:14:12 5f70bf18a086: Layer already exists
06-Feb-2023 03:14:12 b34b6277c81b: Layer already exists
06-Feb-2023 03:14:12 d0a6a0df9123: Layer already exists
06-Feb-2023 03:14:12 63bbdb3574ed: Layer already exists
06-Feb-2023 03:14:12 118873527352: Layer already exists
06-Feb-2023 03:14:12 3353ee3d6876: Layer already exists
06-Feb-2023 03:14:12 ab5b3452b7ed: Layer already exists
06-Feb-2023 03:14:12 34f73756f7aa: Layer already exists
06-Feb-2023 03:14:12 93d6620f79bb: Layer already exists
06-Feb-2023 03:14:12 be417e78cadd: Layer already exists
06-Feb-2023 03:14:12 647dc4000019: Layer already exists
06-Feb-2023 03:14:12 8c5ff259ef50: Layer already exists
06-Feb-2023 03:14:12 qa: digest: sha256:d281a7740556f0b0d68d4396c73e8234e1bcd77f9fd6adfb5587916453dc9536 size: 4088
06-Feb-2023 03:14:12 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
06-Feb-2023 03:14:12 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
06-Feb-2023 03:14:13 Removing unused images if any
06-Feb-2023 03:14:14 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication-mysql ...
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ...
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication-mysql ... done
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... already exists
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... pulling fs layer
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... waiting
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... downloading (100.0%)
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 03:14:14 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (0.7%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (0.5%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (10.3%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (1.1%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (17.5%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (100.0%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (23.1%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (33.6%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (51.8%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (36.8%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (69.9%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (51.0%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (60.8%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (86.1%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (74.6%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... downloading (88.3%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... extracting (0.7%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... verifying checksum
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... download complete
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... extracting (22.2%)
06-Feb-2023 03:14:15 Pulling openmrs-referenceapplication       ... extracting (43.7%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (70.1%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (97.8%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (0.5%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (18.2%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (37.0%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (55.7%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (73.4%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (89.7%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 03:14:16 Pulling openmrs-referenceapplication       ... extracting (3.0%)
06-Feb-2023 03:14:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
06-Feb-2023 03:14:17 Pulling openmrs-referenceapplication       ... pull complete
06-Feb-2023 03:14:17 Pulling openmrs-referenceapplication       ... digest: sha256:d281a7740556f0b0d6...
06-Feb-2023 03:14:17 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
06-Feb-2023 03:14:17 Pulling openmrs-referenceapplication       ... done
06-Feb-2023 03:14:17 Recreating all images and volumes
06-Feb-2023 03:14:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 03:14:17 Stopping qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 03:14:17 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 03:14:17 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 03:14:19 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 03:14:19 Removing qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 03:14:19 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 03:14:19 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 03:14:19 Removing qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 03:14:19 Removing network qa-refapp_default
06-Feb-2023 03:14:20 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
06-Feb-2023 03:14:20 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
06-Feb-2023 03:14:20 Creating network "qa-refapp_default" with the default driver
06-Feb-2023 03:14:20 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
06-Feb-2023 03:14:20 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
06-Feb-2023 03:14:21 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
06-Feb-2023 03:14:21 Creating qa-refapp_openmrs-referenceapplication_1       ...
06-Feb-2023 03:14:21 Creating qa-refapp_openmrs-referenceapplication_1       ... done
06-Feb-2023 03:14:22 Verifying if docker containers e6317eca7ee4e1b0dbb9b2e55f6a1fc83a5f7ebd826325a2b6428d37567be867
06-Feb-2023 03:14:22 b3bb0d70d04df6889309a7411079189afeca4f56ed3b5160b1ff69bc0af4aeb0 are healthy
06-Feb-2023 03:14:22 Status found: "starting"
06-Feb-2023 03:14:22 Waiting 15s
06-Feb-2023 03:14:37 Verifying if docker containers e6317eca7ee4e1b0dbb9b2e55f6a1fc83a5f7ebd826325a2b6428d37567be867
06-Feb-2023 03:14:37 b3bb0d70d04df6889309a7411079189afeca4f56ed3b5160b1ff69bc0af4aeb0 are healthy
06-Feb-2023 03:14:37 Status found: "starting"
06-Feb-2023 03:14:37 Waiting 15s
06-Feb-2023 03:14:52 Verifying if docker containers e6317eca7ee4e1b0dbb9b2e55f6a1fc83a5f7ebd826325a2b6428d37567be867
06-Feb-2023 03:14:52 b3bb0d70d04df6889309a7411079189afeca4f56ed3b5160b1ff69bc0af4aeb0 are healthy
06-Feb-2023 03:14:52 Status found: "healthy"
06-Feb-2023 03:14:52 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
06-Feb-2023 03:14:52 Running post build plugin 'Docker Container Cleanup'
06-Feb-2023 03:14:52 Running post build plugin 'NCover Results Collector'
06-Feb-2023 03:14:52 Running post build plugin 'Build Results Label Collector'
06-Feb-2023 03:14:52 Running post build plugin 'Clover Results Collector'
06-Feb-2023 03:14:52 Running post build plugin 'npm Cache Cleanup'
06-Feb-2023 03:14:52 Running post build plugin 'Artifact Copier'
06-Feb-2023 03:14:52 Finalising the build...
06-Feb-2023 03:14:52 Stopping timer.
06-Feb-2023 03:14:52 Build REFAPP-OMODDISTRO-DTMTS-13449 completed.
06-Feb-2023 03:14:52 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Feb-2023 03:14:52 Running on server: post build plugin 'NCover Results Collector'
06-Feb-2023 03:14:52 Running on server: post build plugin 'Build Labeller'
06-Feb-2023 03:14:52 Running on server: post build plugin 'Clover Delta Calculator'
06-Feb-2023 03:14:52 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Feb-2023 03:14:52 All post build plugins have finished
06-Feb-2023 03:14:52 Generating build results summary...
06-Feb-2023 03:14:52 Saving build results to disk...
06-Feb-2023 03:14:52 Store variable context...
06-Feb-2023 03:14:52 Finished building REFAPP-OMODDISTRO-DTMTS-13449.