summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/test_results.rst
blob: bb28989aec45cdf5fc4cf9afb3a0453bc880cc17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.. SPDX-License-Identifier: CC-BY-4.0

Test results
============

Manual testing
--------------

In manual mode test results are displayed in the console and result files
are put in /home/opnfv/functest/results.

If you want additional logs, you may configure the logging.ini under
/usr/lib/python2.7/site-packages/xtesting/ci.

Automated testing
-----------------

In automated mode, tests are run within split Alpine containers, and test
results are displayed in jenkins logs. The result summary is provided at the
end of each suite and can be described as follow.

Healthcheck suite::

 +----------------------------+------------------+---------------------+------------------+----------------+
 |         TEST CASE          |     PROJECT      |         TIER        |     DURATION     |     RESULT     |
 +----------------------------+------------------+---------------------+------------------+----------------+
 |      connection_check      |     functest     |     healthcheck     |      00:07       |      PASS      |
 |         api_check          |     functest     |     healthcheck     |      07:46       |      PASS      |
 |     snaps_health_check     |     functest     |     healthcheck     |      00:36       |      PASS      |
 +----------------------------+------------------+---------------------+------------------+----------------+

Smoke suite::

 +------------------------------+------------------+---------------+------------------+----------------+
 |          TEST CASE           |     PROJECT      |      TIER     |     DURATION     |     RESULT     |
 +------------------------------+------------------+---------------+------------------+----------------+
 |          vping_ssh           |     functest     |     smoke     |      00:57       |      PASS      |
 |        vping_userdata        |     functest     |     smoke     |      00:33       |      PASS      |
 |     tempest_smoke_serial     |     functest     |     smoke     |      13:22       |      PASS      |
 |         rally_sanity         |     functest     |     smoke     |      24:07       |      PASS      |
 |       refstack_defcore       |     functest     |     smoke     |      05:21       |      PASS      |
 |           patrole            |     functest     |     smoke     |      04:29       |      PASS      |
 |         snaps_smoke          |     functest     |     smoke     |      46:54       |      PASS      |
 |             odl              |     functest     |     smoke     |      00:00       |      SKIP      |
 |        neutron_trunk         |     functest     |     smoke     |      00:00       |      SKIP      |
 +------------------------------+------------------+---------------+------------------+----------------+

Features suite::

 +-----------------------------+------------------------+------------------+------------------+----------------+
 |          TEST CASE          |        PROJECT         |       TIER       |     DURATION     |     RESULT     |
 +-----------------------------+------------------------+------------------+------------------+----------------+
 |     doctor-notification     |         doctor         |     features     |      00:00       |      SKIP      |
 |            bgpvpn           |         sdnvpn         |     features     |      00:00       |      SKIP      |
 |       functest-odl-sfc      |          sfc           |     features     |      00:00       |      SKIP      |
 |      barometercollectd      |       barometer        |     features     |      00:00       |      SKIP      |
 |             fds             |     fastdatastacks     |     features     |      00:00       |      SKIP      |
 +-----------------------------+------------------------+------------------+------------------+----------------+

Components suite::

 +-------------------------------+------------------+--------------------+------------------+----------------+
 |           TEST CASE           |     PROJECT      |        TIER        |     DURATION     |     RESULT     |
 +-------------------------------+------------------+--------------------+------------------+----------------+
 |     tempest_full_parallel     |     functest     |     components     |      48:28       |      PASS      |
 |           rally_full          |     functest     |     components     |      126:02      |      PASS      |
 +-------------------------------+------------------+--------------------+------------------+----------------+

Vnf suite::

 +----------------------+------------------+--------------+------------------+----------------+
 |      TEST CASE       |     PROJECT      |     TIER     |     DURATION     |     RESULT     |
 +----------------------+------------------+--------------+------------------+----------------+
 |     cloudify_ims     |     functest     |     vnf      |      28:15       |      PASS      |
 |     vyos_vrouter     |     functest     |     vnf      |      17:59       |      PASS      |
 |       juju_epc       |     functest     |     vnf      |      46:44       |      PASS      |
 +----------------------+------------------+--------------+------------------+----------------+

Parser testcase::

 +-----------------------+-----------------+------------------+------------------+----------------+
 |       TEST CASE       |     PROJECT     |       TIER       |     DURATION     |     RESULT     |
 +-----------------------+-----------------+------------------+------------------+----------------+
 |     parser-basics     |      parser     |     features     |      00:00       |      SKIP      |
 +-----------------------+-----------------+------------------+------------------+----------------+

Functest Kubernetes test result::

 +--------------------------------------+------------------------------------------------------------+
 |               ENV VAR                |                           VALUE                            |
 +--------------------------------------+------------------------------------------------------------+
 |            INSTALLER_TYPE            |                          compass                           |
 |           DEPLOY_SCENARIO            |                   k8-nosdn-nofeature-ha                    |
 |              BUILD_TAG               |     jenkins-functest-compass-baremetal-daily-master-75     |
 |               CI_LOOP                |                           daily                            |
 +--------------------------------------+------------------------------------------------------------+

Kubernetes healthcheck suite::

 +-------------------+------------------+---------------------+------------------+----------------+
 |     TEST CASE     |     PROJECT      |         TIER        |     DURATION     |     RESULT     |
 +-------------------+------------------+---------------------+------------------+----------------+
 |     k8s_smoke     |     functest     |     healthcheck     |      01:54       |      PASS      |
 +-------------------+------------------+---------------------+------------------+----------------+

Kubernetes smoke suite::

 +-------------------------+------------------+---------------+------------------+----------------+
 |        TEST CASE        |     PROJECT      |      TIER     |     DURATION     |     RESULT     |
 +-------------------------+------------------+---------------+------------------+----------------+
 |     k8s_conformance     |     functest     |     smoke     |      57:47       |      PASS      |
 +-------------------------+------------------+---------------+------------------+----------------+

Kubernetes features suite::

 +----------------------+------------------+------------------+------------------+----------------+
 |      TEST CASE       |     PROJECT      |       TIER       |     DURATION     |     RESULT     |
 +----------------------+------------------+------------------+------------------+----------------+
 |     stor4nfv_k8s     |     stor4nfv     |     stor4nfv     |      00:00       |      SKIP      |
 |      clover_k8s      |      clover      |      clover      |      00:00       |      SKIP      |
 +----------------------+------------------+------------------+------------------+----------------+

Results are automatically pushed to the test results database, some additional
result files are pushed to OPNFV artifact web sites.

Based on the results stored in the result database, a `Functest reporting`_
portal is also automatically updated. This portal provides information on the
overall status per scenario and per installer

.. _`Functest reporting`: http://testresults.opnfv.org/reporting/master/functest/status-apex.html