1 .. This work is licensed under a Creative Commons Attribution 4.0 International
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Ericsson AB and others.
6 *************************************
7 Yardstick Test Case Description TC024
8 *************************************
10 .. _man-pages: http://manpages.ubuntu.com/manpages/trusty/man1/mpstat.1.html
12 +-----------------------------------------------------------------------------+
15 +--------------+--------------------------------------------------------------+
16 |test case id | OPNFV_YARDSTICK_TC024_CPU Load |
18 +--------------+--------------------------------------------------------------+
21 +--------------+--------------------------------------------------------------+
22 |test purpose | To evaluate the CPU load performance of the IaaS. This test |
23 | | case should be run in parallel to other Yardstick test cases |
24 | | and not run as a stand-alone test case. |
25 | | Average, minimum and maximun values are obtained. |
26 | | The purpose is also to be able to spot trends. |
27 | | Test results, graphs and similar shall be stored for |
28 | | comparison reasons and product evolution understanding |
29 | | between different OPNFV versions and/or configurations. |
31 +--------------+--------------------------------------------------------------+
32 |configuration | file: cpuload.yaml (in the 'samples' directory) |
34 | | * interval: 1 - repeat, pausing every 1 seconds in-between. |
35 | | * count: 10 - display statistics 10 times, then exit. |
37 +--------------+--------------------------------------------------------------+
40 | | (mpstat is not always part of a Linux distribution, hence it |
41 | | needs to be installed. It is part of the Yardstick Glance |
42 | | image. However, if mpstat is not present the TC instead uses |
43 | | /proc/stats as source to produce "mpstat" output. |
45 +--------------+--------------------------------------------------------------+
46 |references | man-pages_ |
48 +--------------+--------------------------------------------------------------+
49 |applicability | Test can be configured with different: |
53 | | * runner Iteration and intervals. |
55 | | There are default values for each above-mentioned option. |
56 | | Run in background with other test cases. |
58 +--------------+--------------------------------------------------------------+
59 |pre-test | The test case image needs to be installed into Glance |
60 |conditions | with mpstat included in it. |
62 | | No POD specific requirements have been identified. |
64 +--------------+--------------------------------------------------------------+
65 |test sequence | description and expected result |
67 +--------------+--------------------------------------------------------------+
68 |step 1 | The host is installed. The related TC, or TCs, is |
69 | | invoked and mpstat logs are produced and stored. |
71 | | Result: Stored logs |
73 +--------------+--------------------------------------------------------------+
74 |test verdict | None. CPU load results are fetched and stored. |
76 +--------------+--------------------------------------------------------------+