Deploys Reference Application SNAPSHOT to maven

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

10-Jan-2023 03:14:16 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13378 (REFAPP-OMODDISTRO-DTMTS-13378) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
10-Jan-2023 03:14:16 Remote agent on host xiao.openmrs.org
10-Jan-2023 03:14:16 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Jan-2023 03:14:16 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13378 (REFAPP-OMODDISTRO-DTMTS-13378)
10-Jan-2023 03:14:16 Running pre-build action: Build Log Labeller Pre Build Action
10-Jan-2023 03:14:16 Running pre-build action: VCS Version Collector
10-Jan-2023 03:14:16 Running pre-build action: Run Predator
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 123
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2970Mb  377Mb 00:03:51 /usr/lib/jvm/java-8-ope
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:16:33 /home/bamboo-agent/bamb
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:14 /sbin/init             
10-Jan-2023 03:14:16 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Initial free space: 3.123005 GB
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
10-Jan-2023 03:14:16 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
10-Jan-2023 03:14:16 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
10-Jan-2023 03:14:16 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Final free space: 3.1546478 GB
10-Jan-2023 03:14:16 [PredatorPreBuildAction] Done
10-Jan-2023 03:14:16
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
10-Jan-2023 03:14:16
Substituting password variable: ${bamboo.dockerhub.password}
10-Jan-2023 03:14:16
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:16
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:16
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Jan-2023 03:14:16
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
10-Jan-2023 03:14:16 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Jan-2023 03:14:16
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13378 (REFAPP-OMODDISTRO-DTMTS-13378)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13378-ScriptBuildTask-6818274044325127310.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
10-Jan-2023 03:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
10-Jan-2023 03:14:17 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
10-Jan-2023 03:14:17 Configure a credential helper to remove this warning. See
10-Jan-2023 03:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
10-Jan-2023 03:14:17
10-Jan-2023 03:14:17 Login Succeeded
10-Jan-2023 03:14:17 + docker pull openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:17 docker.io/openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2: Pulling from openmrs/openmrs-reference-application
10-Jan-2023 03:14:17 Digest: sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:17 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:17 docker.io/openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2
10-Jan-2023 03:14:17 + docker tag openmrs/openmrs-reference-application@sha256:c83f8988448d40ea4edf4bccbe4b653a3955f302b270f26bcf91c550af11c1d2 openmrs/openmrs-reference-application:qa
10-Jan-2023 03:14:17 + docker push openmrs/openmrs-reference-application:qa
10-Jan-2023 03:14:17 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
10-Jan-2023 03:14:17 49b8a062f445: Preparing
10-Jan-2023 03:14:17 f730af52e5e1: Preparing
10-Jan-2023 03:14:17 6f0574981ba2: Preparing
10-Jan-2023 03:14:17 fd240d315503: Preparing
10-Jan-2023 03:14:17 37f994ef76e7: Preparing
10-Jan-2023 03:14:17 6fdd21bc4a9b: Preparing
10-Jan-2023 03:14:17 5f70bf18a086: Preparing
10-Jan-2023 03:14:17 b7243530d918: Preparing
10-Jan-2023 03:14:17 23323df4fbd9: Preparing
10-Jan-2023 03:14:17 725ecc0c9d62: Preparing
10-Jan-2023 03:14:17 6c1f45cb6682: Preparing
10-Jan-2023 03:14:17 b8aa9430b356: Preparing
10-Jan-2023 03:14:17 b46e16032f56: Preparing
10-Jan-2023 03:14:17 91ac82815b04: Preparing
10-Jan-2023 03:14:17 24fcda5a8b17: Preparing
10-Jan-2023 03:14:17 a4a7e924299e: Preparing
10-Jan-2023 03:14:17 059c2d42be74: Preparing
10-Jan-2023 03:14:17 3f800aca2a44: Preparing
10-Jan-2023 03:14:17 725ecc0c9d62: Waiting
10-Jan-2023 03:14:17 6c1f45cb6682: Waiting
10-Jan-2023 03:14:17 6fdd21bc4a9b: Waiting
10-Jan-2023 03:14:17 5f70bf18a086: Waiting
10-Jan-2023 03:14:17 b7243530d918: Waiting
10-Jan-2023 03:14:17 23323df4fbd9: Waiting
10-Jan-2023 03:14:17 b46e16032f56: Waiting
10-Jan-2023 03:14:17 91ac82815b04: Waiting
10-Jan-2023 03:14:17 24fcda5a8b17: Waiting
10-Jan-2023 03:14:17 a4a7e924299e: Waiting
10-Jan-2023 03:14:17 059c2d42be74: Waiting
10-Jan-2023 03:14:17 3f800aca2a44: Waiting
10-Jan-2023 03:14:17 b8aa9430b356: Waiting
10-Jan-2023 03:14:17 49b8a062f445: Layer already exists
10-Jan-2023 03:14:17 6f0574981ba2: Layer already exists
10-Jan-2023 03:14:17 f730af52e5e1: Layer already exists
10-Jan-2023 03:14:17 37f994ef76e7: Layer already exists
10-Jan-2023 03:14:17 fd240d315503: Layer already exists
10-Jan-2023 03:14:17 6fdd21bc4a9b: Layer already exists
10-Jan-2023 03:14:17 5f70bf18a086: Layer already exists
10-Jan-2023 03:14:17 23323df4fbd9: Layer already exists
10-Jan-2023 03:14:17 725ecc0c9d62: Layer already exists
10-Jan-2023 03:14:17 b7243530d918: Layer already exists
10-Jan-2023 03:14:17 6c1f45cb6682: Layer already exists
10-Jan-2023 03:14:17 b8aa9430b356: Layer already exists
10-Jan-2023 03:14:17 b46e16032f56: Layer already exists
10-Jan-2023 03:14:17 24fcda5a8b17: Layer already exists
10-Jan-2023 03:14:17 91ac82815b04: Layer already exists
10-Jan-2023 03:14:18 a4a7e924299e: Layer already exists
10-Jan-2023 03:14:18 059c2d42be74: Layer already exists
10-Jan-2023 03:14:18 3f800aca2a44: Layer already exists
10-Jan-2023 03:14:18 qa: digest: sha256:790d547fddd6a4c33caaded4c3f146e22148936cb434651006fccf01685021db size: 4088
10-Jan-2023 03:14:18 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
10-Jan-2023 03:14:18 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
10-Jan-2023 03:14:19 Removing unused images if any
10-Jan-2023 03:14:19 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 03:14:19 Pulling openmrs-referenceapplication-mysql ...
10-Jan-2023 03:14:19 Pulling openmrs-referenceapplication       ...
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication-mysql ... done
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... already exists
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... pulling fs layer
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... waiting
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (100.0%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (0.5%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (0.7%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (13.7%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (23.2%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (1.1%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (28.9%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (46.4%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (45.1%)
10-Jan-2023 03:14:20 Pulling openmrs-referenceapplication       ... downloading (68.9%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... downloading (61.8%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... downloading (91.5%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... downloading (79.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (0.7%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... downloading (90.3%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (19.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... verifying checksum
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... download complete
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (43.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (71.3%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (98.1%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (0.5%)
10-Jan-2023 03:14:21 Pulling openmrs-referenceapplication       ... extracting (18.7%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (37.0%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (53.7%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (70.9%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (88.6%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (3.0%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... extracting (100.0%)
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... pull complete
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... digest: sha256:790d547fddd6a4c33c...
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
10-Jan-2023 03:14:22 Pulling openmrs-referenceapplication       ... done
10-Jan-2023 03:14:22 Recreating all images and volumes
10-Jan-2023 03:14:22 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 03:14:22 Stopping qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 03:14:22 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 03:14:23 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 03:14:25 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 03:14:25 Removing qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 03:14:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 03:14:25 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 03:14:25 Removing qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 03:14:25 Removing network qa-refapp_default
10-Jan-2023 03:14:26 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
10-Jan-2023 03:14:26 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
10-Jan-2023 03:14:26 Creating network "qa-refapp_default" with the default driver
10-Jan-2023 03:14:26 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
10-Jan-2023 03:14:26 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
10-Jan-2023 03:14:27 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
10-Jan-2023 03:14:27 Creating qa-refapp_openmrs-referenceapplication_1       ...
10-Jan-2023 03:14:27 Creating qa-refapp_openmrs-referenceapplication_1       ... done
10-Jan-2023 03:14:28 Verifying if docker containers 4594038c10bd24f7cfa444c93127eda9cde86922e015db6e37979ea2273dc0bb
10-Jan-2023 03:14:28 599595a6abeac5db7afdab96b110789ce3e2f2ba40fb1836d5271cb1cc52c241 are healthy
10-Jan-2023 03:14:28 Status found: "starting"
10-Jan-2023 03:14:28 Waiting 15s
10-Jan-2023 03:14:43 Verifying if docker containers 4594038c10bd24f7cfa444c93127eda9cde86922e015db6e37979ea2273dc0bb
10-Jan-2023 03:14:43 599595a6abeac5db7afdab96b110789ce3e2f2ba40fb1836d5271cb1cc52c241 are healthy
10-Jan-2023 03:14:43 Status found: "starting"
10-Jan-2023 03:14:43 Waiting 15s
10-Jan-2023 03:14:58 Verifying if docker containers 4594038c10bd24f7cfa444c93127eda9cde86922e015db6e37979ea2273dc0bb
10-Jan-2023 03:14:58 599595a6abeac5db7afdab96b110789ce3e2f2ba40fb1836d5271cb1cc52c241 are healthy
10-Jan-2023 03:14:58 Status found: "healthy"
10-Jan-2023 03:14:58 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
10-Jan-2023 03:14:58 Running post build plugin 'Docker Container Cleanup'
10-Jan-2023 03:14:58 Running post build plugin 'NCover Results Collector'
10-Jan-2023 03:14:58 Running post build plugin 'Build Results Label Collector'
10-Jan-2023 03:14:58 Running post build plugin 'Clover Results Collector'
10-Jan-2023 03:14:58 Running post build plugin 'npm Cache Cleanup'
10-Jan-2023 03:14:58 Running post build plugin 'Artifact Copier'
10-Jan-2023 03:14:58 Finalising the build...
10-Jan-2023 03:14:58 Stopping timer.
10-Jan-2023 03:14:58 Build REFAPP-OMODDISTRO-DTMTS-13378 completed.
10-Jan-2023 03:14:58 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Jan-2023 03:14:58 Running on server: post build plugin 'NCover Results Collector'
10-Jan-2023 03:14:58 Running on server: post build plugin 'Build Labeller'
10-Jan-2023 03:14:58 Running on server: post build plugin 'Clover Delta Calculator'
10-Jan-2023 03:14:58 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Jan-2023 03:14:58 All post build plugins have finished
10-Jan-2023 03:14:58 Generating build results summary...
10-Jan-2023 03:14:58 Saving build results to disk...
10-Jan-2023 03:14:58 Store variable context...
10-Jan-2023 03:14:58 Finished building REFAPP-OMODDISTRO-DTMTS-13378.