Deploys Reference Application SNAPSHOT to maven

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

18-Feb-2023 03:13:15 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13485 (REFAPP-OMODDISTRO-DTMTS-13485) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
18-Feb-2023 03:13:15 Remote agent on host xiao.openmrs.org
18-Feb-2023 03:13:15 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Feb-2023 03:13:15 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13485 (REFAPP-OMODDISTRO-DTMTS-13485)
18-Feb-2023 03:13:15 Running pre-build action: Build Log Labeller Pre Build Action
18-Feb-2023 03:13:15 Running pre-build action: VCS Version Collector
18-Feb-2023 03:13:15 Running pre-build action: Run Predator
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2983Mb  444Mb 00:13:57 /usr/lib/jvm/java-8-ope
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:03:12 /home/bamboo-agent/bamb
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:28 /sbin/init             
18-Feb-2023 03:13:15 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Initial free space: 2.840664 GB
18-Feb-2023 03:13:15 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
18-Feb-2023 03:13:16 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
18-Feb-2023 03:13:16 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
18-Feb-2023 03:13:16 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Final free space: 2.8723068 GB
18-Feb-2023 03:13:16 [PredatorPreBuildAction] Done
18-Feb-2023 03:13:16
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
18-Feb-2023 03:13:16
Substituting password variable: ${bamboo.dockerhub.password}
18-Feb-2023 03:13:16
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:16
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:16
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Feb-2023 03:13:16
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Feb-2023 03:13:16 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
18-Feb-2023 03:13:16
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13485 (REFAPP-OMODDISTRO-DTMTS-13485)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13485-ScriptBuildTask-1490242430433188927.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Feb-2023 03:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
18-Feb-2023 03:13:17 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
18-Feb-2023 03:13:17 Configure a credential helper to remove this warning. See
18-Feb-2023 03:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
18-Feb-2023 03:13:17
18-Feb-2023 03:13:17 Login Succeeded
18-Feb-2023 03:13:17 + docker pull openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:17 docker.io/openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b: Pulling from openmrs/openmrs-reference-application
18-Feb-2023 03:13:17 Digest: sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:17 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:17 docker.io/openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b
18-Feb-2023 03:13:17 + docker tag openmrs/openmrs-reference-application@sha256:8c7dfea1faf8d44a0ae43230317f6df0555f405d32bd7aa1db1f4a9616cb023b openmrs/openmrs-reference-application:qa
18-Feb-2023 03:13:17 + docker push openmrs/openmrs-reference-application:qa
18-Feb-2023 03:13:17 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
18-Feb-2023 03:13:17 9b0726516f34: Preparing
18-Feb-2023 03:13:17 9518a4551664: Preparing
18-Feb-2023 03:13:17 13619f31d467: Preparing
18-Feb-2023 03:13:17 3877b2efe10b: Preparing
18-Feb-2023 03:13:17 e4a92042edbd: Preparing
18-Feb-2023 03:13:17 60de0bbda0ed: Preparing
18-Feb-2023 03:13:17 5f70bf18a086: Preparing
18-Feb-2023 03:13:17 b34b6277c81b: Preparing
18-Feb-2023 03:13:17 d0a6a0df9123: Preparing
18-Feb-2023 03:13:17 63bbdb3574ed: Preparing
18-Feb-2023 03:13:17 118873527352: Preparing
18-Feb-2023 03:13:17 3353ee3d6876: Preparing
18-Feb-2023 03:13:17 ab5b3452b7ed: Preparing
18-Feb-2023 03:13:17 34f73756f7aa: Preparing
18-Feb-2023 03:13:17 93d6620f79bb: Preparing
18-Feb-2023 03:13:17 be417e78cadd: Preparing
18-Feb-2023 03:13:17 647dc4000019: Preparing
18-Feb-2023 03:13:17 8c5ff259ef50: Preparing
18-Feb-2023 03:13:17 3353ee3d6876: Waiting
18-Feb-2023 03:13:17 ab5b3452b7ed: Waiting
18-Feb-2023 03:13:17 34f73756f7aa: Waiting
18-Feb-2023 03:13:17 93d6620f79bb: Waiting
18-Feb-2023 03:13:17 be417e78cadd: Waiting
18-Feb-2023 03:13:17 647dc4000019: Waiting
18-Feb-2023 03:13:17 8c5ff259ef50: Waiting
18-Feb-2023 03:13:17 60de0bbda0ed: Waiting
18-Feb-2023 03:13:17 63bbdb3574ed: Waiting
18-Feb-2023 03:13:17 118873527352: Waiting
18-Feb-2023 03:13:17 b34b6277c81b: Waiting
18-Feb-2023 03:13:17 d0a6a0df9123: Waiting
18-Feb-2023 03:13:17 e4a92042edbd: Layer already exists
18-Feb-2023 03:13:17 9b0726516f34: Layer already exists
18-Feb-2023 03:13:17 13619f31d467: Layer already exists
18-Feb-2023 03:13:17 9518a4551664: Layer already exists
18-Feb-2023 03:13:17 3877b2efe10b: Layer already exists
18-Feb-2023 03:13:17 60de0bbda0ed: Layer already exists
18-Feb-2023 03:13:17 5f70bf18a086: Layer already exists
18-Feb-2023 03:13:17 b34b6277c81b: Layer already exists
18-Feb-2023 03:13:17 d0a6a0df9123: Layer already exists
18-Feb-2023 03:13:17 63bbdb3574ed: Layer already exists
18-Feb-2023 03:13:17 118873527352: Layer already exists
18-Feb-2023 03:13:17 3353ee3d6876: Layer already exists
18-Feb-2023 03:13:17 ab5b3452b7ed: Layer already exists
18-Feb-2023 03:13:17 34f73756f7aa: Layer already exists
18-Feb-2023 03:13:18 93d6620f79bb: Layer already exists
18-Feb-2023 03:13:18 be417e78cadd: Layer already exists
18-Feb-2023 03:13:18 647dc4000019: Layer already exists
18-Feb-2023 03:13:18 8c5ff259ef50: Layer already exists
18-Feb-2023 03:13:18 qa: digest: sha256:b733be433a60fc1608113460c8d2bc7bf7315e4c06c89ee2cb025dd967c8a901 size: 4088
18-Feb-2023 03:13:18 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
18-Feb-2023 03:13:18 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
18-Feb-2023 03:13:19 Removing unused images if any
18-Feb-2023 03:13:19 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 03:13:19 Pulling openmrs-referenceapplication-mysql ...
18-Feb-2023 03:13:19 Pulling openmrs-referenceapplication       ...
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication-mysql ... done
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... waiting
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (100.0%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (0.5%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (0.7%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (21.5%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (15.2%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (1.1%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (37.6%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (26.5%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (42.7%)
18-Feb-2023 03:13:20 Pulling openmrs-referenceapplication       ... downloading (60.4%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... downloading (59.3%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... downloading (83.2%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... downloading (77.5%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... downloading (91.7%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (0.7%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (22.2%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (47.9%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (72.9%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (97.8%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (0.5%)
18-Feb-2023 03:13:21 Pulling openmrs-referenceapplication       ... extracting (18.2%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (33.9%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (53.7%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (70.9%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (91.2%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (3.0%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... digest: sha256:b733be433a60fc1608...
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
18-Feb-2023 03:13:22 Pulling openmrs-referenceapplication       ... done
18-Feb-2023 03:13:22 Recreating all images and volumes
18-Feb-2023 03:13:22 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 03:13:22 Stopping qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 03:13:22 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 03:13:23 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 03:13:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 03:13:25 Removing qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 03:13:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 03:13:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 03:13:25 Removing qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 03:13:25 Removing network qa-refapp_default
18-Feb-2023 03:13:25 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
18-Feb-2023 03:13:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 03:13:25 Creating network "qa-refapp_default" with the default driver
18-Feb-2023 03:13:25 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
18-Feb-2023 03:13:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 03:13:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 03:13:26 Creating qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 03:13:27 Creating qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 03:13:27 Verifying if docker containers 32995207f4ff76588f5d921d9e172b0bbf46e97e36b0822e4460f4dd7d9cca82
18-Feb-2023 03:13:27 9408bd9de0c01c3198ed9a8144f689fbca67679f0a7e97ae82c324e8011e9c40 are healthy
18-Feb-2023 03:13:27 Status found: "starting"
18-Feb-2023 03:13:27 Waiting 15s
18-Feb-2023 03:13:42 Verifying if docker containers 32995207f4ff76588f5d921d9e172b0bbf46e97e36b0822e4460f4dd7d9cca82
18-Feb-2023 03:13:42 9408bd9de0c01c3198ed9a8144f689fbca67679f0a7e97ae82c324e8011e9c40 are healthy
18-Feb-2023 03:13:42 Status found: "starting"
18-Feb-2023 03:13:42 Waiting 15s
18-Feb-2023 03:13:57 Verifying if docker containers 32995207f4ff76588f5d921d9e172b0bbf46e97e36b0822e4460f4dd7d9cca82
18-Feb-2023 03:13:57 9408bd9de0c01c3198ed9a8144f689fbca67679f0a7e97ae82c324e8011e9c40 are healthy
18-Feb-2023 03:13:57 Status found: "healthy"
18-Feb-2023 03:13:57 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
18-Feb-2023 03:13:57 Running post build plugin 'Docker Container Cleanup'
18-Feb-2023 03:13:57 Running post build plugin 'NCover Results Collector'
18-Feb-2023 03:13:57 Running post build plugin 'Build Results Label Collector'
18-Feb-2023 03:13:57 Running post build plugin 'Clover Results Collector'
18-Feb-2023 03:13:57 Running post build plugin 'npm Cache Cleanup'
18-Feb-2023 03:13:57 Running post build plugin 'Artifact Copier'
18-Feb-2023 03:13:57 Finalising the build...
18-Feb-2023 03:13:57 Stopping timer.
18-Feb-2023 03:13:57 Build REFAPP-OMODDISTRO-DTMTS-13485 completed.
18-Feb-2023 03:13:57 Running on server: post build plugin 'Build Hanging Detection Configuration'
18-Feb-2023 03:13:57 Running on server: post build plugin 'NCover Results Collector'
18-Feb-2023 03:13:57 Running on server: post build plugin 'Build Labeller'
18-Feb-2023 03:13:57 Running on server: post build plugin 'Clover Delta Calculator'
18-Feb-2023 03:13:57 Running on server: post build plugin 'Maven Dependencies Postprocessor'
18-Feb-2023 03:13:57 All post build plugins have finished
18-Feb-2023 03:13:57 Generating build results summary...
18-Feb-2023 03:13:57 Saving build results to disk...
18-Feb-2023 03:13:57 Store variable context...
18-Feb-2023 03:13:57 Finished building REFAPP-OMODDISTRO-DTMTS-13485.