Remove cli and api
[functest.git] / docs / testing / user / userguide / test_results.rst
1 .. SPDX-License-Identifier: CC-BY-4.0
2
3 Test results
4 ============
5
6 Manual testing
7 --------------
8
9 In manual mode test results are displayed in the console and result files
10 are put in /home/opnfv/functest/results.
11
12 If you want additional logs, you may configure the logging.ini under
13 /usr/lib/python2.7/site-packages/xtesting/ci.
14
15 Automated testing
16 -----------------
17
18 In automated mode, tests are run within split Alpine containers, and test
19 results are displayed in jenkins logs. The result summary is provided at the
20 end of each suite and can be described as follow.
21
22 Healthcheck suite::
23
24  +----------------------------+------------------+---------------------+------------------+----------------+
25  |         TEST CASE          |     PROJECT      |         TIER        |     DURATION     |     RESULT     |
26  +----------------------------+------------------+---------------------+------------------+----------------+
27  |      connection_check      |     functest     |     healthcheck     |      00:07       |      PASS      |
28  |         api_check          |     functest     |     healthcheck     |      07:46       |      PASS      |
29  |     snaps_health_check     |     functest     |     healthcheck     |      00:36       |      PASS      |
30  +----------------------------+------------------+---------------------+------------------+----------------+
31
32 Smoke suite::
33
34  +------------------------------+------------------+---------------+------------------+----------------+
35  |          TEST CASE           |     PROJECT      |      TIER     |     DURATION     |     RESULT     |
36  +------------------------------+------------------+---------------+------------------+----------------+
37  |          vping_ssh           |     functest     |     smoke     |      00:57       |      PASS      |
38  |        vping_userdata        |     functest     |     smoke     |      00:33       |      PASS      |
39  |     tempest_smoke_serial     |     functest     |     smoke     |      13:22       |      PASS      |
40  |         rally_sanity         |     functest     |     smoke     |      24:07       |      PASS      |
41  |       refstack_defcore       |     functest     |     smoke     |      05:21       |      PASS      |
42  |           patrole            |     functest     |     smoke     |      04:29       |      PASS      |
43  |         snaps_smoke          |     functest     |     smoke     |      46:54       |      PASS      |
44  |             odl              |     functest     |     smoke     |      00:00       |      SKIP      |
45  |        neutron_trunk         |     functest     |     smoke     |      00:00       |      SKIP      |
46  +------------------------------+------------------+---------------+------------------+----------------+
47
48 Features suite::
49
50  +-----------------------------+------------------------+------------------+------------------+----------------+
51  |          TEST CASE          |        PROJECT         |       TIER       |     DURATION     |     RESULT     |
52  +-----------------------------+------------------------+------------------+------------------+----------------+
53  |     doctor-notification     |         doctor         |     features     |      00:00       |      SKIP      |
54  |            bgpvpn           |         sdnvpn         |     features     |      00:00       |      SKIP      |
55  |       functest-odl-sfc      |          sfc           |     features     |      00:00       |      SKIP      |
56  |      barometercollectd      |       barometer        |     features     |      00:00       |      SKIP      |
57  |             fds             |     fastdatastacks     |     features     |      00:00       |      SKIP      |
58  +-----------------------------+------------------------+------------------+------------------+----------------+
59
60 Components suite::
61
62  +-------------------------------+------------------+--------------------+------------------+----------------+
63  |           TEST CASE           |     PROJECT      |        TIER        |     DURATION     |     RESULT     |
64  +-------------------------------+------------------+--------------------+------------------+----------------+
65  |     tempest_full_parallel     |     functest     |     components     |      48:28       |      PASS      |
66  |           rally_full          |     functest     |     components     |      126:02      |      PASS      |
67  +-------------------------------+------------------+--------------------+------------------+----------------+
68
69 Vnf suite::
70
71  +----------------------+------------------+--------------+------------------+----------------+
72  |      TEST CASE       |     PROJECT      |     TIER     |     DURATION     |     RESULT     |
73  +----------------------+------------------+--------------+------------------+----------------+
74  |     cloudify_ims     |     functest     |     vnf      |      28:15       |      PASS      |
75  |     vyos_vrouter     |     functest     |     vnf      |      17:59       |      PASS      |
76  |       juju_epc       |     functest     |     vnf      |      46:44       |      PASS      |
77  +----------------------+------------------+--------------+------------------+----------------+
78
79 Parser testcase::
80
81  +-----------------------+-----------------+------------------+------------------+----------------+
82  |       TEST CASE       |     PROJECT     |       TIER       |     DURATION     |     RESULT     |
83  +-----------------------+-----------------+------------------+------------------+----------------+
84  |     parser-basics     |      parser     |     features     |      00:00       |      SKIP      |
85  +-----------------------+-----------------+------------------+------------------+----------------+
86
87 Functest Kubernetes test result::
88
89  +--------------------------------------+------------------------------------------------------------+
90  |               ENV VAR                |                           VALUE                            |
91  +--------------------------------------+------------------------------------------------------------+
92  |            INSTALLER_TYPE            |                          compass                           |
93  |           DEPLOY_SCENARIO            |                   k8-nosdn-nofeature-ha                    |
94  |              BUILD_TAG               |     jenkins-functest-compass-baremetal-daily-master-75     |
95  |               CI_LOOP                |                           daily                            |
96  +--------------------------------------+------------------------------------------------------------+
97
98 Kubernetes healthcheck suite::
99
100  +-------------------+------------------+---------------------+------------------+----------------+
101  |     TEST CASE     |     PROJECT      |         TIER        |     DURATION     |     RESULT     |
102  +-------------------+------------------+---------------------+------------------+----------------+
103  |     k8s_smoke     |     functest     |     healthcheck     |      01:54       |      PASS      |
104  +-------------------+------------------+---------------------+------------------+----------------+
105
106 Kubernetes smoke suite::
107
108  +-------------------------+------------------+---------------+------------------+----------------+
109  |        TEST CASE        |     PROJECT      |      TIER     |     DURATION     |     RESULT     |
110  +-------------------------+------------------+---------------+------------------+----------------+
111  |     k8s_conformance     |     functest     |     smoke     |      57:47       |      PASS      |
112  +-------------------------+------------------+---------------+------------------+----------------+
113
114 Kubernetes features suite::
115
116  +----------------------+------------------+------------------+------------------+----------------+
117  |      TEST CASE       |     PROJECT      |       TIER       |     DURATION     |     RESULT     |
118  +----------------------+------------------+------------------+------------------+----------------+
119  |     stor4nfv_k8s     |     stor4nfv     |     stor4nfv     |      00:00       |      SKIP      |
120  |      clover_k8s      |      clover      |      clover      |      00:00       |      SKIP      |
121  +----------------------+------------------+------------------+------------------+----------------+
122
123 Results are automatically pushed to the test results database, some additional
124 result files are pushed to OPNFV artifact web sites.
125
126 Based on the results stored in the result database, a `Functest reporting`_
127 portal is also automatically updated. This portal provides information on the
128 overall status per scenario and per installer
129
130 .. _`Functest reporting`: http://testresults.opnfv.org/reporting/master/functest/status-apex.html