1 ==============================================
2 OPNFV Brahmaputra3.0 release note for Functest
3 ==============================================
8 This document describes the release note of Functest project.
13 OPNFV Colorado release note for Functest Docs
14 (c) by Morgan Richomme (Orange)
16 OPNFV Colorado release note for Functest Docs
17 are licensed under a Creative Commons Attribution 4.0 International License.
18 You should have received a copy of the license along with this.
19 If not, see <http://creativecommons.org/licenses/by/4.0/>.
24 +------------+----------+------------------+------------------------+
25 | **Date** | **Ver.** | **Author** | **Comment** |
27 +------------+----------+------------------+------------------------+
28 | 2016-08-17 | 1.0.0 | Morgan Richomme | Functest for C release |
30 +------------+----------+------------------+------------------------+
32 OPNFV Colorado Release
33 =========================
35 Functest deals with functional testing of the OPNFV solution.
36 It includes test cases developed within the project and test cases developed in
37 other OPNFV projects and other upstream communities.
39 The internal test cases are:
44 * Tempest Smoke Serial
47 * Tempest full parallel
51 The OPNFV projects integrated into Functest framework for automation are:
66 The validation of a scenario requires a subset of these tests depending
67 on the installer and the scenario.
69 The 3 last internal test cases (tempest full parallel, Rally full and
70 vIMS) are not considered for scenario validation.
75 +--------------------------------------+--------------------------------------+
76 | **Project** | functest |
78 +--------------------------------------+--------------------------------------+
79 | **Repo/tag** | colorado.1.0 |
81 +--------------------------------------+--------------------------------------+
82 | **Release designation** | Colorado base release |
84 +--------------------------------------+--------------------------------------+
85 | **Release date** | September 22 2016 |
87 +--------------------------------------+--------------------------------------+
88 | **Purpose of the delivery** | Colorado base release |
90 +--------------------------------------+--------------------------------------+
98 - The Functest Docker image: * TODO link *
100 - The testapi Docker image: * TODO link *
106 - Installation/configuration guide: * TODO link *
108 - User Guide: * TODO link *
110 - Developer Guide: * TODO link *
119 - refactoring of ODL functional tests (with upstream modifications)
121 - refactoring of testapi (update, swagger documentation, dockerization)
123 - jenkins logs improvement
125 - update integration of Doctor, Promise and SDNVPN projects
127 - split Tempest and rally into 2 different tests: smoke and full
129 - vIMS test suite integration
131 - adoption of Kibana for dashboarding
137 - Functest CLI to prepare and run the tests
139 - creation of the healthcheck test case
141 - support new scenarios (ocl, odl_l2-sfc, onos-sfc, lxd, moon, multisite)
143 - integration of new OPNFV feature projects (copper, domino, multisite,
144 moon, parser, onos-sfc, odl-sfc, security scan)
146 - introduction of test tiers in functest framework
148 - automatic reporting
150 - introduction of a jenkins summary table
152 - support of ARM architecture
158 For Colorado 1.0, Functest was tested on the following scenarios (if not
159 precised, the scenario is a na scenario):
161 +---------------------+---------+---------+---------+---------+
162 | Scenario | Apex | Compass | Fuel | Joid |
163 +=====================+=========+=========+=========+=========+
164 | nosdn | X | X | X | X |
165 +---------------------+---------+---------+---------+---------+
166 | odl_l2 | X | X | X | X |
167 +---------------------+---------+---------+---------+---------+
168 | odl_l3 | X | X | X | |
169 +---------------------+---------+---------+---------+---------+
170 | onos | X | X | X | X |
171 +---------------------+---------+---------+---------+---------+
173 +---------------------+---------+---------+---------+---------+
174 | ovs-noha (dpdk) | | | X | |
175 +---------------------+---------+---------+---------+---------+
176 | kvm-noha | | | X | |
177 +---------------------+---------+---------+---------+---------+
178 | odl_l2-bgpvpn | X | | X | |
179 +---------------------+---------+---------+---------+---------+
180 | odl_l2-sfc | | | X | |
181 +---------------------+---------+---------+---------+---------+
182 | onos-sfc | X | X | X | X |
183 +---------------------+---------+---------+---------+---------+
184 | odl_l2-moon | | X | | |
185 +---------------------+---------+---------+---------+---------+
186 | multisite | | | | |
187 +---------------------+---------+---------+---------+---------+
189 +---------------------+---------+---------+---------+---------+
191 Functest defines a scenario scoring based on the sum of the unitary test
193 The scoring method is described in https://wiki.opnfv.org/pages/viewpage.action?pageId=6828617
195 In Colorado, the functional tests have been sliced in different
198 +----------------+-----------------------------------------------+
199 | Category | Description |
200 +================+===============================================+
201 | healthcheck | Basic OpenStack commands |
202 +----------------+-----------------------------------------------+
203 | smoke | vPings, Tempest and rally smoke tests |
204 +----------------+-----------------------------------------------+
205 | sdn_suites | Specific SDN feature tests |
206 +----------------+-----------------------------------------------+
207 | features | OPNFV feature project functional test suites |
208 +----------------+-----------------------------------------------+
209 | openstack | Advanced, long duration OpenStack tests |
210 | | (Tempest and Rally full suite). Each test may |
211 | | last several hours |
212 +----------------+-----------------------------------------------+
213 | vnf | Complex scenarios dealing with orchestration, |
214 | | VNF deployment and tests (e.g. vIMS) |
215 +----------------+-----------------------------------------------+
217 For the scenario validation, we consider only the categories healthcheck,
218 smoke, sdn_suites and features. These tests are run systematically in
221 Success criteria have been defined for these test cases, they can be
222 PASS/FAIl or a success rate may be declared (100%, > 90%)
223 All the criteria, as well as the test dependencies are declared in the
224 ci/testcases.yaml file.
226 * TODO scoring table *
228 The reporting pages can be found at:
230 * apex: * TODO / check branch *
231 * compass: * TODO / check branch *
232 * fuel: * TODO / check branch *
233 * joid: * TODO / check branch *
236 -----------------------
238 - vPing userdata and Tempest cases related to metada service excluded
239 from onos scenarios https://gerrit.opnfv.org/gerrit/#/c/18729/
241 - Tempest cases related to storage for joid scenarios
242 https://gerrit.opnfv.org/gerrit/#/c/17871/
244 - vPing_ssh and vIMS excluded from bgpvpn and kvm scenario
247 See known issues section for details
250 Test and installer/scenario dependencies
251 ========================================
253 It is not always possible to run all the test cases on all the scenarios.
254 The following table details the dependencies of the test cases per
255 scenario. The scenario dependencies (installer or scenario) are detailed
256 in https://git.opnfv.org/cgit/functest/tree/ci/testcases.yaml
261 Test results are available in:
263 - test results document: http://artifacts.opnfv.org/functest
265 - jenkins logs on CI: https://build.opnfv.org/ci/view/functest/
275 +------------------+-----------------------------------------------+
276 | JIRA | Description |
277 +==================+===============================================+
278 +------------------+-----------------------------------------------+
279 +------------------+-----------------------------------------------+
280 +------------------+-----------------------------------------------+
281 +------------------+-----------------------------------------------+
282 +------------------+-----------------------------------------------+
287 - wiki project page: https://wiki.opnfv.org/opnfv_functional_testing
289 - wiki Functest Colorado page: https://wiki.opnfv.org/display/functest/Functest+Colorado
291 - Functest repo: https://git.opnfv.org/cgit/functest
293 - Functest CI dashboard: https://build.opnfv.org/ci/view/functest/
295 - JIRA dashboard: https://jira.opnfv.org/secure/Dashboard.jspa?selectPageId=10611
297 - Functest IRC chan: #opnfv-functest
299 - Functest reporting: http://testresults.opnfv.org/reporting
301 - Functest test configuration: https://git.opnfv.org/cgit/functest/tree/ci/testcases.yaml
303 - Functest Colorado user guide: * TODO *
305 - Functest installation/configuration guide: * TODO *
307 - Functest developer guide: * TODO *