summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-13Remove the former results in DB urlCédric Ollivier2-7/+7
It conforms generate_report.py with the previous change [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/33511/ Conflicts: functest/tests/unit/ci/test_generate_report.py Change-Id: I677ebd416f462a591439fc7b637c02d7964e6173 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a212763c3e9f4cf6d52200aa614e42a911c5dbf7)
2017-05-13rename tempest.conf to refstack_tempest.confMatthewLi2-3/+3
since for tempest smoke/full, etc, will also use a file named tempest.conf this wil cover the refstack tempest.conf, rename it to refstack_tempest.conf, then easily for users to debug to check if the configure file is correct or not. Change-Id: Ic2f93fb05effb1a61276cb6ba755076a0404caad Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 8bbfda2df0a3a10d069a41c0f074b0de69737767)
2017-05-13Stop hardcoding results suffix in push_to_dbMatthewLi3-6/+7
Adding results in url is useless as it is defined in results section in config_functest.yaml. It allows defining the full name in case of dumping to file (see decorator.py). The commented local file is the value required by dovetail. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I35ba9b34d99e138292f099934e28585ee8b85604 Signed-off-by: MatthewLi <matthew.lijun@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7e15dbb5136b1b298d86a82c03199bf1f7a6fe46)
2017-05-13refstack client: improvement and fix of TestCase usageMatthewLi2-12/+10
JIRA: FUNCTEST-772 1, RefstackClientParser should not be a subclass of TestCase 2, tempest_conf.py used for generating reference tempest.conf file not related to functest cmd, use logger is enough Conflicts: functest/opnfv_tests/openstack/refstack_client/refstack_client.py Change-Id: If9c37331a5a7687e5704e546efcdea8175b1529c Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 2f0b1281308cb494d83240eaa5137ca0524718b7)
2017-05-13refstack: bugfix of name TestCaseMatthewLi2-4/+4
JIRA: FUNCTEST-758 Change-Id: I1b90597c9745faa67afa58e5653f72411a95aa3d Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit d2b8732ef3670586e28c40f5cec4e1ff42e22d37)
2017-05-13refstack client: manually running improvementMatthewLi2-28/+78
JIRA: FUNCTEST-758 1.python tempest_conf.py can generate a reference tempest.conf under /hom/opnfv/.../refstack_client this is based on "rally verify configure-verifier" surely, user can define his/her own tempest.conf by not using this 2.python refstack_client.py -c <tempest_conf_path> --testlist <testlist_file_path> if not given, will use default path, if file not exists, will have error Change-Id: I1ceecbe8fe86fbe0d53b736a0f3b9a9ae01f262f Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 678d5f956b1af373f61f97187ff3e66fdb315654)
2017-05-13Rename testcase_base to testcaseCédric Ollivier21-116/+116
It simply removes the useless suffix. Change-Id: Ib9a682b57d8f33518359d817a593bb3786577390 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 69e51470d8e9f51e02d5f0bd6e957c4e24c603c6)
2017-05-13Switch TestcaseBase to TestCaseCédric Ollivier18-108/+108
It partially reverts "Rename TestCasesBase into TestcaseBase" [1] and removes the useless suffix too. [1] https://gerrit.opnfv.org/gerrit/#/c/25391/ Change-Id: Iddf2ec8d6c1dafe6e4c6713c2e69969613317471 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 407d27585f109e3381bb49041abc49a14b7b5bfe)
2017-05-05Add Danube 2.0 reporting statusdanube.2.RC1danube.2.0Morgan Richomme6-0/+5084
Change-Id: Icc09b824a4e7906dfab031b679ba3d0aa86ab0cd Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 94807a8c352cf49df156f7f50f2a21df7ba34115)
2017-05-05Merge "Release notes for Danube 2.0" into stable/danubeJose Lausuch3-82/+83
2017-05-04Release notes for Danube 2.0jose.lausuch3-82/+83
Change-Id: Ibe121dad771f0df36ffa15ec13d637b835cf09a8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-04refstack-client userguideMatthewLi3-3/+127
JIRA: FUNCTEST-758 container setup steps are skipped, since they already included in the functest userguide documents. Change-Id: I729d4c3174b03706624a7235da24cb3043b28c2c Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 11826f38829dd5952830d6d2e50ac4918be528f1)
2017-04-26Bugfixing the testcases execusionNikolas Hermanns1-2/+1
tempest.api.compute.servers.test_server_actions\ .ServerActionsTestJSON.test_reboot_server_hard is working in fuel so do test it. The "-" was missing on tempest.scenario.test_server_basic_ops .TestServerBasicOps.test_server_basic_ops Change-Id: I6808ce9283271e2d2f8acf7c2587aed006d1cbc2 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit f85b54b8fc8843897f9c1a7b4711b489ab29f297)
2017-04-17Fix the irc channelCédric Ollivier1-1/+1
Change-Id: Idb446213274b7dfb03b0ee072717a35e03428609 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-04-17Fix .gitreview in stable/danubeCédric Ollivier1-1/+1
Change-Id: Ice94ed01903458296b6777fe6145a9fa871211bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-04-07Increase ram for tempest tests (aarch64)Cristina Pauna1-2/+2
The following tests fail on armband because the VM cannot boot. tempest.api.compute.servers.test_server_actions. ServerActionsTestJSON.test_reboot_server_hard tempest.scenario.test_network_basic_ops. TestNetworkBasicOps.test_network_basic_ops tempest.scenario.test_volume_boot_pattern. TestVolumeBootPattern.test_volume_boot_pattern tempest.scenario.test_volume_boot_pattern. TestVolumeBootPatternV2.test_volume_boot_pattern The reason for the failure is that the 128 ram is insufficient for the image to boot. The fix consists in increasing the ram to 256 JIRA: ARMBAND-61 Change-Id: I5be1a44a8038b4952cca100511e8d08b7a37681c Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> (cherry picked from commit 5a417f076549941e0dae176849045aab32bf0be5)
2017-03-31Backup of reporting status for Danube 1.0danube.1.RC1danube.1.0Morgan Richomme13-0/+4387
- reporting html pages for apex, compass, fuel and joid - text file with history of Danube scenarios - text file of validated Danube scenarios (100% in functest) Change-Id: If5585acc5bf56406c0c92e8b132157ed742244f1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 3a625a5f4b176147e288dbee01734a666a25e34f)
2017-03-31Merge "Adding label for userguide" into stable/danubeJose Lausuch1-0/+2
2017-03-31Adding label for userguideShubhamRathi1-0/+2
Change-Id: Iaab305c913173594ee2d857255b6492d15f15916 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com> (cherry picked from commit 9e1dba02a3e545fb6c3d28fa6478b01ece36647c)
2017-03-31Make tempest cleanup resources after runningLinda Wang1-4/+4
JIRA: FUNCTEST-773 1. When running refstack_defcore, create tenant and user failed due to conflict with those created when runnning tempest_smoke_serial. 2. Clean all resources created for tempest_smoke_serial. Change-Id: Icf8ec95f6db0b2f93bf6c56ec10a6e8ea1a91ab1 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit f94a1744e7a4d3a48466b6171a205e1ed84026d7)
2017-03-30Merge "Check a rule existence for a specific security group" into stable/danubeJose Lausuch2-0/+89
2017-03-30Merge "Re-enable rally and tempest full for weekly" into stable/danubeJose Lausuch1-43/+31
2017-03-30Check a rule existence for a specific security grouptomsou2-0/+89
Implement a functionality to check if a rule concerning a specific security group exists - function get_security_group_rules(neutron_client, sg_id) returns the list of the security rules for a specific security group - function check_security_group_rules(neutron_client, sg_id, direction, protocol, port_min=None, port_max=None) checks if a specific rule for a specific security group exists and returns True or False - implement unit tests for the two new functions This new functionality is needed for sdnvpn project Change-Id: Ib930bc9a76141932f4164d88e2640b49f3df4d77 Signed-off-by: tomsou <soth@intracom-telecom.com> (cherry picked from commit 41b103d9a6804a97ca85e2b09b628cea06219faf)
2017-03-30Merge "Release notes for Danube 1.0" into stable/danubeJose Lausuch1-156/+221
2017-03-30Re-enable rally and tempest full for weeklyjose.lausuch1-43/+31
Change-Id: I640531ebcc471adebe780c75627d822cf8fd956d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 6c9981cf03127c847481235e2b26377ecd108c2d)
2017-03-30Upgrade to the latest kingbird versionDimitri Mazmanov1-1/+1
Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> (cherry picked from commit 251b25f7dc3a42d3717e696a164a92510e21cb38)
2017-03-30Release notes for Danube 1.0jose.lausuch1-156/+221
JIRA: FUNCTEST-562 Change-Id: I1e2c827bad7c924561bbe433dac97c096282024d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b59f2b7f4d2f9aac185ff043c8b9cdad410ef966)
2017-03-30Merge "Clean up Tempest blacklist" into stable/danubeJose Lausuch1-20/+0
2017-03-30Clean up Tempest blacklistjose.lausuch1-20/+0
This list has been generated in Colorado and there are some scenarios that are deprecated and there is no need to list them here. Change-Id: I62a30b5026ed1df65ebdb7a68a6acf3364469865 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 69de5300f0a5b75aed99a24a809f852498dc0695)
2017-03-30Disable tempest server reboot test for SDNVPN and GluonGeorg Kunz1-0/+12
Bug report: https://bugs.opendaylight.org/show_bug.cgi?id=5586 As a result, floating IPs are not working in Apex at the moment. Change-Id: I437c10b53dc01810ed757f040d3378c92320274b Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit 9fba4aed6b8f2ef1c939498d866f2cae57b89246)
2017-03-28Revert "Make SFC test a python call to main()"George Paraskevopoulos1-4/+2
This reverts commit d5820bef80ea4bdb871380dbfe41db12290fc5f8. Robot test runs before SFC test and it imports https://github.com/robotframework/SSHLibrary which does a monkey patching in the python runtime / paramiko. Untill now sfc run in a new python process (clean) because it run using the bash command. But when importing it as a module and call main() from python, it will run in the patched runtime and it will error out. https://hastebin.com/iyobuxutib.py Change-Id: I54237c32c957718b363d302efe84e01bc78e4f47 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit e59055e29b5cc6a027d3a24803cc05fd709cca90)
2017-03-28Remove vping_ssh from bgpvpn and gluon scenarioNikolas Hermanns1-1/+1
Cause of the bug: https://bugs.opendaylight.org/show_bug.cgi?id=5586 Floating ip is not working at the moment for us. We don't want to remove the vping_ssh test from fuel. the scenarios are called different in fuel and in apex. odl-bgpvpn in apex. odl_l2-bgpvpn in fuel. Change-Id: Iaa2e6cea8a4fdb8635f018427aaf30634fd8d2d5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit 5af67bcca589c275b73fe5e4bca9bea5871948aa)
2017-03-27Merge "Fix pylint warnings in test_testcase_base" into stable/danubeCedric Ollivier1-5/+6
2017-03-27Changing project name of vRouterShuyaNakama1-1/+1
JIRA: FUNCTEST-769 When pushing result to DB in vRouter module an error occurred. couse is wrong project name. We changed project name from "vRouter" to "functest". Change-Id: I8b8289b48330b17b6d6620524024dea4f488e38a Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org> (cherry picked from commit 9439d684449825f8d580c26b1b9475ccbdde698a)
2017-03-27Fix pylint warnings in test_testcase_baseCédric Ollivier1-5/+6
It takes into account the following warnings: - wrong-import-order - no-value-for-parameter The 'no-value-for-parameter' warnings are false positive. The added default values are useless but avoid them. Change-Id: I50d0af178d9da668a3c72e75f5af467d36ca0e6a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e7440f39c66121cf915f156897c0a7d0e2af2951)
2017-03-27Fix pylint warnings in testcase_baseCédric Ollivier1-2/+3
It takes into account the following warnings: - bare-except - unused-argument - broad-except Change-Id: I3a50bf6d07823edc80a7f0f78f46681ace7f4a39 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e4d7506a5a21550a89f897dfaea3f0dcae352e5b)
2017-03-27Update documentation for DanubeMorgan Richomme12-848/+902
JIRA: FUNCTEST-559 JIRA: FUNCTEST-560 Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 19f9f2a99641cca98b896aa975a2182c43ba7f97)
2017-03-25Merge "Change api version" into stable/danubeJose Lausuch1-2/+2
2017-03-25Printing the flavor_metadata for SnapsTestRunnerrandyl1-1/+4
Need to print what is being tested to debug and verify results. JIRA : FUNCTEST-768 This is needed by the Apex team for the danube release. Change-Id: Ie7400af14f7e54d1deb5b2b5d2fc91eb5b14ca91 Signed-off-by: randyl <r.levensalor@cablelabs.com> (cherry picked from commit 16cda37220675370bb18ab06079d829fcd9f6050)
2017-03-25Change api versionDimitri Mazmanov1-2/+2
The api_version had full API url instead of just the version. Change-Id: I78b39ea5d39e1ffab54d2bca41df96aadd47ac86 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> (cherry picked from commit 3fb0175dab6d60af2fe40274fab19abf3ea6162f)
2017-03-24Clean redundant error logs of refstack_defcore in the consoleLinda Wang2-15/+16
1. Remove the file "refstack-error.log", and all the stderr and stdout will be stored in refstack.log 2. Clean redundant error logs in the console and all the detailed error logs will be found in refstack.log. Change-Id: I7e71567c98dc89c529421eccbf1b497962b07405 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 0a07e0f686d9aaaa12b6445e99a67e0a7f7dbbd0)
2017-03-23Fix VIM onboardingMichael Pauls1-1/+7
Usage openstack client in order to get project id directly Change-Id: Id75dcd594430501152c3ba02a969ac1a2aaaadc5 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit 84a87e788b47d5a8fa3565195672fdddd35f4cf0)
2017-03-23Merge "Replace domain name from Default to default" into stable/danubeMorgan Richomme1-1/+5
2017-03-23Merge "Support running on openstack which enabled https" into stable/danubeMorgan Richomme3-10/+42
2017-03-23Support running on openstack which enabled httpshelenyao3-10/+42
JIRA: FUNCTEST-757 Change-Id: Ic87bee3020b9714bcd83105127440a9c1a7ff2ad Signed-off-by: helenyao <yaohelan@huawei.com> (cherry picked from commit 4a989722feca53e1baa6f64985841bd6a244d627)
2017-03-23Replace domain name from Default to defaultDimitri Mazmanov1-1/+5
The tests don't pass if the domain name is Default. Instead the domain id 'default' should be used. Change-Id: Ife919f79f007ab3fea3d53744634a92ddb172c23 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> (cherry picked from commit d832b215a844cc2e0008eb0a86b689830e0277bb)
2017-03-23[fuel] Skip test_server_basic_ops tempest testMichael Polenchuk1-0/+16
Tempest ssh client is hanging on opendaylight enabled envs (getting deadlock in paramiko recv_exit_status method) while trying to execute a command on a vm. Change-Id: I6660cebc6bc44a5f02e6a1e83ee9a61bae141746 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 1b2db725757ef1c444e094db45287b291ad9f3a6)
2017-03-23Ignore certain modules for loggingjose.lausuch1-1/+12
Some modules are logged to functest.log or the console and are not relevant for us since they are already in the openstack logs. This causes a huge log which makes it unreadable. Change-Id: I3f0fb83e2080e41cd5bf815f8448f5bc25e3464a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit d6f4f25e6269a23120b37f58178164740f1cf0e9)
2017-03-23Enable functest offline by installing tempest system wideLinda Wang3-1/+17
JIRA: FUNCTEST-764 1. When creating verifier via rally in functest env prepare, without the parameter "--system-wide", rally will install tempest and its dependent packages into the virtual env of rally. Thus, it needs to connect internet when installing tempest, which will not enable functest offline. 2. Some packages are needed for multisite testcase, and they are installed in virtual env of rally before. But if "--system-wide" is set, there packages should be installed addtionally. Change-Id: I340701e9ed4a0f8f278ff952f0dd61470c6deed1 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 264896f475e3f0975754c9fa78980051661698c0)
2017-03-23Switch test_db_url to a directoryxudan2-1/+10
We must now set a dir (e.g. /home/opnfv/db) to dump results. It avoids replacing "results" and prevent from limiting the use of this decorator. All data will be dumped into url/dump.txt As also proposed in FUNCTEST-729, missing directories are created too. The decorator will raise exceptions if dir exists or if target is not a directory. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> JIRA: FUNCTEST-729 Change-Id: I9650c72493043539f17725f5c328c12639ecc059 Signed-off-by: xudan <xudan16@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 18bdde48e866f198b5d08b62fc9e26e3dfe4e818)