Deploys Reference Application SNAPSHOT to maven

Build: #13394 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-Jan-2023 00:13:12 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13394 (REFAPP-OMODDISTRO-DTMTS-13394) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
16-Jan-2023 00:13:12 Remote agent on host yu.openmrs.org
16-Jan-2023 00:13:12 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Jan-2023 00:13:12 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13394 (REFAPP-OMODDISTRO-DTMTS-13394)
16-Jan-2023 00:13:12 Running pre-build action: Build Log Labeller Pre Build Action
16-Jan-2023 00:13:12 Running pre-build action: VCS Version Collector
16-Jan-2023 00:13:12 Running pre-build action: Run Predator
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2947Mb  344Mb 00:01:25 /usr/lib/jvm/java-8-ope
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    3Mb 00:00:19 /home/bamboo-agent/bamb
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   13Mb 00:00:02 /sbin/init             
16-Jan-2023 00:13:12 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Initial free space: 3.5466576 GB
16-Jan-2023 00:13:12 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
16-Jan-2023 00:13:16 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
16-Jan-2023 00:13:16 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
16-Jan-2023 00:13:17 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
16-Jan-2023 00:13:17 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
16-Jan-2023 00:13:17 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
16-Jan-2023 00:13:17 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
16-Jan-2023 00:13:17 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
16-Jan-2023 00:13:17 [PredatorPreBuildAction] Final free space: 3.5782967 GB
16-Jan-2023 00:13:17 [PredatorPreBuildAction] Done
16-Jan-2023 00:13:17
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
16-Jan-2023 00:13:17
Substituting password variable: ${bamboo.dockerhub.password}
16-Jan-2023 00:13:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Jan-2023 00:13:17
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
16-Jan-2023 00:13:17 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
16-Jan-2023 00:13:17
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13394 (REFAPP-OMODDISTRO-DTMTS-13394)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13394-ScriptBuildTask-946679503550470831.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
16-Jan-2023 00:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
16-Jan-2023 00:13:17 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
16-Jan-2023 00:13:17 Configure a credential helper to remove this warning. See
16-Jan-2023 00:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
16-Jan-2023 00:13:17
16-Jan-2023 00:13:17 Login Succeeded
16-Jan-2023 00:13:17 + docker pull openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17 docker.io/openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff: Pulling from openmrs/openmrs-reference-application
16-Jan-2023 00:13:17 Digest: sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17 docker.io/openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff
16-Jan-2023 00:13:17 + docker tag openmrs/openmrs-reference-application@sha256:bf774cb86bda9167b261a94268a4ca2d9b4642b0921e91a697b0e348a934d0ff openmrs/openmrs-reference-application:qa
16-Jan-2023 00:13:17 + docker push openmrs/openmrs-reference-application:qa
16-Jan-2023 00:13:17 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
16-Jan-2023 00:13:17 d8f116df358d: Preparing
16-Jan-2023 00:13:17 debeeabe5645: Preparing
16-Jan-2023 00:13:17 8fce507aab59: Preparing
16-Jan-2023 00:13:17 5767bb069fdd: Preparing
16-Jan-2023 00:13:17 e61322449ad0: Preparing
16-Jan-2023 00:13:17 6fdd21bc4a9b: Preparing
16-Jan-2023 00:13:17 5f70bf18a086: Preparing
16-Jan-2023 00:13:17 b7243530d918: Preparing
16-Jan-2023 00:13:17 23323df4fbd9: Preparing
16-Jan-2023 00:13:17 725ecc0c9d62: Preparing
16-Jan-2023 00:13:17 6c1f45cb6682: Preparing
16-Jan-2023 00:13:17 b8aa9430b356: Preparing
16-Jan-2023 00:13:17 b46e16032f56: Preparing
16-Jan-2023 00:13:17 91ac82815b04: Preparing
16-Jan-2023 00:13:17 24fcda5a8b17: Preparing
16-Jan-2023 00:13:17 a4a7e924299e: Preparing
16-Jan-2023 00:13:17 059c2d42be74: Preparing
16-Jan-2023 00:13:17 3f800aca2a44: Preparing
16-Jan-2023 00:13:17 725ecc0c9d62: Waiting
16-Jan-2023 00:13:17 6c1f45cb6682: Waiting
16-Jan-2023 00:13:17 b8aa9430b356: Waiting
16-Jan-2023 00:13:17 b46e16032f56: Waiting
16-Jan-2023 00:13:17 91ac82815b04: Waiting
16-Jan-2023 00:13:17 24fcda5a8b17: Waiting
16-Jan-2023 00:13:17 a4a7e924299e: Waiting
16-Jan-2023 00:13:17 059c2d42be74: Waiting
16-Jan-2023 00:13:17 3f800aca2a44: Waiting
16-Jan-2023 00:13:17 6fdd21bc4a9b: Waiting
16-Jan-2023 00:13:17 5f70bf18a086: Waiting
16-Jan-2023 00:13:17 b7243530d918: Waiting
16-Jan-2023 00:13:17 23323df4fbd9: Waiting
16-Jan-2023 00:13:18 debeeabe5645: Layer already exists
16-Jan-2023 00:13:18 e61322449ad0: Layer already exists
16-Jan-2023 00:13:18 d8f116df358d: Layer already exists
16-Jan-2023 00:13:18 8fce507aab59: Layer already exists
16-Jan-2023 00:13:18 5767bb069fdd: Layer already exists
16-Jan-2023 00:13:18 6fdd21bc4a9b: Layer already exists
16-Jan-2023 00:13:18 5f70bf18a086: Layer already exists
16-Jan-2023 00:13:18 b7243530d918: Layer already exists
16-Jan-2023 00:13:18 23323df4fbd9: Layer already exists
16-Jan-2023 00:13:18 725ecc0c9d62: Layer already exists
16-Jan-2023 00:13:18 6c1f45cb6682: Layer already exists
16-Jan-2023 00:13:18 b8aa9430b356: Layer already exists
16-Jan-2023 00:13:18 b46e16032f56: Layer already exists
16-Jan-2023 00:13:18 24fcda5a8b17: Layer already exists
16-Jan-2023 00:13:18 91ac82815b04: Layer already exists
16-Jan-2023 00:13:18 a4a7e924299e: Layer already exists
16-Jan-2023 00:13:18 059c2d42be74: Layer already exists
16-Jan-2023 00:13:18 3f800aca2a44: Layer already exists
16-Jan-2023 00:13:18 qa: digest: sha256:050396c9b05e2abf6bd4f06122cae5b7cbd8ddec24dfbda8cf809e9b7a7424ee size: 4088
16-Jan-2023 00:13:18 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
16-Jan-2023 00:13:18 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
16-Jan-2023 00:13:19 Removing unused images if any
16-Jan-2023 00:13:19 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ...
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ...
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ... done
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... already exists
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... pulling fs layer
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... waiting
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (0.7%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (0.5%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (1.1%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (21.5%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (100.0%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (13.3%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (43.0%)
16-Jan-2023 00:13:20 Pulling openmrs-referenceapplication       ... downloading (26.4%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (62.5%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (41.1%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (84.0%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (57.3%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (72.5%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... downloading (87.2%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (0.7%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... verifying checksum
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... download complete
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (24.3%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (47.2%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (74.9%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 00:13:21 Pulling openmrs-referenceapplication       ... extracting (0.5%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (15.7%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (31.4%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (51.7%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (71.4%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (90.2%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (99.3%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (3.0%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... pull complete
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... digest: sha256:050396c9b05e2abf6b...
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
16-Jan-2023 00:13:22 Pulling openmrs-referenceapplication       ... done
16-Jan-2023 00:13:22 Recreating all images and volumes
16-Jan-2023 00:13:22 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 00:13:23 Stopping qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 00:13:23 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 00:13:23 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 00:13:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 00:13:24 Removing qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 00:13:24 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 00:13:24 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 00:13:25 Removing qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 00:13:25 Removing network qa-refapp_default
16-Jan-2023 00:13:25 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
16-Jan-2023 00:13:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
16-Jan-2023 00:13:25 Creating network "qa-refapp_default" with the default driver
16-Jan-2023 00:13:25 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
16-Jan-2023 00:13:25 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
16-Jan-2023 00:13:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
16-Jan-2023 00:13:26 Creating qa-refapp_openmrs-referenceapplication_1       ...
16-Jan-2023 00:13:26 Creating qa-refapp_openmrs-referenceapplication_1       ... done
16-Jan-2023 00:13:27 Verifying if docker containers 4fcceb91804c1687dd138ce9952e7e9aded4e1e05e49c1551b9f238a7e3165d5
16-Jan-2023 00:13:27 9d2393ac6ae63e83f3af56fcb80f9e7d6ac0ccbdd933b360277b6d83f1fac8a7 are healthy
16-Jan-2023 00:13:27 Status found: "starting"
16-Jan-2023 00:13:27 Waiting 15s
16-Jan-2023 00:13:42 Verifying if docker containers 4fcceb91804c1687dd138ce9952e7e9aded4e1e05e49c1551b9f238a7e3165d5
16-Jan-2023 00:13:42 9d2393ac6ae63e83f3af56fcb80f9e7d6ac0ccbdd933b360277b6d83f1fac8a7 are healthy
16-Jan-2023 00:13:42 Status found: "starting"
16-Jan-2023 00:13:42 Waiting 15s
16-Jan-2023 00:13:57 Verifying if docker containers 4fcceb91804c1687dd138ce9952e7e9aded4e1e05e49c1551b9f238a7e3165d5
16-Jan-2023 00:13:57 9d2393ac6ae63e83f3af56fcb80f9e7d6ac0ccbdd933b360277b6d83f1fac8a7 are healthy
16-Jan-2023 00:13:57 Status found: "healthy"
16-Jan-2023 00:13:57 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
16-Jan-2023 00:13:57 Running post build plugin 'Docker Container Cleanup'
16-Jan-2023 00:13:57 Running post build plugin 'NCover Results Collector'
16-Jan-2023 00:13:57 Running post build plugin 'Build Results Label Collector'
16-Jan-2023 00:13:57 Running post build plugin 'Clover Results Collector'
16-Jan-2023 00:13:57 Running post build plugin 'npm Cache Cleanup'
16-Jan-2023 00:13:57 Running post build plugin 'Artifact Copier'
16-Jan-2023 00:13:57 Finalising the build...
16-Jan-2023 00:13:57 Stopping timer.
16-Jan-2023 00:13:57 Build REFAPP-OMODDISTRO-DTMTS-13394 completed.
16-Jan-2023 00:13:57 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Jan-2023 00:13:57 Running on server: post build plugin 'NCover Results Collector'
16-Jan-2023 00:13:57 Running on server: post build plugin 'Build Labeller'
16-Jan-2023 00:13:57 Running on server: post build plugin 'Clover Delta Calculator'
16-Jan-2023 00:13:57 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Jan-2023 00:13:57 All post build plugins have finished
16-Jan-2023 00:13:57 Generating build results summary...
16-Jan-2023 00:13:57 Saving build results to disk...
16-Jan-2023 00:13:57 Store variable context...
16-Jan-2023 00:13:57 Finished building REFAPP-OMODDISTRO-DTMTS-13394.