Deploys Reference Application SNAPSHOT to maven

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

26-Jan-2023 03:13:22 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13420 (REFAPP-OMODDISTRO-DTMTS-13420) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
26-Jan-2023 03:13:22 Remote agent on host yu.openmrs.org
26-Jan-2023 03:13:22 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 03:13:22 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13420 (REFAPP-OMODDISTRO-DTMTS-13420)
26-Jan-2023 03:13:22 Running pre-build action: Build Log Labeller Pre Build Action
26-Jan-2023 03:13:22 Running pre-build action: VCS Version Collector
26-Jan-2023 03:13:22 Running pre-build action: Run Predator
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2979Mb  586Mb 00:18:37 /usr/lib/jvm/java-8-ope
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:04:46 /home/bamboo-agent/bamb
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:55 /sbin/init             
26-Jan-2023 03:13:22 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Initial free space: 3.182907 GB
26-Jan-2023 03:13:22 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
26-Jan-2023 03:13:26 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
26-Jan-2023 03:13:26 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Jan-2023 03:13:26 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Jan-2023 03:13:27 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
26-Jan-2023 03:13:27 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Jan-2023 03:13:27 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Jan-2023 03:13:27 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Jan-2023 03:13:27 [PredatorPreBuildAction] Final free space: 3.21455 GB
26-Jan-2023 03:13:27 [PredatorPreBuildAction] Done
26-Jan-2023 03:13:27
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Jan-2023 03:13:27
Substituting password variable: ${bamboo.dockerhub.password}
26-Jan-2023 03:13:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 03:13:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 03:13:27 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Jan-2023 03:13:27
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13420 (REFAPP-OMODDISTRO-DTMTS-13420)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13420-ScriptBuildTask-4284343541537034281.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 03:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Jan-2023 03:13:27 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Jan-2023 03:13:27 Configure a credential helper to remove this warning. See
26-Jan-2023 03:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Jan-2023 03:13:27
26-Jan-2023 03:13:27 Login Succeeded
26-Jan-2023 03:13:27 + docker pull openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27 docker.io/openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7: Pulling from openmrs/openmrs-reference-application
26-Jan-2023 03:13:27 Digest: sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27 docker.io/openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7
26-Jan-2023 03:13:27 + docker tag openmrs/openmrs-reference-application@sha256:f579bda98af41fa2de9185ed3f14d82f954833d3201d181475e2ac7c4e5327f7 openmrs/openmrs-reference-application:qa
26-Jan-2023 03:13:27 + docker push openmrs/openmrs-reference-application:qa
26-Jan-2023 03:13:27 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
26-Jan-2023 03:13:27 af5df25a4aae: Preparing
26-Jan-2023 03:13:27 80b8bb5a2dba: Preparing
26-Jan-2023 03:13:27 9aa6ca996802: Preparing
26-Jan-2023 03:13:27 13bd2b6788cb: Preparing
26-Jan-2023 03:13:27 3d5993161794: Preparing
26-Jan-2023 03:13:27 2ec6c750737f: Preparing
26-Jan-2023 03:13:27 5f70bf18a086: Preparing
26-Jan-2023 03:13:27 a68cbd9ca972: Preparing
26-Jan-2023 03:13:27 2ab24f51c5e7: Preparing
26-Jan-2023 03:13:27 9ad199278f60: Preparing
26-Jan-2023 03:13:27 e51bba17124f: Preparing
26-Jan-2023 03:13:27 1b590cb48856: Preparing
26-Jan-2023 03:13:27 a770a911f4d6: Preparing
26-Jan-2023 03:13:27 3849ed63b27b: Preparing
26-Jan-2023 03:13:27 79c8be4f139b: Preparing
26-Jan-2023 03:13:27 4dd9ecd71792: Preparing
26-Jan-2023 03:13:27 c0541c31ac17: Preparing
26-Jan-2023 03:13:27 3f800aca2a44: Preparing
26-Jan-2023 03:13:27 2ec6c750737f: Waiting
26-Jan-2023 03:13:27 5f70bf18a086: Waiting
26-Jan-2023 03:13:27 a68cbd9ca972: Waiting
26-Jan-2023 03:13:27 2ab24f51c5e7: Waiting
26-Jan-2023 03:13:27 9ad199278f60: Waiting
26-Jan-2023 03:13:27 e51bba17124f: Waiting
26-Jan-2023 03:13:27 1b590cb48856: Waiting
26-Jan-2023 03:13:27 a770a911f4d6: Waiting
26-Jan-2023 03:13:27 3849ed63b27b: Waiting
26-Jan-2023 03:13:27 79c8be4f139b: Waiting
26-Jan-2023 03:13:27 4dd9ecd71792: Waiting
26-Jan-2023 03:13:27 c0541c31ac17: Waiting
26-Jan-2023 03:13:27 3f800aca2a44: Waiting
26-Jan-2023 03:13:27 af5df25a4aae: Layer already exists
26-Jan-2023 03:13:27 13bd2b6788cb: Layer already exists
26-Jan-2023 03:13:27 9aa6ca996802: Layer already exists
26-Jan-2023 03:13:27 80b8bb5a2dba: Layer already exists
26-Jan-2023 03:13:27 3d5993161794: Layer already exists
26-Jan-2023 03:13:28 2ec6c750737f: Layer already exists
26-Jan-2023 03:13:28 5f70bf18a086: Layer already exists
26-Jan-2023 03:13:28 a68cbd9ca972: Layer already exists
26-Jan-2023 03:13:28 2ab24f51c5e7: Layer already exists
26-Jan-2023 03:13:28 9ad199278f60: Layer already exists
26-Jan-2023 03:13:28 e51bba17124f: Layer already exists
26-Jan-2023 03:13:28 1b590cb48856: Layer already exists
26-Jan-2023 03:13:28 a770a911f4d6: Layer already exists
26-Jan-2023 03:13:28 3849ed63b27b: Layer already exists
26-Jan-2023 03:13:28 79c8be4f139b: Layer already exists
26-Jan-2023 03:13:28 4dd9ecd71792: Layer already exists
26-Jan-2023 03:13:28 c0541c31ac17: Layer already exists
26-Jan-2023 03:13:28 3f800aca2a44: Layer already exists
26-Jan-2023 03:13:28 qa: digest: sha256:1ac76f3c84721ceee61d507ec6bd59e2fcb314998807a4600da28c044cdaea64 size: 4088
26-Jan-2023 03:13:28 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
26-Jan-2023 03:13:28 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
26-Jan-2023 03:13:29 Removing unused images if any
26-Jan-2023 03:13:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication-mysql ...
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ...
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication-mysql ... done
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... waiting
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (0.5%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (0.7%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (16.2%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (1.1%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... downloading (20.8%)
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 03:13:30 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (31.4%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (41.6%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (40.7%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (53.0%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (53.9%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (73.8%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (67.2%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (95.4%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (82.4%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (0.7%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... downloading (96.6%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (22.9%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (47.9%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (68.7%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (90.9%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 03:13:31 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (0.5%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (11.1%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (22.3%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (38.5%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (55.7%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (70.9%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (88.6%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 03:13:32 Pulling openmrs-referenceapplication       ... extracting (3.0%)
26-Jan-2023 03:13:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 03:13:33 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 03:13:33 Pulling openmrs-referenceapplication       ... digest: sha256:1ac76f3c84721ceee6...
26-Jan-2023 03:13:33 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
26-Jan-2023 03:13:33 Pulling openmrs-referenceapplication       ... done
26-Jan-2023 03:13:33 Recreating all images and volumes
26-Jan-2023 03:13:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 03:13:33 Stopping qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 03:13:33 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 03:13:33 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 03:13:36 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 03:13:36 Removing qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 03:13:36 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 03:13:36 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 03:13:36 Removing qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 03:13:36 Removing network qa-refapp_default
26-Jan-2023 03:13:36 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
26-Jan-2023 03:13:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 03:13:36 Creating network "qa-refapp_default" with the default driver
26-Jan-2023 03:13:37 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
26-Jan-2023 03:13:37 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 03:13:37 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 03:13:37 Creating qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 03:13:38 Creating qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 03:13:38 Verifying if docker containers 31bc6349a91404832e8e20e0960fcd5db71e9fea63b062131119fb6da240b46a
26-Jan-2023 03:13:38 37869744a83ab6ec7cbae62630cdc6a99e9a952abde3147bec1898e8d1eff931 are healthy
26-Jan-2023 03:13:38 Status found: "starting"
26-Jan-2023 03:13:38 Waiting 15s
26-Jan-2023 03:13:53 Verifying if docker containers 31bc6349a91404832e8e20e0960fcd5db71e9fea63b062131119fb6da240b46a
26-Jan-2023 03:13:53 37869744a83ab6ec7cbae62630cdc6a99e9a952abde3147bec1898e8d1eff931 are healthy
26-Jan-2023 03:13:53 Status found: "starting"
26-Jan-2023 03:13:53 Waiting 15s
26-Jan-2023 03:14:08 Verifying if docker containers 31bc6349a91404832e8e20e0960fcd5db71e9fea63b062131119fb6da240b46a
26-Jan-2023 03:14:08 37869744a83ab6ec7cbae62630cdc6a99e9a952abde3147bec1898e8d1eff931 are healthy
26-Jan-2023 03:14:08 Status found: "healthy"
26-Jan-2023 03:14:08 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
26-Jan-2023 03:14:08 Running post build plugin 'Docker Container Cleanup'
26-Jan-2023 03:14:08 Running post build plugin 'NCover Results Collector'
26-Jan-2023 03:14:08 Running post build plugin 'Build Results Label Collector'
26-Jan-2023 03:14:08 Running post build plugin 'Clover Results Collector'
26-Jan-2023 03:14:08 Running post build plugin 'npm Cache Cleanup'
26-Jan-2023 03:14:08 Running post build plugin 'Artifact Copier'
26-Jan-2023 03:14:08 Finalising the build...
26-Jan-2023 03:14:08 Stopping timer.
26-Jan-2023 03:14:08 Build REFAPP-OMODDISTRO-DTMTS-13420 completed.
26-Jan-2023 03:14:08 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Jan-2023 03:14:08 Running on server: post build plugin 'NCover Results Collector'
26-Jan-2023 03:14:08 Running on server: post build plugin 'Build Labeller'
26-Jan-2023 03:14:08 Running on server: post build plugin 'Clover Delta Calculator'
26-Jan-2023 03:14:08 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Jan-2023 03:14:08 All post build plugins have finished
26-Jan-2023 03:14:08 Generating build results summary...
26-Jan-2023 03:14:08 Saving build results to disk...
26-Jan-2023 03:14:08 Store variable context...
26-Jan-2023 03:14:08 Finished building REFAPP-OMODDISTRO-DTMTS-13420.