diff options
author | dimitris.tsiolakis <dmts@intracom-telecom.com> | 2018-08-29 14:11:48 +0300 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-08-31 12:16:48 +0000 |
commit | 8e7906bb67bbd3ba524510633b3613e67cb97689 (patch) | |
tree | 8de70119ed80ee1d82a523c59ccd803b4a750f58 | |
parent | 5cf7a06c5bed1139821ac5e0a95e5db5caa761f3 (diff) |
Reviewer guide update for OVP 2018.08 releaseovp-2.0.0-rc1
JIRA: DOVETAIL-701
Change-Id: I940bdd16762dd36ee338f41e5b2aab352c70600f
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
(cherry picked from commit 0727b542015f7f3718eda435396d34aec5ac1c80)
23 files changed, 126 insertions, 113 deletions
diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_log_files.png b/docs/testing/user/reviewerguide/danube/images/ovp_log_files.png Binary files differdeleted file mode 100644 index d5af068b..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_log_files.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_log_setup.png b/docs/testing/user/reviewerguide/danube/images/ovp_log_setup.png Binary files differdeleted file mode 100644 index 395a2c3e..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_log_setup.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_log_test_count.png b/docs/testing/user/reviewerguide/danube/images/ovp_log_test_count.png Binary files differdeleted file mode 100644 index 6c363441..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_log_test_count.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_missing_ha.png b/docs/testing/user/reviewerguide/danube/images/ovp_missing_ha.png Binary files differdeleted file mode 100644 index 7e2c6982..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_missing_ha.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_pass_fraction.png b/docs/testing/user/reviewerguide/danube/images/ovp_pass_fraction.png Binary files differdeleted file mode 100644 index 74c99f37..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_pass_fraction.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_pass_percentage.png b/docs/testing/user/reviewerguide/danube/images/ovp_pass_percentage.png Binary files differdeleted file mode 100644 index ad79f4ec..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_pass_percentage.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_result_overview.png b/docs/testing/user/reviewerguide/danube/images/ovp_result_overview.png Binary files differdeleted file mode 100644 index fa12ddc7..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_result_overview.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_run_results.png b/docs/testing/user/reviewerguide/danube/images/ovp_run_results.png Binary files differdeleted file mode 100644 index 4b845df2..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_run_results.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_test_count.png b/docs/testing/user/reviewerguide/danube/images/ovp_test_count.png Binary files differdeleted file mode 100644 index 1c9bcd30..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_test_count.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_top_nav.png b/docs/testing/user/reviewerguide/danube/images/ovp_top_nav.png Binary files differdeleted file mode 100644 index 280d0c5f..00000000 --- a/docs/testing/user/reviewerguide/danube/images/ovp_top_nav.png +++ /dev/null diff --git a/docs/testing/user/reviewerguide/images/ovp_log_files_functest_image.png b/docs/testing/user/reviewerguide/images/ovp_log_files_functest_image.png Binary files differnew file mode 100644 index 00000000..51a672af --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_log_files_functest_image.png diff --git a/docs/testing/user/reviewerguide/images/ovp_log_setup.png b/docs/testing/user/reviewerguide/images/ovp_log_setup.png Binary files differnew file mode 100644 index 00000000..de529a05 --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_log_setup.png diff --git a/docs/testing/user/reviewerguide/images/ovp_pass_fraction.png b/docs/testing/user/reviewerguide/images/ovp_pass_fraction.png Binary files differnew file mode 100644 index 00000000..7c3299f4 --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_pass_fraction.png diff --git a/docs/testing/user/reviewerguide/images/ovp_pass_percentage.png b/docs/testing/user/reviewerguide/images/ovp_pass_percentage.png Binary files differnew file mode 100644 index 00000000..adfe96e5 --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_pass_percentage.png diff --git a/docs/testing/user/reviewerguide/images/ovp_result_overview.png b/docs/testing/user/reviewerguide/images/ovp_result_overview.png Binary files differnew file mode 100644 index 00000000..1097f0af --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_result_overview.png diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_result_review.png b/docs/testing/user/reviewerguide/images/ovp_result_review.png Binary files differindex a8f988fc..a8f988fc 100644 --- a/docs/testing/user/reviewerguide/danube/images/ovp_result_review.png +++ b/docs/testing/user/reviewerguide/images/ovp_result_review.png diff --git a/docs/testing/user/reviewerguide/images/ovp_top_nav.png b/docs/testing/user/reviewerguide/images/ovp_top_nav.png Binary files differnew file mode 100644 index 00000000..3dfc0b09 --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_top_nav.png diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_vping_ssh.png b/docs/testing/user/reviewerguide/images/ovp_vping_ssh.png Binary files differindex 01384d02..01384d02 100644 --- a/docs/testing/user/reviewerguide/danube/images/ovp_vping_ssh.png +++ b/docs/testing/user/reviewerguide/images/ovp_vping_ssh.png diff --git a/docs/testing/user/reviewerguide/danube/images/ovp_vping_user.png b/docs/testing/user/reviewerguide/images/ovp_vping_user.png Binary files differindex a82e1121..a82e1121 100644 --- a/docs/testing/user/reviewerguide/danube/images/ovp_vping_user.png +++ b/docs/testing/user/reviewerguide/images/ovp_vping_user.png diff --git a/docs/testing/user/reviewerguide/images/ovp_wrong_num_of_tc.png b/docs/testing/user/reviewerguide/images/ovp_wrong_num_of_tc.png Binary files differnew file mode 100644 index 00000000..9e5d2b47 --- /dev/null +++ b/docs/testing/user/reviewerguide/images/ovp_wrong_num_of_tc.png diff --git a/docs/testing/user/reviewerguide/danube/images/sut_endpoints.png b/docs/testing/user/reviewerguide/images/sut_endpoints.png Binary files differindex f11d531f..f11d531f 100644 --- a/docs/testing/user/reviewerguide/danube/images/sut_endpoints.png +++ b/docs/testing/user/reviewerguide/images/sut_endpoints.png diff --git a/docs/testing/user/reviewerguide/danube/images/sut_info.png b/docs/testing/user/reviewerguide/images/sut_info.png Binary files differindex 395f5f41..395f5f41 100644 --- a/docs/testing/user/reviewerguide/danube/images/sut_info.png +++ b/docs/testing/user/reviewerguide/images/sut_info.png diff --git a/docs/testing/user/reviewerguide/index.rst b/docs/testing/user/reviewerguide/index.rst index bd615f19..8c3c8bf7 100644 --- a/docs/testing/user/reviewerguide/index.rst +++ b/docs/testing/user/reviewerguide/index.rst @@ -3,7 +3,7 @@ .. (c) Ericsson AB ============================================= -OPNFV Verified Program 2018.01 Reviewer Guide +OVP Reviewer Guide ============================================= .. toctree:: @@ -13,174 +13,183 @@ OPNFV Verified Program 2018.01 Reviewer Guide Introduction ============ -This reviewer guide provides detailed guidance for reviewers on how to handle the result review -process. Reviewers must follow the checklist below to ensure review consistency for the OPNFV -Verified Program (OVP) 2018.01 (Danube) release at a minimum. +This document provides detailed guidance for reviewers on how to handle the result review +process. -#. **Mandatory Test Area Results** - Validate that results for all mandatory test areas are present. -#. **Test-Case Count within Mandatory Test Area** - Check that the total number of test-cases are present in each mandatory test area. -#. **Test-Case Pass Percentage** - Ensure all tests have passed (100% pass rate). -#. **Log File Verification** - Inspect the log file for each test area (osinterop, ha, vping). -#. **SUT Info Verification** - Validate the system under test (SUT) hardware and software endpoint info is present. - - -1. Mandatory Test Area Results -============================== - -Validate that results for all mandatory test areas are included in the overall test suite. The -required mandatory test areas are: - - **osinterop** - - **vping** - - **ha** - -Login to the OVP portal at: +The OPNFV Verified program (OVP) provides the ability for users to upload test results in +`OVP portal <https://verified.opnfv.org>`_ and request from OVP community to review them. +After the user submit for review the test results **Status** is changed from 'private' to 'review' +(as shown in figure 2). -*https://verified.opnfv.org* +OVP administrator will ask for review volunteers using the verified@opnfv.org email alias. +The incoming results for review will be identified by the administrator with particular **Test ID** +and **Owner** values. -Click on the 'My Results' tab in top-level navigation bar. +Volunteers that will accept the review request can access the test results by login to the +`OVP portal <https://verified.opnfv.org>`_ and the click on the **My Results** tab in top-level +navigation bar. -.. image:: danube/images/ovp_top_nav.png +.. image:: images/ovp_top_nav.png :align: center :scale: 100% -The OVP administrator will ask for review volunteers using the verified@opnfv.org email alias. The -incoming results for review will be identified by the administrator with particular 'Test ID' -and 'Owner' values. The corresponding OVP portal result will have a status of 'review'. +Figure 1 -.. image:: danube/images/ovp_result_review.png +The corresponding OVP portal result will have a status of 'review'. + +.. image:: images/ovp_result_review.png :align: center :scale: 100% -In the example above, this information will be provided as: -- Test ID: a00c47e8 -- Owner: jtaylor - -Click on the hyperlink within the 'Test ID' column. - -*Note, that the 'Test ID' column in this view condenses the UUID used for 'Test ID' to -eight characters even though the 'Test ID' is a longer UUID in the back-end.* +Figure 2 -.. image:: danube/images/ovp_result_overview.png - :align: center - :scale: 100% +Reviewers must follow the checklist below to ensure review consistency for the OPNFV +Verified Program (OVP) 2018.08 (Fraser) release at a minimum. -The 'Test ID' hyperlink toggles the view to a top-level listing of the results displayed above. -Validate that osinterop, vping and ha test area results are all present within the view. +#. **Mandatory Test Area Results** - Validate that results for all mandatory test areas are present. +#. **Test-Case Pass Percentage** - Ensure all tests have passed (100% pass rate). +#. **Log File Verification** - Inspect the log file for each test area. +#. **SUT Info Verification** - Validate the system under test (SUT) hardware and software endpoint info is present. -2. Test-Case Count within Mandatory Test Area -============================================= -Validate the test-case count within each test area. For the OVP 2018.01 release, this must break -down as outlined in the table below. +1. Mandatory Test Area Results +============================== -.. image:: danube/images/ovp_test_count.png - :align: center - :scale: 100% +Test results can be displayed by clicking on the hyperlink under the 'Test ID' column. +User should validate that results for all mandatory test areas are included in the overall test suite. The required +mandatory test cases are: + +- functest.vping.userdata +- functest.vping.ssh +- bottlenecks.stress.ping +- functest.tempest.osinterop +- functest.tempest.compute +- functest.tempest.identity_v2 +- functest.tempest.identity_v3 +- functest.tempest.image +- functest.tempest.network_api +- functest.tempest.volume +- functest.tempest.neutron_trunk_ports +- functest.tempest.ipv6_api +- functest.security.patrole +- yardstick.ha.nova_api +- yardstick.ha.neutron_server +- yardstick.ha.keystone +- yardstick.ha.glance_api +- yardstick.ha.cinder_api +- yardstick.ha.cpu_load +- yardstick.ha.disk_load +- yardstick.ha.haproxy +- yardstick.ha.rabbitmq +- yardstick.ha.database -In the diagram above (from section 1), these counts can be gleaned from the numbers to the -right of the test-cases. The total number is given for the osinterop (dovetail.osinterop.tc001) -test area at 205. The vping (dovetail.vping.tc00x) and ha (dovetail.ha.tc00x) test-cases are -broken down separately with a line for each test-case. Directly above the 'Test Result Overview' -listing there's a summary labelled 'Test Run Results' shown below. For OVP 2018.01, a mandatory -total of **215** test-cases must be present (205 osinterop + 8 ha + 2 vping). +*Note, that the 'Test ID' column in this view condenses the UUID used for 'Test ID' to +eight characters even though the 'Test ID' is a longer UUID in the back-end.* -.. image:: danube/images/ovp_missing_ha.png +.. image:: images/ovp_result_overview.png :align: center :scale: 100% -An example of a listing that should flag a negative review is shown above. The mandatory ha test -area is missing one test case (dovetail.ha.tc008). +Figure 3 3. Test-Case Pass Percentage ============================ -All mandatory test-cases must pass. This can be validated in multiple ways. The below diagram of -the 'Test Run Results' is one method and shows that 100% of the mandatory test-cases have passed. +All mandatory test-cases have to run successfully. The below diagram of the 'Test Run Results' is one method and +shows that 94.39% of the mandatory test-cases have passed. This value must not be lower than 100%. -.. image:: danube/images/ovp_pass_percentage.png +.. image:: images/ovp_pass_percentage.png :align: center :width: 350 px -Another method to check that all mandatory test-cases have passed is shown in the diagram below. -The pass/total is given as a fraction and highlighted here in yellow. For the osinterop test area, -the result must display [205/205] and for each of the test-cases under the vping and ha test areas -[1/1] must be displayed. +Figure 4 + +Failed test cases can also be easy identified by the color of pass/total number. : -.. image:: danube/images/ovp_pass_fraction.png +- Green when all test-cases pass +- Orange when at least one fails +- Red when all test-cases fail + +.. image:: images/ovp_pass_fraction.png :align: center - :width: 270 px + :width: 350 px + +Figure 5 4. Log File Verification ======================== -Three log files must be verified for content within each mandatory test area. The log files for -each of the test areas is noted in the table below. +Each log file of the mandatory test cases have to be verified for content. -.. image:: danube/images/ovp_log_files.png +Log files can be displayed by clicking on the setup icon to the right of the results, +as shown in figure below. + +.. image:: images/ovp_log_setup.png :align: center :scale: 100% -The three log files can be displayed by clicking on the setup icon to the right of the results, -as shown in the diagram below. +Figure 6 + +*Note, all log files can be found at results/ directory as shown at the following table.* + ++------------------------+--------------------------+ +| **Mandatory Test Case**| **Location** | ++------------------------+--------------------------+ +| bottlenecks | results/stress_logs/ | ++------------------------+--------------------------+ +| functest.vping | results/vping_logs/ | ++------------------------+--------------------------+ +| functest.tempest | results/tempest_logs/ | ++------------------------+--------------------------+ +| functest.security | results/security_logs/ | ++------------------------+--------------------------+ +| yardstick | results/ha_logs/ | ++------------------------+--------------------------+ + + +The bottlenecks log must contain the 'SUCCESS' result as shown in following example: + + 2018-08-22 14:11:21,815 [INFO] yardstick.benchmark.core.task task.py:127 Testcase: "ping_bottlenecks" **SUCCESS**!!! -*Note, while the vping and ha test areas list multiple test-cases in the below diagram, there is -a single log file for all test-cases within these test areas.* +Functest logs opens an html page that lists all test cases as shown in figure 7. All test cases must have run +successfuly. -.. image:: danube/images/ovp_log_setup.png +.. image:: images/ovp_log_functest_image.png :align: center :scale: 100% -Within the osinterop log (dovetail.osinterop.tc001.log), scroll down to the area of the log that -begins to list the results of each test-case executed. This can be located by looking for lines -prefaced with '**tempest.api**' and ending with '**... ok**'. +Figure 7 -.. image:: danube/images/ovp_log_test_count.png +For the vping test area log file (functest.log). The two entries displayed in the tables below must be present in +this log file. + +**functest.vping_userdata** + +.. image:: images/ovp_vping_ssh.png :align: center :scale: 100% -The number of lines within the osinterop log for test-cases must add up according to the table -above, where test-cases are broken down according to compute, identity, image, network and volume, -with respective counts given in the table. The ha log (yardstick.log) must contain the 'PASS' -result for each of the eight test-cases within this test area. This can be verified by searching -the log for the keyword 'PASS'. +Figure 8 +**functest.vping_ssh** +.. image:: images/ovp_vping_user.png + :align: center + :scale: 100% -The eight lines to validate are listed below: +Figure 9 - - 017-10-16 05:07:49,158 yardstick.benchmark.scenarios.availability.serviceha serviceha.py:81 - INFO The HA test case PASS the SLA - - 2017-10-16 05:08:31,387 yardstick.benchmark.scenarios.availability.serviceha serviceha.py:81 - INFO The HA test case PASS the SLA - - 2017-10-16 05:09:13,669 yardstick.benchmark.scenarios.availability.serviceha serviceha.py:81 - INFO The HA test case PASS the SLA - - 2017-10-16 05:09:55,967 yardstick.benchmark.scenarios.availability.serviceha serviceha.py:81 - INFO The HA test case PASS the SLA - - 2017-10-16 05:10:38,407 yardstick.benchmark.scenarios.availability.serviceha serviceha.py:81 - INFO The HA test case PASS the SLA - - 2017-10-16 05:11:00,030 yardstick.benchmark.scenarios.availability.scenario_general - scenario_general.py:71 INFO [92m Congratulations, the HA test case PASS! [0m - - 2017-10-16 05:11:22,536 yardstick.benchmark.scenarios.availability.scenario_general - scenario_general.py:71 INFO [92m Congratulations, the HA test case PASS! [0m - - 2017-10-16 05:12:07,880 yardstick.benchmark.scenarios.availability.scenario_general - scenario_general.py:71 INFO [92m Congratulations, the HA test case PASS! [0m +The yardstick log must contain the 'SUCCESS' result for each of the test-cases within this +test area. This can be verified by searching the log for the keyword 'SUCCESS'. +An example of a FAILED and a SUCCESS test case are listed below: -The final validation is for the vping test area log file (functest.log). The two entries -displayed in the diagrams below must be present in this log file. + 2018-08-28 10:25:09,946 [ERROR] yardstick.benchmark.scenarios.availability.monitor.monitor_multi monitor_multi.py:78 SLA **failure**: 14.015082 > 5.000000 - - vping_userdata - - vping_ssh + 2018-08-28 10:23:41,907 [INFO] yardstick.benchmark.core.task task.py:127 Testcase: "opnfv_yardstick_tc052" **SUCCESS**!!! -.. image:: danube/images/ovp_vping_user.png - :align: center - :scale: 100% - -.. image:: danube/images/ovp_vping_ssh.png - :align: center - :scale: 100% 5. SUT Info Verification ======================== @@ -189,18 +198,22 @@ SUT information must be present in the results to validate that all required end and at least two controllers were present during test execution. For the results shown below, click the '**info**' hyperlink in the **SUT** column to navigate to the SUT information page. -.. image:: danube/images/sut_info.png +.. image:: images/sut_info.png :align: center :scale: 100% +Figure 10 + In the '**Endpoints**' listing shown below for the SUT VIM component, ensure that services are present for identify, compute, image, volume and network at a minimum by inspecting the '**Service Type**' column. -.. image:: danube/images/sut_endpoints.png +.. image:: images/sut_endpoints.png :align: center :scale: 100% +Figure 11 + Inspect the '**Hosts**' listing found below the Endpoints secion of the SUT info page and ensure at least two hosts are present, as two controllers are required the for the mandatory HA test-cases. |