1 .. This work is licensed under a Creative Commons Attribution 4.0 International
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Huawei Technologies Co., Ltd and others.
6 *************************************
7 Yardstick Test Case Description TC028
8 *************************************
10 .. _Cyclictest: https://rt.wiki.kernel.org/index.php/Cyclictest
12 +-----------------------------------------------------------------------------+
13 |KVM Latency measurements |
15 +--------------+--------------------------------------------------------------+
16 |test case id | OPNFV_YARDSTICK_TC028_KVM Latency measurements |
18 +--------------+--------------------------------------------------------------+
19 |metric | min, avg and max latency |
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. |
29 +--------------+--------------------------------------------------------------+
30 |configuration | file: samples/cyclictest-node-context.yaml |
32 +--------------+--------------------------------------------------------------+
33 |test tool | Cyclictest |
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.) |
40 +--------------+--------------------------------------------------------------+
41 |references | Cyclictest_ |
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 |
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 |
53 | | The test guest image needs with cyclictest included in it. |
55 | | No POD specific requirements have been identified. |
57 +--------------+--------------------------------------------------------------+
58 |test sequence | description and expected result |
60 +--------------+--------------------------------------------------------------+
61 |step 1 | The host and guest os kernel is upgraded. Cyclictest is |
62 | | invoked and logs are produced and stored. |
64 | | Result: Logs are stored. |
66 +--------------+--------------------------------------------------------------+
67 |test verdict | Fails only if SLA is not passed, or if there is a test case |
68 | | execution problem. |
70 +--------------+--------------------------------------------------------------+