Deploys Reference Application SNAPSHOT to maven

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

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