Deploys Reference Application SNAPSHOT to maven

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

24-Feb-2023 09:49:17 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13511 (REFAPP-OMODDISTRO-DTMTS-13511) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
24-Feb-2023 09:49:17 Remote agent on host xindi.openmrs.org
24-Feb-2023 09:49:17 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 09:49:17 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13511 (REFAPP-OMODDISTRO-DTMTS-13511)
24-Feb-2023 09:49:17 Running pre-build action: Build Log Labeller Pre Build Action
24-Feb-2023 09:49:17 Running pre-build action: VCS Version Collector
24-Feb-2023 09:49:17 Running pre-build action: Run Predator
24-Feb-2023 09:49:17 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Feb-2023 09:49:17 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Feb-2023 09:49:17 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2978Mb  584Mb 00:21:49 /usr/lib/jvm/java-8-ope
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    3Mb 00:05:49 /home/bamboo-agent/bamb
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:26 /sbin/init             
24-Feb-2023 09:49:18 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Initial free space: 1.3206863 GB
24-Feb-2023 09:49:18 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
24-Feb-2023 09:49:22 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
24-Feb-2023 09:49:22 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Feb-2023 09:49:23 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Feb-2023 09:49:23 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
24-Feb-2023 09:49:23 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Feb-2023 09:49:23 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Feb-2023 09:49:23 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Feb-2023 09:49:23 [PredatorPreBuildAction] Final free space: 1.3523483 GB
24-Feb-2023 09:49:23 [PredatorPreBuildAction] Done
24-Feb-2023 09:49:23
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Feb-2023 09:49:23
Substituting password variable: ${bamboo.dockerhub.password}
24-Feb-2023 09:49:23
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 09:49:23
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 09:49:23 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Feb-2023 09:49:23
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13511 (REFAPP-OMODDISTRO-DTMTS-13511)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13511-ScriptBuildTask-8623750505012348978.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 09:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Feb-2023 09:49:23 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Feb-2023 09:49:23 Configure a credential helper to remove this warning. See
24-Feb-2023 09:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
24-Feb-2023 09:49:23
24-Feb-2023 09:49:23 Login Succeeded
24-Feb-2023 09:49:23 + docker pull openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23 docker.io/openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5: Pulling from openmrs/openmrs-reference-application
24-Feb-2023 09:49:23 Digest: sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23 docker.io/openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5
24-Feb-2023 09:49:23 + docker tag openmrs/openmrs-reference-application@sha256:1a0a91261d93f519e002cb658372f055a062bc9bc028f3c8cbd3e1899125e6b5 openmrs/openmrs-reference-application:qa
24-Feb-2023 09:49:23 + docker push openmrs/openmrs-reference-application:qa
24-Feb-2023 09:49:23 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
24-Feb-2023 09:49:23 80d0e9e78d27: Preparing
24-Feb-2023 09:49:23 3c4d1c5b37c1: Preparing
24-Feb-2023 09:49:23 3892993a9f1f: Preparing
24-Feb-2023 09:49:23 5905bbfcdd73: Preparing
24-Feb-2023 09:49:23 e4a92042edbd: Preparing
24-Feb-2023 09:49:23 60de0bbda0ed: Preparing
24-Feb-2023 09:49:23 5f70bf18a086: Preparing
24-Feb-2023 09:49:23 b34b6277c81b: Preparing
24-Feb-2023 09:49:23 d0a6a0df9123: Preparing
24-Feb-2023 09:49:23 63bbdb3574ed: Preparing
24-Feb-2023 09:49:23 118873527352: Preparing
24-Feb-2023 09:49:23 3353ee3d6876: Preparing
24-Feb-2023 09:49:23 ab5b3452b7ed: Preparing
24-Feb-2023 09:49:23 34f73756f7aa: Preparing
24-Feb-2023 09:49:23 93d6620f79bb: Preparing
24-Feb-2023 09:49:23 be417e78cadd: Preparing
24-Feb-2023 09:49:23 647dc4000019: Preparing
24-Feb-2023 09:49:23 8c5ff259ef50: Preparing
24-Feb-2023 09:49:23 60de0bbda0ed: Waiting
24-Feb-2023 09:49:23 5f70bf18a086: Waiting
24-Feb-2023 09:49:23 b34b6277c81b: Waiting
24-Feb-2023 09:49:23 d0a6a0df9123: Waiting
24-Feb-2023 09:49:23 63bbdb3574ed: Waiting
24-Feb-2023 09:49:23 118873527352: Waiting
24-Feb-2023 09:49:23 3353ee3d6876: Waiting
24-Feb-2023 09:49:23 ab5b3452b7ed: Waiting
24-Feb-2023 09:49:23 34f73756f7aa: Waiting
24-Feb-2023 09:49:23 93d6620f79bb: Waiting
24-Feb-2023 09:49:23 be417e78cadd: Waiting
24-Feb-2023 09:49:23 647dc4000019: Waiting
24-Feb-2023 09:49:23 8c5ff259ef50: Waiting
24-Feb-2023 09:49:24 5905bbfcdd73: Layer already exists
24-Feb-2023 09:49:24 e4a92042edbd: Layer already exists
24-Feb-2023 09:49:24 3c4d1c5b37c1: Layer already exists
24-Feb-2023 09:49:24 3892993a9f1f: Layer already exists
24-Feb-2023 09:49:24 80d0e9e78d27: Layer already exists
24-Feb-2023 09:49:24 60de0bbda0ed: Layer already exists
24-Feb-2023 09:49:24 5f70bf18a086: Layer already exists
24-Feb-2023 09:49:24 b34b6277c81b: Layer already exists
24-Feb-2023 09:49:24 d0a6a0df9123: Layer already exists
24-Feb-2023 09:49:24 63bbdb3574ed: Layer already exists
24-Feb-2023 09:49:24 118873527352: Layer already exists
24-Feb-2023 09:49:24 3353ee3d6876: Layer already exists
24-Feb-2023 09:49:24 ab5b3452b7ed: Layer already exists
24-Feb-2023 09:49:24 34f73756f7aa: Layer already exists
24-Feb-2023 09:49:24 93d6620f79bb: Layer already exists
24-Feb-2023 09:49:24 647dc4000019: Layer already exists
24-Feb-2023 09:49:24 be417e78cadd: Layer already exists
24-Feb-2023 09:49:24 8c5ff259ef50: Layer already exists
24-Feb-2023 09:49:24 qa: digest: sha256:0ce72b0feebe876e8ab855631fde9c245df49314ff3174a90b7be582e95f352c size: 4088
24-Feb-2023 09:49:24 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
24-Feb-2023 09:49:24 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
24-Feb-2023 09:49:25 Removing unused images if any
24-Feb-2023 09:49:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication-mysql ...
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ...
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication-mysql ... done
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... waiting
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (95.4%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (0.7%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (0.5%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (20.5%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (14.7%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (1.1%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 09:49:26 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (28.5%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (39.0%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (56.8%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (41.2%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (75.2%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (55.5%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (68.2%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (93.7%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (82.0%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... extracting (0.7%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... downloading (95.7%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... extracting (18.3%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... extracting (38.1%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... extracting (55.0%)
24-Feb-2023 09:49:27 Pulling openmrs-referenceapplication       ... extracting (79.7%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (99.4%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (0.5%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (15.7%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (34.4%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (47.1%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (64.8%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (81.5%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (91.2%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (3.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:28 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 09:49:29 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 09:49:29 Pulling openmrs-referenceapplication       ... digest: sha256:0ce72b0feebe876e8a...
24-Feb-2023 09:49:29 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
24-Feb-2023 09:49:29 Pulling openmrs-referenceapplication       ... done
24-Feb-2023 09:49:29 Recreating all images and volumes
24-Feb-2023 09:49:29 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 09:49:29 Stopping qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 09:49:29 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 09:49:30 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 09:49:32 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 09:49:32 Removing qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 09:49:32 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 09:49:32 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 09:49:34 Removing qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 09:49:34 Removing network qa-refapp_default
24-Feb-2023 09:49:34 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
24-Feb-2023 09:49:34 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 09:49:34 Creating network "qa-refapp_default" with the default driver
24-Feb-2023 09:49:34 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
24-Feb-2023 09:49:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 09:49:35 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 09:49:35 Creating qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 09:49:35 Creating qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 09:49:36 Verifying if docker containers 2247f6bc01f295f64f166893888d326a11f4431cae36d9ee43a0dccd6ef08212
24-Feb-2023 09:49:36 4803a3741a9962e91ae21d300aa5c2a48dcf58bd38933a392326b9202f435d35 are healthy
24-Feb-2023 09:49:36 Status found: "starting"
24-Feb-2023 09:49:36 Waiting 15s
24-Feb-2023 09:49:51 Verifying if docker containers 2247f6bc01f295f64f166893888d326a11f4431cae36d9ee43a0dccd6ef08212
24-Feb-2023 09:49:51 4803a3741a9962e91ae21d300aa5c2a48dcf58bd38933a392326b9202f435d35 are healthy
24-Feb-2023 09:49:51 Status found: "starting"
24-Feb-2023 09:49:51 Waiting 15s
24-Feb-2023 09:50:06 Verifying if docker containers 2247f6bc01f295f64f166893888d326a11f4431cae36d9ee43a0dccd6ef08212
24-Feb-2023 09:50:06 4803a3741a9962e91ae21d300aa5c2a48dcf58bd38933a392326b9202f435d35 are healthy
24-Feb-2023 09:50:06 Status found: "healthy"
24-Feb-2023 09:50:06 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
24-Feb-2023 09:50:06 Running post build plugin 'Docker Container Cleanup'
24-Feb-2023 09:50:06 Running post build plugin 'NCover Results Collector'
24-Feb-2023 09:50:06 Running post build plugin 'Build Results Label Collector'
24-Feb-2023 09:50:06 Running post build plugin 'Clover Results Collector'
24-Feb-2023 09:50:06 Running post build plugin 'npm Cache Cleanup'
24-Feb-2023 09:50:06 Running post build plugin 'Artifact Copier'
24-Feb-2023 09:50:06 Finalising the build...
24-Feb-2023 09:50:06 Stopping timer.
24-Feb-2023 09:50:06 Build REFAPP-OMODDISTRO-DTMTS-13511 completed.
24-Feb-2023 09:50:06 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Feb-2023 09:50:06 Running on server: post build plugin 'NCover Results Collector'
24-Feb-2023 09:50:06 Running on server: post build plugin 'Build Labeller'
24-Feb-2023 09:50:06 Running on server: post build plugin 'Clover Delta Calculator'
24-Feb-2023 09:50:06 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Feb-2023 09:50:06 All post build plugins have finished
24-Feb-2023 09:50:06 Generating build results summary...
24-Feb-2023 09:50:06 Saving build results to disk...
24-Feb-2023 09:50:06 Store variable context...
24-Feb-2023 09:50:06 Finished building REFAPP-OMODDISTRO-DTMTS-13511.