summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-16Fix the verdict of sub test casesxudan2-3/+10
Error to group skipped sub test cases to passed one. Example: Skipped sub test case will be parsed as passed in following case. skipped sub test case: tempest.api.network.test_routers.RoutersTest.test_create_show_list_update_delete_router passed sub test case list includes this one: tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_subnet_id Then the skipped one will be checked as pass. JIRA: DOVETAIL-775 Change-Id: I449f4968c23a9def1177a7c9645e5dcb89b2ec30 Signed-off-by: xudan <xudan16@huawei.com>
2019-05-09Add Licensexudan106-0/+954
Many files in Dovetail repo are lacking of License after LF scanning. Add all of them except the following files: 1. docker/Dockerfile.aarch64.patch 2. 0001-Allow-additional-properties-in-API-responses.patch 3. docs/images/dovetail_offline_mode.xcf 4. docs/images/dovetail_onfline_mode.xcf 5. all png files 6. all empty files Change-Id: If1a0b7c2d35d6682c87c4eb9106e1998dc4ca3bc Signed-off-by: xudan <xudan16@huawei.com>
2019-04-26Change HEAT package from .tag.gz to be .zipxudan4-9/+10
As Trevor Lovett suggests, the Heat file is a zip file. So users need to package it different only for Dovetail testing. It will be better to change it to be .zip to keep it the same as what they do. JIRA: DOVETAIL-770 Change-Id: I5338720c5e1363081e1f8cdce33391a969f1cd97 Signed-off-by: xudan <xudan16@huawei.com>
2019-04-17Failed to upload results to ONAP portalPanagiotis Karalis7-1/+137
The results.json file generated by running 'dovetail run --testsuite xxx' is different from the one generated by running 'dovetail run --testcase xxx'. The former can be uploaded to ONAP portal successfully but the latter one can't. The main reason is that the latter one lacking of 'vnf_type'. Keep the results.json with the same format for both running one test suite or several test cases. JIRA: DOVETAIL-769 Change-Id: I46af84f9f229f9e601439f68c9ed9df9477d002b Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2019-04-12Update user guidexudan2-7/+29
Change-Id: I595975d13630c81c5d15ac0051225143d0394ba4 Signed-off-by: xudan <xudan16@huawei.com>
2019-04-03Push CI results to OPNFV test DBxudan6-12/+129
In order to use OPNFV test results page to do the ayalysis of all OVP test cases, it needs to push all results generated by Dovetail CI jobs to test DB and then using http://testresults.opnfv.org/test/#/results to check all results. The following data must contain in the POST body: 1. project_name 2. case_name 3. details 4. installer 5. scenario 6. pod_name 7. build_tag 8. criteria 9. start_date 10. stop_date 11. version JIRA: DOVETAIL-767 Change-Id: I925ae249e24efd7bfb1c68a69150e9c22f0cdf36 Signed-off-by: xudan <xudan16@huawei.com>
2019-03-29Stamatis stepping down.Aric Gardner1-7/+7
https://lists.opnfv.org/g/opnfv-tech-discuss/message/22993 Change-Id: Ibce504958dce88bb20d22b7be2e9ca2478a626fe Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2019-03-28Fix VVP test caseStamatis Katsaounis5-9/+13
This patch adds check for no environment variables provided to container configuration. Furthermore, it changes the check results file to a list of check result files. Change-Id: I2112ee1fd4b3156608d8a27dd3b9c90dbe35a24c Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com> Co-Authored-By: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2019-03-20Improve DockerfileStamatis Katsaounis3-25/+19
This patch improves the Dockerfile which produces the Dovetail image. Change-Id: I65e65f155afe237b11c668e6486e48b55cc7e96c Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-03-18Replace subprocess commands with Docker SDKStamatis Katsaounis11-262/+282
JIRA: DOVETAIL-752 This patch replaces all python subprocess commands with the Docker SDK relevant commands. Change-Id: Iac7caffd80a863a8a022247d735b2a7f2792e49d Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-03-18Update tempest bgpvpn test casexudan1-18/+21
For functest.tempest.bgpvpn, it has been run by Functest networking-bgpvpn since Functest Gambia. Also the test list has been updated. Using Functest smoke image to run networking-bgpvpn test case. The test case list can be found here: http://testresults.opnfv.org/test/api/v1/results?case_name=networking-bgpvpn&version=gambia Change-Id: I18dd0fa24011c8805c2138d0efcb74474051c6c8 Signed-off-by: xudan <xudan16@huawei.com>
2019-03-13Calculate checksum for input VNFStamatis Katsaounis7-21/+86
This patch adds checksum information inside ONAP related test case run results. The checksum is produced by the VNF input which can either be a CSAR file or an archive of Heat templates. Change-Id: I0ed58bdc9cc4031da08fd2ac220ef294520ef447 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-03-13Add Neutron Tempest plugin API testsPanagiotis Karalis2-0/+566
Add in the Dovetail project the Neutron Tempest plugin API tests which are part of Functest project. Including the 547 sub-tests as first phase of this integration. JIRA: DOVETAIL-764 Change-Id: Idbebe8191fc788e8d62c4a4f95e159d9538c6e19 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2019-03-12Update release note and user guide before tagging ovp-2.2.0xudan2-13/+34
Change-Id: I1b1a1c96db933dc54242a226a6b8ea4a58147a14 Signed-off-by: xudan <xudan16@huawei.com>
2019-03-12Update tempest compute listxudan1-1/+1
For Functest Gambia, it uses tempest with the commit ID https://github.com/opnfv/functest/blob/stable/gambia/docker/smoke/Dockerfile#L5 Then there is one sub test case in this compute list that needs to be updated. Change-Id: Ie38627853e1a69094764c72479c2b0f2dd796bbf Signed-off-by: xudan <xudan16@huawei.com>
2019-03-08Add Functest Rally test casesStamatis Katsaounis21-12/+633
This patch adds all Rally testcases of Functest to Dovetail. Change-Id: I8b20bce9966e924fd5aac41bde5a30442394db05 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-03-07Update python requirementsStamatis Katsaounis2-20/+6
JIRA: DOVETAIL-754 This patch removes unused python requirements and updates the versions of the remaining to be equal with upper constraints of OpenStack Queens version. Change-Id: Iefb9321b56c3e2004bf73a1b57919f898a5f8bdd Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-03-07Fix the verdict of TC in sub-testcase list resultPanagiotis Karalis2-0/+13
When the sub-test case list is defined, in the dovetail results, each test case is appeared with the its verdict next to its name. Once a sub-testcase is passed, the verdict PASS is appeared next to the name of sub testcase. Once a sub-testcase is skipped or failed, the verdict FAIL is appeared next to the name of sub-testcase. This fix updates the code so that the verdict of skipped and failed sub test cases to be appeared respectively next to its sub-tsetcase name. JIRA: DOVETAIL-763 Change-Id: Ib05b3793a57acbaa67b89321a840ae11251c2417 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2019-03-07Provide a list of check results files instead of oneStamatis Katsaounis46-116/+168
This patchs gives the ability to provide more than one check results file. Furthermore, it does not alter the behavior of the existing tests but prepares dovetail to be able to fetch information from many sources. Change-Id: I23cd23d2908ad6bdddd94b977813d0e81dc0c05a Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-27Archive rally.log instead of tempest.log for tempest based testsxudan15-15/+15
Change-Id: Ibdacdd92c225aa3972eefc6112a118f2a4e6652c Signed-off-by: xudan <xudan16@huawei.com>
2019-02-22Require 100% CoverageStamatis Katsaounis1-0/+1
This patch applies strict requirement for full coverage of python code as an acceptance criterion. Change-Id: Ib6dad44eb4e270efba912ce482676c360da15d84 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-22Add a doc introducing dovetail frameworkxudan2-0/+382
This doc is used to introduce Dovetail framework and how to develop with this framework. JIRA: DOVETAIL-757 Change-Id: I3c56ce56151580d0e2aebf3485a55f4c7a23c8b6 Signed-off-by: xudan <xudan16@huawei.com>
2019-02-22Update the check list of osinterop sub test casesxudan1-1/+18
Functest Gambia transfer OpenStack interop version from 2017.09 to 2018.02. The test cases executed by Functest has increased to 217. Adding the other 17 new test cases into Dovetail check list when parsing the results. The detailed info of all sub test cases are recorded in rally.log instead of tempest.log. So change the archive log to be rally.log. Change-Id: I1f6fa5e1ff2ec47872836a0bd0ad19531135e41c Signed-off-by: xudan <xudan16@huawei.com>
2019-02-20Remove deprecated ONAP lifecycle test caseStamatis Katsaounis17-480/+9
This patch removes the ONAP lifecycle deprecated test case. Furthermore, it clears helper functions as well as unwanted configuration. Change-Id: Ib958457cf120ffb641a72be028d3a031741c44c6 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-20Add a quick start guide for ONAP VNF tests with Dovetailxudan2-0/+157
JIRA: DOVETAIL-759 Change-Id: Id1032d758b618803f09d036dfa9ef8fd54ada6ce Signed-off-by: xudan <xudan16@huawei.com>
2019-02-16Add ONAP Heat testsuiteStamatis Katsaounis2-0/+9
This patch adds a testsuite for running ONAP Heat test cases. Change-Id: I25a35a776dd58570379c9a493dffffc53677a396 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-14Dynamic results version and vnf type recognitionStamatis Katsaounis7-3/+26
This patch makes it able to fetch the version from the testsuite. Furthermore, in case of ONAP test cases it adds the vnf_type to the produced results.json file in order to be parsed from the results portal. Finally, it creates a testuite for ONAP TOSCA related tests. Change-Id: I613358c445cfe62730b98fee5e8c6fba7d322e90 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-01Add ONAP VVP Heat Template validation testsStamatis Katsaounis18-34/+398
Change-Id: I9a3d56932ce41191901381831013768d1c57a749 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-01-03Add ONAP VNF SDK verification testsxudan11-10/+395
Please refer to env_config.sh.onap.sample when testing it. The guide of preparing local env for onap package validation can be found here https://gerrit.onap.org/r/#/c/75119 Change-Id: I39d6b11544847756126623a7eb3b953dc800c470 Signed-off-by: xudan <xudan16@huawei.com>
2018-12-20Simplify project conf filesxudan33-289/+102
1. use copy commands instead of pre_copy 2. remove redundant items in project conf files 3. make the volume mapping clearer Change-Id: I6c6aa58fac65d7e40105e0a54f6544ee5c47db31 Signed-off-by: xudan <xudan16@huawei.com>
2018-12-17make item 'extra_container' available for every projectxudan2-4/+11
The item 'extra_container' used to be available for Bottlenecks only. Make it open for Dovetail framework. Change-Id: If4f2c032924447b97e401d497aca0309c0f5d847 Signed-off-by: xudan <xudan16@huawei.com>
2018-12-11Enable ShellRunnerxudan6-117/+49
1. fix the bug 'ShellRunner' object has no attribute 'archive_logs' 2. remove the testarea_supported because it's not very necessary for the test cases themselves and can make it a little more simple to add a test case with new test area JIRA: DOVETAIL-750 Change-Id: I71ee74615200376adca2a0db040753e5fce329bc Signed-off-by: xudan <xudan16@huawei.com>
2018-12-06Update the docs of patrolexudan3-2/+53
JIRA: DOVETAIL-756 Change-Id: Iad2bd02f3991aa3b551b8065ee25cf7b3213c423 Signed-off-by: xudan <xudan16@huawei.com>
2018-12-03Move 2 sub test cases in patrole to optional listxudan3-2/+27
JIRA: DOVETAIL-756 Change-Id: I8931f4b0c83acca24b5220d16e935194d4bc8ae7 Signed-off-by: xudan <xudan16@huawei.com>
2018-11-23Integrate k8s test cassesxudan20-506/+554
In order to integrate k8s test cases, Dovetail framework should do some refactor and make it more general for k8s test cases as well as ONAP ones. Integrate 2 k8s test cases. JIRA: DOVETAIL-748 Change-Id: Ibd87754ffb5fb29f6b4ce79232af860c2ed2da9c Signed-off-by: xudan <xudan16@huawei.com>
2018-11-22Add User Guide per installer - APEXPanagiotis Karalis4-48/+216
Trying to install the dovetail project on APEX, some instructions have been found that are not clear enough. The aim of introduction of new folder and user guide documents for each installer is to make a dovetail deployment easier, using tips and advices that are applicable for each installer respectively. JIRA: DOVETAIL-743 Change-Id: I907b694d859164031b170cb0c7bb4f69b9ec889b Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-11-20Add missing unit tests for report fileStamatis Katsaounis2-19/+1176
JIRA: DOVETAIL-724 This patch adds unit tests for report file methods of Dovetail which were missing. Change-Id: I2ba7c8f9fcfb962988b2904b01538e9f89a0d849 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-20Add missing unit tests for run fileStamatis Katsaounis4-51/+744
JIRA: DOVETAIL-724 This patch adds unit tests for run file methods of Dovetail which were missing. Change-Id: I1700c8c97430899abdc2b752a3dcbd4d09a334ac Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-15Add missing unit tests for testcase fileStamatis Katsaounis2-2/+661
JIRA: DOVETAIL-724 This patch adds unit tests for Tescases classes methods of Dovetail which were missing. Change-Id: Ie1b665249ce8afaa76b59b0dbe7f132e404a5569 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Add missing unit tests for test_runner fileStamatis Katsaounis2-8/+660
JIRA: DOVETAIL-724 This patch adds unit tests for Runners classes methods of Dovetail which were missing. Change-Id: Ib985a44db86be02a7b9cefb8deca187bb50e78cc Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Add missing unit tests for container fileStamatis Katsaounis2-3/+768
JIRA: DOVETAIL-724 This patch adds unit tests for container class methods of Dovetail which were missing. Change-Id: Iaba3bbfbb8838278e20ac9f63ef6e01f9ada1cbc Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Add missing unit tests for cli filesStamatis Katsaounis5-1/+284
JIRA: DOVETAIL-724 This patch adds unit tests for cli methods of Dovetail which were missing. Change-Id: I99c584007659401e298e58aebb1764df1c543894 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Add missing unit tests for utils filesStamatis Katsaounis7-29/+1615
JIRA: DOVETAIL-724 This patch adds unit tests which were missing from dovetail code base. Furthermore it updates the test_parser existing unit test. Finally, it fixes some minor issues in dovetail_utils itself. Change-Id: I8fd7cd4f6b1ede11664914746d2279f062511639 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Improve tox testingStamatis Katsaounis5-22/+31
This patch removes unused test requirements. In addition, it runs coverage together with unit tests by py.test. In addition, it adds sone docs links which were missing. Finally, it adds coverage reports to .gitignore file. Change-Id: I68e65781b17929c60fbb3f4c318b1366c35d185f Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-08Remove the offline scriptsxudan3-156/+0
As we discussed in Dovetail weekly meeting, there is no need to maintain all the offline scripts. Change-Id: I360d1a211856626af91310f142c1777a77398a12 Signed-off-by: xudan <xudan16@huawei.com>
2018-11-07Update BGPVPN and VNF test casesxudan9-60/+60
Due to change to Functest Gambia, bgpvpn and vnf test cases failed. Update the testcases.yaml according to Functest's new format. Change-Id: Ia5d9ba291161f7da84a0aadf241e9ab81d83cfa9 Signed-off-by: xudan <xudan16@huawei.com>
2018-11-06Update classes in report.pyxudan2-48/+46
Change-Id: Ia17bf7ef3e304eef7b3f0b2f7aa04e3be75bc8c3 Signed-off-by: xudan <xudan16@huawei.com>
2018-11-07Update tests based on tempest_customxudan12-11/+36
All tempest_custom test cases should be updated and defined with the new test case config yaml file. Change-Id: Iaff99fcfcef61060a8ca02819cac2763c4bdd2a0 Signed-off-by: xudan <xudan16@huawei.com>
2018-11-01Update classes in testcase.pyxudan3-63/+12
1. Remove the functions which are not called anywhere 2. Change some class methods to be static methods and instance methods Change-Id: I2e754cdff61aa34ffe899e352653ff767d4ac69d Signed-off-by: xudan <xudan16@huawei.com>
2018-10-31Update class in container.pyxudan2-110/+98
Change-Id: I4fb24f86c6d15aea5a62baaca20531b2891437ff Signed-off-by: xudan <xudan16@huawei.com>