Deploys Reference Application SNAPSHOT to maven

Build: #13166 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 231 lines of output. Download or view full build log.

04-Nov-2022 00:16:25 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13166 (REFAPP-OMODDISTRO-DTMTS-13166) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
04-Nov-2022 00:16:25 Remote agent on host xiao.openmrs.org
04-Nov-2022 00:16:25 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Nov-2022 00:16:25 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13166 (REFAPP-OMODDISTRO-DTMTS-13166)
04-Nov-2022 00:16:25 Running pre-build action: Build Log Labeller Pre Build Action
04-Nov-2022 00:16:25 Running pre-build action: VCS Version Collector
04-Nov-2022 00:16:25 Running pre-build action: Run Predator
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 40092 java        1402 bamboo-age 2976Mb  414Mb 00:08:22 /usr/lib/jvm/java-8-ope
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1402 wrapper        1 bamboo-age   16Mb    3Mb 00:02:29 /home/bamboo-agent/bamb
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:55 /sbin/init             
04-Nov-2022 00:16:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Initial free space: 4.6423645 GB
04-Nov-2022 00:16:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
04-Nov-2022 00:16:28 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
04-Nov-2022 00:16:28 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
04-Nov-2022 00:16:28 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
04-Nov-2022 00:16:29 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
04-Nov-2022 00:16:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
04-Nov-2022 00:16:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
04-Nov-2022 00:16:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
04-Nov-2022 00:16:29 [PredatorPreBuildAction] Final free space: 4.673992 GB
04-Nov-2022 00:16:29 [PredatorPreBuildAction] Done
04-Nov-2022 00:16:29
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
04-Nov-2022 00:16:29
Substituting password variable: ${bamboo.dockerhub.password}
04-Nov-2022 00:16:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Nov-2022 00:16:29
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
04-Nov-2022 00:16:29 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
04-Nov-2022 00:16:29
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13166 (REFAPP-OMODDISTRO-DTMTS-13166)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13166-ScriptBuildTask-9212619908278154684.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
04-Nov-2022 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
04-Nov-2022 00:16:29 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
04-Nov-2022 00:16:29 Configure a credential helper to remove this warning. See
04-Nov-2022 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
04-Nov-2022 00:16:29
04-Nov-2022 00:16:29 Login Succeeded
04-Nov-2022 00:16:29 + docker pull openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29 docker.io/openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff: Pulling from openmrs/openmrs-reference-application
04-Nov-2022 00:16:29 Digest: sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29 docker.io/openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff
04-Nov-2022 00:16:29 + docker tag openmrs/openmrs-reference-application@sha256:fc52adf61486488564355e2f477afdc916417f9f03deb4336383d302766ab1ff openmrs/openmrs-reference-application:qa
04-Nov-2022 00:16:29 + docker push openmrs/openmrs-reference-application:qa
04-Nov-2022 00:16:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
04-Nov-2022 00:16:29 2e8b8a979248: Preparing
04-Nov-2022 00:16:29 e965806d4770: Preparing
04-Nov-2022 00:16:29 7acdd611bf96: Preparing
04-Nov-2022 00:16:29 d36825e8d3d5: Preparing
04-Nov-2022 00:16:29 68bc78f47b97: Preparing
04-Nov-2022 00:16:29 a058e4057cb5: Preparing
04-Nov-2022 00:16:29 20b8c6933e85: Preparing
04-Nov-2022 00:16:29 5f70bf18a086: Preparing
04-Nov-2022 00:16:29 3045ef3b6902: Preparing
04-Nov-2022 00:16:29 a33f02fdc429: Preparing
04-Nov-2022 00:16:29 7d7401142bc3: Preparing
04-Nov-2022 00:16:29 af2648fed780: Preparing
04-Nov-2022 00:16:29 f9e3c74ded34: Preparing
04-Nov-2022 00:16:29 e802af8d4506: Preparing
04-Nov-2022 00:16:29 678542a60d0e: Preparing
04-Nov-2022 00:16:29 6edf69746447: Preparing
04-Nov-2022 00:16:29 2601b5eb4f37: Preparing
04-Nov-2022 00:16:29 4942a1abcbfa: Preparing
04-Nov-2022 00:16:29 7d7401142bc3: Waiting
04-Nov-2022 00:16:29 af2648fed780: Waiting
04-Nov-2022 00:16:29 f9e3c74ded34: Waiting
04-Nov-2022 00:16:29 e802af8d4506: Waiting
04-Nov-2022 00:16:29 678542a60d0e: Waiting
04-Nov-2022 00:16:29 6edf69746447: Waiting
04-Nov-2022 00:16:29 2601b5eb4f37: Waiting
04-Nov-2022 00:16:29 4942a1abcbfa: Waiting
04-Nov-2022 00:16:29 a058e4057cb5: Waiting
04-Nov-2022 00:16:29 20b8c6933e85: Waiting
04-Nov-2022 00:16:29 3045ef3b6902: Waiting
04-Nov-2022 00:16:29 5f70bf18a086: Waiting
04-Nov-2022 00:16:29 a33f02fdc429: Waiting
04-Nov-2022 00:16:30 2e8b8a979248: Layer already exists
04-Nov-2022 00:16:30 e965806d4770: Layer already exists
04-Nov-2022 00:16:30 d36825e8d3d5: Layer already exists
04-Nov-2022 00:16:30 68bc78f47b97: Layer already exists
04-Nov-2022 00:16:30 7acdd611bf96: Layer already exists
04-Nov-2022 00:16:30 a058e4057cb5: Layer already exists
04-Nov-2022 00:16:30 20b8c6933e85: Layer already exists
04-Nov-2022 00:16:30 5f70bf18a086: Layer already exists
04-Nov-2022 00:16:30 3045ef3b6902: Layer already exists
04-Nov-2022 00:16:30 a33f02fdc429: Layer already exists
04-Nov-2022 00:16:30 7d7401142bc3: Layer already exists
04-Nov-2022 00:16:30 af2648fed780: Layer already exists
04-Nov-2022 00:16:30 f9e3c74ded34: Layer already exists
04-Nov-2022 00:16:30 e802af8d4506: Layer already exists
04-Nov-2022 00:16:30 678542a60d0e: Layer already exists
04-Nov-2022 00:16:30 6edf69746447: Layer already exists
04-Nov-2022 00:16:30 2601b5eb4f37: Layer already exists
04-Nov-2022 00:16:30 4942a1abcbfa: Layer already exists
04-Nov-2022 00:16:31 qa: digest: sha256:8d7241a934cdaabe59c6e20d63de0b534f500d5ffd5ccfea41eb7e4fe305cc04 size: 4096
04-Nov-2022 00:16:31 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
04-Nov-2022 00:16:31 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
04-Nov-2022 00:16:31 Removing unused images if any
04-Nov-2022 00:16:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication-mysql ...
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication       ...
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication-mysql ... done
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:32 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... already exists
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... pulling fs layer
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... waiting
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (96.0%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... download complete
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (0.5%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (0.7%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (15.2%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (23.0%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (1.1%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (100.0%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... verifying checksum
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... download complete
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (32.9%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (43.4%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (48.6%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (65.0%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (64.8%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (88.0%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... verifying checksum
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... download complete
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (76.1%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... downloading (92.8%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... extracting (0.7%)
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... verifying checksum
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... download complete
04-Nov-2022 00:16:33 Pulling openmrs-referenceapplication       ... extracting (26.6%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (51.7%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (79.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... pull complete
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... pull complete
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (0.5%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (19.3%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (39.1%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (59.4%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (79.2%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (98.5%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... pull complete
04-Nov-2022 00:16:34 Pulling openmrs-referenceapplication       ... extracting (3.0%)
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... extracting (100.0%)
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... pull complete
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... digest: sha256:8d7241a934cdaabe59...
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
04-Nov-2022 00:16:35 Pulling openmrs-referenceapplication       ... done
04-Nov-2022 00:16:35 Recreating all images and volumes
04-Nov-2022 00:16:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Nov-2022 00:16:35 Stopping qa-refapp_openmrs-referenceapplication_1       ...
04-Nov-2022 00:16:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Nov-2022 00:16:35 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
04-Nov-2022 00:16:37 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Nov-2022 00:16:37 Removing qa-refapp_openmrs-referenceapplication_1       ...
04-Nov-2022 00:16:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Nov-2022 00:16:37 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Nov-2022 00:16:39 Removing qa-refapp_openmrs-referenceapplication_1       ... done
04-Nov-2022 00:16:39 Removing network qa-refapp_default
04-Nov-2022 00:16:39 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
04-Nov-2022 00:16:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
04-Nov-2022 00:16:39 Creating network "qa-refapp_default" with the default driver
04-Nov-2022 00:16:39 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
04-Nov-2022 00:16:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
04-Nov-2022 00:16:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
04-Nov-2022 00:16:40 Creating qa-refapp_openmrs-referenceapplication_1       ...
04-Nov-2022 00:16:40 Creating qa-refapp_openmrs-referenceapplication_1       ... done
04-Nov-2022 00:16:41 Verifying if docker containers 1b84f12daca2bb5445243002a166c6f1e7753fdfc62dfde38d89884abc2a3909
04-Nov-2022 00:16:41 226c694a73c8b7b25167b125cf3253ab9299a94ba574d0490f2b429c170882bd are healthy
04-Nov-2022 00:16:41 Status found: "starting"
04-Nov-2022 00:16:41 Waiting 15s
04-Nov-2022 00:16:56 Verifying if docker containers 1b84f12daca2bb5445243002a166c6f1e7753fdfc62dfde38d89884abc2a3909
04-Nov-2022 00:16:56 226c694a73c8b7b25167b125cf3253ab9299a94ba574d0490f2b429c170882bd are healthy
04-Nov-2022 00:16:56 Status found: "starting"
04-Nov-2022 00:16:56 Waiting 15s
04-Nov-2022 00:17:11 Verifying if docker containers 1b84f12daca2bb5445243002a166c6f1e7753fdfc62dfde38d89884abc2a3909
04-Nov-2022 00:17:11 226c694a73c8b7b25167b125cf3253ab9299a94ba574d0490f2b429c170882bd are healthy
04-Nov-2022 00:17:11 Status found: "healthy"
04-Nov-2022 00:17:11 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
04-Nov-2022 00:17:11 Running post build plugin 'Docker Container Cleanup'
04-Nov-2022 00:17:11 Running post build plugin 'NCover Results Collector'
04-Nov-2022 00:17:11 Running post build plugin 'Build Results Label Collector'
04-Nov-2022 00:17:11 Running post build plugin 'Clover Results Collector'
04-Nov-2022 00:17:11 Running post build plugin 'npm Cache Cleanup'
04-Nov-2022 00:17:11 Running post build plugin 'Artifact Copier'
04-Nov-2022 00:17:11 Finalising the build...
04-Nov-2022 00:17:11 Stopping timer.
04-Nov-2022 00:17:11 Build REFAPP-OMODDISTRO-DTMTS-13166 completed.
04-Nov-2022 00:17:11 Running on server: post build plugin 'Build Hanging Detection Configuration'
04-Nov-2022 00:17:11 Running on server: post build plugin 'NCover Results Collector'
04-Nov-2022 00:17:11 Running on server: post build plugin 'Build Labeller'
04-Nov-2022 00:17:11 Running on server: post build plugin 'Clover Delta Calculator'
04-Nov-2022 00:17:11 Running on server: post build plugin 'Maven Dependencies Postprocessor'
04-Nov-2022 00:17:11 All post build plugins have finished
04-Nov-2022 00:17:11 Generating build results summary...
04-Nov-2022 00:17:11 Saving build results to disk...
04-Nov-2022 00:17:11 Store variable context...
04-Nov-2022 00:17:11 Finished building REFAPP-OMODDISTRO-DTMTS-13166.