Deploys Reference Application SNAPSHOT to maven

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

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