Deploys Reference Application SNAPSHOT to maven

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

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