Deploys Reference Application SNAPSHOT to maven

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

15-Jan-2023 03:14:22 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13393 (REFAPP-OMODDISTRO-DTMTS-13393) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
15-Jan-2023 03:14:22 Remote agent on host yu.openmrs.org
15-Jan-2023 03:14:22 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Jan-2023 03:14:22 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13393 (REFAPP-OMODDISTRO-DTMTS-13393)
15-Jan-2023 03:14:22 Running pre-build action: Build Log Labeller Pre Build Action
15-Jan-2023 03:14:22 Running pre-build action: VCS Version Collector
15-Jan-2023 03:14:22 Running pre-build action: Run Predator
15-Jan-2023 03:14:22 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Jan-2023 03:14:22 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Jan-2023 03:14:22 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 31687 java        1463 bamboo-age 2975Mb  454Mb 00:12:39 /usr/lib/jvm/java-8-ope
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1463 wrapper        1 bamboo-age   16Mb    3Mb 00:19:02 /home/bamboo-agent/bamb
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:10:29 /sbin/init             
15-Jan-2023 03:14:24 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Initial free space: 3.7755814 GB
15-Jan-2023 03:14:24 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Jan-2023 03:14:28 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
15-Jan-2023 03:14:28 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
15-Jan-2023 03:14:28 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Final free space: 3.8072166 GB
15-Jan-2023 03:14:28 [PredatorPreBuildAction] Done
15-Jan-2023 03:14:28
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
15-Jan-2023 03:14:28
Substituting password variable: ${bamboo.dockerhub.password}
15-Jan-2023 03:14:28
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:28
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Jan-2023 03:14:28
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Jan-2023 03:14:28 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
15-Jan-2023 03:14:28
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13393 (REFAPP-OMODDISTRO-DTMTS-13393)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13393-ScriptBuildTask-8036767115186293505.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Jan-2023 03:14:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
15-Jan-2023 03:14:29 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
15-Jan-2023 03:14:29 Configure a credential helper to remove this warning. See
15-Jan-2023 03:14:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
15-Jan-2023 03:14:29
15-Jan-2023 03:14:29 Login Succeeded
15-Jan-2023 03:14:29 + docker pull openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:29 docker.io/openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77: Pulling from openmrs/openmrs-reference-application
15-Jan-2023 03:14:29 Digest: sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:29 docker.io/openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77
15-Jan-2023 03:14:29 + docker tag openmrs/openmrs-reference-application@sha256:554de7604cbcf9f27fd92e92137316b26d844b85086d111824d7dabf2938ad77 openmrs/openmrs-reference-application:qa
15-Jan-2023 03:14:29 + docker push openmrs/openmrs-reference-application:qa
15-Jan-2023 03:14:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
15-Jan-2023 03:14:29 77c9d3733c1f: Preparing
15-Jan-2023 03:14:29 6209d4f3dbec: Preparing
15-Jan-2023 03:14:29 339bd4d18d07: Preparing
15-Jan-2023 03:14:29 c5e14a2fdbf6: Preparing
15-Jan-2023 03:14:29 e61322449ad0: Preparing
15-Jan-2023 03:14:29 6fdd21bc4a9b: Preparing
15-Jan-2023 03:14:29 5f70bf18a086: Preparing
15-Jan-2023 03:14:29 b7243530d918: Preparing
15-Jan-2023 03:14:29 23323df4fbd9: Preparing
15-Jan-2023 03:14:29 725ecc0c9d62: Preparing
15-Jan-2023 03:14:29 6c1f45cb6682: Preparing
15-Jan-2023 03:14:29 b8aa9430b356: Preparing
15-Jan-2023 03:14:29 b46e16032f56: Preparing
15-Jan-2023 03:14:29 91ac82815b04: Preparing
15-Jan-2023 03:14:29 24fcda5a8b17: Preparing
15-Jan-2023 03:14:29 a4a7e924299e: Preparing
15-Jan-2023 03:14:29 059c2d42be74: Preparing
15-Jan-2023 03:14:29 3f800aca2a44: Preparing
15-Jan-2023 03:14:29 6fdd21bc4a9b: Waiting
15-Jan-2023 03:14:29 5f70bf18a086: Waiting
15-Jan-2023 03:14:29 b7243530d918: Waiting
15-Jan-2023 03:14:29 23323df4fbd9: Waiting
15-Jan-2023 03:14:29 725ecc0c9d62: Waiting
15-Jan-2023 03:14:29 6c1f45cb6682: Waiting
15-Jan-2023 03:14:29 b8aa9430b356: Waiting
15-Jan-2023 03:14:29 b46e16032f56: Waiting
15-Jan-2023 03:14:29 91ac82815b04: Waiting
15-Jan-2023 03:14:29 24fcda5a8b17: Waiting
15-Jan-2023 03:14:29 a4a7e924299e: Waiting
15-Jan-2023 03:14:29 059c2d42be74: Waiting
15-Jan-2023 03:14:29 3f800aca2a44: Waiting
15-Jan-2023 03:14:29 77c9d3733c1f: Layer already exists
15-Jan-2023 03:14:29 6209d4f3dbec: Layer already exists
15-Jan-2023 03:14:29 e61322449ad0: Layer already exists
15-Jan-2023 03:14:29 c5e14a2fdbf6: Layer already exists
15-Jan-2023 03:14:29 339bd4d18d07: Layer already exists
15-Jan-2023 03:14:29 6fdd21bc4a9b: Layer already exists
15-Jan-2023 03:14:29 5f70bf18a086: Layer already exists
15-Jan-2023 03:14:29 b7243530d918: Layer already exists
15-Jan-2023 03:14:29 725ecc0c9d62: Layer already exists
15-Jan-2023 03:14:29 23323df4fbd9: Layer already exists
15-Jan-2023 03:14:30 6c1f45cb6682: Layer already exists
15-Jan-2023 03:14:30 b8aa9430b356: Layer already exists
15-Jan-2023 03:14:30 b46e16032f56: Layer already exists
15-Jan-2023 03:14:30 91ac82815b04: Layer already exists
15-Jan-2023 03:14:30 24fcda5a8b17: Layer already exists
15-Jan-2023 03:14:30 a4a7e924299e: Layer already exists
15-Jan-2023 03:14:30 059c2d42be74: Layer already exists
15-Jan-2023 03:14:30 3f800aca2a44: Layer already exists
15-Jan-2023 03:14:30 qa: digest: sha256:7d73f738e7e824d9baa8cafdbab94db765bf9b5fcbfcf99725abd65552334f02 size: 4088
15-Jan-2023 03:14:30 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
15-Jan-2023 03:14:30 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
15-Jan-2023 03:14:31 Removing unused images if any
15-Jan-2023 03:14:31 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 03:14:31 Pulling openmrs-referenceapplication-mysql ...
15-Jan-2023 03:14:31 Pulling openmrs-referenceapplication       ...
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication-mysql ... done
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... waiting
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (100.0%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (0.7%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (0.5%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (20.2%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (1.1%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (11.3%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (100.0%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (39.0%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (24.1%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (58.5%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (38.3%)
15-Jan-2023 03:14:32 Pulling openmrs-referenceapplication       ... downloading (78.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (51.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (92.7%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (60.8%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (72.6%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (85.9%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (0.7%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... downloading (97.6%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (15.3%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (34.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (52.7%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (77.7%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:33 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (0.5%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (14.2%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (30.4%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (50.7%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (68.9%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (86.6%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (3.0%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... digest: sha256:7d73f738e7e824d9ba...
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
15-Jan-2023 03:14:34 Pulling openmrs-referenceapplication       ... done
15-Jan-2023 03:14:34 Recreating all images and volumes
15-Jan-2023 03:14:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 03:14:35 Stopping qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 03:14:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 03:14:35 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 03:14:37 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 03:14:37 Removing qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 03:14:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 03:14:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 03:14:38 Removing qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 03:14:38 Removing network qa-refapp_default
15-Jan-2023 03:14:38 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
15-Jan-2023 03:14:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 03:14:38 Creating network "qa-refapp_default" with the default driver
15-Jan-2023 03:14:38 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
15-Jan-2023 03:14:38 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 03:14:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 03:14:39 Creating qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 03:14:40 Creating qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 03:14:40 Verifying if docker containers c58b02edf8d8de2182b3c7860581dfa8578e08debbbbd7f484c022e22fd664da
15-Jan-2023 03:14:40 8033e68861c259f0b48120b78aefaf5c4350078ed5aee00a0656bf6d12c3f684 are healthy
15-Jan-2023 03:14:40 Status found: "starting"
15-Jan-2023 03:14:40 Waiting 15s
15-Jan-2023 03:14:55 Verifying if docker containers c58b02edf8d8de2182b3c7860581dfa8578e08debbbbd7f484c022e22fd664da
15-Jan-2023 03:14:55 8033e68861c259f0b48120b78aefaf5c4350078ed5aee00a0656bf6d12c3f684 are healthy
15-Jan-2023 03:14:55 Status found: "starting"
15-Jan-2023 03:14:55 Waiting 15s
15-Jan-2023 03:15:10 Verifying if docker containers c58b02edf8d8de2182b3c7860581dfa8578e08debbbbd7f484c022e22fd664da
15-Jan-2023 03:15:10 8033e68861c259f0b48120b78aefaf5c4350078ed5aee00a0656bf6d12c3f684 are healthy
15-Jan-2023 03:15:10 Status found: "healthy"
15-Jan-2023 03:15:10 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
15-Jan-2023 03:15:10 Running post build plugin 'Docker Container Cleanup'
15-Jan-2023 03:15:10 Running post build plugin 'NCover Results Collector'
15-Jan-2023 03:15:10 Running post build plugin 'Build Results Label Collector'
15-Jan-2023 03:15:10 Running post build plugin 'Clover Results Collector'
15-Jan-2023 03:15:10 Running post build plugin 'npm Cache Cleanup'
15-Jan-2023 03:15:10 Running post build plugin 'Artifact Copier'
15-Jan-2023 03:15:10 Finalising the build...
15-Jan-2023 03:15:10 Stopping timer.
15-Jan-2023 03:15:10 Build REFAPP-OMODDISTRO-DTMTS-13393 completed.
15-Jan-2023 03:15:10 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Jan-2023 03:15:10 Running on server: post build plugin 'NCover Results Collector'
15-Jan-2023 03:15:10 Running on server: post build plugin 'Build Labeller'
15-Jan-2023 03:15:10 Running on server: post build plugin 'Clover Delta Calculator'
15-Jan-2023 03:15:10 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Jan-2023 03:15:10 All post build plugins have finished
15-Jan-2023 03:15:10 Generating build results summary...
15-Jan-2023 03:15:10 Saving build results to disk...
15-Jan-2023 03:15:10 Store variable context...
15-Jan-2023 03:15:10 Finished building REFAPP-OMODDISTRO-DTMTS-13393.