Deploys Reference Application SNAPSHOT to maven

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

18-Feb-2023 00:13:06 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13484 (REFAPP-OMODDISTRO-DTMTS-13484) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
18-Feb-2023 00:13:06 Remote agent on host xindi.openmrs.org
18-Feb-2023 00:13:06 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Feb-2023 00:13:06 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13484 (REFAPP-OMODDISTRO-DTMTS-13484)
18-Feb-2023 00:13:06 Running pre-build action: Build Log Labeller Pre Build Action
18-Feb-2023 00:13:06 Running pre-build action: VCS Version Collector
18-Feb-2023 00:13:06 Running pre-build action: Run Predator
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2976Mb  443Mb 00:12:17 /usr/lib/jvm/java-8-ope
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    1Mb 00:02:55 /home/bamboo-agent/bamb
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:55 /sbin/init             
18-Feb-2023 00:13:06 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Initial free space: 1.8395958 GB
18-Feb-2023 00:13:06 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
18-Feb-2023 00:13:11 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
18-Feb-2023 00:13:11 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
18-Feb-2023 00:13:11 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Final free space: 1.8712387 GB
18-Feb-2023 00:13:11 [PredatorPreBuildAction] Done
18-Feb-2023 00:13:11
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
18-Feb-2023 00:13:11
Substituting password variable: ${bamboo.dockerhub.password}
18-Feb-2023 00:13:11
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:11
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:11
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Feb-2023 00:13:11
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
18-Feb-2023 00:13:11 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
18-Feb-2023 00:13:11
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13484 (REFAPP-OMODDISTRO-DTMTS-13484)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13484-ScriptBuildTask-7037611238374037738.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
18-Feb-2023 00:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
18-Feb-2023 00:13:12 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
18-Feb-2023 00:13:12 Configure a credential helper to remove this warning. See
18-Feb-2023 00:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
18-Feb-2023 00:13:12
18-Feb-2023 00:13:12 Login Succeeded
18-Feb-2023 00:13:12 + docker pull openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:12 docker.io/openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c: Pulling from openmrs/openmrs-reference-application
18-Feb-2023 00:13:12 Digest: sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:12 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:12 docker.io/openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c
18-Feb-2023 00:13:12 + docker tag openmrs/openmrs-reference-application@sha256:7d4c58e7bafcdf447c4058ba540f2a709d7469cf4f7766891d2921044369f93c openmrs/openmrs-reference-application:qa
18-Feb-2023 00:13:12 + docker push openmrs/openmrs-reference-application:qa
18-Feb-2023 00:13:12 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
18-Feb-2023 00:13:12 3bf86823ada2: Preparing
18-Feb-2023 00:13:12 8a0bc6c52e40: Preparing
18-Feb-2023 00:13:12 762a4c6c059c: Preparing
18-Feb-2023 00:13:12 6d8363e60ea4: Preparing
18-Feb-2023 00:13:12 e4a92042edbd: Preparing
18-Feb-2023 00:13:12 60de0bbda0ed: Preparing
18-Feb-2023 00:13:12 5f70bf18a086: Preparing
18-Feb-2023 00:13:12 b34b6277c81b: Preparing
18-Feb-2023 00:13:12 d0a6a0df9123: Preparing
18-Feb-2023 00:13:12 63bbdb3574ed: Preparing
18-Feb-2023 00:13:12 118873527352: Preparing
18-Feb-2023 00:13:12 3353ee3d6876: Preparing
18-Feb-2023 00:13:12 ab5b3452b7ed: Preparing
18-Feb-2023 00:13:12 34f73756f7aa: Preparing
18-Feb-2023 00:13:12 93d6620f79bb: Preparing
18-Feb-2023 00:13:12 be417e78cadd: Preparing
18-Feb-2023 00:13:12 647dc4000019: Preparing
18-Feb-2023 00:13:12 8c5ff259ef50: Preparing
18-Feb-2023 00:13:12 60de0bbda0ed: Waiting
18-Feb-2023 00:13:12 5f70bf18a086: Waiting
18-Feb-2023 00:13:12 b34b6277c81b: Waiting
18-Feb-2023 00:13:12 d0a6a0df9123: Waiting
18-Feb-2023 00:13:12 63bbdb3574ed: Waiting
18-Feb-2023 00:13:12 118873527352: Waiting
18-Feb-2023 00:13:12 3353ee3d6876: Waiting
18-Feb-2023 00:13:12 ab5b3452b7ed: Waiting
18-Feb-2023 00:13:12 34f73756f7aa: Waiting
18-Feb-2023 00:13:12 93d6620f79bb: Waiting
18-Feb-2023 00:13:12 be417e78cadd: Waiting
18-Feb-2023 00:13:12 647dc4000019: Waiting
18-Feb-2023 00:13:12 8c5ff259ef50: Waiting
18-Feb-2023 00:13:12 e4a92042edbd: Layer already exists
18-Feb-2023 00:13:12 6d8363e60ea4: Layer already exists
18-Feb-2023 00:13:12 762a4c6c059c: Layer already exists
18-Feb-2023 00:13:12 8a0bc6c52e40: Layer already exists
18-Feb-2023 00:13:12 3bf86823ada2: Layer already exists
18-Feb-2023 00:13:12 5f70bf18a086: Layer already exists
18-Feb-2023 00:13:12 60de0bbda0ed: Layer already exists
18-Feb-2023 00:13:12 b34b6277c81b: Layer already exists
18-Feb-2023 00:13:12 d0a6a0df9123: Layer already exists
18-Feb-2023 00:13:12 63bbdb3574ed: Layer already exists
18-Feb-2023 00:13:12 3353ee3d6876: Layer already exists
18-Feb-2023 00:13:12 ab5b3452b7ed: Layer already exists
18-Feb-2023 00:13:12 34f73756f7aa: Layer already exists
18-Feb-2023 00:13:12 118873527352: Layer already exists
18-Feb-2023 00:13:13 93d6620f79bb: Layer already exists
18-Feb-2023 00:13:13 be417e78cadd: Layer already exists
18-Feb-2023 00:13:13 647dc4000019: Layer already exists
18-Feb-2023 00:13:13 8c5ff259ef50: Layer already exists
18-Feb-2023 00:13:13 qa: digest: sha256:e9b2f859cfbc5d5f35a2c017a5125851cb019d94d2b1e85489a3e3c14c932a4f size: 4088
18-Feb-2023 00:13:13 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
18-Feb-2023 00:13:13 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
18-Feb-2023 00:13:14 Removing unused images if any
18-Feb-2023 00:13:14 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 00:13:14 Pulling openmrs-referenceapplication-mysql ...
18-Feb-2023 00:13:14 Pulling openmrs-referenceapplication       ...
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication-mysql ... done
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... already exists
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... pulling fs layer
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... waiting
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (100.0%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (0.5%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (0.7%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (1.1%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (15.7%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (18.1%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (30.9%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (39.6%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (45.6%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (61.8%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (60.8%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (82.7%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... downloading (75.6%)
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 00:13:15 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (0.7%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... downloading (91.2%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... verifying checksum
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... download complete
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (22.9%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (48.6%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (74.2%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (0.5%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (17.7%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (35.5%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (55.7%)
18-Feb-2023 00:13:16 Pulling openmrs-referenceapplication       ... extracting (74.5%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... extracting (90.7%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... extracting (3.0%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... extracting (100.0%)
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... pull complete
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... digest: sha256:e9b2f859cfbc5d5f35...
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
18-Feb-2023 00:13:17 Pulling openmrs-referenceapplication       ... done
18-Feb-2023 00:13:17 Recreating all images and volumes
18-Feb-2023 00:13:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 00:13:17 Stopping qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 00:13:17 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 00:13:18 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 00:13:20 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 00:13:20 Removing qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 00:13:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 00:13:20 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 00:13:21 Removing qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 00:13:21 Removing network qa-refapp_default
18-Feb-2023 00:13:21 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
18-Feb-2023 00:13:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
18-Feb-2023 00:13:21 Creating network "qa-refapp_default" with the default driver
18-Feb-2023 00:13:22 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
18-Feb-2023 00:13:22 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
18-Feb-2023 00:13:22 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
18-Feb-2023 00:13:22 Creating qa-refapp_openmrs-referenceapplication_1       ...
18-Feb-2023 00:13:23 Creating qa-refapp_openmrs-referenceapplication_1       ... done
18-Feb-2023 00:13:23 Verifying if docker containers 673ee5be20f15ba891f4f76d46c7a58d1bf47c05537698065f0f63c0b46a4368
18-Feb-2023 00:13:23 9096381f1e3ce2ca6e367904948a5f6157e4d394c44c5329e7937c50f6287fb8 are healthy
18-Feb-2023 00:13:23 Status found: "starting"
18-Feb-2023 00:13:23 Waiting 15s
18-Feb-2023 00:13:38 Verifying if docker containers 673ee5be20f15ba891f4f76d46c7a58d1bf47c05537698065f0f63c0b46a4368
18-Feb-2023 00:13:38 9096381f1e3ce2ca6e367904948a5f6157e4d394c44c5329e7937c50f6287fb8 are healthy
18-Feb-2023 00:13:38 Status found: "starting"
18-Feb-2023 00:13:38 Waiting 15s
18-Feb-2023 00:13:53 Verifying if docker containers 673ee5be20f15ba891f4f76d46c7a58d1bf47c05537698065f0f63c0b46a4368
18-Feb-2023 00:13:53 9096381f1e3ce2ca6e367904948a5f6157e4d394c44c5329e7937c50f6287fb8 are healthy
18-Feb-2023 00:13:53 Status found: "healthy"
18-Feb-2023 00:13:53 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
18-Feb-2023 00:13:53 Running post build plugin 'Docker Container Cleanup'
18-Feb-2023 00:13:53 Running post build plugin 'NCover Results Collector'
18-Feb-2023 00:13:53 Running post build plugin 'Build Results Label Collector'
18-Feb-2023 00:13:53 Running post build plugin 'Clover Results Collector'
18-Feb-2023 00:13:53 Running post build plugin 'npm Cache Cleanup'
18-Feb-2023 00:13:53 Running post build plugin 'Artifact Copier'
18-Feb-2023 00:13:53 Finalising the build...
18-Feb-2023 00:13:53 Stopping timer.
18-Feb-2023 00:13:53 Build REFAPP-OMODDISTRO-DTMTS-13484 completed.
18-Feb-2023 00:13:53 Running on server: post build plugin 'Build Hanging Detection Configuration'
18-Feb-2023 00:13:53 Running on server: post build plugin 'NCover Results Collector'
18-Feb-2023 00:13:53 Running on server: post build plugin 'Build Labeller'
18-Feb-2023 00:13:53 Running on server: post build plugin 'Clover Delta Calculator'
18-Feb-2023 00:13:53 Running on server: post build plugin 'Maven Dependencies Postprocessor'
18-Feb-2023 00:13:53 All post build plugins have finished
18-Feb-2023 00:13:53 Generating build results summary...
18-Feb-2023 00:13:53 Saving build results to disk...
18-Feb-2023 00:13:53 Store variable context...
18-Feb-2023 00:13:53 Finished building REFAPP-OMODDISTRO-DTMTS-13484.