Deploys Reference Application SNAPSHOT to maven

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

16-Feb-2023 00:12:03 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13478 (REFAPP-OMODDISTRO-DTMTS-13478) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
16-Feb-2023 00:12:03 Remote agent on host yu.openmrs.org
16-Feb-2023 00:12:03 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Feb-2023 00:12:03 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13478 (REFAPP-OMODDISTRO-DTMTS-13478)
16-Feb-2023 00:12:03 Running pre-build action: Build Log Labeller Pre Build Action
16-Feb-2023 00:12:03 Running pre-build action: VCS Version Collector
16-Feb-2023 00:12:03 Running pre-build action: Run Predator
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2967Mb  382Mb 00:06:55 /usr/lib/jvm/java-8-ope
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:01:38 /home/bamboo-agent/bamb
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:19 /sbin/init             
16-Feb-2023 00:12:03 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Initial free space: 1.7195854 GB
16-Feb-2023 00:12:03 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
16-Feb-2023 00:12:07 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
16-Feb-2023 00:12:07 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
16-Feb-2023 00:12:08 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
16-Feb-2023 00:12:08 [PredatorPreBuildAction] Maven stable disk freed: 0.44616094 GB, deleted 118 files
16-Feb-2023 00:12:08 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
16-Feb-2023 00:12:08 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
16-Feb-2023 00:12:08 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
16-Feb-2023 00:12:08 [PredatorPreBuildAction] Final free space: 1.751236 GB
16-Feb-2023 00:12:08 [PredatorPreBuildAction] Done
16-Feb-2023 00:12:08
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
16-Feb-2023 00:12:08
Substituting password variable: ${bamboo.dockerhub.password}
16-Feb-2023 00:12:08
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Feb-2023 00:12:08
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Feb-2023 00:12:08 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
16-Feb-2023 00:12:08
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13478 (REFAPP-OMODDISTRO-DTMTS-13478)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13478-ScriptBuildTask-1497607908554689715.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Feb-2023 00:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
16-Feb-2023 00:12:08 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
16-Feb-2023 00:12:08 Configure a credential helper to remove this warning. See
16-Feb-2023 00:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
16-Feb-2023 00:12:08
16-Feb-2023 00:12:08 Login Succeeded
16-Feb-2023 00:12:08 + docker pull openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08 docker.io/openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd: Pulling from openmrs/openmrs-reference-application
16-Feb-2023 00:12:08 Digest: sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08 docker.io/openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd
16-Feb-2023 00:12:08 + docker tag openmrs/openmrs-reference-application@sha256:64ebfe30943ee1df461a38d03e4b8f8922b94b4c651da327176d14aef78eabbd openmrs/openmrs-reference-application:qa
16-Feb-2023 00:12:08 + docker push openmrs/openmrs-reference-application:qa
16-Feb-2023 00:12:08 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
16-Feb-2023 00:12:08 21c0b2063921: Preparing
16-Feb-2023 00:12:08 2a7a498d9313: Preparing
16-Feb-2023 00:12:08 af7ea210ce05: Preparing
16-Feb-2023 00:12:08 59fda114200e: Preparing
16-Feb-2023 00:12:08 2893150654c9: Preparing
16-Feb-2023 00:12:08 60de0bbda0ed: Preparing
16-Feb-2023 00:12:08 5f70bf18a086: Preparing
16-Feb-2023 00:12:08 b34b6277c81b: Preparing
16-Feb-2023 00:12:08 d0a6a0df9123: Preparing
16-Feb-2023 00:12:08 63bbdb3574ed: Preparing
16-Feb-2023 00:12:08 118873527352: Preparing
16-Feb-2023 00:12:08 3353ee3d6876: Preparing
16-Feb-2023 00:12:08 ab5b3452b7ed: Preparing
16-Feb-2023 00:12:08 34f73756f7aa: Preparing
16-Feb-2023 00:12:08 93d6620f79bb: Preparing
16-Feb-2023 00:12:08 be417e78cadd: Preparing
16-Feb-2023 00:12:08 647dc4000019: Preparing
16-Feb-2023 00:12:08 8c5ff259ef50: Preparing
16-Feb-2023 00:12:08 60de0bbda0ed: Waiting
16-Feb-2023 00:12:08 5f70bf18a086: Waiting
16-Feb-2023 00:12:08 b34b6277c81b: Waiting
16-Feb-2023 00:12:08 d0a6a0df9123: Waiting
16-Feb-2023 00:12:08 63bbdb3574ed: Waiting
16-Feb-2023 00:12:08 118873527352: Waiting
16-Feb-2023 00:12:08 3353ee3d6876: Waiting
16-Feb-2023 00:12:08 ab5b3452b7ed: Waiting
16-Feb-2023 00:12:08 34f73756f7aa: Waiting
16-Feb-2023 00:12:08 93d6620f79bb: Waiting
16-Feb-2023 00:12:08 be417e78cadd: Waiting
16-Feb-2023 00:12:08 647dc4000019: Waiting
16-Feb-2023 00:12:08 8c5ff259ef50: Waiting
16-Feb-2023 00:12:09 2893150654c9: Layer already exists
16-Feb-2023 00:12:09 af7ea210ce05: Layer already exists
16-Feb-2023 00:12:09 2a7a498d9313: Layer already exists
16-Feb-2023 00:12:09 59fda114200e: Layer already exists
16-Feb-2023 00:12:09 21c0b2063921: Layer already exists
16-Feb-2023 00:12:09 60de0bbda0ed: Layer already exists
16-Feb-2023 00:12:09 5f70bf18a086: Layer already exists
16-Feb-2023 00:12:09 b34b6277c81b: Layer already exists
16-Feb-2023 00:12:09 63bbdb3574ed: Layer already exists
16-Feb-2023 00:12:09 d0a6a0df9123: Layer already exists
16-Feb-2023 00:12:09 118873527352: Layer already exists
16-Feb-2023 00:12:09 3353ee3d6876: Layer already exists
16-Feb-2023 00:12:09 34f73756f7aa: Layer already exists
16-Feb-2023 00:12:09 ab5b3452b7ed: Layer already exists
16-Feb-2023 00:12:09 93d6620f79bb: Layer already exists
16-Feb-2023 00:12:09 be417e78cadd: Layer already exists
16-Feb-2023 00:12:09 647dc4000019: Layer already exists
16-Feb-2023 00:12:09 8c5ff259ef50: Layer already exists
16-Feb-2023 00:12:09 qa: digest: sha256:606dd1ecf81e2f744a9195359ae6cb7d17ab8262e12a5bc3514c9a0f6d67c3cf size: 4088
16-Feb-2023 00:12:09 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
16-Feb-2023 00:12:09 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
16-Feb-2023 00:12:10 Removing unused images if any
16-Feb-2023 00:12:11 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication-mysql ...
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ...
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication-mysql ... done
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:11 Pulling openmrs-referenceapplication       ... already exists
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... waiting
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (0.7%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (0.5%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (23.5%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (13.2%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (1.1%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (47.7%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (28.9%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (74.0%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (47.6%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (96.2%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (63.2%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (77.0%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... extracting (0.7%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... downloading (89.7%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... extracting (13.9%)
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... verifying checksum
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... download complete
16-Feb-2023 00:12:12 Pulling openmrs-referenceapplication       ... extracting (37.5%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (63.1%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (88.1%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (0.5%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (19.2%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (39.5%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (58.2%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (76.5%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (92.2%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (3.0%)
16-Feb-2023 00:12:13 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Feb-2023 00:12:14 Pulling openmrs-referenceapplication       ... pull complete
16-Feb-2023 00:12:14 Pulling openmrs-referenceapplication       ... digest: sha256:606dd1ecf81e2f744a...
16-Feb-2023 00:12:14 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
16-Feb-2023 00:12:14 Pulling openmrs-referenceapplication       ... done
16-Feb-2023 00:12:14 Recreating all images and volumes
16-Feb-2023 00:12:14 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 00:12:14 Stopping qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 00:12:14 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 00:12:14 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 00:12:16 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 00:12:16 Removing qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 00:12:16 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 00:12:16 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 00:12:17 Removing qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 00:12:17 Removing network qa-refapp_default
16-Feb-2023 00:12:17 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
16-Feb-2023 00:12:17 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Feb-2023 00:12:17 Creating network "qa-refapp_default" with the default driver
16-Feb-2023 00:12:17 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
16-Feb-2023 00:12:17 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Feb-2023 00:12:18 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Feb-2023 00:12:18 Creating qa-refapp_openmrs-referenceapplication_1       ...
16-Feb-2023 00:12:19 Creating qa-refapp_openmrs-referenceapplication_1       ... done
16-Feb-2023 00:12:19 Verifying if docker containers e1a9d6006e719cc4b3dbb08ebeb8d90e1f1c6bb9a9320edcc1acc8f564ba9bf5
16-Feb-2023 00:12:19 0c1a75dcd51db4e86beed662e2af70ea4855c2f3e4f14735fe2d05fde2bb193c are healthy
16-Feb-2023 00:12:19 Status found: "starting"
16-Feb-2023 00:12:19 Waiting 15s
16-Feb-2023 00:12:34 Verifying if docker containers e1a9d6006e719cc4b3dbb08ebeb8d90e1f1c6bb9a9320edcc1acc8f564ba9bf5
16-Feb-2023 00:12:34 0c1a75dcd51db4e86beed662e2af70ea4855c2f3e4f14735fe2d05fde2bb193c are healthy
16-Feb-2023 00:12:34 Status found: "starting"
16-Feb-2023 00:12:34 Waiting 15s
16-Feb-2023 00:12:49 Verifying if docker containers e1a9d6006e719cc4b3dbb08ebeb8d90e1f1c6bb9a9320edcc1acc8f564ba9bf5
16-Feb-2023 00:12:49 0c1a75dcd51db4e86beed662e2af70ea4855c2f3e4f14735fe2d05fde2bb193c are healthy
16-Feb-2023 00:12:49 Status found: "healthy"
16-Feb-2023 00:12:49 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
16-Feb-2023 00:12:49 Running post build plugin 'Docker Container Cleanup'
16-Feb-2023 00:12:49 Running post build plugin 'NCover Results Collector'
16-Feb-2023 00:12:49 Running post build plugin 'Build Results Label Collector'
16-Feb-2023 00:12:49 Running post build plugin 'Clover Results Collector'
16-Feb-2023 00:12:49 Running post build plugin 'npm Cache Cleanup'
16-Feb-2023 00:12:49 Running post build plugin 'Artifact Copier'
16-Feb-2023 00:12:49 Finalising the build...
16-Feb-2023 00:12:49 Stopping timer.
16-Feb-2023 00:12:49 Build REFAPP-OMODDISTRO-DTMTS-13478 completed.
16-Feb-2023 00:12:49 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Feb-2023 00:12:49 Running on server: post build plugin 'NCover Results Collector'
16-Feb-2023 00:12:49 Running on server: post build plugin 'Build Labeller'
16-Feb-2023 00:12:49 Running on server: post build plugin 'Clover Delta Calculator'
16-Feb-2023 00:12:49 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Feb-2023 00:12:49 All post build plugins have finished
16-Feb-2023 00:12:49 Generating build results summary...
16-Feb-2023 00:12:49 Saving build results to disk...
16-Feb-2023 00:12:49 Store variable context...
16-Feb-2023 00:12:49 Finished building REFAPP-OMODDISTRO-DTMTS-13478.