SerenaFeng [Fri, 14 Apr 2017 06:45:36 +0000 (14:45 +0800)]
Add license in feature.py
Change-Id: I75f51f216dcbf0db1c563cf381c28efc47241d3c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Cédric Ollivier [Thu, 13 Apr 2017 14:52:16 +0000 (16:52 +0200)]
Remove deprecated feature modules
All features running bash programs are now simply defined in
testcases.yaml. All deprecated modules and unit tests are removed.
Change-Id: I7047b6f7a1e43cb8ed5ba2d569d5dcecae68fb86
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Thu, 13 Apr 2017 15:28:43 +0000 (15:28 +0000)]
Merge "update check_os.sh admin port seds to match public"
Dan Radez [Wed, 12 Apr 2017 14:04:55 +0000 (10:04 -0400)]
update check_os.sh admin port seds to match public
If there's not a / on the end of the admin url then port is not found
public already handled this correctly. updating admin to match public
JIRA: FUNCTEST-793
Change-Id: I01d654dfe247c6102a90ba7ea3921a9f15991789
Signed-off-by: Dan Radez <dradez@redhat.com>
Cédric Ollivier [Mon, 10 Apr 2017 13:10:11 +0000 (15:10 +0200)]
Refactor the Feature framework
run() returns the expected status code (see following JIRA tickets).
repo, pre() and post() are removed as they were quite useless.
A dedicated class is proposed for bash programs.
Unit tests have been added to fully cover this module.
All features have been modified to conform with these modifications.
It also removes the decorators which skipped several unit tests.
JIRA: FUNCTEST-778
JIRA: FUNCTEST-779
JIRA: FUNCTEST-780
JIRA: FUNCTEST-781
Change-Id: Ifb1e4c4f68260a4e20d895f67f07f369ca959374
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 8 Apr 2017 11:38:45 +0000 (13:38 +0200)]
Modify TestCase constructor attributes
Every feature/testcase now allows receiving the data defined in
testcases.yaml as args (name is renamed to case_name).
From the time being, only project and case names are handled. Next
pending patches will add criteria, cmd and repo to this list.
It keeps the default values for case names except for features which
will be aggregated into Feature.
Change-Id: Id742d100b8183d7f10894c24ae6879d1b2b60ac9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 8 Apr 2017 10:05:58 +0000 (12:05 +0200)]
Rename test_ims_base.by to test_ims_base.py
It fixes errors when importing modules too.
It completes the review "Added test case for opera vims" [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/30681
Change-Id: Ib3cf9c66eb9a2c25ff4fb58d48e4b15a44556f7c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Fri, 7 Apr 2017 03:24:26 +0000 (03:24 +0000)]
Write feature case names in testcases.yaml
It replaces some project names by the corresponding case names.
Else some feature projects results failed to be pushed to DB.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
JIRA: FUNCTEST-792
Change-Id: Id81644406bafb361da46e397a92e60b4da2ec068
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 8 Apr 2017 09:30:58 +0000 (11:30 +0200)]
Add unit tests for parser
It also fixes the corresponding case name in testcases.yaml.
Change-Id: I2b93323a18bb192d9ad35823dc48b236cb6841b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Nikolas Hermanns [Fri, 7 Apr 2017 08:55:26 +0000 (10:55 +0200)]
Bugfixing the testcases execusion
tempest.api.compute.servers.test_server_actions\
.ServerActionsTestJSON.test_reboot_server_hard
is working in fuel so do test it.
The "-" was missing so
tempest.scenario.test_server_basic_ops
.TestServerBasicOps.test_server_basic_ops
was executed on fuel which is known to be
not working since metadata service is not
available. That was added already long
ago but through the not adding
of the "-" it got added again.
Change-Id: I6808ce9283271e2d2f8acf7c2587aed006d1cbc2
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Helen Yao [Fri, 7 Apr 2017 08:04:37 +0000 (08:04 +0000)]
Merge "Enable the deployment info print for compass"
Morgan Richomme [Fri, 7 Apr 2017 06:47:28 +0000 (06:47 +0000)]
Merge "Increase ram for tempest tests (aarch64)"
Linda Wang [Thu, 6 Apr 2017 01:50:31 +0000 (01:50 +0000)]
Bugfix: Add case_name as constructor arg for snaps_smoke
JIRA: FUNCTEST-791
When running snaps_smoke, it complains " __init__() got
an unexpected keyword argument 'case_name'"
Change-Id: I4a59828ba735ba14a286d000d1d061be14878d1c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cristina Pauna [Wed, 5 Apr 2017 14:13:49 +0000 (17:13 +0300)]
Increase ram for tempest tests (aarch64)
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>
Cédric Ollivier [Wed, 5 Apr 2017 13:32:58 +0000 (15:32 +0200)]
Add case_name as args in all features
Now run_tests.py forces case_name as arg of every TestCase or Feature.
It also updates the related unit tests.
Change-Id: I4d70005b53730f36785f0ac95f4f0f6a04455794
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Wed, 5 Apr 2017 12:36:32 +0000 (12:36 +0000)]
Merge "refstack client: improvement and fix of TestCase usage"
Cedric Ollivier [Wed, 5 Apr 2017 08:27:59 +0000 (08:27 +0000)]
Merge "Bugfix: Add case_name as constructor arg for snaps and rally"
Linda Wang [Wed, 5 Apr 2017 02:08:54 +0000 (02:08 +0000)]
Bugfix: Add case_name as constructor arg for snaps and rally
When running healthcheck tier and rally, it complains " __init__() got
an unexpected keyword argument 'case_name'"
Change-Id: I078094921f08b457b88beabee60eabf40b657411
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Michael Pauls [Tue, 4 Apr 2017 17:19:08 +0000 (19:19 +0200)]
Fix VIM onboarding and ims deployment
VIM onboarding: check for API version of OpenStack -> support of v2 and v3
ims deployment: fix userdata in order to wait for EMS registration
Change-Id: Id0932232ddb1f1163ef3c37460bc88b71b9c0bdd
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
MatthewLi [Thu, 30 Mar 2017 03:24:05 +0000 (23:24 -0400)]
refstack client: improvement and fix of TestCase usage
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
Change-Id: If9c37331a5a7687e5704e546efcdea8175b1529c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Cédric Ollivier [Sun, 2 Apr 2017 08:29:51 +0000 (10:29 +0200)]
Add unit tests for feature
They partially cover feature but already highlight bugs.
Several tests are skipped to allow merging. Their decorators could be
removed as soon as feature is fixed.
I think bad-continuation is false positive so it's disabled (pep8 and
flake8 return ok).
JIRA: FUNCTEST-779
Change-Id: I89b9e2ec0388eea2471d941b2c653deca7fbddf6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 15:26:49 +0000 (17:26 +0200)]
Add unit tests for security_scan
Change-Id: Idda799c01408aa9afd09d573e23f42e011f3fafb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 15:15:09 +0000 (17:15 +0200)]
Add unit tests for sdnvpn
Change-Id: Ie4ebc4e2bc6f2e66f5f567f45f44c073cd9d313d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 15:08:59 +0000 (17:08 +0200)]
Add unit tests for promise
Change-Id: I538fcedbfbef46ae36b8eff5a20acaa28a8bfb85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 12:52:03 +0000 (14:52 +0200)]
Add unit tests for odl_sfc
Change-Id: I8eb037a8c2427695d42207897064b79cb2b03a5d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 12:46:31 +0000 (14:46 +0200)]
Add unit tests for netready
Change-Id: I45f9209c55bd65c9538fc3b1181ccbcfbdd23a40
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 12:40:10 +0000 (14:40 +0200)]
Add unit tests for domino
Change-Id: Ie6671080a3d38a17da0ee608a362605a6d9df9db
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 12:31:20 +0000 (14:31 +0200)]
Add unit tests for doctor
Change-Id: Iba3c63592623623507e009b0b9f514792c82d25e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 12:12:30 +0000 (14:12 +0200)]
Add unit tests for copper
Change-Id: Ia4e53e2aee5b93071b3acd3d75c7e42841321a0a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 1 Apr 2017 11:49:27 +0000 (13:49 +0200)]
Add unit tests for barometer
2 tests are skipped to allow merging [1]
[1] https://jira.opnfv.org/browse/FUNCTEST-777
Change-Id: Ida376a03266489e252f7ef8de1ff40f1474c500a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
valentin boucher [Tue, 4 Apr 2017 13:12:56 +0000 (13:12 +0000)]
Merge "Add case_name as constructor arg"
Cédric Ollivier [Tue, 28 Mar 2017 18:38:15 +0000 (20:38 +0200)]
Add case_name as constructor arg
It allows managing multiple TestCase names with only one TestCase
module. It is mainly required by odl which implements:
- odl,
- odl_netvirt,
- fds.
It also renames case to case_name in Features to conform with
TestCases.
JIRA: FUNCTEST-762
Change-Id: Ie254f754a0ea3077a8afda1c470528d38c79478f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Morgan Richomme [Tue, 4 Apr 2017 07:28:46 +0000 (07:28 +0000)]
Merge "modify old naming testcase_base to testcase"
Morgan Richomme [Fri, 31 Mar 2017 14:10:44 +0000 (14:10 +0000)]
Merge "[Clearwater Test] Fix bug in error message"
Morgan Richomme [Fri, 31 Mar 2017 13:13:32 +0000 (15:13 +0200)]
Backup of reporting status for Danube 1.0
- 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>
boucherv [Fri, 31 Mar 2017 08:33:05 +0000 (10:33 +0200)]
[Clearwater Test] Fix bug in error message
Change-Id: I5d1a3f44915821fcf778c4bcecb32d2aaf475262
Signed-off-by: boucherv <valentin.boucher@orange.com>
helenyao [Fri, 31 Mar 2017 08:27:20 +0000 (16:27 +0800)]
Enable the deployment info print for compass
Change-Id: Ifcd81ac4694df46109a78e522da2e399b166c867
Signed-off-by: helenyao <yaohelan@huawei.com>
Jose Lausuch [Fri, 31 Mar 2017 07:39:43 +0000 (07:39 +0000)]
Merge "Adding label for userguide"
ShubhamRathi [Fri, 31 Mar 2017 07:04:55 +0000 (12:34 +0530)]
Adding label for userguide
Change-Id: Iaab305c913173594ee2d857255b6492d15f15916
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
Linda Wang [Thu, 30 Mar 2017 08:14:16 +0000 (08:14 +0000)]
Make tempest cleanup resources after running
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>
Jose Lausuch [Thu, 30 Mar 2017 14:46:48 +0000 (14:46 +0000)]
Merge "Re-enable rally and tempest full for weekly"
Jose Lausuch [Thu, 30 Mar 2017 14:46:33 +0000 (14:46 +0000)]
Merge "Check a rule existence for a specific security group"
tomsou [Mon, 27 Mar 2017 15:56:02 +0000 (15:56 +0000)]
Check a rule existence for a specific security group
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>
Dimitri Mazmanov [Thu, 30 Mar 2017 10:56:25 +0000 (12:56 +0200)]
Upgrade to the latest kingbird version
Change-Id: I80015fa05811f11c2c62e4c87f6008bea279fbf7
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Jose Lausuch [Thu, 30 Mar 2017 09:48:30 +0000 (09:48 +0000)]
Merge "Release notes for Danube 1.0"
jose.lausuch [Thu, 30 Mar 2017 09:47:54 +0000 (11:47 +0200)]
Re-enable rally and tempest full for weekly
Change-Id: I640531ebcc471adebe780c75627d822cf8fd956d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
jose.lausuch [Wed, 29 Mar 2017 15:57:42 +0000 (17:57 +0200)]
Release notes for Danube 1.0
JIRA: FUNCTEST-562
Change-Id: I1e2c827bad7c924561bbe433dac97c096282024d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
SerenaFeng [Tue, 28 Mar 2017 11:34:04 +0000 (19:34 +0800)]
modify old naming testcase_base to testcase
testcase_base is the old naming, now testcase is adopted
Change-Id: Ic937da1fba16060d8a2ff1e6f3d1301be1293cd3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Thu, 30 Mar 2017 07:48:06 +0000 (07:48 +0000)]
Merge "More Unit Tests for utils module"
Morgan Richomme [Thu, 30 Mar 2017 07:47:47 +0000 (07:47 +0000)]
Merge "More Unit Tests for ci directory"
Jose Lausuch [Thu, 30 Mar 2017 07:47:10 +0000 (07:47 +0000)]
Merge "Clean up Tempest blacklist"
Morgan Richomme [Thu, 30 Mar 2017 07:44:00 +0000 (07:44 +0000)]
Merge "More Unit Tests for tempest and IMS module"
Jose Lausuch [Thu, 30 Mar 2017 07:29:12 +0000 (07:29 +0000)]
Merge "Disable tempest server reboot test for SDNVPN and Gluon"
jose.lausuch [Wed, 29 Mar 2017 22:30:21 +0000 (00:30 +0200)]
Clean up Tempest blacklist
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>
Georg Kunz [Wed, 29 Mar 2017 09:00:50 +0000 (11:00 +0200)]
Disable tempest server reboot test for SDNVPN and Gluon
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>
Cedric Ollivier [Wed, 29 Mar 2017 12:53:16 +0000 (12:53 +0000)]
Merge "rename FeatureBase to Feature"
Cedric Ollivier [Wed, 29 Mar 2017 12:52:31 +0000 (12:52 +0000)]
Merge "rename feature_base to feature"
ashishk1994 [Mon, 27 Mar 2017 06:56:20 +0000 (12:26 +0530)]
More Unit Tests for tempest and IMS module
This patch adds more unit tests for
openstack/tempest/ and ims/ modules
with coverage >= 80%
Change-Id: I7c18cea791ac8dc3e890da98066179225283b068
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Jose Lausuch [Wed, 29 Mar 2017 07:17:44 +0000 (07:17 +0000)]
Merge "Add docstrings in odl"
Morgan Richomme [Wed, 29 Mar 2017 06:45:31 +0000 (06:45 +0000)]
Merge "refstack: bugfix of name TestCase"
helenyao [Thu, 16 Mar 2017 12:24:56 +0000 (20:24 +0800)]
Added test case for opera vims
1. Created a ImsOnBoardingBase to wrap up all common ims operations
2. Created test case to test opera vims onboarding
Change-Id: Idf3a82e10661271ad413f4dd5795c80ca4421d73
Signed-off-by: helenyao <yaohelan@huawei.com>
MatthewLi [Wed, 29 Mar 2017 02:05:59 +0000 (22:05 -0400)]
refstack: bugfix of name TestCase
JIRA: FUNCTEST-758
Change-Id: I1b90597c9745faa67afa58e5653f72411a95aa3d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Jose Lausuch [Tue, 28 Mar 2017 16:32:29 +0000 (16:32 +0000)]
Merge "modify old naming Testcase_base to TestCase"
Cédric Ollivier [Tue, 28 Mar 2017 15:21:05 +0000 (17:21 +0200)]
Add docstrings in odl
It has been rated at 10.00/10 by pylint.
Change-Id: If45656080a47c2582556f841a02379b37e481fd9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 28 Mar 2017 12:53:44 +0000 (14:53 +0200)]
Fully fix pylint warnings in test_testcase
It partially takes into account missing-docstring.
It is disabled for public methods as they are unit tests.
It has been rated at 10.00/10.
Change-Id: I70e6729b9228d58cc67a18da29b925dad22cf5bd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 28 Mar 2017 12:46:30 +0000 (14:46 +0200)]
Rename test_testcase_base to test_testcase
It follows "Rename testcase_base to testcase" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/31879/
Change-Id: I54bb62a37bdab842f433790688128a459b0ac78c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
SerenaFeng [Tue, 28 Mar 2017 11:46:43 +0000 (19:46 +0800)]
rename FeatureBase to Feature
delete useless suffix 'Base'
Change-Id: Ie789da2e83cc90585fd281fe183e8430af498436
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Tue, 28 Mar 2017 10:42:42 +0000 (18:42 +0800)]
rename feature_base to feature
remove useless suffix _base
Change-Id: I63a73fd6fef2fccd9b92c405f64dda50735b0026
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Cédric Ollivier [Mon, 27 Mar 2017 14:39:45 +0000 (16:39 +0200)]
Fix pylint warnings in test_odl
It takes into account the following warnings:
- wrong-import-order
- bad-continuation
- unused-argument
- invalid-name
- too-many-arguments
missing-docstring is partially disabled as they are unit tests.
It has been rated at 10.00/10.
Change-Id: I35886ec75a9e66817cfd0fe18534f157d7500a2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Tue, 28 Mar 2017 12:09:51 +0000 (12:09 +0000)]
Merge "Revert "Make SFC test a python call to main()""
SerenaFeng [Tue, 28 Mar 2017 11:13:10 +0000 (19:13 +0800)]
modify old naming Testcase_base to TestCase
Testcase_base is the first version, now TestCase is adopted
Change-Id: If25eef0d8164220bd36f86fe636f7f1c0b247564
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
George Paraskevopoulos [Tue, 28 Mar 2017 09:27:22 +0000 (12:27 +0300)]
Revert "Make SFC test a python call to main()"
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>
MatthewLi [Sat, 25 Mar 2017 06:44:00 +0000 (02:44 -0400)]
refstack client: manually running improvement
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>
Jose Lausuch [Tue, 28 Mar 2017 08:50:19 +0000 (08:50 +0000)]
Merge "Fix pylint warnings in odl"
ashishk1994 [Tue, 28 Mar 2017 08:46:14 +0000 (14:16 +0530)]
More Unit Tests for utils module
This patch adds some more unit tests for
utils/openstack_tacker file and also
adds unit tests for utils/functest_logger file
Change-Id: I1a4c91eff87aebc3614ef01c3b5de0d2e6716afa
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Cedric Ollivier [Tue, 28 Mar 2017 08:12:28 +0000 (08:12 +0000)]
Merge "Add docstrings in testcase.py"
Cedric Ollivier [Tue, 28 Mar 2017 08:12:21 +0000 (08:12 +0000)]
Merge "Rename testcase_base to testcase"
Cedric Ollivier [Tue, 28 Mar 2017 08:12:15 +0000 (08:12 +0000)]
Merge "Switch TestcaseBase to TestCase"
Nikolas Hermanns [Mon, 27 Mar 2017 16:15:01 +0000 (18:15 +0200)]
Remove vping_ssh from bgpvpn and gluon scenario
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>
Cédric Ollivier [Mon, 27 Mar 2017 13:32:59 +0000 (15:32 +0200)]
Fix pylint warnings in odl
It takes into account the following warnings:
- invalid-name
- logging-not-lazy
- dangerous-default-value
- broad-except (locally-disabled)
- too-few-public-methods (locally-disabled)
Change-Id: Iec59108cc16872090c5def0bb38c10a7aeec46fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 27 Mar 2017 12:47:16 +0000 (14:47 +0200)]
Add docstrings in testcase.py
testcase.py is now rated at 10.00/10 by pylint.
Change-Id: Ia90e53db7a25aac3827cd29bb9fd6baaa46cd487
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ShuyaNakama [Mon, 27 Mar 2017 09:15:43 +0000 (18:15 +0900)]
Changing project name of vRouter
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>
ashishk1994 [Sun, 26 Mar 2017 20:34:13 +0000 (02:04 +0530)]
More Unit Tests for ci directory
This patch adds more unit tests for ci/prepare_env,
ci/run_tests and ci/tier_handler to reach the coverage
more than 80%
Change-Id: Ia3b7105542105bf8c5e3db58c898ba0569190a80
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Cédric Ollivier [Mon, 27 Mar 2017 08:26:05 +0000 (10:26 +0200)]
Rename testcase_base to testcase
It simply removes the useless suffix.
Change-Id: Ib9a682b57d8f33518359d817a593bb3786577390
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 27 Mar 2017 07:33:20 +0000 (09:33 +0200)]
Switch TestcaseBase to TestCase
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>
Cedric Ollivier [Mon, 27 Mar 2017 07:21:45 +0000 (07:21 +0000)]
Merge "Fix pylint warnings in test_testcase_base"
Morgan Richomme [Mon, 27 Mar 2017 06:47:57 +0000 (06:47 +0000)]
Merge "Fix pylint warnings in testcase_base"
Morgan Richomme [Mon, 27 Mar 2017 06:41:33 +0000 (06:41 +0000)]
Merge "Update documentation for Danube"
Cédric Ollivier [Sun, 26 Mar 2017 10:08:32 +0000 (12:08 +0200)]
Fix pylint warnings in test_testcase_base
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>
Cédric Ollivier [Sun, 26 Mar 2017 09:55:10 +0000 (11:55 +0200)]
Fix pylint warnings in testcase_base
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>
Jose Lausuch [Sat, 25 Mar 2017 15:25:09 +0000 (15:25 +0000)]
Merge "Fix Dockerfile.aarch64"
Jose Lausuch [Sat, 25 Mar 2017 15:08:39 +0000 (15:08 +0000)]
Merge "Printing the flavor_metadata for SnapsTestRunner"
Linda Wang [Sat, 25 Mar 2017 05:04:38 +0000 (05:04 +0000)]
Fix Dockerfile.aarch64
Bugfix for error:
https://build.opnfv.org/ci/view/functest/job/functest-docker-build-arm-push-master/99/console
Change-Id: I04b45c05d4bb48c9b5b55050addce707177abcd4
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Helen Yao [Sat, 25 Mar 2017 01:22:46 +0000 (01:22 +0000)]
Merge "Change api version"
Morgan Richomme [Fri, 17 Mar 2017 16:40:12 +0000 (17:40 +0100)]
Update documentation for Danube
JIRA: FUNCTEST-559
JIRA: FUNCTEST-560
Change-Id: I2104a9b68bb3985c9f5900ebc30bab89b09b7835
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
randyl [Fri, 24 Mar 2017 14:51:35 +0000 (08:51 -0600)]
Printing the flavor_metadata for SnapsTestRunner
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>
Dimitri Mazmanov [Fri, 24 Mar 2017 10:59:41 +0000 (11:59 +0100)]
Change api version
The api_version had full API url instead of just the version.
Change-Id: I78b39ea5d39e1ffab54d2bca41df96aadd47ac86
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Jose Lausuch [Fri, 24 Mar 2017 07:49:42 +0000 (07:49 +0000)]
Merge "Clean redundant error logs of refstack_defcore in the console"
Michael Pauls [Thu, 23 Mar 2017 10:28:25 +0000 (11:28 +0100)]
Fix VIM onboarding
Usage openstack client in order to get project id directly
Change-Id: Id75dcd594430501152c3ba02a969ac1a2aaaadc5
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
Morgan Richomme [Thu, 23 Mar 2017 14:51:09 +0000 (14:51 +0000)]
Merge "bug fix: unit test on openstack_utils"