Deploys Reference Application SNAPSHOT to maven

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

10-Feb-2023 00:12:59 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13460 (REFAPP-OMODDISTRO-DTMTS-13460) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
10-Feb-2023 00:12:59 Remote agent on host xindi.openmrs.org
10-Feb-2023 00:12:59 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Feb-2023 00:13:00 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13460 (REFAPP-OMODDISTRO-DTMTS-13460)
10-Feb-2023 00:13:00 Running pre-build action: Build Log Labeller Pre Build Action
10-Feb-2023 00:13:00 Running pre-build action: VCS Version Collector
10-Feb-2023 00:13:00 Running pre-build action: Run Predator
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 37993 java        1484 bamboo-age 2949Mb  322Mb 00:00:50 /usr/lib/jvm/java-8-ope
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:12:11 /home/bamboo-agent/bamb
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:05:11 /sbin/init             
10-Feb-2023 00:13:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Initial free space: 2.5706139 GB
10-Feb-2023 00:13:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
10-Feb-2023 00:13:05 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
10-Feb-2023 00:13:05 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
10-Feb-2023 00:13:05 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Final free space: 2.6022644 GB
10-Feb-2023 00:13:05 [PredatorPreBuildAction] Done
10-Feb-2023 00:13:05
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
10-Feb-2023 00:13:05
Substituting password variable: ${bamboo.dockerhub.password}
10-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Feb-2023 00:13:05
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Feb-2023 00:13:05 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Feb-2023 00:13:05
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13460 (REFAPP-OMODDISTRO-DTMTS-13460)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13460-ScriptBuildTask-9210356736239200129.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Feb-2023 00:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
10-Feb-2023 00:13:06 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
10-Feb-2023 00:13:06 Configure a credential helper to remove this warning. See
10-Feb-2023 00:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
10-Feb-2023 00:13:06 Login Succeeded
10-Feb-2023 00:13:06
10-Feb-2023 00:13:06 + docker pull openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:06 docker.io/openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27: Pulling from openmrs/openmrs-reference-application
10-Feb-2023 00:13:06 Digest: sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:06 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:06 docker.io/openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27
10-Feb-2023 00:13:06 + docker tag openmrs/openmrs-reference-application@sha256:85aa04a6a74b7d88ad822a05b3cddb02232384cce4221beda4727849827dac27 openmrs/openmrs-reference-application:qa
10-Feb-2023 00:13:06 + docker push openmrs/openmrs-reference-application:qa
10-Feb-2023 00:13:06 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
10-Feb-2023 00:13:06 e0339b6b50e8: Preparing
10-Feb-2023 00:13:06 f52515928d2b: Preparing
10-Feb-2023 00:13:06 3bf15434582f: Preparing
10-Feb-2023 00:13:06 fce5b28a270c: Preparing
10-Feb-2023 00:13:06 0889049fe275: Preparing
10-Feb-2023 00:13:06 60de0bbda0ed: Preparing
10-Feb-2023 00:13:06 5f70bf18a086: Preparing
10-Feb-2023 00:13:06 b34b6277c81b: Preparing
10-Feb-2023 00:13:06 d0a6a0df9123: Preparing
10-Feb-2023 00:13:06 63bbdb3574ed: Preparing
10-Feb-2023 00:13:06 118873527352: Preparing
10-Feb-2023 00:13:06 3353ee3d6876: Preparing
10-Feb-2023 00:13:06 ab5b3452b7ed: Preparing
10-Feb-2023 00:13:06 34f73756f7aa: Preparing
10-Feb-2023 00:13:06 93d6620f79bb: Preparing
10-Feb-2023 00:13:06 be417e78cadd: Preparing
10-Feb-2023 00:13:06 647dc4000019: Preparing
10-Feb-2023 00:13:06 8c5ff259ef50: Preparing
10-Feb-2023 00:13:06 60de0bbda0ed: Waiting
10-Feb-2023 00:13:06 5f70bf18a086: Waiting
10-Feb-2023 00:13:06 d0a6a0df9123: Waiting
10-Feb-2023 00:13:06 63bbdb3574ed: Waiting
10-Feb-2023 00:13:06 118873527352: Waiting
10-Feb-2023 00:13:06 3353ee3d6876: Waiting
10-Feb-2023 00:13:06 ab5b3452b7ed: Waiting
10-Feb-2023 00:13:06 34f73756f7aa: Waiting
10-Feb-2023 00:13:06 93d6620f79bb: Waiting
10-Feb-2023 00:13:06 be417e78cadd: Waiting
10-Feb-2023 00:13:06 647dc4000019: Waiting
10-Feb-2023 00:13:06 8c5ff259ef50: Waiting
10-Feb-2023 00:13:06 b34b6277c81b: Waiting
10-Feb-2023 00:13:06 0889049fe275: Layer already exists
10-Feb-2023 00:13:06 3bf15434582f: Layer already exists
10-Feb-2023 00:13:06 fce5b28a270c: Layer already exists
10-Feb-2023 00:13:06 e0339b6b50e8: Layer already exists
10-Feb-2023 00:13:06 f52515928d2b: Layer already exists
10-Feb-2023 00:13:06 60de0bbda0ed: Layer already exists
10-Feb-2023 00:13:06 5f70bf18a086: Layer already exists
10-Feb-2023 00:13:06 b34b6277c81b: Layer already exists
10-Feb-2023 00:13:06 63bbdb3574ed: Layer already exists
10-Feb-2023 00:13:06 d0a6a0df9123: Layer already exists
10-Feb-2023 00:13:06 118873527352: Layer already exists
10-Feb-2023 00:13:06 3353ee3d6876: Layer already exists
10-Feb-2023 00:13:06 ab5b3452b7ed: Layer already exists
10-Feb-2023 00:13:06 34f73756f7aa: Layer already exists
10-Feb-2023 00:13:06 93d6620f79bb: Layer already exists
10-Feb-2023 00:13:07 be417e78cadd: Layer already exists
10-Feb-2023 00:13:07 647dc4000019: Layer already exists
10-Feb-2023 00:13:07 8c5ff259ef50: Layer already exists
10-Feb-2023 00:13:07 qa: digest: sha256:751f3e97aac032bfe2eda08ae01768d795300f6a759239c71f23b61697ee6d69 size: 4088
10-Feb-2023 00:13:07 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
10-Feb-2023 00:13:07 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
10-Feb-2023 00:13:08 Removing unused images if any
10-Feb-2023 00:13:08 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ...
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ...
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication-mysql ... done
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... already exists
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... waiting
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (100.0%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (0.7%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (0.5%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (21.5%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (1.1%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (16.2%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (40.3%)
10-Feb-2023 00:13:09 Pulling openmrs-referenceapplication       ... downloading (29.9%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (59.8%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (44.1%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (80.0%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (58.4%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (73.6%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (85.8%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (0.7%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... downloading (95.1%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... verifying checksum
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... download complete
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (16.0%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (35.4%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (58.3%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (79.1%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (99.2%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 00:13:10 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (0.5%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (17.7%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (38.0%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (54.7%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (69.9%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (86.6%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (99.8%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (3.0%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... pull complete
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... digest: sha256:751f3e97aac032bfe2...
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
10-Feb-2023 00:13:11 Pulling openmrs-referenceapplication       ... done
10-Feb-2023 00:13:11 Recreating all images and volumes
10-Feb-2023 00:13:12 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 00:13:12 Stopping qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 00:13:12 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 00:13:12 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 00:13:14 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 00:13:14 Removing qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 00:13:14 Removing network qa-refapp_default
10-Feb-2023 00:13:14 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
10-Feb-2023 00:13:15 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Feb-2023 00:13:15 Creating network "qa-refapp_default" with the default driver
10-Feb-2023 00:13:15 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
10-Feb-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Feb-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Feb-2023 00:13:15 Creating qa-refapp_openmrs-referenceapplication_1       ...
10-Feb-2023 00:13:16 Creating qa-refapp_openmrs-referenceapplication_1       ... done
10-Feb-2023 00:13:16 Verifying if docker containers 9b7ffd5aec23d8fdb1151e0fb4563299ac4c4c17387c8a4b682d578c28acf06b
10-Feb-2023 00:13:16 02d18daa3864e67148a9c5fca53d4495c95d18749d51d1147f16a52a0578780e are healthy
10-Feb-2023 00:13:16 Status found: "starting"
10-Feb-2023 00:13:16 Waiting 15s
10-Feb-2023 00:13:31 Verifying if docker containers 9b7ffd5aec23d8fdb1151e0fb4563299ac4c4c17387c8a4b682d578c28acf06b
10-Feb-2023 00:13:31 02d18daa3864e67148a9c5fca53d4495c95d18749d51d1147f16a52a0578780e are healthy
10-Feb-2023 00:13:31 Status found: "starting"
10-Feb-2023 00:13:31 Waiting 15s
10-Feb-2023 00:13:46 Verifying if docker containers 9b7ffd5aec23d8fdb1151e0fb4563299ac4c4c17387c8a4b682d578c28acf06b
10-Feb-2023 00:13:46 02d18daa3864e67148a9c5fca53d4495c95d18749d51d1147f16a52a0578780e are healthy
10-Feb-2023 00:13:46 Status found: "healthy"
10-Feb-2023 00:13:46 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
10-Feb-2023 00:13:46 Running post build plugin 'Docker Container Cleanup'
10-Feb-2023 00:13:46 Running post build plugin 'NCover Results Collector'
10-Feb-2023 00:13:46 Running post build plugin 'Build Results Label Collector'
10-Feb-2023 00:13:46 Running post build plugin 'Clover Results Collector'
10-Feb-2023 00:13:46 Running post build plugin 'npm Cache Cleanup'
10-Feb-2023 00:13:46 Running post build plugin 'Artifact Copier'
10-Feb-2023 00:13:46 Finalising the build...
10-Feb-2023 00:13:46 Stopping timer.
10-Feb-2023 00:13:46 Build REFAPP-OMODDISTRO-DTMTS-13460 completed.
10-Feb-2023 00:13:46 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Feb-2023 00:13:46 Running on server: post build plugin 'NCover Results Collector'
10-Feb-2023 00:13:46 Running on server: post build plugin 'Build Labeller'
10-Feb-2023 00:13:46 Running on server: post build plugin 'Clover Delta Calculator'
10-Feb-2023 00:13:46 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Feb-2023 00:13:46 All post build plugins have finished
10-Feb-2023 00:13:46 Generating build results summary...
10-Feb-2023 00:13:47 Saving build results to disk...
10-Feb-2023 00:13:47 Store variable context...
10-Feb-2023 00:13:47 Finished building REFAPP-OMODDISTRO-DTMTS-13460.