Deploys Reference Application SNAPSHOT to maven

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

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