Deploys Reference Application SNAPSHOT to maven

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

15-Feb-2023 03:13:32 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13475 (REFAPP-OMODDISTRO-DTMTS-13475) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
15-Feb-2023 03:13:32 Remote agent on host yu.openmrs.org
15-Feb-2023 03:13:32 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Feb-2023 03:13:32 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13475 (REFAPP-OMODDISTRO-DTMTS-13475)
15-Feb-2023 03:13:32 Running pre-build action: Build Log Labeller Pre Build Action
15-Feb-2023 03:13:32 Running pre-build action: VCS Version Collector
15-Feb-2023 03:13:32 Running pre-build action: Run Predator
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2961Mb  368Mb 00:05:19 /usr/lib/jvm/java-8-ope
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:01:15 /home/bamboo-agent/bamb
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:15 /sbin/init             
15-Feb-2023 03:13:32 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Initial free space: 2.781231 GB
15-Feb-2023 03:13:32 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Feb-2023 03:13:37 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Maven stable disk freed: 0.44616094 GB, deleted 118 files
15-Feb-2023 03:13:37 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
15-Feb-2023 03:13:37 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Final free space: 2.8128815 GB
15-Feb-2023 03:13:37 [PredatorPreBuildAction] Done
15-Feb-2023 03:13:37
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
15-Feb-2023 03:13:37
Substituting password variable: ${bamboo.dockerhub.password}
15-Feb-2023 03:13:37
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:37
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:37
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Feb-2023 03:13:37
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Feb-2023 03:13:37 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
15-Feb-2023 03:13:37
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13475 (REFAPP-OMODDISTRO-DTMTS-13475)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13475-ScriptBuildTask-3933766921199145790.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Feb-2023 03:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
15-Feb-2023 03:13:37 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
15-Feb-2023 03:13:37 Configure a credential helper to remove this warning. See
15-Feb-2023 03:13:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
15-Feb-2023 03:13:37
15-Feb-2023 03:13:37 Login Succeeded
15-Feb-2023 03:13:37 + docker pull openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:37 docker.io/openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68: Pulling from openmrs/openmrs-reference-application
15-Feb-2023 03:13:38 Digest: sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:38 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:38 docker.io/openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68
15-Feb-2023 03:13:38 + docker tag openmrs/openmrs-reference-application@sha256:18511162192dd580ba8db75c04eef0dd92b8746733187efb09f1694b51ca0b68 openmrs/openmrs-reference-application:qa
15-Feb-2023 03:13:38 + docker push openmrs/openmrs-reference-application:qa
15-Feb-2023 03:13:38 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
15-Feb-2023 03:13:38 16be8b25a45a: Preparing
15-Feb-2023 03:13:38 02b87913285b: Preparing
15-Feb-2023 03:13:38 f6f68a6e4013: Preparing
15-Feb-2023 03:13:38 52a50d8ee87e: Preparing
15-Feb-2023 03:13:38 9f732191ac63: Preparing
15-Feb-2023 03:13:38 60de0bbda0ed: Preparing
15-Feb-2023 03:13:38 5f70bf18a086: Preparing
15-Feb-2023 03:13:38 b34b6277c81b: Preparing
15-Feb-2023 03:13:38 d0a6a0df9123: Preparing
15-Feb-2023 03:13:38 63bbdb3574ed: Preparing
15-Feb-2023 03:13:38 118873527352: Preparing
15-Feb-2023 03:13:38 3353ee3d6876: Preparing
15-Feb-2023 03:13:38 ab5b3452b7ed: Preparing
15-Feb-2023 03:13:38 34f73756f7aa: Preparing
15-Feb-2023 03:13:38 93d6620f79bb: Preparing
15-Feb-2023 03:13:38 be417e78cadd: Preparing
15-Feb-2023 03:13:38 647dc4000019: Preparing
15-Feb-2023 03:13:38 8c5ff259ef50: Preparing
15-Feb-2023 03:13:38 63bbdb3574ed: Waiting
15-Feb-2023 03:13:38 118873527352: Waiting
15-Feb-2023 03:13:38 3353ee3d6876: Waiting
15-Feb-2023 03:13:38 ab5b3452b7ed: Waiting
15-Feb-2023 03:13:38 34f73756f7aa: Waiting
15-Feb-2023 03:13:38 93d6620f79bb: Waiting
15-Feb-2023 03:13:38 be417e78cadd: Waiting
15-Feb-2023 03:13:38 647dc4000019: Waiting
15-Feb-2023 03:13:38 8c5ff259ef50: Waiting
15-Feb-2023 03:13:38 60de0bbda0ed: Waiting
15-Feb-2023 03:13:38 5f70bf18a086: Waiting
15-Feb-2023 03:13:38 b34b6277c81b: Waiting
15-Feb-2023 03:13:38 d0a6a0df9123: Waiting
15-Feb-2023 03:13:38 9f732191ac63: Layer already exists
15-Feb-2023 03:13:38 52a50d8ee87e: Layer already exists
15-Feb-2023 03:13:38 02b87913285b: Layer already exists
15-Feb-2023 03:13:38 16be8b25a45a: Layer already exists
15-Feb-2023 03:13:38 f6f68a6e4013: Layer already exists
15-Feb-2023 03:13:38 60de0bbda0ed: Layer already exists
15-Feb-2023 03:13:38 5f70bf18a086: Layer already exists
15-Feb-2023 03:13:38 b34b6277c81b: Layer already exists
15-Feb-2023 03:13:38 63bbdb3574ed: Layer already exists
15-Feb-2023 03:13:38 d0a6a0df9123: Layer already exists
15-Feb-2023 03:13:38 118873527352: Layer already exists
15-Feb-2023 03:13:38 3353ee3d6876: Layer already exists
15-Feb-2023 03:13:38 ab5b3452b7ed: Layer already exists
15-Feb-2023 03:13:38 93d6620f79bb: Layer already exists
15-Feb-2023 03:13:38 34f73756f7aa: Layer already exists
15-Feb-2023 03:13:38 be417e78cadd: Layer already exists
15-Feb-2023 03:13:38 647dc4000019: Layer already exists
15-Feb-2023 03:13:38 8c5ff259ef50: Layer already exists
15-Feb-2023 03:13:39 qa: digest: sha256:63516892135d20a2eeee95a25bc9d6e53e150ce4231a8026bd2fd87d16e1753f size: 4088
15-Feb-2023 03:13:39 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
15-Feb-2023 03:13:39 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
15-Feb-2023 03:13:40 Removing unused images if any
15-Feb-2023 03:13:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication-mysql ...
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication       ...
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
15-Feb-2023 03:13:40 Pulling openmrs-referenceapplication-mysql ... done
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... already exists
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... waiting
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (100.0%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... download complete
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (0.5%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (0.7%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (20.8%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (1.1%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (14.2%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... verifying checksum
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... download complete
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (41.0%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (27.0%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (60.5%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (41.2%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (79.3%)
15-Feb-2023 03:13:41 Pulling openmrs-referenceapplication       ... downloading (54.9%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (96.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (68.2%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... download complete
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (82.9%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (0.7%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (94.6%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (16.7%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... downloading (100.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... verifying checksum
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... download complete
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (36.8%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (59.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (88.8%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... pull complete
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... pull complete
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (0.5%)
15-Feb-2023 03:13:42 Pulling openmrs-referenceapplication       ... extracting (18.7%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (39.5%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (59.8%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (77.5%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (93.2%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pull complete
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (3.0%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... pull complete
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... digest: sha256:63516892135d20a2ee...
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
15-Feb-2023 03:13:43 Pulling openmrs-referenceapplication       ... done
15-Feb-2023 03:13:43 Recreating all images and volumes
15-Feb-2023 03:13:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Feb-2023 03:13:43 Stopping qa-refapp_openmrs-referenceapplication_1       ...
15-Feb-2023 03:13:43 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Feb-2023 03:13:44 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
15-Feb-2023 03:13:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Feb-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication_1       ...
15-Feb-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Feb-2023 03:13:46 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Feb-2023 03:13:47 Removing qa-refapp_openmrs-referenceapplication_1       ... done
15-Feb-2023 03:13:47 Removing network qa-refapp_default
15-Feb-2023 03:13:47 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
15-Feb-2023 03:13:47 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Feb-2023 03:13:47 Creating network "qa-refapp_default" with the default driver
15-Feb-2023 03:13:47 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
15-Feb-2023 03:13:47 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Feb-2023 03:13:48 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Feb-2023 03:13:48 Creating qa-refapp_openmrs-referenceapplication_1       ...
15-Feb-2023 03:13:48 Creating qa-refapp_openmrs-referenceapplication_1       ... done
15-Feb-2023 03:13:49 Verifying if docker containers 4a1a0ab180cca334fe0bd3111c137aeb31f059fa0c6bb0f885527ed3e9b2e6d8
15-Feb-2023 03:13:49 5007fd37c2b583d98238d8c6f4c57172dbc8eed00b8d43172e9dfa19953ba7b1 are healthy
15-Feb-2023 03:13:49 Status found: "starting"
15-Feb-2023 03:13:49 Waiting 15s
15-Feb-2023 03:14:04 Verifying if docker containers 4a1a0ab180cca334fe0bd3111c137aeb31f059fa0c6bb0f885527ed3e9b2e6d8
15-Feb-2023 03:14:04 5007fd37c2b583d98238d8c6f4c57172dbc8eed00b8d43172e9dfa19953ba7b1 are healthy
15-Feb-2023 03:14:04 Status found: "starting"
15-Feb-2023 03:14:04 Waiting 15s
15-Feb-2023 03:14:19 Verifying if docker containers 4a1a0ab180cca334fe0bd3111c137aeb31f059fa0c6bb0f885527ed3e9b2e6d8
15-Feb-2023 03:14:19 5007fd37c2b583d98238d8c6f4c57172dbc8eed00b8d43172e9dfa19953ba7b1 are healthy
15-Feb-2023 03:14:19 Status found: "healthy"
15-Feb-2023 03:14:19 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
15-Feb-2023 03:14:19 Running post build plugin 'Docker Container Cleanup'
15-Feb-2023 03:14:19 Running post build plugin 'NCover Results Collector'
15-Feb-2023 03:14:19 Running post build plugin 'Build Results Label Collector'
15-Feb-2023 03:14:19 Running post build plugin 'Clover Results Collector'
15-Feb-2023 03:14:19 Running post build plugin 'npm Cache Cleanup'
15-Feb-2023 03:14:19 Running post build plugin 'Artifact Copier'
15-Feb-2023 03:14:19 Finalising the build...
15-Feb-2023 03:14:19 Stopping timer.
15-Feb-2023 03:14:19 Build REFAPP-OMODDISTRO-DTMTS-13475 completed.
15-Feb-2023 03:14:19 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Feb-2023 03:14:19 Running on server: post build plugin 'NCover Results Collector'
15-Feb-2023 03:14:19 Running on server: post build plugin 'Build Labeller'
15-Feb-2023 03:14:19 Running on server: post build plugin 'Clover Delta Calculator'
15-Feb-2023 03:14:19 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Feb-2023 03:14:19 All post build plugins have finished
15-Feb-2023 03:14:19 Generating build results summary...
15-Feb-2023 03:14:19 Saving build results to disk...
15-Feb-2023 03:14:19 Store variable context...
15-Feb-2023 03:14:19 Finished building REFAPP-OMODDISTRO-DTMTS-13475.