1 *************************************
2 Yardstick Test Case Description TC024
3 *************************************
5 .. _man-pages: http://manpages.ubuntu.com/manpages/trusty/man1/mpstat.1.html
7 +-----------------------------------------------------------------------------+
10 +--------------+--------------------------------------------------------------+
11 |test case id | OPNFV_YARDSTICK_TC024_CPU Load |
13 +--------------+--------------------------------------------------------------+
16 +--------------+--------------------------------------------------------------+
17 |test purpose | To evaluate the CPU load performance of the IaaS. This test |
18 | | case should be run in parallel to other Yardstick test cases |
19 | | and not run as a stand-alone test case. |
21 | | The purpose is also to be able to spot trends. Test results, |
22 | | graphs ans similar shall be stored for comparison reasons and|
23 | | product evolution understanding between different OPNFV |
24 | | versions and/or configurations. |
26 +--------------+--------------------------------------------------------------+
27 |configuration | file: cpuload.yaml (in the 'samples' directory) |
29 | | There is are no additional configurations to be set for this |
32 +--------------+--------------------------------------------------------------+
35 | | (mpstat is not always part of a Linux distribution, hence it |
36 | | needs to be installed. It is part of the Yardstick Glance |
37 | | image. However, if mpstat is not present the TC instead uses |
38 | | /proc/stats as source to produce "mpstat" output. |
40 +--------------+--------------------------------------------------------------+
41 |references | man-pages_ |
43 +--------------+--------------------------------------------------------------+
44 |applicability | Run in background with other test cases. |
46 +--------------+--------------------------------------------------------------+
47 |pre-test | The test case image needs to be installed into Glance |
48 |conditions | with mpstat included in it. |
50 | | No POD specific requirements have been identified. |
52 +--------------+--------------------------------------------------------------+
53 |test sequence | description and expected result |
55 +--------------+--------------------------------------------------------------+
56 |step 1 | The host is installed. The related TC, or TCs, is |
57 | | invoked and mpstat logs are produced and stored. |
59 | | Result: Stored logs |
61 +--------------+--------------------------------------------------------------+
62 |test verdict | None. CPU load results are fetched and stored. |
64 +--------------+--------------------------------------------------------------+