CLI Integration Tests
Add CLI integration tests that run savanna CLI commands on an OpenStack Instance. This end-to-end integration testing validates CLI operation and is end-user focused, rather than api or client focused.
The CLI should be used for all operations that cause a state change. The client interface should be used to check the result of each operation.
The tests should cover:
* creation of a hadoop cluster, beginning with image registration, node and cluster template creation, and cluster launch
* teardown of the cluster and associated objects
* Execution of all supported EDP job types (and deletion of the objects associated with the job)
* cluster scaling
The tests should be implemented for each supported plugin type.
This blueprint includes the following work items, grouped by plugin type. Where
Prior blueprints that have been collapsed into this bp are listed for reference.
Vanilla plugin
-------
cluster launch [DONE https:/
https:/
cluster scale [OUTSTANDING / DEPENDENCY]
https:/
java edp [DONE https:/
https:/
mapreduce edp [DONE https:/
https:/
hive edp [OUTSTANDING]
https:/
pig edp [DONE https:/
https:/
HDP plugin
-----------------
cluster launch [DONE]
https:/
cluster scale [OUTSTANDING / DEPENDENCY]
https:/
java edp [DONE]
https:/
mapreduce edp [DONE]
https:/
hive edp [OUTSTANDING]
https:/
pig edp [DONE]
https:/
Vanilla 2 plugin
-------
cluster launch [DONE]
cluster scale [OUTSTANDING / DEPENDENCY]
java edp [DONE]
mapreduce edp [DONE]
hive edp [OUTSTANDING / DEPENDENCY]
pig edp [DONE]
Blueprint information
- Status:
- Complete
- Approver:
- Sergey Lukjanov
- Priority:
- Medium
- Drafter:
- Trevor McKay
- Direction:
- Approved
- Assignee:
- Trevor McKay
- Definition:
- Approved
- Series goal:
- Accepted for 0.7.x
- Implementation:
- Implemented
- Milestone target:
- 0.7.1
- Started by
- Sergey Lukjanov
- Completed by
- Sergey Lukjanov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add cli integration test
Addressed by: https:/
Add excutils and timeutils to openstack common
Addressed by: https:/
Restructure tests directory in preparation for cli integration tests
Addressed by: https:/
Stub integration tests for vanilla, vanilla2 and hdp plugins
Addressed by: https:/
Add cli cluster creation and teardown test
Addressed by: https:/
Add EDP jobs to cli integration tests
Addressed by: https:/
Jar files for pig and mapreduce EDP tests
Work Items
Dependency tree
* Blueprints in grey have been implemented.