Deploys Reference Application SNAPSHOT to maven

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

26-Jan-2023 10:54:17 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13421 (REFAPP-OMODDISTRO-DTMTS-13421) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
26-Jan-2023 10:54:17 Remote agent on host xiao.openmrs.org
26-Jan-2023 10:54:17 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 10:54:17 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13421 (REFAPP-OMODDISTRO-DTMTS-13421)
26-Jan-2023 10:54:17 Running pre-build action: Build Log Labeller Pre Build Action
26-Jan-2023 10:54:17 Running pre-build action: VCS Version Collector
26-Jan-2023 10:54:17 Running pre-build action: Run Predator
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2978Mb  582Mb 00:19:06 /usr/lib/jvm/java-8-ope
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:04:54 /home/bamboo-agent/bamb
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:46 /sbin/init             
26-Jan-2023 10:54:17 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Initial free space: 2.9725952 GB
26-Jan-2023 10:54:17 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Jan-2023 10:54:18 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
26-Jan-2023 10:54:18 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Jan-2023 10:54:18 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Final free space: 3.0042343 GB
26-Jan-2023 10:54:18 [PredatorPreBuildAction] Done
26-Jan-2023 10:54:18
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Jan-2023 10:54:18
Substituting password variable: ${bamboo.dockerhub.password}
26-Jan-2023 10:54:18
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:18
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:18
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 10:54:18
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
26-Jan-2023 10:54:18 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Jan-2023 10:54:18
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13421 (REFAPP-OMODDISTRO-DTMTS-13421)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13421-ScriptBuildTask-7396353027761680405.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
26-Jan-2023 10:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Jan-2023 10:54:19 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Jan-2023 10:54:19 Configure a credential helper to remove this warning. See
26-Jan-2023 10:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Jan-2023 10:54:19
26-Jan-2023 10:54:19 Login Succeeded
26-Jan-2023 10:54:19 + docker pull openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:19 docker.io/openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0: Pulling from openmrs/openmrs-reference-application
26-Jan-2023 10:54:19 Digest: sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:19 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:19 docker.io/openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0
26-Jan-2023 10:54:19 + docker tag openmrs/openmrs-reference-application@sha256:59f3481d8f90e3031be3bfb12c579d9886e683a2eb4322042b2bebd8090d51d0 openmrs/openmrs-reference-application:qa
26-Jan-2023 10:54:19 + docker push openmrs/openmrs-reference-application:qa
26-Jan-2023 10:54:19 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
26-Jan-2023 10:54:19 915ad9ba4879: Preparing
26-Jan-2023 10:54:19 2dc9149ad0ee: Preparing
26-Jan-2023 10:54:19 2b6af5686532: Preparing
26-Jan-2023 10:54:19 fbd0f9db4eaf: Preparing
26-Jan-2023 10:54:19 3d5993161794: Preparing
26-Jan-2023 10:54:19 2ec6c750737f: Preparing
26-Jan-2023 10:54:19 5f70bf18a086: Preparing
26-Jan-2023 10:54:19 a68cbd9ca972: Preparing
26-Jan-2023 10:54:19 2ab24f51c5e7: Preparing
26-Jan-2023 10:54:19 9ad199278f60: Preparing
26-Jan-2023 10:54:19 e51bba17124f: Preparing
26-Jan-2023 10:54:19 1b590cb48856: Preparing
26-Jan-2023 10:54:19 a770a911f4d6: Preparing
26-Jan-2023 10:54:19 3849ed63b27b: Preparing
26-Jan-2023 10:54:19 79c8be4f139b: Preparing
26-Jan-2023 10:54:19 4dd9ecd71792: Preparing
26-Jan-2023 10:54:19 c0541c31ac17: Preparing
26-Jan-2023 10:54:19 3f800aca2a44: Preparing
26-Jan-2023 10:54:19 2ec6c750737f: Waiting
26-Jan-2023 10:54:19 5f70bf18a086: Waiting
26-Jan-2023 10:54:19 a68cbd9ca972: Waiting
26-Jan-2023 10:54:19 2ab24f51c5e7: Waiting
26-Jan-2023 10:54:19 9ad199278f60: Waiting
26-Jan-2023 10:54:19 e51bba17124f: Waiting
26-Jan-2023 10:54:19 1b590cb48856: Waiting
26-Jan-2023 10:54:19 a770a911f4d6: Waiting
26-Jan-2023 10:54:19 3849ed63b27b: Waiting
26-Jan-2023 10:54:19 79c8be4f139b: Waiting
26-Jan-2023 10:54:19 4dd9ecd71792: Waiting
26-Jan-2023 10:54:19 c0541c31ac17: Waiting
26-Jan-2023 10:54:19 3f800aca2a44: Waiting
26-Jan-2023 10:54:19 3d5993161794: Layer already exists
26-Jan-2023 10:54:19 915ad9ba4879: Layer already exists
26-Jan-2023 10:54:19 fbd0f9db4eaf: Layer already exists
26-Jan-2023 10:54:19 2b6af5686532: Layer already exists
26-Jan-2023 10:54:19 2dc9149ad0ee: Layer already exists
26-Jan-2023 10:54:19 2ec6c750737f: Layer already exists
26-Jan-2023 10:54:19 5f70bf18a086: Layer already exists
26-Jan-2023 10:54:19 a68cbd9ca972: Layer already exists
26-Jan-2023 10:54:19 2ab24f51c5e7: Layer already exists
26-Jan-2023 10:54:19 9ad199278f60: Layer already exists
26-Jan-2023 10:54:20 e51bba17124f: Layer already exists
26-Jan-2023 10:54:20 a770a911f4d6: Layer already exists
26-Jan-2023 10:54:20 1b590cb48856: Layer already exists
26-Jan-2023 10:54:20 79c8be4f139b: Layer already exists
26-Jan-2023 10:54:20 3849ed63b27b: Layer already exists
26-Jan-2023 10:54:20 4dd9ecd71792: Layer already exists
26-Jan-2023 10:54:20 c0541c31ac17: Layer already exists
26-Jan-2023 10:54:20 3f800aca2a44: Layer already exists
26-Jan-2023 10:54:20 qa: digest: sha256:adeb85e95ea2fd856d62bb5019b0ef6f91c60c7cd474edd7ccb5725f0b038ab6 size: 4088
26-Jan-2023 10:54:20 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
26-Jan-2023 10:54:20 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
26-Jan-2023 10:54:21 Removing unused images if any
26-Jan-2023 10:54:21 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 10:54:21 Pulling openmrs-referenceapplication-mysql ...
26-Jan-2023 10:54:21 Pulling openmrs-referenceapplication       ...
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication-mysql ... done
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... already exists
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... pulling fs layer
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... waiting
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (0.5%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (0.7%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (1.1%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (17.2%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (17.5%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (33.4%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (39.7%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (48.1%)
26-Jan-2023 10:54:22 Pulling openmrs-referenceapplication       ... downloading (60.5%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... downloading (60.4%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... downloading (80.7%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... downloading (74.6%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... downloading (88.4%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (0.7%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... verifying checksum
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... download complete
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (18.0%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (36.8%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (50.0%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (63.8%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (79.8%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (96.5%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (0.5%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (10.6%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (28.9%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (48.1%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (62.8%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (78.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (93.2%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (3.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... pull complete
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... digest: sha256:adeb85e95ea2fd856d...
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
26-Jan-2023 10:54:24 Pulling openmrs-referenceapplication       ... done
26-Jan-2023 10:54:24 Recreating all images and volumes
26-Jan-2023 10:54:25 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 10:54:25 Stopping qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 10:54:25 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 10:54:25 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 10:54:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 10:54:27 Removing qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 10:54:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 10:54:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 10:54:28 Removing qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 10:54:28 Removing network qa-refapp_default
26-Jan-2023 10:54:28 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
26-Jan-2023 10:54:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
26-Jan-2023 10:54:28 Creating network "qa-refapp_default" with the default driver
26-Jan-2023 10:54:28 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
26-Jan-2023 10:54:28 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
26-Jan-2023 10:54:29 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
26-Jan-2023 10:54:29 Creating qa-refapp_openmrs-referenceapplication_1       ...
26-Jan-2023 10:54:29 Creating qa-refapp_openmrs-referenceapplication_1       ... done
26-Jan-2023 10:54:30 Verifying if docker containers 69176891b9f9aed64ead34663d5906a9fa631bea3b68f51f07f779f4e23b8888
26-Jan-2023 10:54:30 ffd1ea11a0251e490f14661f4ecbce8c5575fb12cb996a394d0548743af0d88e are healthy
26-Jan-2023 10:54:30 Status found: "starting"
26-Jan-2023 10:54:30 Waiting 15s
26-Jan-2023 10:54:45 Verifying if docker containers 69176891b9f9aed64ead34663d5906a9fa631bea3b68f51f07f779f4e23b8888
26-Jan-2023 10:54:45 ffd1ea11a0251e490f14661f4ecbce8c5575fb12cb996a394d0548743af0d88e are healthy
26-Jan-2023 10:54:45 Status found: "starting"
26-Jan-2023 10:54:45 Waiting 15s
26-Jan-2023 10:55:00 Verifying if docker containers 69176891b9f9aed64ead34663d5906a9fa631bea3b68f51f07f779f4e23b8888
26-Jan-2023 10:55:00 ffd1ea11a0251e490f14661f4ecbce8c5575fb12cb996a394d0548743af0d88e are healthy
26-Jan-2023 10:55:00 Status found: "healthy"
26-Jan-2023 10:55:00 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
26-Jan-2023 10:55:00 Running post build plugin 'Docker Container Cleanup'
26-Jan-2023 10:55:00 Running post build plugin 'NCover Results Collector'
26-Jan-2023 10:55:00 Running post build plugin 'Build Results Label Collector'
26-Jan-2023 10:55:00 Running post build plugin 'Clover Results Collector'
26-Jan-2023 10:55:00 Running post build plugin 'npm Cache Cleanup'
26-Jan-2023 10:55:00 Running post build plugin 'Artifact Copier'
26-Jan-2023 10:55:00 Finalising the build...
26-Jan-2023 10:55:00 Stopping timer.
26-Jan-2023 10:55:00 Build REFAPP-OMODDISTRO-DTMTS-13421 completed.
26-Jan-2023 10:55:00 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Jan-2023 10:55:00 Running on server: post build plugin 'NCover Results Collector'
26-Jan-2023 10:55:00 Running on server: post build plugin 'Build Labeller'
26-Jan-2023 10:55:00 Running on server: post build plugin 'Clover Delta Calculator'
26-Jan-2023 10:55:00 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Jan-2023 10:55:00 All post build plugins have finished
26-Jan-2023 10:55:00 Generating build results summary...
26-Jan-2023 10:55:00 Saving build results to disk...
26-Jan-2023 10:55:00 Store variable context...
26-Jan-2023 10:55:00 Finished building REFAPP-OMODDISTRO-DTMTS-13421.