summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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)
2017-03-23Make SFC test a python call to main()jose.lausuch1-2/+4
Instead of python -> bash -> python, call the SFC test using the execute() method that is inherited from FeatureBase and it's a bash call by default. With this change, we call the SFC test using main() of run_tests.py of SFC repo and will have real time output. Change-Id: I6d59821e603c88697a82b95c5626c5b703c11026 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit d5820bef80ea4bdb871380dbfe41db12290fc5f8)
2017-03-23refstack: bugfix of testcase failureMatthewLi2-2/+2
JIRA: DOVETAIL-366 JIRA: DOVETAIL-758 1)for compass, joid, failure log https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/1062/consoleFull https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/936/consoleFull volume_device_name should be set vdb. for fuel, "vdb" is used for config, drive when force_config_drive=True is in action, so set to vdc testcase test_attach_detach_volume is not dynamic enough, to skip temporarily. 2)rename defcore_201608.txt to defcore.txt since this file is the default running file, can be changed as version changes. and will be easy for dovetail to consume with a general name rather than a special name. then dovetail can define the testcases to replace this file when running. Change-Id: I58f89095721a7bdb15230b9af2b96234c3c7dcb9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com> (cherry picked from commit 9ae14f931da5baf42a3b62eef49c644e762405fc)
2017-03-22Disable blocking status for odl_netvirtJamo Luhrsen1-1/+1
Change-Id: I4a3f10a82d3109a44f8db237cbd7beda06a361da Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com> (cherry picked from commit 569182f4b24de6b0f020754d717129a82d19930b)
2017-03-22bugfix: fail to push odl-sfc test result to TestDBSerenaFeng1-1/+1
'functest-odl-sfc"' will appear as [functest-odl-sfc"], tailing with ", it is not defined in TestDB. led to failure pushing Change-Id: I43966236e25578aed12952710b22ba99e244cf56 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 3137017fd435547abdcc2df0d73be5f1b2ef443a)
2017-03-22Update keys of details dic for refstack_defcoreLinda Wang1-3/+3
Update the keys of details in refstack_defcore ("num_tests", "num_failures", and "failed") to "tests", "failures" and "errors", in order to be consistent with those in tempest. Change-Id: I24f8a23548ffa253621083bbf6eb988306fd6edb Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 93d5bf2ad47f431bfab173ed718bb7469b67514f)
2017-03-22Set refstack_defcore criteria to 100%Linda Wang1-1/+1
In order to be consistent with other tests, set refstack_defcore criteria to 100%. Change-Id: Iab8bc0cb66b834a661b860a032192d502fde578b Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit fa1dea1dbcf36e7a9d44fcb716fa9af0ef47b445)
2017-03-21bug fix: version not retrieved on weekly jobsMorgan Richomme2-26/+1
a first fix had been done but the version was retrieved 2 times with the regex this patch removes the second regex and re-use get_version the associated unit tests has been removed because even if the build_tag is badly formated, it will not prevent the results to be pushed with version = unknown JIRA: FUNCTEST-765 Change-Id: I2cbe8ba1dd7278c3f3510a47c667c433f65e00f8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit afc59e6af25a60c68a3095365c780974721f1364)
2017-03-21[cloudify_ims] Change VNF flavor valueboucherv2-3/+3
Change-Id: I843f77fa5051a99be8bdbdbb76300ab965e9d8af Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit 442cedd8fd0453d5b662319c6d307bc0ee6437da)
2017-03-21Remove functest_defcore testcasesMorgan Richomme1-14/+0
refstack_defcore has been merged the testcase is no more needed (duplication) Change-Id: I287406b40cdd89ff2c4eadcde7e9d5a93e21953a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 9f6db60565be34a886f457d92d655d364bd71f9d)
2017-03-20Fix usage of v3 APIs of OpenStackMichael Pauls1-4/+7
Using OS_PROJECT_ID instead of OS_TENANT_NAME as tenant when onboarding a new VIM/PoP with Open Baton Change-Id: I873badc73e7b33179fa487505d18ce89840d6599 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit 340cf9330af728dac334de7b391c3ea3971fd125)
2017-03-20[vnf_base] improve exceptionboucherv3-18/+23
Return on part of previous changes in commit: 30257 https://gerrit.opnfv.org/gerrit/#/c/30257/ Change-Id: I11b33ee2a6f9d4cbcf1449006b47be508fce655e Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit 3575dcb2a262c623dd4ded0823bc78adf3a1012e)
2017-03-20Remove raise exceptionsMorgan Richomme2-14/+21
until exceptions are better managed in abstraction Currently it triggers an exit from the jenkins job and prevent other tests to be run Change-Id: Id3b18c1d6d3b786fc78456b3ad51963d2cbb2cc1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 6ac6937237bc03b27935f71bbb33c0abffc1e993)