add yardstick iruya 9.0.0 release notes
[yardstick.git] / docs / testing / user / userguide / opnfv_yardstick_tc028.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International
2 .. License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Huawei Technologies Co., Ltd and others.
5
6 *************************************
7 Yardstick Test Case Description TC028
8 *************************************
9
10 .. _Cyclictest: https://rt.wiki.kernel.org/index.php/Cyclictest
11
12 +-----------------------------------------------------------------------------+
13 |KVM Latency measurements                                                     |
14 |                                                                             |
15 +--------------+--------------------------------------------------------------+
16 |test case id  | OPNFV_YARDSTICK_TC028_KVM Latency measurements               |
17 |              |                                                              |
18 +--------------+--------------------------------------------------------------+
19 |metric        | min, avg and max latency                                     |
20 |              |                                                              |
21 +--------------+--------------------------------------------------------------+
22 |test purpose  | To evaluate the IaaS KVM virtualization capability with      |
23 |              | regards to min, avg and max latency.                         |
24 |              | The purpose is also to be able to spot trends. Test results, |
25 |              | graphs and similar shall be stored for comparison reasons    |
26 |              | and product evolution understanding between different OPNFV  |
27 |              | versions and/or configurations.                              |
28 |              |                                                              |
29 +--------------+--------------------------------------------------------------+
30 |configuration | file: samples/cyclictest-node-context.yaml                   |
31 |              |                                                              |
32 +--------------+--------------------------------------------------------------+
33 |test tool     | Cyclictest                                                   |
34 |              |                                                              |
35 |              | (Cyclictest is not always part of a Linux distribution,      |
36 |              | hence it needs to be installed. As an example see the        |
37 |              | /yardstick/tools/ directory for how to generate a Linux      |
38 |              | image with cyclictest included.)                             |
39 |              |                                                              |
40 +--------------+--------------------------------------------------------------+
41 |references    | Cyclictest_                                                  |
42 |              |                                                              |
43 +--------------+--------------------------------------------------------------+
44 |applicability | This test case is mainly for kvm4nfv project CI verify.      |
45 |              | Upgrade host linux kernel, boot a gust vm update it's linux  |
46 |              | kernel, and then run the cyclictest to test the new kernel   |
47 |              | is work well.                                                |
48 |              |                                                              |
49 +--------------+--------------------------------------------------------------+
50 |pre-test      | The test kernel rpm, test sequence scripts and test guest    |
51 |conditions    | image need put the right folders as specified in the test    |
52 |              | case yaml file.                                              |
53 |              | The test guest image needs with cyclictest included in it.   |
54 |              |                                                              |
55 |              | No POD specific requirements have been identified.           |
56 |              |                                                              |
57 +--------------+--------------------------------------------------------------+
58 |test sequence | description and expected result                              |
59 |              |                                                              |
60 +--------------+--------------------------------------------------------------+
61 |step 1        | The host and guest os kernel is upgraded. Cyclictest is      |
62 |              | invoked and logs are produced and stored.                    |
63 |              |                                                              |
64 |              | Result: Logs are stored.                                     |
65 |              |                                                              |
66 +--------------+--------------------------------------------------------------+
67 |test verdict  | Fails only if SLA is not passed, or if there is a test case  |
68 |              | execution problem.                                           |
69 |              |                                                              |
70 +--------------+--------------------------------------------------------------+