Deploys Reference Application SNAPSHOT to maven

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

11-Feb-2023 03:13:58 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13463 (REFAPP-OMODDISTRO-DTMTS-13463) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
11-Feb-2023 03:13:58 Remote agent on host xiao.openmrs.org
11-Feb-2023 03:13:58 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Feb-2023 03:13:58 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13463 (REFAPP-OMODDISTRO-DTMTS-13463)
11-Feb-2023 03:13:58 Running pre-build action: Build Log Labeller Pre Build Action
11-Feb-2023 03:13:58 Running pre-build action: VCS Version Collector
11-Feb-2023 03:13:58 Running pre-build action: Run Predator
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39819 java        1476 bamboo-age 2980Mb  555Mb 00:20:32 /usr/lib/jvm/java-8-ope
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:12:13 /home/bamboo-agent/bamb
11-Feb-2023 03:13:58 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:28 /sbin/init             
11-Feb-2023 03:13:58 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Feb-2023 03:13:59 [PredatorPreBuildAction] Initial free space: 2.209282 GB
11-Feb-2023 03:13:59 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Feb-2023 03:14:01 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Feb-2023 03:14:01 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
11-Feb-2023 03:14:01 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Final free space: 2.2409325 GB
11-Feb-2023 03:14:01 [PredatorPreBuildAction] Done
11-Feb-2023 03:14:01
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
11-Feb-2023 03:14:01
Substituting password variable: ${bamboo.dockerhub.password}
11-Feb-2023 03:14:01
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Feb-2023 03:14:01
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Feb-2023 03:14:01 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Feb-2023 03:14:01
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13463 (REFAPP-OMODDISTRO-DTMTS-13463)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13463-ScriptBuildTask-1744658059793094801.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Feb-2023 03:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
11-Feb-2023 03:14:01 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
11-Feb-2023 03:14:01 Configure a credential helper to remove this warning. See
11-Feb-2023 03:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
11-Feb-2023 03:14:01
11-Feb-2023 03:14:01 Login Succeeded
11-Feb-2023 03:14:01 + docker pull openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23: Pulling from openmrs/openmrs-reference-application
11-Feb-2023 03:14:01 Digest: sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01 docker.io/openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23
11-Feb-2023 03:14:01 + docker tag openmrs/openmrs-reference-application@sha256:6db4a7e4352bd75d344ebfdb6eb5959c993671b28183499a2a41fa4ed8be9f23 openmrs/openmrs-reference-application:qa
11-Feb-2023 03:14:01 + docker push openmrs/openmrs-reference-application:qa
11-Feb-2023 03:14:01 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
11-Feb-2023 03:14:01 a60ac20359c5: Preparing
11-Feb-2023 03:14:01 d9b643cf163c: Preparing
11-Feb-2023 03:14:01 44fd80dab2f5: Preparing
11-Feb-2023 03:14:01 c33e6008ec60: Preparing
11-Feb-2023 03:14:01 0889049fe275: Preparing
11-Feb-2023 03:14:01 60de0bbda0ed: Preparing
11-Feb-2023 03:14:01 5f70bf18a086: Preparing
11-Feb-2023 03:14:01 b34b6277c81b: Preparing
11-Feb-2023 03:14:01 d0a6a0df9123: Preparing
11-Feb-2023 03:14:01 63bbdb3574ed: Preparing
11-Feb-2023 03:14:01 118873527352: Preparing
11-Feb-2023 03:14:01 3353ee3d6876: Preparing
11-Feb-2023 03:14:01 ab5b3452b7ed: Preparing
11-Feb-2023 03:14:01 34f73756f7aa: Preparing
11-Feb-2023 03:14:01 93d6620f79bb: Preparing
11-Feb-2023 03:14:01 be417e78cadd: Preparing
11-Feb-2023 03:14:01 647dc4000019: Preparing
11-Feb-2023 03:14:01 8c5ff259ef50: Preparing
11-Feb-2023 03:14:01 60de0bbda0ed: Waiting
11-Feb-2023 03:14:01 5f70bf18a086: Waiting
11-Feb-2023 03:14:01 b34b6277c81b: Waiting
11-Feb-2023 03:14:01 d0a6a0df9123: Waiting
11-Feb-2023 03:14:01 63bbdb3574ed: Waiting
11-Feb-2023 03:14:01 118873527352: Waiting
11-Feb-2023 03:14:01 93d6620f79bb: Waiting
11-Feb-2023 03:14:01 3353ee3d6876: Waiting
11-Feb-2023 03:14:01 ab5b3452b7ed: Waiting
11-Feb-2023 03:14:01 34f73756f7aa: Waiting
11-Feb-2023 03:14:01 8c5ff259ef50: Waiting
11-Feb-2023 03:14:01 be417e78cadd: Waiting
11-Feb-2023 03:14:01 647dc4000019: Waiting
11-Feb-2023 03:14:02 0889049fe275: Layer already exists
11-Feb-2023 03:14:02 c33e6008ec60: Layer already exists
11-Feb-2023 03:14:02 44fd80dab2f5: Layer already exists
11-Feb-2023 03:14:02 a60ac20359c5: Layer already exists
11-Feb-2023 03:14:02 d9b643cf163c: Layer already exists
11-Feb-2023 03:14:02 60de0bbda0ed: Layer already exists
11-Feb-2023 03:14:02 5f70bf18a086: Layer already exists
11-Feb-2023 03:14:02 b34b6277c81b: Layer already exists
11-Feb-2023 03:14:02 d0a6a0df9123: Layer already exists
11-Feb-2023 03:14:02 63bbdb3574ed: Layer already exists
11-Feb-2023 03:14:02 118873527352: Layer already exists
11-Feb-2023 03:14:02 ab5b3452b7ed: Layer already exists
11-Feb-2023 03:14:02 3353ee3d6876: Layer already exists
11-Feb-2023 03:14:02 34f73756f7aa: Layer already exists
11-Feb-2023 03:14:02 93d6620f79bb: Layer already exists
11-Feb-2023 03:14:02 be417e78cadd: Layer already exists
11-Feb-2023 03:14:02 647dc4000019: Layer already exists
11-Feb-2023 03:14:02 8c5ff259ef50: Layer already exists
11-Feb-2023 03:14:02 qa: digest: sha256:1a4f090b72d2e471f512e8ab33806078138938da20111b4761dc395af98dc1be size: 4088
11-Feb-2023 03:14:02 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
11-Feb-2023 03:14:02 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
11-Feb-2023 03:14:03 Removing unused images if any
11-Feb-2023 03:14:04 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ...
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ...
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication-mysql ... done
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... waiting
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (100.0%)
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.5%)
11-Feb-2023 03:14:04 Pulling openmrs-referenceapplication       ... downloading (0.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (1.1%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (13.2%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (100.0%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (16.1%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (27.5%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (35.0%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (40.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (53.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (54.0%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (71.9%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (67.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (91.4%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (82.0%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... downloading (95.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (0.7%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (21.5%)
11-Feb-2023 03:14:05 Pulling openmrs-referenceapplication       ... extracting (44.4%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (68.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (89.5%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (0.5%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (17.2%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (37.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (56.2%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (73.4%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (89.7%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 03:14:06 Pulling openmrs-referenceapplication       ... extracting (3.0%)
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... digest: sha256:1a4f090b72d2e471f5...
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
11-Feb-2023 03:14:07 Pulling openmrs-referenceapplication       ... done
11-Feb-2023 03:14:07 Recreating all images and volumes
11-Feb-2023 03:14:07 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 03:14:07 Stopping qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 03:14:07 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 03:14:07 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 03:14:10 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 03:14:10 Removing qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 03:14:10 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 03:14:10 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 03:14:10 Removing qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 03:14:10 Removing network qa-refapp_default
11-Feb-2023 03:14:10 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
11-Feb-2023 03:14:10 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 03:14:10 Creating network "qa-refapp_default" with the default driver
11-Feb-2023 03:14:11 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
11-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 03:14:11 Creating qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 03:14:12 Creating qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 03:14:12 Verifying if docker containers bf0bf6b4e8271afc68a874f7509c798921f824f5c9a1a95c932d1cbddf8c7b70
11-Feb-2023 03:14:12 fb0d51e960a54a3c54513f20011a154635582e214ca3ca310aed50d6217d5372 are healthy
11-Feb-2023 03:14:12 Status found: "starting"
11-Feb-2023 03:14:12 Waiting 15s
11-Feb-2023 03:14:27 Verifying if docker containers bf0bf6b4e8271afc68a874f7509c798921f824f5c9a1a95c932d1cbddf8c7b70
11-Feb-2023 03:14:27 fb0d51e960a54a3c54513f20011a154635582e214ca3ca310aed50d6217d5372 are healthy
11-Feb-2023 03:14:27 Status found: "starting"
11-Feb-2023 03:14:27 Waiting 15s
11-Feb-2023 03:14:42 Verifying if docker containers bf0bf6b4e8271afc68a874f7509c798921f824f5c9a1a95c932d1cbddf8c7b70
11-Feb-2023 03:14:42 fb0d51e960a54a3c54513f20011a154635582e214ca3ca310aed50d6217d5372 are healthy
11-Feb-2023 03:14:42 Status found: "healthy"
11-Feb-2023 03:14:42 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
11-Feb-2023 03:14:42 Running post build plugin 'Docker Container Cleanup'
11-Feb-2023 03:14:42 Running post build plugin 'NCover Results Collector'
11-Feb-2023 03:14:42 Running post build plugin 'Build Results Label Collector'
11-Feb-2023 03:14:42 Running post build plugin 'Clover Results Collector'
11-Feb-2023 03:14:42 Running post build plugin 'npm Cache Cleanup'
11-Feb-2023 03:14:42 Running post build plugin 'Artifact Copier'
11-Feb-2023 03:14:42 Finalising the build...
11-Feb-2023 03:14:42 Stopping timer.
11-Feb-2023 03:14:42 Build REFAPP-OMODDISTRO-DTMTS-13463 completed.
11-Feb-2023 03:14:42 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Feb-2023 03:14:42 Running on server: post build plugin 'NCover Results Collector'
11-Feb-2023 03:14:42 Running on server: post build plugin 'Build Labeller'
11-Feb-2023 03:14:42 Running on server: post build plugin 'Clover Delta Calculator'
11-Feb-2023 03:14:42 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Feb-2023 03:14:42 All post build plugins have finished
11-Feb-2023 03:14:42 Generating build results summary...
11-Feb-2023 03:14:42 Saving build results to disk...
11-Feb-2023 03:14:42 Store variable context...
11-Feb-2023 03:14:42 Finished building REFAPP-OMODDISTRO-DTMTS-13463.