Deploys Reference Application SNAPSHOT to maven

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

21-Feb-2023 00:13:12 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13492 (REFAPP-OMODDISTRO-DTMTS-13492) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
21-Feb-2023 00:13:12 Remote agent on host xiao.openmrs.org
21-Feb-2023 00:13:12 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 00:13:12 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13492 (REFAPP-OMODDISTRO-DTMTS-13492)
21-Feb-2023 00:13:12 Running pre-build action: Build Log Labeller Pre Build Action
21-Feb-2023 00:13:12 Running pre-build action: VCS Version Collector
21-Feb-2023 00:13:12 Running pre-build action: Run Predator
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2034 java        1481 bamboo-age 2983Mb  484Mb 00:18:07 /usr/lib/jvm/java-8-ope
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1481 wrapper        1 bamboo-age   16Mb    1Mb 00:04:29 /home/bamboo-agent/bamb
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:41 /sbin/init             
21-Feb-2023 00:13:12 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Initial free space: 2.6784744 GB
21-Feb-2023 00:13:12 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
21-Feb-2023 00:13:15 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
21-Feb-2023 00:13:15 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
21-Feb-2023 00:13:15 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Final free space: 2.7101212 GB
21-Feb-2023 00:13:15 [PredatorPreBuildAction] Done
21-Feb-2023 00:13:15
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
21-Feb-2023 00:13:15
Substituting password variable: ${bamboo.dockerhub.password}
21-Feb-2023 00:13:15
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:15
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 00:13:15
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
21-Feb-2023 00:13:15 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
21-Feb-2023 00:13:16
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13492 (REFAPP-OMODDISTRO-DTMTS-13492)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13492-ScriptBuildTask-7998325710489333195.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
21-Feb-2023 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
21-Feb-2023 00:13:16 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
21-Feb-2023 00:13:16 Configure a credential helper to remove this warning. See
21-Feb-2023 00:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
21-Feb-2023 00:13:16
21-Feb-2023 00:13:16 Login Succeeded
21-Feb-2023 00:13:16 + docker pull openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:16 docker.io/openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e: Pulling from openmrs/openmrs-reference-application
21-Feb-2023 00:13:16 Digest: sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:16 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:16 docker.io/openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e
21-Feb-2023 00:13:16 + docker tag openmrs/openmrs-reference-application@sha256:e9d08d6b678189585acf8a8aabbe64ab371590ecd9311b0f3038d5bfb1a95b5e openmrs/openmrs-reference-application:qa
21-Feb-2023 00:13:16 + docker push openmrs/openmrs-reference-application:qa
21-Feb-2023 00:13:16 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
21-Feb-2023 00:13:17 155048b8f780: Preparing
21-Feb-2023 00:13:17 6230aa23f5e9: Preparing
21-Feb-2023 00:13:17 27d66d127cce: Preparing
21-Feb-2023 00:13:17 46db714f1764: Preparing
21-Feb-2023 00:13:17 e4a92042edbd: Preparing
21-Feb-2023 00:13:17 60de0bbda0ed: Preparing
21-Feb-2023 00:13:17 5f70bf18a086: Preparing
21-Feb-2023 00:13:17 b34b6277c81b: Preparing
21-Feb-2023 00:13:17 d0a6a0df9123: Preparing
21-Feb-2023 00:13:17 63bbdb3574ed: Preparing
21-Feb-2023 00:13:17 118873527352: Preparing
21-Feb-2023 00:13:17 3353ee3d6876: Preparing
21-Feb-2023 00:13:17 ab5b3452b7ed: Preparing
21-Feb-2023 00:13:17 34f73756f7aa: Preparing
21-Feb-2023 00:13:17 93d6620f79bb: Preparing
21-Feb-2023 00:13:17 be417e78cadd: Preparing
21-Feb-2023 00:13:17 647dc4000019: Preparing
21-Feb-2023 00:13:17 8c5ff259ef50: Preparing
21-Feb-2023 00:13:17 60de0bbda0ed: Waiting
21-Feb-2023 00:13:17 5f70bf18a086: Waiting
21-Feb-2023 00:13:17 b34b6277c81b: Waiting
21-Feb-2023 00:13:17 d0a6a0df9123: Waiting
21-Feb-2023 00:13:17 63bbdb3574ed: Waiting
21-Feb-2023 00:13:17 118873527352: Waiting
21-Feb-2023 00:13:17 3353ee3d6876: Waiting
21-Feb-2023 00:13:17 ab5b3452b7ed: Waiting
21-Feb-2023 00:13:17 34f73756f7aa: Waiting
21-Feb-2023 00:13:17 93d6620f79bb: Waiting
21-Feb-2023 00:13:17 be417e78cadd: Waiting
21-Feb-2023 00:13:17 647dc4000019: Waiting
21-Feb-2023 00:13:17 8c5ff259ef50: Waiting
21-Feb-2023 00:13:17 6230aa23f5e9: Layer already exists
21-Feb-2023 00:13:17 e4a92042edbd: Layer already exists
21-Feb-2023 00:13:17 5f70bf18a086: Layer already exists
21-Feb-2023 00:13:17 46db714f1764: Layer already exists
21-Feb-2023 00:13:17 155048b8f780: Layer already exists
21-Feb-2023 00:13:17 27d66d127cce: Layer already exists
21-Feb-2023 00:13:17 b34b6277c81b: Layer already exists
21-Feb-2023 00:13:18 60de0bbda0ed: Layer already exists
21-Feb-2023 00:13:18 d0a6a0df9123: Layer already exists
21-Feb-2023 00:13:18 63bbdb3574ed: Layer already exists
21-Feb-2023 00:13:18 118873527352: Layer already exists
21-Feb-2023 00:13:18 ab5b3452b7ed: Layer already exists
21-Feb-2023 00:13:18 34f73756f7aa: Layer already exists
21-Feb-2023 00:13:18 647dc4000019: Layer already exists
21-Feb-2023 00:13:18 8c5ff259ef50: Layer already exists
21-Feb-2023 00:13:18 3353ee3d6876: Layer already exists
21-Feb-2023 00:13:18 be417e78cadd: Layer already exists
21-Feb-2023 00:13:18 93d6620f79bb: Layer already exists
21-Feb-2023 00:13:18 qa: digest: sha256:52578eab98b7e86ef75af6c8e086aef10d5d51e72b7fff85630a8fdfc3f658a1 size: 4088
21-Feb-2023 00:13:19 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
21-Feb-2023 00:13:19 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
21-Feb-2023 00:13:20 Removing unused images if any
21-Feb-2023 00:13:20 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 00:13:20 Pulling openmrs-referenceapplication-mysql ...
21-Feb-2023 00:13:20 Pulling openmrs-referenceapplication       ...
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication-mysql ... done
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... already exists
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... pulling fs layer
21-Feb-2023 00:13:21 Pulling openmrs-referenceapplication       ... waiting
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (100.0%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (0.5%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (15.7%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (31.9%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (48.5%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (0.7%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (64.7%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (22.6%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (80.4%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (1.1%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (45.1%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (96.6%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... verifying checksum
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (67.7%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... downloading (90.9%)
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... download complete
21-Feb-2023 00:13:22 Pulling openmrs-referenceapplication       ... extracting (0.7%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (26.1%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (53.6%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (80.4%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (0.5%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (18.2%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (36.5%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (53.7%)
21-Feb-2023 00:13:23 Pulling openmrs-referenceapplication       ... extracting (70.4%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (84.1%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (98.8%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (3.0%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... extracting (100.0%)
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... pull complete
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... digest: sha256:52578eab98b7e86ef7...
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
21-Feb-2023 00:13:24 Pulling openmrs-referenceapplication       ... done
21-Feb-2023 00:13:24 Recreating all images and volumes
21-Feb-2023 00:13:24 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 00:13:24 Stopping qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 00:13:24 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 00:13:25 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 00:13:27 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 00:13:27 Removing qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 00:13:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 00:13:27 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 00:13:27 Removing qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 00:13:27 Removing network qa-refapp_default
21-Feb-2023 00:13:27 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
21-Feb-2023 00:13:28 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
21-Feb-2023 00:13:28 Creating network "qa-refapp_default" with the default driver
21-Feb-2023 00:13:28 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
21-Feb-2023 00:13:28 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
21-Feb-2023 00:13:28 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
21-Feb-2023 00:13:28 Creating qa-refapp_openmrs-referenceapplication_1       ...
21-Feb-2023 00:13:29 Creating qa-refapp_openmrs-referenceapplication_1       ... done
21-Feb-2023 00:13:29 Verifying if docker containers d21d39129174be962e2b9ad3a3d7844c81fe425868aeef1b4481a98db2c271ac
21-Feb-2023 00:13:29 b22574b79c7ecc29a039cef4d60a7440bae3493ea96741b697b0c854529e98c0 are healthy
21-Feb-2023 00:13:29 Status found: "starting"
21-Feb-2023 00:13:29 Waiting 15s
21-Feb-2023 00:13:44 Verifying if docker containers d21d39129174be962e2b9ad3a3d7844c81fe425868aeef1b4481a98db2c271ac
21-Feb-2023 00:13:44 b22574b79c7ecc29a039cef4d60a7440bae3493ea96741b697b0c854529e98c0 are healthy
21-Feb-2023 00:13:44 Status found: "starting"
21-Feb-2023 00:13:44 Waiting 15s
21-Feb-2023 00:13:59 Verifying if docker containers d21d39129174be962e2b9ad3a3d7844c81fe425868aeef1b4481a98db2c271ac
21-Feb-2023 00:13:59 b22574b79c7ecc29a039cef4d60a7440bae3493ea96741b697b0c854529e98c0 are healthy
21-Feb-2023 00:13:59 Status found: "healthy"
21-Feb-2023 00:13:59 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
21-Feb-2023 00:13:59 Running post build plugin 'Docker Container Cleanup'
21-Feb-2023 00:13:59 Running post build plugin 'NCover Results Collector'
21-Feb-2023 00:13:59 Running post build plugin 'Build Results Label Collector'
21-Feb-2023 00:13:59 Running post build plugin 'Clover Results Collector'
21-Feb-2023 00:13:59 Running post build plugin 'npm Cache Cleanup'
21-Feb-2023 00:13:59 Running post build plugin 'Artifact Copier'
21-Feb-2023 00:13:59 Finalising the build...
21-Feb-2023 00:13:59 Stopping timer.
21-Feb-2023 00:13:59 Build REFAPP-OMODDISTRO-DTMTS-13492 completed.
21-Feb-2023 00:13:59 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Feb-2023 00:13:59 Running on server: post build plugin 'NCover Results Collector'
21-Feb-2023 00:13:59 Running on server: post build plugin 'Build Labeller'
21-Feb-2023 00:13:59 Running on server: post build plugin 'Clover Delta Calculator'
21-Feb-2023 00:13:59 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Feb-2023 00:13:59 All post build plugins have finished
21-Feb-2023 00:13:59 Generating build results summary...
21-Feb-2023 00:13:59 Saving build results to disk...
21-Feb-2023 00:13:59 Store variable context...
21-Feb-2023 00:13:59 Finished building REFAPP-OMODDISTRO-DTMTS-13492.