Deploys Reference Application SNAPSHOT to maven

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

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