Deploys Reference Application SNAPSHOT to maven

Build: #13453 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 00:12:34 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13453 (REFAPP-OMODDISTRO-DTMTS-13453) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
08-Feb-2023 00:12:34 Remote agent on host xindi.openmrs.org
08-Feb-2023 00:12:34 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
08-Feb-2023 00:12:34 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13453 (REFAPP-OMODDISTRO-DTMTS-13453)
08-Feb-2023 00:12:34 Running pre-build action: Build Log Labeller Pre Build Action
08-Feb-2023 00:12:34 Running pre-build action: VCS Version Collector
08-Feb-2023 00:12:34 Running pre-build action: Run Predator
08-Feb-2023 00:12:34 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
08-Feb-2023 00:12:34 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
08-Feb-2023 00:12:34 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
08-Feb-2023 00:12:34 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
08-Feb-2023 00:12:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11218 java        1484 bamboo-age 2976Mb  573Mb 00:14:36 /usr/lib/jvm/java-8-ope
08-Feb-2023 00:12:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1484 wrapper        1 bamboo-age   16Mb    2Mb 00:10:59 /home/bamboo-agent/bamb
08-Feb-2023 00:12:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:04:46 /sbin/init             
08-Feb-2023 00:12:35 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
08-Feb-2023 00:12:35 [PredatorPreBuildAction] Initial free space: 2.9100647 GB
08-Feb-2023 00:12:35 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
08-Feb-2023 00:12:39 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
08-Feb-2023 00:12:39 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
08-Feb-2023 00:12:39 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Final free space: 2.9417038 GB
08-Feb-2023 00:12:39 [PredatorPreBuildAction] Done
08-Feb-2023 00:12:39
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
08-Feb-2023 00:12:39
Substituting password variable: ${bamboo.dockerhub.password}
08-Feb-2023 00:12:39
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:39
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:39
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
08-Feb-2023 00:12:39
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
08-Feb-2023 00:12:39 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
08-Feb-2023 00:12:39
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13453 (REFAPP-OMODDISTRO-DTMTS-13453)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13453-ScriptBuildTask-2554751039972998735.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
08-Feb-2023 00:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
08-Feb-2023 00:12:40 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
08-Feb-2023 00:12:40 Configure a credential helper to remove this warning. See
08-Feb-2023 00:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
08-Feb-2023 00:12:40
08-Feb-2023 00:12:40 Login Succeeded
08-Feb-2023 00:12:40 + docker pull openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:40 docker.io/openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202: Pulling from openmrs/openmrs-reference-application
08-Feb-2023 00:12:40 Digest: sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:40 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:40 docker.io/openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202
08-Feb-2023 00:12:40 + docker tag openmrs/openmrs-reference-application@sha256:ffbe3bbd6a5d5d5376b1a15fc770af35e25d55fbec17365bb0217310e7097202 openmrs/openmrs-reference-application:qa
08-Feb-2023 00:12:40 + docker push openmrs/openmrs-reference-application:qa
08-Feb-2023 00:12:40 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
08-Feb-2023 00:12:40 c39e478a4d8d: Preparing
08-Feb-2023 00:12:40 aabe73d63ba8: Preparing
08-Feb-2023 00:12:40 37a40846a95a: Preparing
08-Feb-2023 00:12:40 4a8a52a0c35a: Preparing
08-Feb-2023 00:12:40 af3c86eda487: Preparing
08-Feb-2023 00:12:40 60de0bbda0ed: Preparing
08-Feb-2023 00:12:40 5f70bf18a086: Preparing
08-Feb-2023 00:12:40 b34b6277c81b: Preparing
08-Feb-2023 00:12:40 d0a6a0df9123: Preparing
08-Feb-2023 00:12:40 63bbdb3574ed: Preparing
08-Feb-2023 00:12:40 118873527352: Preparing
08-Feb-2023 00:12:40 3353ee3d6876: Preparing
08-Feb-2023 00:12:40 ab5b3452b7ed: Preparing
08-Feb-2023 00:12:40 34f73756f7aa: Preparing
08-Feb-2023 00:12:40 93d6620f79bb: Preparing
08-Feb-2023 00:12:40 be417e78cadd: Preparing
08-Feb-2023 00:12:40 647dc4000019: Preparing
08-Feb-2023 00:12:40 8c5ff259ef50: Preparing
08-Feb-2023 00:12:40 b34b6277c81b: Waiting
08-Feb-2023 00:12:40 d0a6a0df9123: Waiting
08-Feb-2023 00:12:40 63bbdb3574ed: Waiting
08-Feb-2023 00:12:40 118873527352: Waiting
08-Feb-2023 00:12:40 3353ee3d6876: Waiting
08-Feb-2023 00:12:40 ab5b3452b7ed: Waiting
08-Feb-2023 00:12:40 34f73756f7aa: Waiting
08-Feb-2023 00:12:40 93d6620f79bb: Waiting
08-Feb-2023 00:12:40 be417e78cadd: Waiting
08-Feb-2023 00:12:40 647dc4000019: Waiting
08-Feb-2023 00:12:40 8c5ff259ef50: Waiting
08-Feb-2023 00:12:40 60de0bbda0ed: Waiting
08-Feb-2023 00:12:40 5f70bf18a086: Waiting
08-Feb-2023 00:12:40 af3c86eda487: Layer already exists
08-Feb-2023 00:12:40 aabe73d63ba8: Layer already exists
08-Feb-2023 00:12:40 4a8a52a0c35a: Layer already exists
08-Feb-2023 00:12:40 37a40846a95a: Layer already exists
08-Feb-2023 00:12:40 c39e478a4d8d: Layer already exists
08-Feb-2023 00:12:40 60de0bbda0ed: Layer already exists
08-Feb-2023 00:12:40 5f70bf18a086: Layer already exists
08-Feb-2023 00:12:40 b34b6277c81b: Layer already exists
08-Feb-2023 00:12:40 63bbdb3574ed: Layer already exists
08-Feb-2023 00:12:40 d0a6a0df9123: Layer already exists
08-Feb-2023 00:12:41 118873527352: Layer already exists
08-Feb-2023 00:12:41 3353ee3d6876: Layer already exists
08-Feb-2023 00:12:41 34f73756f7aa: Layer already exists
08-Feb-2023 00:12:41 ab5b3452b7ed: Layer already exists
08-Feb-2023 00:12:41 93d6620f79bb: Layer already exists
08-Feb-2023 00:12:41 be417e78cadd: Layer already exists
08-Feb-2023 00:12:41 647dc4000019: Layer already exists
08-Feb-2023 00:12:41 8c5ff259ef50: Layer already exists
08-Feb-2023 00:12:41 qa: digest: sha256:13f9f52aadf96c85acb6d0ec6c62d166c05c09c258fd3a07c436da98a0143c87 size: 4088
08-Feb-2023 00:12:41 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
08-Feb-2023 00:12:41 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
08-Feb-2023 00:12:42 Removing unused images if any
08-Feb-2023 00:12:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication-mysql ...
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ...
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication-mysql ... done
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... waiting
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (100.0%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (0.7%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (0.5%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (19.5%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (1.1%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (9.3%)
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 00:12:43 Pulling openmrs-referenceapplication       ... downloading (38.9%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (22.1%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (57.1%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (36.3%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (75.2%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (52.0%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (96.1%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (67.7%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (82.4%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (0.7%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... downloading (96.1%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (22.9%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (47.2%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (74.2%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (97.8%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:44 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (0.5%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (17.7%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (36.5%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (55.2%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (73.4%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (91.2%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (3.0%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... digest: sha256:13f9f52aadf96c85ac...
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
08-Feb-2023 00:12:45 Pulling openmrs-referenceapplication       ... done
08-Feb-2023 00:12:45 Recreating all images and volumes
08-Feb-2023 00:12:46 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 00:12:46 Stopping qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 00:12:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 00:12:46 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 00:12:48 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 00:12:48 Removing qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 00:12:48 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 00:12:48 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 00:12:50 Removing qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 00:12:50 Removing network qa-refapp_default
08-Feb-2023 00:12:50 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
08-Feb-2023 00:12:51 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 00:12:51 Creating network "qa-refapp_default" with the default driver
08-Feb-2023 00:12:51 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
08-Feb-2023 00:12:51 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 00:12:51 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 00:12:51 Creating qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 00:12:52 Creating qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 00:12:52 Verifying if docker containers 262522d8e75d0ac3598a080d17b63ecee2855de52f2d908ee2fa429859813fc5
08-Feb-2023 00:12:52 6518d75c6cf3945222908351422b720e27c70c17b99368a96dca7debc67249e1 are healthy
08-Feb-2023 00:12:52 Status found: "starting"
08-Feb-2023 00:12:52 Waiting 15s
08-Feb-2023 00:13:07 Verifying if docker containers 262522d8e75d0ac3598a080d17b63ecee2855de52f2d908ee2fa429859813fc5
08-Feb-2023 00:13:07 6518d75c6cf3945222908351422b720e27c70c17b99368a96dca7debc67249e1 are healthy
08-Feb-2023 00:13:07 Status found: "starting"
08-Feb-2023 00:13:07 Waiting 15s
08-Feb-2023 00:13:22 Verifying if docker containers 262522d8e75d0ac3598a080d17b63ecee2855de52f2d908ee2fa429859813fc5
08-Feb-2023 00:13:22 6518d75c6cf3945222908351422b720e27c70c17b99368a96dca7debc67249e1 are healthy
08-Feb-2023 00:13:22 Status found: "healthy"
08-Feb-2023 00:13:22 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
08-Feb-2023 00:13:22 Running post build plugin 'Docker Container Cleanup'
08-Feb-2023 00:13:22 Running post build plugin 'NCover Results Collector'
08-Feb-2023 00:13:22 Running post build plugin 'Build Results Label Collector'
08-Feb-2023 00:13:22 Running post build plugin 'Clover Results Collector'
08-Feb-2023 00:13:22 Running post build plugin 'npm Cache Cleanup'
08-Feb-2023 00:13:22 Running post build plugin 'Artifact Copier'
08-Feb-2023 00:13:22 Finalising the build...
08-Feb-2023 00:13:22 Stopping timer.
08-Feb-2023 00:13:22 Build REFAPP-OMODDISTRO-DTMTS-13453 completed.
08-Feb-2023 00:13:22 Running on server: post build plugin 'Build Hanging Detection Configuration'
08-Feb-2023 00:13:22 Running on server: post build plugin 'NCover Results Collector'
08-Feb-2023 00:13:22 Running on server: post build plugin 'Build Labeller'
08-Feb-2023 00:13:22 Running on server: post build plugin 'Clover Delta Calculator'
08-Feb-2023 00:13:22 Running on server: post build plugin 'Maven Dependencies Postprocessor'
08-Feb-2023 00:13:22 All post build plugins have finished
08-Feb-2023 00:13:22 Generating build results summary...
08-Feb-2023 00:13:23 Saving build results to disk...
08-Feb-2023 00:13:23 Store variable context...
08-Feb-2023 00:13:23 Finished building REFAPP-OMODDISTRO-DTMTS-13453.