Revision 980190ae
b/docs/snf-burnin.rst | ||
---|---|---|
4 | 4 |
^^^^^^^^^^ |
5 | 5 |
|
6 | 6 |
:ref:`snf-burnin <snf-burnin>` is an integration testing tool for a running |
7 |
Synnefo deployment. It runs test scenarios from the following categories: |
|
7 |
Synnefo deployment. It uses the Synnefo REST APIs to run test scenarios for the |
|
8 |
following categories: |
|
8 | 9 |
|
9 | 10 |
* :ref:`Authentication <unauthorizedtestcase>` |
10 | 11 |
* :ref:`Images <imagestestcase>` |
11 | 12 |
* :ref:`Flavors <flavorstestcase>` |
12 | 13 |
* :ref:`Servers <serverstestcase>` |
13 |
* :ref:`Networking <networktestcase>`
|
|
14 |
* :ref:`Network <networktestcase>` |
|
14 | 15 |
* :ref:`Storage <pithostestcase>` |
15 | 16 |
|
16 | 17 |
|
... | ... | |
21 | 22 |
|
22 | 23 |
:: |
23 | 24 |
|
24 |
snf-burnin --api=API_URL \ |
|
25 |
--token=TOKEN \ |
|
26 |
--plankton=PLANKTON_API \ |
|
27 |
--plankton-user=PLANKTON_SYSTEM_USER \ |
|
28 |
--image-id=IMAGE-ID \ |
|
25 |
snf-burnin --token=TOKEN \ |
|
26 |
--api=CYCLADES_URL |
|
29 | 27 |
--pithos=PITHOS_URL \ |
30 | 28 |
--astakos=ASTAKOS_URL \ |
29 |
--plankton=PLANKTON_URL \ |
|
30 |
--plankton-user=PLANKTON_SYSTEM_USER \ |
|
31 |
--image-id=IMAGE_ID \ |
|
31 | 32 |
--log-folder=LOG_FOLDER |
32 | 33 |
|
33 | 34 |
For more info |
... | ... | |
97 | 98 |
|
98 | 99 |
UnauthorizedTestCase |
99 | 100 |
-------------------- |
100 |
* Test access without a valid token fails
|
|
101 |
* Test that trying to access without a valid token, fails
|
|
101 | 102 |
|
102 | 103 |
.. _imagestestcase: |
103 | 104 |
|
104 | 105 |
ImagesTestCase |
105 | 106 |
-------------- |
106 | 107 |
* Test image list actually returns images |
107 |
* Test detailed image list is the same length as list
|
|
108 |
* Test detailed and simple image list contain same names |
|
108 |
* Test detailed image list has the same length as list
|
|
109 |
* Test detailed and simple image list contain the same names
|
|
109 | 110 |
* Test system images have unique names |
110 | 111 |
* Test every image has specific metadata defined |
111 |
* Download image from Pithos+
|
|
112 |
* Download image from Pithos |
|
112 | 113 |
* Upload and register image |
113 | 114 |
|
114 | 115 |
.. _flavorstestcase: |
... | ... | |
116 | 117 |
FlavorsTestCase |
117 | 118 |
--------------- |
118 | 119 |
* Test flavor list actually returns flavors |
119 |
* Test detailed flavor list is the stame length as list
|
|
120 |
* Test detailed and simple flavor list contain same names |
|
120 |
* Test detailed flavor list has the same length as list
|
|
121 |
* Test detailed and simple flavor list contain the same names
|
|
121 | 122 |
* Test flavors have unique names |
122 | 123 |
* Test flavor names have correct format |
123 | 124 |
|
... | ... | |
132 | 133 |
------------------- |
133 | 134 |
* Submit create server |
134 | 135 |
* Test server is in BUILD state in server list |
135 |
* Test server is in BUILD state in details |
|
136 |
* Test server is in BUILD state in server details
|
|
136 | 137 |
* Change server metadata |
137 | 138 |
* Verify the changed metadata are correct |
138 | 139 |
* Verify server metadata are set based on image metadata |
139 |
* Wait until server change state to ACTIVE, and verify state |
|
140 |
* Wait until server changes state to ACTIVE, and verify state
|
|
140 | 141 |
* Test if OOB server console works |
141 | 142 |
* Test if server has IPv4 |
142 | 143 |
* Test if server has IPv6 |
... | ... | |
166 | 167 |
* Submit create server B request |
167 | 168 |
* Test server B becomes ACTIVE |
168 | 169 |
* Submit create private network request |
169 |
* Connect VMs to private network
|
|
170 |
* Submit connect VMs to private network
|
|
170 | 171 |
* Test if VMs are connected to network |
171 | 172 |
* Submit reboot request to server A |
172 | 173 |
* Test server A responds to ping on IPv4 address (verify up and running) |
... | ... | |
175 | 176 |
* Connect via SSH and setup the new network interface in server A |
176 | 177 |
* Connect via SSH and setup the new network interface in server B |
177 | 178 |
* Connect via SSH to server A and test if server B responds to ping on IPv4 address |
178 |
* Disconnect servers from network and verfiy the network details
|
|
179 |
* Disconnect servers from network and verify the network details
|
|
179 | 180 |
* Send delete network request and verify that the network is deleted from the list |
180 |
* Send request to delete servers and wait until they are actyally deleted
|
|
181 |
* Send request to delete servers and wait until they are actually deleted
|
|
181 | 182 |
|
182 | 183 |
.. _pithostestcase: |
183 | 184 |
|
... | ... | |
187 | 188 |
* Test containers have unique names |
188 | 189 |
* Create a new container |
189 | 190 |
* Upload simple file to newly created container |
190 |
* Download file from Pithos+ and test they are the same |
|
191 |
* Remove created file and container from Pithos+ |
|
191 |
* Download file from Pithos and test it is the same with the one uploaded |
|
192 |
* Remove created file and container from Pithos |
Also available in: Unified diff