Deploys Reference Application SNAPSHOT to maven

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

12-Jan-2023 18:54:56 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13386 (REFAPP-OMODDISTRO-DTMTS-13386) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
12-Jan-2023 18:54:56 Remote agent on host xiao.openmrs.org
12-Jan-2023 18:54:56 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Jan-2023 18:54:56 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13386 (REFAPP-OMODDISTRO-DTMTS-13386)
12-Jan-2023 18:54:56 Running pre-build action: Build Log Labeller Pre Build Action
12-Jan-2023 18:54:56 Running pre-build action: VCS Version Collector
12-Jan-2023 18:54:56 Running pre-build action: Run Predator
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2977Mb  480Mb 00:08:45 /usr/lib/jvm/java-8-ope
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:17:44 /home/bamboo-agent/bamb
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:26 /sbin/init             
12-Jan-2023 18:54:56 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Initial free space: 2.7444115 GB
12-Jan-2023 18:54:56 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
12-Jan-2023 18:54:59 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
12-Jan-2023 18:54:59 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
12-Jan-2023 18:54:59 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Final free space: 2.7760391 GB
12-Jan-2023 18:54:59 [PredatorPreBuildAction] Done
12-Jan-2023 18:54:59
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
12-Jan-2023 18:54:59
Substituting password variable: ${bamboo.dockerhub.password}
12-Jan-2023 18:54:59
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Jan-2023 18:54:59
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
12-Jan-2023 18:54:59 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
12-Jan-2023 18:54:59
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13386 (REFAPP-OMODDISTRO-DTMTS-13386)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13386-ScriptBuildTask-2328879975597201911.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
12-Jan-2023 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
12-Jan-2023 18:54:59 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
12-Jan-2023 18:54:59 Configure a credential helper to remove this warning. See
12-Jan-2023 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
12-Jan-2023 18:54:59
12-Jan-2023 18:54:59 Login Succeeded
12-Jan-2023 18:54:59 + docker pull openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59 docker.io/openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc: Pulling from openmrs/openmrs-reference-application
12-Jan-2023 18:54:59 Digest: sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59 docker.io/openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc
12-Jan-2023 18:54:59 + docker tag openmrs/openmrs-reference-application@sha256:c198425c1a49d4b54bcf2def606eecd1b99f3dd1e47ad12f754f5111f84aa3dc openmrs/openmrs-reference-application:qa
12-Jan-2023 18:54:59 + docker push openmrs/openmrs-reference-application:qa
12-Jan-2023 18:55:00 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
12-Jan-2023 18:55:00 3012c58d64fd: Preparing
12-Jan-2023 18:55:00 218617224bcd: Preparing
12-Jan-2023 18:55:00 752fc3e0ae9f: Preparing
12-Jan-2023 18:55:00 0208b85b68ef: Preparing
12-Jan-2023 18:55:00 72d9ec969e5b: Preparing
12-Jan-2023 18:55:00 6fdd21bc4a9b: Preparing
12-Jan-2023 18:55:00 5f70bf18a086: Preparing
12-Jan-2023 18:55:00 b7243530d918: Preparing
12-Jan-2023 18:55:00 23323df4fbd9: Preparing
12-Jan-2023 18:55:00 725ecc0c9d62: Preparing
12-Jan-2023 18:55:00 6c1f45cb6682: Preparing
12-Jan-2023 18:55:00 b8aa9430b356: Preparing
12-Jan-2023 18:55:00 b46e16032f56: Preparing
12-Jan-2023 18:55:00 91ac82815b04: Preparing
12-Jan-2023 18:55:00 24fcda5a8b17: Preparing
12-Jan-2023 18:55:00 a4a7e924299e: Preparing
12-Jan-2023 18:55:00 059c2d42be74: Preparing
12-Jan-2023 18:55:00 3f800aca2a44: Preparing
12-Jan-2023 18:55:00 6fdd21bc4a9b: Waiting
12-Jan-2023 18:55:00 5f70bf18a086: Waiting
12-Jan-2023 18:55:00 b7243530d918: Waiting
12-Jan-2023 18:55:00 23323df4fbd9: Waiting
12-Jan-2023 18:55:00 725ecc0c9d62: Waiting
12-Jan-2023 18:55:00 6c1f45cb6682: Waiting
12-Jan-2023 18:55:00 b8aa9430b356: Waiting
12-Jan-2023 18:55:00 b46e16032f56: Waiting
12-Jan-2023 18:55:00 91ac82815b04: Waiting
12-Jan-2023 18:55:00 24fcda5a8b17: Waiting
12-Jan-2023 18:55:00 a4a7e924299e: Waiting
12-Jan-2023 18:55:00 059c2d42be74: Waiting
12-Jan-2023 18:55:00 3f800aca2a44: Waiting
12-Jan-2023 18:55:00 72d9ec969e5b: Layer already exists
12-Jan-2023 18:55:00 3012c58d64fd: Layer already exists
12-Jan-2023 18:55:00 218617224bcd: Layer already exists
12-Jan-2023 18:55:00 0208b85b68ef: Layer already exists
12-Jan-2023 18:55:00 752fc3e0ae9f: Layer already exists
12-Jan-2023 18:55:00 b7243530d918: Layer already exists
12-Jan-2023 18:55:00 5f70bf18a086: Layer already exists
12-Jan-2023 18:55:00 725ecc0c9d62: Layer already exists
12-Jan-2023 18:55:00 6fdd21bc4a9b: Layer already exists
12-Jan-2023 18:55:00 23323df4fbd9: Layer already exists
12-Jan-2023 18:55:00 b8aa9430b356: Layer already exists
12-Jan-2023 18:55:00 6c1f45cb6682: Layer already exists
12-Jan-2023 18:55:00 b46e16032f56: Layer already exists
12-Jan-2023 18:55:00 91ac82815b04: Layer already exists
12-Jan-2023 18:55:00 24fcda5a8b17: Layer already exists
12-Jan-2023 18:55:00 a4a7e924299e: Layer already exists
12-Jan-2023 18:55:00 059c2d42be74: Layer already exists
12-Jan-2023 18:55:00 3f800aca2a44: Layer already exists
12-Jan-2023 18:55:01 qa: digest: sha256:bb93ca508bb9fc23a6413639544bfcec1c61876a255604c6f84a6d0961db6d1c size: 4088
12-Jan-2023 18:55:01 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
12-Jan-2023 18:55:01 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
12-Jan-2023 18:55:02 Removing unused images if any
12-Jan-2023 18:55:02 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication-mysql ...
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication       ...
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
12-Jan-2023 18:55:02 Pulling openmrs-referenceapplication-mysql ... done
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... already exists
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... pulling fs layer
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... waiting
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (100.0%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... verifying checksum
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... download complete
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (0.5%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (0.7%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (12.2%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (13.4%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (1.1%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... verifying checksum
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... download complete
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (24.9%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (31.5%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (38.6%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (49.7%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (49.4%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (65.7%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (63.1%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (83.9%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... verifying checksum
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... download complete
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (76.9%)
12-Jan-2023 18:55:03 Pulling openmrs-referenceapplication       ... downloading (87.6%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (0.7%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... downloading (98.9%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... verifying checksum
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... download complete
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (22.2%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (45.8%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (69.4%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (90.9%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... pull complete
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... pull complete
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (0.5%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (18.7%)
12-Jan-2023 18:55:04 Pulling openmrs-referenceapplication       ... extracting (38.0%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (55.7%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (73.4%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (90.2%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... pull complete
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (3.0%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... extracting (100.0%)
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... pull complete
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... digest: sha256:bb93ca508bb9fc23a6...
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
12-Jan-2023 18:55:05 Pulling openmrs-referenceapplication       ... done
12-Jan-2023 18:55:05 Recreating all images and volumes
12-Jan-2023 18:55:05 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Jan-2023 18:55:05 Stopping qa-refapp_openmrs-referenceapplication_1       ...
12-Jan-2023 18:55:05 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Jan-2023 18:55:06 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
12-Jan-2023 18:55:08 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Jan-2023 18:55:08 Removing qa-refapp_openmrs-referenceapplication_1       ...
12-Jan-2023 18:55:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Jan-2023 18:55:08 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Jan-2023 18:55:10 Removing qa-refapp_openmrs-referenceapplication_1       ... done
12-Jan-2023 18:55:10 Removing network qa-refapp_default
12-Jan-2023 18:55:10 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
12-Jan-2023 18:55:10 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
12-Jan-2023 18:55:11 Creating network "qa-refapp_default" with the default driver
12-Jan-2023 18:55:11 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
12-Jan-2023 18:55:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
12-Jan-2023 18:55:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
12-Jan-2023 18:55:11 Creating qa-refapp_openmrs-referenceapplication_1       ...
12-Jan-2023 18:55:12 Creating qa-refapp_openmrs-referenceapplication_1       ... done
12-Jan-2023 18:55:12 Verifying if docker containers a97c4426fe6aab1b02faa63091f59b8e484152415d4d27965524c8cbe2da057a
12-Jan-2023 18:55:12 1d24d718303af7b9fc40601871969b09d0c3ea4f958a87fe8c6730dcc44951bd are healthy
12-Jan-2023 18:55:13 Status found: "starting"
12-Jan-2023 18:55:13 Waiting 15s
12-Jan-2023 18:55:28 Verifying if docker containers a97c4426fe6aab1b02faa63091f59b8e484152415d4d27965524c8cbe2da057a
12-Jan-2023 18:55:28 1d24d718303af7b9fc40601871969b09d0c3ea4f958a87fe8c6730dcc44951bd are healthy
12-Jan-2023 18:55:28 Status found: "starting"
12-Jan-2023 18:55:28 Waiting 15s
12-Jan-2023 18:55:43 Verifying if docker containers a97c4426fe6aab1b02faa63091f59b8e484152415d4d27965524c8cbe2da057a
12-Jan-2023 18:55:43 1d24d718303af7b9fc40601871969b09d0c3ea4f958a87fe8c6730dcc44951bd are healthy
12-Jan-2023 18:55:43 Status found: "healthy"
12-Jan-2023 18:55:43 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
12-Jan-2023 18:55:43 Running post build plugin 'Docker Container Cleanup'
12-Jan-2023 18:55:43 Running post build plugin 'NCover Results Collector'
12-Jan-2023 18:55:43 Running post build plugin 'Build Results Label Collector'
12-Jan-2023 18:55:43 Running post build plugin 'Clover Results Collector'
12-Jan-2023 18:55:43 Running post build plugin 'npm Cache Cleanup'
12-Jan-2023 18:55:43 Running post build plugin 'Artifact Copier'
12-Jan-2023 18:55:43 Finalising the build...
12-Jan-2023 18:55:43 Stopping timer.
12-Jan-2023 18:55:43 Build REFAPP-OMODDISTRO-DTMTS-13386 completed.
12-Jan-2023 18:55:43 Running on server: post build plugin 'Build Hanging Detection Configuration'
12-Jan-2023 18:55:43 Running on server: post build plugin 'NCover Results Collector'
12-Jan-2023 18:55:43 Running on server: post build plugin 'Build Labeller'
12-Jan-2023 18:55:43 Running on server: post build plugin 'Clover Delta Calculator'
12-Jan-2023 18:55:43 Running on server: post build plugin 'Maven Dependencies Postprocessor'
12-Jan-2023 18:55:43 All post build plugins have finished
12-Jan-2023 18:55:43 Generating build results summary...
12-Jan-2023 18:55:43 Saving build results to disk...
12-Jan-2023 18:55:43 Store variable context...
12-Jan-2023 18:55:43 Finished building REFAPP-OMODDISTRO-DTMTS-13386.