Deploys Reference Application SNAPSHOT to maven

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

15-Jan-2023 00:13:29 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13392 (REFAPP-OMODDISTRO-DTMTS-13392) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
15-Jan-2023 00:13:29 Remote agent on host xiao.openmrs.org
15-Jan-2023 00:13:29 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Jan-2023 00:13:29 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13392 (REFAPP-OMODDISTRO-DTMTS-13392)
15-Jan-2023 00:13:29 Running pre-build action: Build Log Labeller Pre Build Action
15-Jan-2023 00:13:29 Running pre-build action: VCS Version Collector
15-Jan-2023 00:13:29 Running pre-build action: Run Predator
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62078 java        1474 bamboo-age 2977Mb  606Mb 00:12:34 /usr/lib/jvm/java-8-ope
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1474 wrapper        1 bamboo-age   16Mb    3Mb 00:18:44 /home/bamboo-agent/bamb
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 01:13:39 /sbin/init             
15-Jan-2023 00:13:29 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Initial free space: 3.4467964 GB
15-Jan-2023 00:13:29 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
15-Jan-2023 00:13:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
15-Jan-2023 00:13:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
15-Jan-2023 00:13:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Final free space: 3.4784431 GB
15-Jan-2023 00:13:32 [PredatorPreBuildAction] Done
15-Jan-2023 00:13:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
15-Jan-2023 00:13:32
Substituting password variable: ${bamboo.dockerhub.password}
15-Jan-2023 00:13:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Jan-2023 00:13:32
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
15-Jan-2023 00:13:32 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
15-Jan-2023 00:13:32
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13392 (REFAPP-OMODDISTRO-DTMTS-13392)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13392-ScriptBuildTask-7233292351188024119.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
15-Jan-2023 00:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
15-Jan-2023 00:13:32 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
15-Jan-2023 00:13:32 Configure a credential helper to remove this warning. See
15-Jan-2023 00:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
15-Jan-2023 00:13:32
15-Jan-2023 00:13:32 Login Succeeded
15-Jan-2023 00:13:32 + docker pull openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32 docker.io/openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8: Pulling from openmrs/openmrs-reference-application
15-Jan-2023 00:13:32 Digest: sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32 docker.io/openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8
15-Jan-2023 00:13:32 + docker tag openmrs/openmrs-reference-application@sha256:a93a950a3d6fd0680c6c779870441bb089a8769049c451f8895e0701fe5328a8 openmrs/openmrs-reference-application:qa
15-Jan-2023 00:13:32 + docker push openmrs/openmrs-reference-application:qa
15-Jan-2023 00:13:33 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
15-Jan-2023 00:13:33 af65b81081fe: Preparing
15-Jan-2023 00:13:33 2a21dc29be4d: Preparing
15-Jan-2023 00:13:33 c511f4aa3ec4: Preparing
15-Jan-2023 00:13:33 a35557bc5e1a: Preparing
15-Jan-2023 00:13:33 e61322449ad0: Preparing
15-Jan-2023 00:13:33 6fdd21bc4a9b: Preparing
15-Jan-2023 00:13:33 5f70bf18a086: Preparing
15-Jan-2023 00:13:33 b7243530d918: Preparing
15-Jan-2023 00:13:33 23323df4fbd9: Preparing
15-Jan-2023 00:13:33 725ecc0c9d62: Preparing
15-Jan-2023 00:13:33 6c1f45cb6682: Preparing
15-Jan-2023 00:13:33 b8aa9430b356: Preparing
15-Jan-2023 00:13:33 b46e16032f56: Preparing
15-Jan-2023 00:13:33 91ac82815b04: Preparing
15-Jan-2023 00:13:33 24fcda5a8b17: Preparing
15-Jan-2023 00:13:33 a4a7e924299e: Preparing
15-Jan-2023 00:13:33 059c2d42be74: Preparing
15-Jan-2023 00:13:33 3f800aca2a44: Preparing
15-Jan-2023 00:13:33 6fdd21bc4a9b: Waiting
15-Jan-2023 00:13:33 5f70bf18a086: Waiting
15-Jan-2023 00:13:33 b7243530d918: Waiting
15-Jan-2023 00:13:33 23323df4fbd9: Waiting
15-Jan-2023 00:13:33 6c1f45cb6682: Waiting
15-Jan-2023 00:13:33 b8aa9430b356: Waiting
15-Jan-2023 00:13:33 b46e16032f56: Waiting
15-Jan-2023 00:13:33 91ac82815b04: Waiting
15-Jan-2023 00:13:33 24fcda5a8b17: Waiting
15-Jan-2023 00:13:33 a4a7e924299e: Waiting
15-Jan-2023 00:13:33 059c2d42be74: Waiting
15-Jan-2023 00:13:33 3f800aca2a44: Waiting
15-Jan-2023 00:13:33 e61322449ad0: Layer already exists
15-Jan-2023 00:13:33 a35557bc5e1a: Layer already exists
15-Jan-2023 00:13:33 af65b81081fe: Layer already exists
15-Jan-2023 00:13:33 2a21dc29be4d: Layer already exists
15-Jan-2023 00:13:33 c511f4aa3ec4: Layer already exists
15-Jan-2023 00:13:33 6fdd21bc4a9b: Layer already exists
15-Jan-2023 00:13:33 5f70bf18a086: Layer already exists
15-Jan-2023 00:13:33 23323df4fbd9: Layer already exists
15-Jan-2023 00:13:33 b7243530d918: Layer already exists
15-Jan-2023 00:13:33 725ecc0c9d62: Layer already exists
15-Jan-2023 00:13:33 6c1f45cb6682: Layer already exists
15-Jan-2023 00:13:33 b8aa9430b356: Layer already exists
15-Jan-2023 00:13:33 24fcda5a8b17: Layer already exists
15-Jan-2023 00:13:33 b46e16032f56: Layer already exists
15-Jan-2023 00:13:33 91ac82815b04: Layer already exists
15-Jan-2023 00:13:33 a4a7e924299e: Layer already exists
15-Jan-2023 00:13:33 059c2d42be74: Layer already exists
15-Jan-2023 00:13:33 3f800aca2a44: Layer already exists
15-Jan-2023 00:13:34 qa: digest: sha256:94d1d989f8d228a754706958a21eb92b5c056e8483932dfbae31324be4bf0efa size: 4088
15-Jan-2023 00:13:34 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
15-Jan-2023 00:13:34 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
15-Jan-2023 00:13:35 Removing unused images if any
15-Jan-2023 00:13:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 00:13:35 Pulling openmrs-referenceapplication-mysql ...
15-Jan-2023 00:13:35 Pulling openmrs-referenceapplication       ...
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication-mysql ... done
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... already exists
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... pulling fs layer
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... waiting
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (100.0%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (0.7%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (0.5%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (1.1%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (22.2%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (16.1%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (43.0%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (31.8%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (63.9%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (46.0%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (83.3%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (59.8%)
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 00:13:36 Pulling openmrs-referenceapplication       ... downloading (75.5%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... downloading (91.2%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (0.7%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... verifying checksum
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... download complete
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (23.6%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (50.0%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (76.3%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (0.5%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (17.2%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (33.4%)
15-Jan-2023 00:13:37 Pulling openmrs-referenceapplication       ... extracting (47.1%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (64.3%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (81.6%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (98.8%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (3.0%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... extracting (100.0%)
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... pull complete
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... digest: sha256:94d1d989f8d228a754...
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
15-Jan-2023 00:13:38 Pulling openmrs-referenceapplication       ... done
15-Jan-2023 00:13:38 Recreating all images and volumes
15-Jan-2023 00:13:38 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 00:13:38 Stopping qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 00:13:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 00:13:39 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 00:13:41 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 00:13:41 Removing qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 00:13:41 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 00:13:41 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 00:13:42 Removing qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 00:13:42 Removing network qa-refapp_default
15-Jan-2023 00:13:42 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
15-Jan-2023 00:13:42 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
15-Jan-2023 00:13:42 Creating network "qa-refapp_default" with the default driver
15-Jan-2023 00:13:42 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
15-Jan-2023 00:13:42 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
15-Jan-2023 00:13:43 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
15-Jan-2023 00:13:43 Creating qa-refapp_openmrs-referenceapplication_1       ...
15-Jan-2023 00:13:43 Creating qa-refapp_openmrs-referenceapplication_1       ... done
15-Jan-2023 00:13:44 Verifying if docker containers a40920b240cb2da535eaf8aa2a7333859e4ce8cd3affdf125deea2a2f0898a97
15-Jan-2023 00:13:44 3d72df19bb464e08ebf6a3f4c5e72a20f01c42109f073f49528141230bc6fe69 are healthy
15-Jan-2023 00:13:44 Status found: "starting"
15-Jan-2023 00:13:44 Waiting 15s
15-Jan-2023 00:13:59 Verifying if docker containers a40920b240cb2da535eaf8aa2a7333859e4ce8cd3affdf125deea2a2f0898a97
15-Jan-2023 00:13:59 3d72df19bb464e08ebf6a3f4c5e72a20f01c42109f073f49528141230bc6fe69 are healthy
15-Jan-2023 00:13:59 Status found: "starting"
15-Jan-2023 00:13:59 Waiting 15s
15-Jan-2023 00:14:14 Verifying if docker containers a40920b240cb2da535eaf8aa2a7333859e4ce8cd3affdf125deea2a2f0898a97
15-Jan-2023 00:14:14 3d72df19bb464e08ebf6a3f4c5e72a20f01c42109f073f49528141230bc6fe69 are healthy
15-Jan-2023 00:14:14 Status found: "healthy"
15-Jan-2023 00:14:14 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
15-Jan-2023 00:14:14 Running post build plugin 'Docker Container Cleanup'
15-Jan-2023 00:14:14 Running post build plugin 'NCover Results Collector'
15-Jan-2023 00:14:14 Running post build plugin 'Build Results Label Collector'
15-Jan-2023 00:14:14 Running post build plugin 'Clover Results Collector'
15-Jan-2023 00:14:14 Running post build plugin 'npm Cache Cleanup'
15-Jan-2023 00:14:14 Running post build plugin 'Artifact Copier'
15-Jan-2023 00:14:14 Finalising the build...
15-Jan-2023 00:14:14 Stopping timer.
15-Jan-2023 00:14:14 Build REFAPP-OMODDISTRO-DTMTS-13392 completed.
15-Jan-2023 00:14:14 Running on server: post build plugin 'Build Hanging Detection Configuration'
15-Jan-2023 00:14:14 Running on server: post build plugin 'NCover Results Collector'
15-Jan-2023 00:14:14 Running on server: post build plugin 'Build Labeller'
15-Jan-2023 00:14:14 Running on server: post build plugin 'Clover Delta Calculator'
15-Jan-2023 00:14:14 Running on server: post build plugin 'Maven Dependencies Postprocessor'
15-Jan-2023 00:14:14 All post build plugins have finished
15-Jan-2023 00:14:14 Generating build results summary...
15-Jan-2023 00:14:14 Saving build results to disk...
15-Jan-2023 00:14:14 Store variable context...
15-Jan-2023 00:14:14 Finished building REFAPP-OMODDISTRO-DTMTS-13392.