Deploys Reference Application SNAPSHOT to maven

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

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