Deploys Reference Application SNAPSHOT to maven

Build: #13503 failed

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.

23-Feb-2023 03:15:07 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13503 (REFAPP-OMODDISTRO-DTMTS-13503) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
23-Feb-2023 03:15:07 Remote agent on host yu.openmrs.org
23-Feb-2023 03:15:07 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 03:15:07 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13503 (REFAPP-OMODDISTRO-DTMTS-13503)
23-Feb-2023 03:15:07 Running pre-build action: Build Log Labeller Pre Build Action
23-Feb-2023 03:15:07 Running pre-build action: VCS Version Collector
23-Feb-2023 03:15:07 Running pre-build action: Run Predator
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2974Mb  580Mb 00:18:15 /usr/lib/jvm/java-8-ope
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:04:48 /home/bamboo-agent/bamb
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:41 /sbin/init             
23-Feb-2023 03:15:07 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Initial free space: 2.8277512 GB
23-Feb-2023 03:15:07 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Feb-2023 03:15:12 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
23-Feb-2023 03:15:12 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Feb-2023 03:15:12 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Final free space: 2.8594131 GB
23-Feb-2023 03:15:12 [PredatorPreBuildAction] Done
23-Feb-2023 03:15:12
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Feb-2023 03:15:12
Substituting password variable: ${bamboo.dockerhub.password}
23-Feb-2023 03:15:12
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 03:15:12
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Feb-2023 03:15:12 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Feb-2023 03:15:12
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13503 (REFAPP-OMODDISTRO-DTMTS-13503)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13503-ScriptBuildTask-4003664930304948235.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Feb-2023 03:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Feb-2023 03:15:12 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Feb-2023 03:15:12 Configure a credential helper to remove this warning. See
23-Feb-2023 03:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Feb-2023 03:15:12 Login Succeeded
23-Feb-2023 03:15:12
23-Feb-2023 03:15:12 + docker pull openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12 docker.io/openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244: Pulling from openmrs/openmrs-reference-application
23-Feb-2023 03:15:12 Digest: sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12 docker.io/openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244
23-Feb-2023 03:15:12 + docker tag openmrs/openmrs-reference-application@sha256:c6b85420f3124f9e55ba356301a41f3754812ae1943bc174724d0c7825a47244 openmrs/openmrs-reference-application:qa
23-Feb-2023 03:15:12 + docker push openmrs/openmrs-reference-application:qa
23-Feb-2023 03:15:12 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Feb-2023 03:15:12 c7d9e0d0a20d: Preparing
23-Feb-2023 03:15:12 1f46a1cfae96: Preparing
23-Feb-2023 03:15:12 3a7f78857d95: Preparing
23-Feb-2023 03:15:12 09a9af565859: Preparing
23-Feb-2023 03:15:12 e4a92042edbd: Preparing
23-Feb-2023 03:15:12 60de0bbda0ed: Preparing
23-Feb-2023 03:15:12 5f70bf18a086: Preparing
23-Feb-2023 03:15:12 b34b6277c81b: Preparing
23-Feb-2023 03:15:12 d0a6a0df9123: Preparing
23-Feb-2023 03:15:12 63bbdb3574ed: Preparing
23-Feb-2023 03:15:12 118873527352: Preparing
23-Feb-2023 03:15:12 3353ee3d6876: Preparing
23-Feb-2023 03:15:12 ab5b3452b7ed: Preparing
23-Feb-2023 03:15:12 34f73756f7aa: Preparing
23-Feb-2023 03:15:12 93d6620f79bb: Preparing
23-Feb-2023 03:15:12 be417e78cadd: Preparing
23-Feb-2023 03:15:12 647dc4000019: Preparing
23-Feb-2023 03:15:12 8c5ff259ef50: Preparing
23-Feb-2023 03:15:12 60de0bbda0ed: Waiting
23-Feb-2023 03:15:12 5f70bf18a086: Waiting
23-Feb-2023 03:15:12 b34b6277c81b: Waiting
23-Feb-2023 03:15:12 d0a6a0df9123: Waiting
23-Feb-2023 03:15:12 63bbdb3574ed: Waiting
23-Feb-2023 03:15:12 118873527352: Waiting
23-Feb-2023 03:15:12 3353ee3d6876: Waiting
23-Feb-2023 03:15:12 ab5b3452b7ed: Waiting
23-Feb-2023 03:15:12 34f73756f7aa: Waiting
23-Feb-2023 03:15:12 93d6620f79bb: Waiting
23-Feb-2023 03:15:12 be417e78cadd: Waiting
23-Feb-2023 03:15:12 647dc4000019: Waiting
23-Feb-2023 03:15:12 8c5ff259ef50: Waiting
23-Feb-2023 03:15:13 e4a92042edbd: Layer already exists
23-Feb-2023 03:15:13 3a7f78857d95: Layer already exists
23-Feb-2023 03:15:13 09a9af565859: Layer already exists
23-Feb-2023 03:15:13 1f46a1cfae96: Layer already exists
23-Feb-2023 03:15:13 c7d9e0d0a20d: Layer already exists
23-Feb-2023 03:15:13 60de0bbda0ed: Layer already exists
23-Feb-2023 03:15:13 5f70bf18a086: Layer already exists
23-Feb-2023 03:15:13 d0a6a0df9123: Layer already exists
23-Feb-2023 03:15:13 b34b6277c81b: Layer already exists
23-Feb-2023 03:15:13 63bbdb3574ed: Layer already exists
23-Feb-2023 03:15:13 118873527352: Layer already exists
23-Feb-2023 03:15:13 3353ee3d6876: Layer already exists
23-Feb-2023 03:15:13 ab5b3452b7ed: Layer already exists
23-Feb-2023 03:15:13 93d6620f79bb: Layer already exists
23-Feb-2023 03:15:13 34f73756f7aa: Layer already exists
23-Feb-2023 03:15:13 be417e78cadd: Layer already exists
23-Feb-2023 03:15:13 647dc4000019: Layer already exists
23-Feb-2023 03:15:13 8c5ff259ef50: Layer already exists
23-Feb-2023 03:15:13 qa: digest: sha256:0368bf89285086a670a3dabfd1bc25c5ad5bf4133d2717049d67cd6c0e107e54 size: 4088
23-Feb-2023 03:15:13 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Feb-2023 03:15:13 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Feb-2023 03:15:14 Removing unused images if any
23-Feb-2023 03:15:15 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication-mysql ...
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ...
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication-mysql ... done
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... already exists
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... waiting
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (95.8%)
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Feb-2023 03:15:15 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (28.7%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (21.1%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (52.6%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (38.3%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (76.5%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (55.4%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (98.3%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (71.1%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (84.9%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... downloading (99.1%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... verifying checksum
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... download complete
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (20.5%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (41.6%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (70.5%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (96.6%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 03:15:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (18.2%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (38.0%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (52.7%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (69.4%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (86.6%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (99.3%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... pull complete
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... digest: sha256:0368bf89285086a670...
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Feb-2023 03:15:17 Pulling openmrs-referenceapplication       ... done
23-Feb-2023 03:15:17 Recreating all images and volumes
23-Feb-2023 03:15:18 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 03:15:18 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 03:15:18 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 03:15:18 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 03:15:20 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 03:15:20 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 03:15:20 Removing network qa-refapp_default
23-Feb-2023 03:15:20 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Feb-2023 03:15:20 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Feb-2023 03:15:21 Creating network "qa-refapp_default" with the default driver
23-Feb-2023 03:15:21 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Feb-2023 03:15:21 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Feb-2023 03:15:22 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Feb-2023 03:15:22 Verifying if docker containers 81e62d77bb190e3e93d996a1273b253261908278d19403d2b7d45f85b2bbb95f
23-Feb-2023 03:15:22 1d75684ccb97b20cd38d7588d921aee077caaa4affd7cfa35e517cdc77972fb8 are healthy
23-Feb-2023 03:15:22 Status found: "starting"
23-Feb-2023 03:15:22 Waiting 15s
23-Feb-2023 03:15:37 Verifying if docker containers 81e62d77bb190e3e93d996a1273b253261908278d19403d2b7d45f85b2bbb95f
23-Feb-2023 03:15:37 1d75684ccb97b20cd38d7588d921aee077caaa4affd7cfa35e517cdc77972fb8 are healthy
23-Feb-2023 03:15:37 Status found: "starting"
23-Feb-2023 03:15:37 Waiting 15s
23-Feb-2023 03:15:52 Verifying if docker containers 81e62d77bb190e3e93d996a1273b253261908278d19403d2b7d45f85b2bbb95f
23-Feb-2023 03:15:52 1d75684ccb97b20cd38d7588d921aee077caaa4affd7cfa35e517cdc77972fb8 are healthy
23-Feb-2023 03:15:52 Status found: "healthy"
23-Feb-2023 03:15:52 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Feb-2023 03:15:52 Running post build plugin 'Docker Container Cleanup'
23-Feb-2023 03:15:52 Running post build plugin 'NCover Results Collector'
23-Feb-2023 03:15:52 Running post build plugin 'Build Results Label Collector'
23-Feb-2023 03:15:52 Running post build plugin 'Clover Results Collector'
23-Feb-2023 03:15:52 Running post build plugin 'npm Cache Cleanup'
23-Feb-2023 03:15:52 Running post build plugin 'Artifact Copier'
23-Feb-2023 03:15:52 Finalising the build...
23-Feb-2023 03:15:52 Stopping timer.
23-Feb-2023 03:15:52 Build REFAPP-OMODDISTRO-DTMTS-13503 completed.
23-Feb-2023 03:15:52 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Feb-2023 03:15:52 Running on server: post build plugin 'NCover Results Collector'
23-Feb-2023 03:15:52 Running on server: post build plugin 'Build Labeller'
23-Feb-2023 03:15:52 Running on server: post build plugin 'Clover Delta Calculator'
23-Feb-2023 03:15:52 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Feb-2023 03:15:52 All post build plugins have finished
23-Feb-2023 03:15:52 Generating build results summary...
23-Feb-2023 03:15:52 Saving build results to disk...
23-Feb-2023 03:15:52 Store variable context...
23-Feb-2023 03:15:52 Finished building REFAPP-OMODDISTRO-DTMTS-13503.