Deploys Reference Application SNAPSHOT to maven

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

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