Deploys Reference Application SNAPSHOT to maven

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

19-Jan-2023 00:12:35 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13400 (REFAPP-OMODDISTRO-DTMTS-13400) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
19-Jan-2023 00:12:35 Remote agent on host yu.openmrs.org
19-Jan-2023 00:12:35 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Jan-2023 00:12:35 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13400 (REFAPP-OMODDISTRO-DTMTS-13400)
19-Jan-2023 00:12:35 Running pre-build action: Build Log Labeller Pre Build Action
19-Jan-2023 00:12:35 Running pre-build action: VCS Version Collector
19-Jan-2023 00:12:35 Running pre-build action: Run Predator
19-Jan-2023 00:12:35 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
19-Jan-2023 00:12:35 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
19-Jan-2023 00:12:35 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2957Mb  378Mb 00:06:09 /usr/lib/jvm/java-8-ope
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:01:37 /home/bamboo-agent/bamb
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:11 /sbin/init             
19-Jan-2023 00:12:37 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Initial free space: 3.7536774 GB
19-Jan-2023 00:12:37 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
19-Jan-2023 00:12:41 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
19-Jan-2023 00:12:41 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
19-Jan-2023 00:12:41 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Final free space: 3.785324 GB
19-Jan-2023 00:12:41 [PredatorPreBuildAction] Done
19-Jan-2023 00:12:41
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
19-Jan-2023 00:12:41
Substituting password variable: ${bamboo.dockerhub.password}
19-Jan-2023 00:12:41
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:41
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:41
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Jan-2023 00:12:41
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
19-Jan-2023 00:12:41 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
19-Jan-2023 00:12:41
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13400 (REFAPP-OMODDISTRO-DTMTS-13400)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13400-ScriptBuildTask-5368476640812965283.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
19-Jan-2023 00:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
19-Jan-2023 00:12:42 Login Succeeded
19-Jan-2023 00:12:42 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
19-Jan-2023 00:12:42 Configure a credential helper to remove this warning. See
19-Jan-2023 00:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
19-Jan-2023 00:12:42
19-Jan-2023 00:12:42 + docker pull openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:42 docker.io/openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c: Pulling from openmrs/openmrs-reference-application
19-Jan-2023 00:12:42 Digest: sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:42 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:42 docker.io/openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c
19-Jan-2023 00:12:42 + docker tag openmrs/openmrs-reference-application@sha256:d1268cc0095a9171e088bcf2cd01e3f776825544fa2e318866a71f31b92bf60c openmrs/openmrs-reference-application:qa
19-Jan-2023 00:12:42 + docker push openmrs/openmrs-reference-application:qa
19-Jan-2023 00:12:42 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
19-Jan-2023 00:12:42 f36ffb09a186: Preparing
19-Jan-2023 00:12:42 fd4edc89e27b: Preparing
19-Jan-2023 00:12:42 811aeacc4cc9: Preparing
19-Jan-2023 00:12:42 9b916c0dba87: Preparing
19-Jan-2023 00:12:42 e61322449ad0: Preparing
19-Jan-2023 00:12:42 6fdd21bc4a9b: Preparing
19-Jan-2023 00:12:42 5f70bf18a086: Preparing
19-Jan-2023 00:12:42 b7243530d918: Preparing
19-Jan-2023 00:12:42 6fdd21bc4a9b: Waiting
19-Jan-2023 00:12:42 23323df4fbd9: Preparing
19-Jan-2023 00:12:42 725ecc0c9d62: Preparing
19-Jan-2023 00:12:42 6c1f45cb6682: Preparing
19-Jan-2023 00:12:42 b8aa9430b356: Preparing
19-Jan-2023 00:12:42 5f70bf18a086: Waiting
19-Jan-2023 00:12:42 b7243530d918: Waiting
19-Jan-2023 00:12:42 23323df4fbd9: Waiting
19-Jan-2023 00:12:42 725ecc0c9d62: Waiting
19-Jan-2023 00:12:42 6c1f45cb6682: Waiting
19-Jan-2023 00:12:42 b46e16032f56: Preparing
19-Jan-2023 00:12:42 91ac82815b04: Preparing
19-Jan-2023 00:12:42 24fcda5a8b17: Preparing
19-Jan-2023 00:12:42 a4a7e924299e: Preparing
19-Jan-2023 00:12:42 059c2d42be74: Preparing
19-Jan-2023 00:12:42 b8aa9430b356: Waiting
19-Jan-2023 00:12:42 b46e16032f56: Waiting
19-Jan-2023 00:12:42 91ac82815b04: Waiting
19-Jan-2023 00:12:42 24fcda5a8b17: Waiting
19-Jan-2023 00:12:42 a4a7e924299e: Waiting
19-Jan-2023 00:12:42 3f800aca2a44: Preparing
19-Jan-2023 00:12:42 059c2d42be74: Waiting
19-Jan-2023 00:12:42 3f800aca2a44: Waiting
19-Jan-2023 00:12:42 e61322449ad0: Layer already exists
19-Jan-2023 00:12:42 9b916c0dba87: Layer already exists
19-Jan-2023 00:12:42 811aeacc4cc9: Layer already exists
19-Jan-2023 00:12:42 f36ffb09a186: Layer already exists
19-Jan-2023 00:12:42 fd4edc89e27b: Layer already exists
19-Jan-2023 00:12:42 5f70bf18a086: Layer already exists
19-Jan-2023 00:12:42 b7243530d918: Layer already exists
19-Jan-2023 00:12:42 6fdd21bc4a9b: Layer already exists
19-Jan-2023 00:12:42 23323df4fbd9: Layer already exists
19-Jan-2023 00:12:42 725ecc0c9d62: Layer already exists
19-Jan-2023 00:12:42 6c1f45cb6682: Layer already exists
19-Jan-2023 00:12:42 b46e16032f56: Layer already exists
19-Jan-2023 00:12:42 91ac82815b04: Layer already exists
19-Jan-2023 00:12:42 b8aa9430b356: Layer already exists
19-Jan-2023 00:12:42 24fcda5a8b17: Layer already exists
19-Jan-2023 00:12:43 a4a7e924299e: Layer already exists
19-Jan-2023 00:12:43 059c2d42be74: Layer already exists
19-Jan-2023 00:12:43 3f800aca2a44: Layer already exists
19-Jan-2023 00:12:43 qa: digest: sha256:1f8dd7128a8b97103293f3fd8957ce941b9d34a3df56be049f0ad21c4c65f1da size: 4088
19-Jan-2023 00:12:43 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
19-Jan-2023 00:12:43 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
19-Jan-2023 00:12:44 Removing unused images if any
19-Jan-2023 00:12:44 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication-mysql ...
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication       ...
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication-mysql ... done
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
19-Jan-2023 00:12:44 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... already exists
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... pulling fs layer
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (100.0%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (0.7%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (0.5%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (1.1%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (17.5%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (11.8%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (37.6%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (26.0%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (57.8%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (39.7%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (77.9%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (53.9%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (96.7%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (66.6%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (100.0%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (79.9%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (0.7%)
19-Jan-2023 00:12:45 Pulling openmrs-referenceapplication       ... downloading (91.6%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (19.4%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... downloading (99.9%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... verifying checksum
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... download complete
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (39.6%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (60.4%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (84.0%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (0.5%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (18.7%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (37.5%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (56.7%)
19-Jan-2023 00:12:46 Pulling openmrs-referenceapplication       ... extracting (72.4%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (84.6%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (99.8%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (3.0%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... extracting (100.0%)
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... pull complete
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... digest: sha256:1f8dd7128a8b971032...
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
19-Jan-2023 00:12:47 Pulling openmrs-referenceapplication       ... done
19-Jan-2023 00:12:47 Recreating all images and volumes
19-Jan-2023 00:12:47 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 00:12:47 Stopping qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 00:12:47 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 00:12:48 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 00:12:50 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 00:12:50 Removing qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 00:12:50 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 00:12:50 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 00:12:51 Removing qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 00:12:51 Removing network qa-refapp_default
19-Jan-2023 00:12:51 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
19-Jan-2023 00:12:51 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
19-Jan-2023 00:12:51 Creating network "qa-refapp_default" with the default driver
19-Jan-2023 00:12:51 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
19-Jan-2023 00:12:51 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
19-Jan-2023 00:12:52 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
19-Jan-2023 00:12:52 Creating qa-refapp_openmrs-referenceapplication_1       ...
19-Jan-2023 00:12:53 Creating qa-refapp_openmrs-referenceapplication_1       ... done
19-Jan-2023 00:12:53 Verifying if docker containers 523aa4b80f231c9b6126a57d9ac9a9e56cb80dffeee658c367652378032d726d
19-Jan-2023 00:12:53 b9c1f1a41d8c31653f858a1478301ac39a854a2183d62178c3798bd7db23b403 are healthy
19-Jan-2023 00:12:53 Status found: "starting"
19-Jan-2023 00:12:53 Waiting 15s
19-Jan-2023 00:13:08 Verifying if docker containers 523aa4b80f231c9b6126a57d9ac9a9e56cb80dffeee658c367652378032d726d
19-Jan-2023 00:13:08 b9c1f1a41d8c31653f858a1478301ac39a854a2183d62178c3798bd7db23b403 are healthy
19-Jan-2023 00:13:08 Status found: "starting"
19-Jan-2023 00:13:08 Waiting 15s
19-Jan-2023 00:13:23 Verifying if docker containers 523aa4b80f231c9b6126a57d9ac9a9e56cb80dffeee658c367652378032d726d
19-Jan-2023 00:13:23 b9c1f1a41d8c31653f858a1478301ac39a854a2183d62178c3798bd7db23b403 are healthy
19-Jan-2023 00:13:23 Status found: "healthy"
19-Jan-2023 00:13:23 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
19-Jan-2023 00:13:23 Running post build plugin 'Docker Container Cleanup'
19-Jan-2023 00:13:23 Running post build plugin 'NCover Results Collector'
19-Jan-2023 00:13:23 Running post build plugin 'Build Results Label Collector'
19-Jan-2023 00:13:23 Running post build plugin 'Clover Results Collector'
19-Jan-2023 00:13:23 Running post build plugin 'npm Cache Cleanup'
19-Jan-2023 00:13:23 Running post build plugin 'Artifact Copier'
19-Jan-2023 00:13:23 Finalising the build...
19-Jan-2023 00:13:23 Stopping timer.
19-Jan-2023 00:13:23 Build REFAPP-OMODDISTRO-DTMTS-13400 completed.
19-Jan-2023 00:13:23 Running on server: post build plugin 'Build Hanging Detection Configuration'
19-Jan-2023 00:13:23 Running on server: post build plugin 'NCover Results Collector'
19-Jan-2023 00:13:23 Running on server: post build plugin 'Build Labeller'
19-Jan-2023 00:13:23 Running on server: post build plugin 'Clover Delta Calculator'
19-Jan-2023 00:13:23 Running on server: post build plugin 'Maven Dependencies Postprocessor'
19-Jan-2023 00:13:23 All post build plugins have finished
19-Jan-2023 00:13:23 Generating build results summary...
19-Jan-2023 00:13:23 Saving build results to disk...
19-Jan-2023 00:13:23 Store variable context...
19-Jan-2023 00:13:23 Finished building REFAPP-OMODDISTRO-DTMTS-13400.