Deploys Reference Application SNAPSHOT to maven

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

26-Jan-2023 00:13:14 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13419 (REFAPP-OMODDISTRO-DTMTS-13419) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
26-Jan-2023 00:13:14 Remote agent on host xindi.openmrs.org
26-Jan-2023 00:13:14 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 00:13:14 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13419 (REFAPP-OMODDISTRO-DTMTS-13419)
26-Jan-2023 00:13:14 Running pre-build action: Build Log Labeller Pre Build Action
26-Jan-2023 00:13:14 Running pre-build action: VCS Version Collector
26-Jan-2023 00:13:14 Running pre-build action: Run Predator
26-Jan-2023 00:13:14 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Jan-2023 00:13:14 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Jan-2023 00:13:14 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2053 java        1484 bamboo-age 2978Mb  590Mb 00:18:02 /usr/lib/jvm/java-8-ope
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    3Mb 00:04:48 /home/bamboo-agent/bamb
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:23 /sbin/init             
26-Jan-2023 00:13:15 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Initial free space: 2.5050087 GB
26-Jan-2023 00:13:15 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
26-Jan-2023 00:13:19 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
26-Jan-2023 00:13:19 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Jan-2023 00:13:20 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Jan-2023 00:13:20 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
26-Jan-2023 00:13:20 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Jan-2023 00:13:20 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Jan-2023 00:13:20 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Jan-2023 00:13:20 [PredatorPreBuildAction] Final free space: 2.5366478 GB
26-Jan-2023 00:13:20 [PredatorPreBuildAction] Done
26-Jan-2023 00:13:20
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Jan-2023 00:13:20
Substituting password variable: ${bamboo.dockerhub.password}
26-Jan-2023 00:13:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 00:13:20
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 00:13:20 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Jan-2023 00:13:20
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13419 (REFAPP-OMODDISTRO-DTMTS-13419)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13419-ScriptBuildTask-7777819742227888114.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 00:13:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Jan-2023 00:13:20 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Jan-2023 00:13:20 Configure a credential helper to remove this warning. See
26-Jan-2023 00:13:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Jan-2023 00:13:20
26-Jan-2023 00:13:20 Login Succeeded
26-Jan-2023 00:13:20 + docker pull openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20 docker.io/openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39: Pulling from openmrs/openmrs-reference-application
26-Jan-2023 00:13:20 Digest: sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20 docker.io/openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39
26-Jan-2023 00:13:20 + docker tag openmrs/openmrs-reference-application@sha256:49be5e37a07bcd16be0d20b28454fac4daa361783c9e6cb0a05c5188af1acf39 openmrs/openmrs-reference-application:qa
26-Jan-2023 00:13:20 + docker push openmrs/openmrs-reference-application:qa
26-Jan-2023 00:13:20 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
26-Jan-2023 00:13:20 6af8c813184f: Preparing
26-Jan-2023 00:13:20 20e375d5995a: Preparing
26-Jan-2023 00:13:20 08c26348986e: Preparing
26-Jan-2023 00:13:20 475727923888: Preparing
26-Jan-2023 00:13:20 3d5993161794: Preparing
26-Jan-2023 00:13:20 2ec6c750737f: Preparing
26-Jan-2023 00:13:20 5f70bf18a086: Preparing
26-Jan-2023 00:13:20 a68cbd9ca972: Preparing
26-Jan-2023 00:13:20 2ab24f51c5e7: Preparing
26-Jan-2023 00:13:20 9ad199278f60: Preparing
26-Jan-2023 00:13:20 e51bba17124f: Preparing
26-Jan-2023 00:13:20 1b590cb48856: Preparing
26-Jan-2023 00:13:20 a770a911f4d6: Preparing
26-Jan-2023 00:13:20 3849ed63b27b: Preparing
26-Jan-2023 00:13:20 79c8be4f139b: Preparing
26-Jan-2023 00:13:20 4dd9ecd71792: Preparing
26-Jan-2023 00:13:20 c0541c31ac17: Preparing
26-Jan-2023 00:13:20 3f800aca2a44: Preparing
26-Jan-2023 00:13:20 1b590cb48856: Waiting
26-Jan-2023 00:13:20 2ec6c750737f: Waiting
26-Jan-2023 00:13:20 a770a911f4d6: Waiting
26-Jan-2023 00:13:20 3849ed63b27b: Waiting
26-Jan-2023 00:13:20 5f70bf18a086: Waiting
26-Jan-2023 00:13:20 a68cbd9ca972: Waiting
26-Jan-2023 00:13:20 2ab24f51c5e7: Waiting
26-Jan-2023 00:13:20 79c8be4f139b: Waiting
26-Jan-2023 00:13:20 4dd9ecd71792: Waiting
26-Jan-2023 00:13:20 c0541c31ac17: Waiting
26-Jan-2023 00:13:20 3f800aca2a44: Waiting
26-Jan-2023 00:13:20 e51bba17124f: Waiting
26-Jan-2023 00:13:21 475727923888: Layer already exists
26-Jan-2023 00:13:21 20e375d5995a: Layer already exists
26-Jan-2023 00:13:21 3d5993161794: Layer already exists
26-Jan-2023 00:13:21 08c26348986e: Layer already exists
26-Jan-2023 00:13:21 6af8c813184f: Layer already exists
26-Jan-2023 00:13:21 2ec6c750737f: Layer already exists
26-Jan-2023 00:13:21 5f70bf18a086: Layer already exists
26-Jan-2023 00:13:21 2ab24f51c5e7: Layer already exists
26-Jan-2023 00:13:21 a68cbd9ca972: Layer already exists
26-Jan-2023 00:13:21 9ad199278f60: Layer already exists
26-Jan-2023 00:13:21 e51bba17124f: Layer already exists
26-Jan-2023 00:13:21 1b590cb48856: Layer already exists
26-Jan-2023 00:13:21 a770a911f4d6: Layer already exists
26-Jan-2023 00:13:21 79c8be4f139b: Layer already exists
26-Jan-2023 00:13:21 3849ed63b27b: Layer already exists
26-Jan-2023 00:13:21 4dd9ecd71792: Layer already exists
26-Jan-2023 00:13:21 3f800aca2a44: Layer already exists
26-Jan-2023 00:13:21 c0541c31ac17: Layer already exists
26-Jan-2023 00:13:21 qa: digest: sha256:54cd9d8c56b636718115f40cc12416761d898fc74555d1a52fe453dc93584a00 size: 4088
26-Jan-2023 00:13:21 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
26-Jan-2023 00:13:21 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
26-Jan-2023 00:13:22 Removing unused images if any
26-Jan-2023 00:13:23 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication-mysql ...
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ...
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication-mysql ... done
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 00:13:23 Pulling openmrs-referenceapplication       ... waiting
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (0.5%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (0.7%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (12.8%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (20.1%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (1.1%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (26.0%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (34.9%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (39.2%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (53.0%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (54.4%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (69.8%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (65.2%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (85.3%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (76.9%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... downloading (90.7%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (0.7%)
26-Jan-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (21.5%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (42.3%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (63.8%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (89.5%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (0.5%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (13.7%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (28.4%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (44.6%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (59.3%)
26-Jan-2023 00:13:25 Pulling openmrs-referenceapplication       ... extracting (74.0%)
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... extracting (90.7%)
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... extracting (3.0%)
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... digest: sha256:54cd9d8c56b6367181...
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
26-Jan-2023 00:13:26 Pulling openmrs-referenceapplication       ... done
26-Jan-2023 00:13:26 Recreating all images and volumes
26-Jan-2023 00:13:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 00:13:26 Stopping qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 00:13:26 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 00:13:27 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 00:13:28 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 00:13:28 Removing qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 00:13:28 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 00:13:28 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 00:13:28 Removing qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 00:13:28 Removing network qa-refapp_default
26-Jan-2023 00:13:29 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
26-Jan-2023 00:13:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 00:13:29 Creating network "qa-refapp_default" with the default driver
26-Jan-2023 00:13:29 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
26-Jan-2023 00:13:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 00:13:30 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 00:13:30 Creating qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 00:13:30 Creating qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 00:13:30 Verifying if docker containers cfdd705dbd6e934681f3988d6f9816e3f0423f56706d95951a4709041d7018a9
26-Jan-2023 00:13:30 f774da513cdf662467d4f8aa2639ce48978b56a19673d66ace288fabdd1b3459 are healthy
26-Jan-2023 00:13:31 Status found: "starting"
26-Jan-2023 00:13:31 Waiting 15s
26-Jan-2023 00:13:46 Verifying if docker containers cfdd705dbd6e934681f3988d6f9816e3f0423f56706d95951a4709041d7018a9
26-Jan-2023 00:13:46 f774da513cdf662467d4f8aa2639ce48978b56a19673d66ace288fabdd1b3459 are healthy
26-Jan-2023 00:13:46 Status found: "starting"
26-Jan-2023 00:13:46 Waiting 15s
26-Jan-2023 00:14:01 Verifying if docker containers cfdd705dbd6e934681f3988d6f9816e3f0423f56706d95951a4709041d7018a9
26-Jan-2023 00:14:01 f774da513cdf662467d4f8aa2639ce48978b56a19673d66ace288fabdd1b3459 are healthy
26-Jan-2023 00:14:01 Status found: "healthy"
26-Jan-2023 00:14:01 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
26-Jan-2023 00:14:01 Running post build plugin 'Docker Container Cleanup'
26-Jan-2023 00:14:01 Running post build plugin 'NCover Results Collector'
26-Jan-2023 00:14:01 Running post build plugin 'Build Results Label Collector'
26-Jan-2023 00:14:01 Running post build plugin 'Clover Results Collector'
26-Jan-2023 00:14:01 Running post build plugin 'npm Cache Cleanup'
26-Jan-2023 00:14:01 Running post build plugin 'Artifact Copier'
26-Jan-2023 00:14:01 Finalising the build...
26-Jan-2023 00:14:01 Stopping timer.
26-Jan-2023 00:14:01 Build REFAPP-OMODDISTRO-DTMTS-13419 completed.
26-Jan-2023 00:14:01 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Jan-2023 00:14:01 Running on server: post build plugin 'NCover Results Collector'
26-Jan-2023 00:14:01 Running on server: post build plugin 'Build Labeller'
26-Jan-2023 00:14:01 Running on server: post build plugin 'Clover Delta Calculator'
26-Jan-2023 00:14:01 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Jan-2023 00:14:01 All post build plugins have finished
26-Jan-2023 00:14:01 Generating build results summary...
26-Jan-2023 00:14:01 Saving build results to disk...
26-Jan-2023 00:14:01 Store variable context...
26-Jan-2023 00:14:01 Finished building REFAPP-OMODDISTRO-DTMTS-13419.