Contents
Table of Contents | ||
---|---|---|
|
Introduction
Akraino uses Tempest for end-to-end testing. Tempest is a group of black box functional/integration tests run against a live OpenStack cluster. Tempest tests cover aspects such as API validation, scenarios, and anything else useful to help validate an OpenStack deployment.
Tempest Flow Diagram
Test Automation
The test_automation project is from Akraino Gerrit. It is to be cloned into /opt
directory on the designated test node. For cloning 'git clone' command can be used and it is shown in the box below.
...
- Set default values
- Check for Tempest pod existence
- Check pod status frequently
- Wait for pod to complete, and abort if pod does not complete
- Save logs, e.g., the default:
/tmp/results.txt
- Capture and display test results
- Delete Tempest deployment unless
--no-delete
is specified for debugging purposes - Return 0 on success, 1 on error
Additional Test Tools (future integration)
- Robot CLI: ONAP end-to-end testing
- OpenStack Shaker: Tenant networking performance
- OPNFV Yardstick: Infrastructure verification
- Heptio Sonobuoy: End-to-end K8s conformance-testing, workload debugging, and data collection