Dileep [Mon, 12 Oct 2015 16:20:41 +0000 (09:20 -0700)]
Teardown of GBP components from ODL controller
Change-Id: I29c3bd98f97903d1f1af4dca686819213ae4d179
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Jozef Behran [Tue, 3 Nov 2015 12:03:53 +0000 (13:03 +0100)]
Merged the netconf testplans into one.
The new test plan contains the old Netconf suite and the new
MDSAL and CRUD suites. All of these are "user features" so
they are run by a test plan called "userfeatures".
Change-Id: I251933d6f55320eac7b63069da513de6825e1a2c
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Fri, 4 Sep 2015 09:33:57 +0000 (11:33 +0200)]
Netconf CRUD on mounted device data
Tests the basic operations (Create, Read, Update, Delete) on
device data exported via a netconf mount. Uses testtool to
simulate the netconf mounted device.
Change-Id: If8d94d5b9d37f1db50d963224dc948b51ffeb5ba
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Fri, 16 Oct 2015 12:32:35 +0000 (14:32 +0200)]
Add keywords for complex Netconf operations
This library currently offers two sets of keywords
encapsulating common operations that are quite complex.
The first set is for testtool handling. It has two keywords.
The first one, named Deploy_And_Run_Testtool deploys
testtool and then starts it, redirecting its debug output to
a log file, the second one, Stop_Testtool, stops testtool
and downloads the log file with the debug output produced by
it. This API is quite simple but the keywords contain a
bunch of quite complex functionality.
The second set is for mounting devices onto Netconf,
unmounting them and checking their mounted status. These
keywords use device templates to supply the configuration
of the mounted device. A default template for the device is
included. These templates are referred to as "device types"
and the keywords keep track of the type of the device once
mounted.
In the future more "complex Netconf operations" may appear.
Therefore the library has a generic "netconf" name.
Change-Id: I138418806aa34c0940c63a1445c40b12eafdb219
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Radovan Sajben [Sun, 1 Nov 2015 17:12:42 +0000 (18:12 +0100)]
bgpingest testsuite latest review comments and fixme
Change-Id: I486785eb1187ecf7856c703fca44719b14be645c
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
Jozef Behran [Wed, 30 Sep 2015 16:05:04 +0000 (18:05 +0200)]
Netconf MDSAL Northbound test suite
This test suite performs operations on ODL Netconf Server
bound on MDSAL (aka "Netconf MDSAL Northbound").
Change-Id: I04cb163b2be938965d1d3115b2df09787f27112c
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Thu, 29 Oct 2015 18:38:43 +0000 (19:38 +0100)]
Logging the count in WaitUtils.Wait_..._Consecutive_Success
Digging the value of this parameter is possible but so
unintuitive that it is much better to just log it. An attempt
was made to make it secure against "users trying to pass 20MB
JSON into that argument".
Change-Id: If1273ee88c520e5d9063a5d2939e4c983d1c91b3
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Sat, 31 Oct 2015 00:16:50 +0000 (01:16 +0100)]
Tidied new changes
Change-Id: I30a734297f318ab5a972b734d65a4139ac171a96
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Martin Mihálek [Mon, 2 Nov 2015 09:10:51 +0000 (10:10 +0100)]
Bug 4567 - CSIT config xml contains outdated config
Removed Notification service from configs
Change-Id: I6f5f5da4bd9f220abe63531a0030970a76dd5e06
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
Radovan Sajben [Mon, 21 Sep 2015 08:30:00 +0000 (10:30 +0200)]
BGP Speaker tool & BGP performance suite functional enhancement
- functions for BGP messages encoding according to RFC 4271
- configurable message generator via command-line parameters
- support for logging and debugging
- provides performance data for plotting
Change-Id: Ifee756b0cd67bda5a2a931f19b70111f5fa123a3
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
Konstantin Blagov [Thu, 29 Oct 2015 11:48:38 +0000 (12:48 +0100)]
Changed deprecated keywords from RequestsLibrary to actual ones
ex. Get -> Get Request
Change-Id: I1dba7e61e856f9b1b54b97cc4293b5152643e300
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
Jozef Behran [Thu, 29 Oct 2015 06:22:35 +0000 (07:22 +0100)]
Fixed broken settings section
The Documentation of SSHKeywords.robot was being ignored by
Robot because the line "*** Settings ***" was missing.
Change-Id: I3971cb340ecddc8a3b3421c2e0bb46d8c8dccb4f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Thu, 29 Oct 2015 11:19:53 +0000 (12:19 +0100)]
Adding POST method for JSONs to Utils.robot
For cases when we don't want to read JSONs from file
but from variable.
Change-Id: I99290db17bb65bc927fb9de9711be3a834a8bb30
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Dileep [Tue, 29 Sep 2015 02:20:01 +0000 (19:20 -0700)]
Init ODL controller for demo-symmetric-chain
JSON data are sent to ODL to create Tenants, Tunnel, SF, SFF, SFC, SFP
Change-Id: Id2331eaa08e9c6695a1e77b593b2d6c386b2b432
Signed-off-by: Dileep <dileep.ranganathan@intel.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Dileep [Tue, 29 Sep 2015 01:49:47 +0000 (18:49 -0700)]
Init ODL controller for demo-asymmetric-chain
JSON data are sent to ODL to create Tenants, Tunnel, SF, SFF, SFC, SFP
Renamed JSON files for consistency
Change-Id: I45af0643c443d6fd20c7f1cd375d7dac89c0580b
Signed-off-by: Dileep <dileep.ranganathan@intel.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Jozef Behran [Mon, 26 Oct 2015 15:55:23 +0000 (16:55 +0100)]
Add keyword for watching TCP ports on remote machine
This keyword gets a TCP port number, a state (LISTEN or
ESTABLISHED are the most useful but other states produced
by netstat may be used) and a process name. It then runs
netstat, greps through its output and reports the number of
occurences of a line mentioning the port, state and process.
An instance where this is needed was found in the BGPCEP
suite and transformed to use the new keyword. This can serve
as an example of how to use the keyword and additionally
serves as a test that the keyword is correct.
Change-Id: Ica59958e9b5ade564904a1725e9ef77154f84317
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Vratko Polak [Tue, 27 Oct 2015 14:40:01 +0000 (15:40 +0100)]
iBGP performance suites against many fastbgp peers
- No half with ODL initiating connections as ODL configuration is slow.
- Peers need segment of bindable IP addresses.
- Still only iBGP peer roles used.
- Default multiplicity is 2, to avoid Bug 4488.
+ BGP functional suites changed to use template with configurable peer name.
+ Manager utility for starting multiple play.py processes.
+ BGPSpeaker Resource supports this Manager.
+ New suites added to existing ingest testplan.
+ play.py uses double quotes for string literals.
+ Configurable BGPCEP log level (useful for Bug 4488 investigation).
+ Assure Keywords moved to SSHKeywords, throughpcep suite updated for that.
Change-Id: I03faec4f209a3c657cbd3045d01b066789a0b35f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jozef Behran [Tue, 20 Oct 2015 15:38:32 +0000 (17:38 +0200)]
Added testcase for displaying limits on mininet
The dummy test suite showing the Python versions and system
limits was showing the limits for Robot machine and for ODL
but left mininet out. This patch fixes the omission.
Change-Id: I501326a13a71a148fb3050f5b876d65d0aba9637
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Vratko Polak [Wed, 21 Oct 2015 08:21:41 +0000 (10:21 +0200)]
Refactored the host related Robot variables
Changed MININET to TOOLS_SYSTEM_IP and CONTROLLER to
ODL_SYSTEM_IP. This also allowed to add missing things (user
IDs and the prompts) in a consistent and organized way.
The original names for the variables that did exist before
this chage are deprecated and will be removed once all tests
use the new naming convention. This change is thus backwards
compatible with robot scripts that use the old and deprecated
variable names as these variables are suppled with the values
from the new variables on pybot execution.
This change is an attempt to reduce confusion and increase
clarity for testing contributors. Current MININET variable
passed to pybot (IP address of jenkins slave) refers to any
slave node except ODL_SYSTEM_IP slaves. As testing expands to
include slaves besides mininet, it is prudent to change
variable "MININET" to a more descriptive name. The
"CONTROLLER" name is also somewhat vague as "controller" is
just one component of ODL; the new variable name emphasizes
the fact that the machine it refers to runs ODL.
Additionally a docstring that conveys pretty much no useful
information was removed. The policy according to which it
was created is now unknown and it was most likely in effect
at IBM (as can be seen from the "authors" line in the
removed comment).
Change-Id: I05eee98baee49753044f0b983767e42decdb4b04
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Vratko Polak [Fri, 23 Oct 2015 13:11:12 +0000 (15:11 +0200)]
Testplan and suite for 1 iBGP peer performance tests
Work on this patch was started by Jozef Behran.
Additional changes by Vratko Polak:
+ Refactored to use WaitUtils.
+ ConfigViaRestconf now tolerates multiple calls to its Setup.
+ Testplan includes netconf readiness suite at the start.
+ Documentation cleanup.
+ Minor improvements to WaitUtils and ScalarClosuresTest
+ Subset of ODL_SYSTEM* and TOOLS_SYSTEM* variables added to Variables.py
The original commit message by Jozef Behran:
The first version of the test suite (called
singlepeer_prefixcount.robot) can tell if the tested system
can meet a target but it is not able to give "pure ingestion"
performance data for the test load, especially when the test
load is large. The measurement gives a somewhat inaccurate
measurement of the time it needs to ingest the data while
the topology is being accessed along with time of the final
check of the topology lumped in. On the other side this
provides a "real world workload benchmark" number which may
be useful for some users of the testsuite. An additional
advantage of this suite is that it subjects the BGP feature
of ODL to additional stress, allowing for exposure of more
bugs.
The second suite (singlepeer_changecount.robot) is able to
give performance numbers (times of the actions of filling and
emptying the topology) as well as checking whether the target
is met because it uses change counter to do the topology
up-to-date-ness detection which is much more lightweight test
than downloading the entire topology and counting the routes
in it. However as it does not stress ODL so much, it has
increased chances of missing some bugs.
Change-Id: Ia54aa426370632ac4ee14e70a21fa29fa0addce3
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jozef Behran [Fri, 23 Oct 2015 15:39:11 +0000 (17:39 +0200)]
Tidying updated files
Change-Id: I15a5d47e190deec9132f7a756914d181ff53ac25
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Mon, 26 Oct 2015 12:05:56 +0000 (13:05 +0100)]
Added missing "y" possibility to str2bool
Change-Id: I65f940f744adb06ee1f9f07331bf9a6e3b460215
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Fri, 23 Oct 2015 16:34:48 +0000 (18:34 +0200)]
Data adaptation for GBPSFC test cases
JSONs for ODL initialization
Change-Id: I32f4ce484e96152c7404e253ac03ca66c2e22592
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Lorand Jakab [Fri, 23 Oct 2015 14:41:42 +0000 (17:41 +0300)]
Separate lisp perf results into two files
The results are not related and should be shown on different graphs.
Change-Id: I9d23f60873d76444bea9988992b850169f223947
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Gary Wu [Fri, 23 Oct 2015 17:10:51 +0000 (10:10 -0700)]
Change cluster auto-down to 30s
Change cluster auto-down-after-unreachable-after
setting to 30s to go along with the controller
change for BUG 4037 in
https://git.opendaylight.org/gerrit/#/c/27852/.
Change-Id: If49bbd43c29f3ec1b830e9f341b79707638eeab0
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
Jozef Behran [Fri, 23 Oct 2015 14:17:18 +0000 (16:17 +0200)]
Added Netconf related variables
These are used by multiple tests so better to add them as a
separate change.
Change-Id: Ieb8d7dc0e59db2428d81fd365e1eb2ff421c6a7b
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Lorand Jakab [Fri, 23 Oct 2015 11:00:45 +0000 (14:00 +0300)]
Create add operation perf results in lisp
The initial version of the lispflowmapping performance tests only
computed the map request rate, after the mappings were added. This
patch measures the time it takes to add the mappings and computes the
add rate.
Change-Id: Iae7a46c4a926b5710bd66d0c0861addeb9d7e8f5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Vratko Polak [Wed, 21 Oct 2015 14:38:24 +0000 (16:38 +0200)]
Add Library for advanced Waiting, including dependency and tests
WaitUtils.robot contains Keywords to be used by various
performance suites to detect when asynchronous work is done.
ScalarClosures.robot contains a specific way to wrap executable
Robot constructs into variables, to overcome limitations
of Robot Framework argument passing.
Each library also has a Robot suite to verify corectness
in simple (usually mocked) scenarios.
+ Testplan for integration verify library job is added
(it includes Freeze suite, OpenFlow and BGPCEP functional tests).
+ "Stability" Validator moved from test suite to library for easier reuse.
- Example refactor of BGP performance suite will be in separate Change.
- *Test suites could have better coverage.
- Keyword names may be too verbose.
- In internals, ${state} and ${status} may be too similar names.
Change-Id: I113638e76bb5a62dcf2a44abcc464fb8bd38ab15
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Marcus G K Williams [Fri, 23 Oct 2015 01:26:18 +0000 (18:26 -0700)]
Change resource from Utils.txt to Utils.robot in OVSDB Vxlan Suite
Change-Id: If4eb9dfc498507c96755a82f9ed41a34fb0daecb
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
Tomas Cechvala [Thu, 22 Oct 2015 12:40:06 +0000 (14:40 +0200)]
Editing JSON files
to fix errors
Change-Id: I1206edd78b8d3bfae33d27e4bffad1039a670f3f
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
priya.ramasubbu [Wed, 21 Oct 2015 15:46:48 +0000 (21:16 +0530)]
Vtn Manager Pathpolicy test in csit
* Refactor Verify flows for the pathpolicy
* Address review comments add as a dependent patch
Change-Id: I3886402f8f0ba140d6db31fae37eefa46b144f9d
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
Lorand Jakab [Wed, 21 Oct 2015 20:44:10 +0000 (23:44 +0300)]
Update lisp performance tests
Test framework and controller are on separate VMs, so send udpreplay
traffic to the ${CONTROLLER}
Change-Id: I0d4b02feaec3a82349e02c9d81effacd4f9d787f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Vratko Polak [Tue, 20 Oct 2015 07:00:45 +0000 (09:00 +0200)]
Fix instantiation status in data for pcepuser suite
The old data had odl-pcep-ietf-initiated00:create flag
hardcoded to false, which is not correct for instantiated LSPs.
+ Topology_Intercondition is no longer tagged "xfail".
Change-Id: I936c27314caf5f8560b438fef693ef146ea20a1b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Vratko Polak [Fri, 16 Oct 2015 13:36:21 +0000 (15:36 +0200)]
Tcpmd5user to tolerate both Li and Be dispatcher configurations
Single test case added which tries to identify possible known Bugs.
Change-Id: Idfccaa4102b2a0f6cb39b3aae9cb52db16a986ef
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Matej Perina [Wed, 21 Oct 2015 13:17:57 +0000 (15:17 +0200)]
topoprocessing unification test suite
Change-Id: I94e840cd8376d34197ddd74ff88fad03e0c3bb53
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
Jozef Behran [Wed, 21 Oct 2015 14:53:31 +0000 (16:53 +0200)]
Tidied new and updated Robot files
Change-Id: If2b92dec823355b7c564f4a9d07437f1402b5460
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Radovan Sajben [Thu, 8 Oct 2015 11:58:49 +0000 (13:58 +0200)]
MD-SAL Data Store benchmarking test suite.
- mdsal/dsbenchmark performance testsuite introduced
- update of the dsbenchmark.py tool (output suitable for plotting)
Change-Id: I91f4f57e8ba0e52b7671266490d773ea5eb38b9d
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
priya.ramasubbu [Tue, 13 Oct 2015 15:41:58 +0000 (21:11 +0530)]
VTN Manager OpenFlow 10 Specification Testing in CSIT
* Modify 010__vtn_manager.robot file in both VTN_Mgr_OF10 and VTN_Mgr_OF13
* Add new functions in VtnMaKeywords to verify the flows on switch
* Add new robot files for flowfilter and flowcondition in OF10
* Pathmap and Pathpolicy functionality Tested in Open Flow 10 Specification
* Add Tags exclude in 010__vtn_manager_pathpolicy.robot file due to missing of in_port in dumpflows.
* Add new robot files for data flow in OF10
Change-Id: Ieb090a894d778e8e6b986351889ae7f7e68f0146
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
manimuthazhagan [Wed, 9 Sep 2015 06:54:26 +0000 (12:24 +0530)]
Add Macmap and vlanmap tests for VTN manager CSIT
* Add two robot files for macmap in both VTN_Mgr_OF10 and VTN_Mgr_OF13
* Add functions in VTNMaKeywords
* Add vlanmap robot file in VTN_Mgr_OF10 and modify vlan test in OF13.
Change-Id: Idca94fe54e7b7e5b343ec2772b8851514add4268
Signed-off-by: manimuthazhagan <manimuthazhagan.r@hcl.com>
Jozef Behran [Wed, 14 Oct 2015 11:40:43 +0000 (13:40 +0200)]
Added keyword library for "Netconf via Restconf" handling
This library currently adds a lot of code duplication as it
is almost the same as "ConfigViaRestconf". However there is
no time for such cleanup so it is going to be postponed to
a later commit.
Change-Id: Idc628363d49c7c240652557f040d9f8f0f6cd105
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Mon, 28 Sep 2015 10:18:22 +0000 (12:18 +0200)]
API for GET requests with automatic error handling
The keyword "Get Data From URI" issues a GET request for the
specified URI through the specified session, FAILs if the
request returns an error (with logging that error into Robot
logs and returns the data on success. Success is currently
defined as "returned status code 200" and the method is
hardwired to GET so this keyword is not useful for making
non-data-getting requests like POST or for GET requests
that don't return any data and return an OK-like status code
(2XX where XX != 00).
Change-Id: Iee5e894687aa9576bc4968fe851d6ab72e386872
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Vratko Polak [Tue, 6 Oct 2015 16:58:21 +0000 (18:58 +0200)]
Pcepuser fixes: Better handling of prompt and json ordering
Change-Id: Ia3bd570befc61d4dd4d18bef5c2aa426138757ff
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Vratko Polak [Tue, 13 Oct 2015 14:12:57 +0000 (16:12 +0200)]
A dummy suite with testplan, for determining python versions
+ Test case to print system resource limits on Robot machine.
+ Test case to print system resource limits on ODL machine.
Change-Id: I3abf41fefad02e909388f6dfa6cdd353d8e3a3b2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Martin Mihálek [Fri, 16 Oct 2015 07:55:22 +0000 (09:55 +0200)]
Bug 4486 - CSIT test wont copy config file to node
Changed Variable to ODL_SYSTEM_IP
Change-Id: I6080decca4cbe2fd614a1f43ac98cbdf46a7fb2a
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
Vratko Polak [Thu, 8 Oct 2015 09:18:16 +0000 (11:18 +0200)]
Make wait time in netconfready suite configurable
Useful for Sandbox testing.
Also, Lithium CSIT jobs with all install may legitimately need
more than the default 60 second.
Change-Id: I384071fc6602f0c3ad43b639a2715ce8fb2acb72
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jensenzhang [Wed, 14 Oct 2015 12:14:48 +0000 (20:14 +0800)]
Initialize robot test for ALTO.
Change-Id: I1e48fac8645cc89aefbb20f039cad7ce1dee0ff3
Signed-off-by: jensenzhang <jingxuan.n.zhang@gmail.com>
adetalhouet [Wed, 14 Oct 2015 21:09:34 +0000 (17:09 -0400)]
Added testplan and basic test suite for armoury
Change-Id: I404fddd4d571e51c581662ff03e60e2101bf0c8d
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
A H [Thu, 15 Oct 2015 07:07:47 +0000 (00:07 -0700)]
Add basic test suite for nemo
Change-Id: Icdcf79418941590e169cd4f59438a98bcfd98812
Signed-off-by: A H <an.ho@huawei.com>
Jamo Luhrsen [Thu, 15 Oct 2015 22:18:05 +0000 (15:18 -0700)]
adding idmlite testplan
Change-Id: I3dba9e3138a7e1e1cc481ac0d69411044d6cc5eb
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jozef Behran [Wed, 14 Oct 2015 12:05:14 +0000 (14:05 +0200)]
Keyword to report failures due to a known bug
Use the keyword in the [Teardown] configuration line of the
affected test to get a pretty report about a Bugzilla bug
that is causing the test to fail (and also an indication
that the failure is expected).
This shall be used instead of various ad-hoc kludges to hit
a particular known bug but still continue the test suite.
At least one future test suite needs this and there might
be others.
The change was originally committed as
a8248ecaf however
that change has messed up commit message, obscuring the
real purpose of changes. Additionally, the keyword was
not run through robot.tidy and it clobbers the original
test failure message. This update makes sure that the
original failure message is shown as well as the message
about the URL of the bug that is causing the failure so
the exact problem can be spotted without digging in
log.html.
Change-Id: Id32850307f68160b63247dd97a1ffaa8203bb1bc
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Karthik.S [Wed, 14 Oct 2015 14:28:33 +0000 (19:58 +0530)]
Modify VTN library file to launch VTN Coordinator in CSIT
* To start vtn coordinator modified script
* Deploy VTN in controller vm(CENTOS 7.1) instead of mininet vm(CENTOS 6.6)
Change-Id: Ie15014feae01137f8eb0de54b86030716d71dd8f
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
Tomas Cechvala [Thu, 15 Oct 2015 14:25:07 +0000 (16:25 +0200)]
Data correction for GBP demo and GBPSFC symm demo
Removed trouble making white spaces.
Change-Id: Ie277723440eb4d79ddf01cc728cca9837e747dc6
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
adetalhouet [Wed, 14 Oct 2015 20:35:12 +0000 (16:35 -0400)]
Added testplan and basic test suite for unimgr
Change-Id: I816dae1b6df8aac36e0ce5cd0e5db98fdd107b3a
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
Jamo Luhrsen [Wed, 14 Oct 2015 17:06:35 +0000 (10:06 -0700)]
iterating on patch 28386
- could not ammend patch set 28386 because it was depending on several
other unrelated and unmerged patches. this modification can stand on
it's own and does not need to depend on other new changes.
Change-Id: I9dcfbf5b5df739ddac7d11cb7bd0f290e8fb4c52
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jozef Behran [Wed, 14 Oct 2015 12:26:38 +0000 (14:26 +0200)]
Tidy new tests
Change-Id: I8e27097336581debd0c272e770f7167ffc79cbf5
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Lorand Jakab [Tue, 13 Oct 2015 20:26:44 +0000 (23:26 +0300)]
Fix lisp performance tests
Change-Id: I9ec23be10de8ed211ddf5ef53324d68bf8735610
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Jamo Luhrsen [Tue, 13 Oct 2015 21:10:33 +0000 (14:10 -0700)]
fixing false failure
- looks like the suite is running fast enough to catch a few
hundred connections still open before they are closed. There
is no thread leak after all, and forcing those connections
closed with pkill seems to address it.
- This test will fail with Helium SR2 as it should because the
bug exists there. It will pass with Lithium SR2 as the bug
is not there.
Change-Id: I4b321c692354d5a9213be61979706049f5e39b9a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
priya.ramasubbu [Tue, 6 Oct 2015 12:34:17 +0000 (18:04 +0530)]
Testing Data Flows of VTN Manager in CSIT.
* Add new robot files to test portmapping data flow functionality
* Add new robot files to test vlanmapping data flow functionality
Change-Id: I958eba37c41cb79f0e3f583b1221e7badd57dd6d
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
Vratko Polak [Tue, 13 Oct 2015 11:20:50 +0000 (13:20 +0200)]
Tidy new .robot files
Version used: Robot Framework 2.9 (Python 2.7.9 on linux2)
This also reverts changes caused by tidy from earlier Robot version.
Change-Id: I8e95e2968f993809e87c4779fad71c0512ec0286
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Lorand Jakab [Tue, 13 Oct 2015 10:34:00 +0000 (13:34 +0300)]
Add LISP performance test plan
Change-Id: I4ca3a615815dcc8e84a2dde7233d1bc30aacb65e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
priya.ramasubbu [Thu, 3 Sep 2015 13:33:38 +0000 (19:03 +0530)]
PathMap and PathPolicy VTN Manager Sandbox testing.
* Add new files mininet topology and pathpolicy test cases
Change-Id: I7a6ea77645b9414fe95a582209925272616714c8
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
Luis Gomez [Thu, 8 Oct 2015 00:52:13 +0000 (17:52 -0700)]
Refactor cluster car-people test to reduce test time in case of failure
Reorganize and clean up cluster keywords.
Introduce START_TIMEOUT and STOP_TIMEOUT variables for instance restart.
Use cars to determine whether application is up.
Remove unnecessary waits.
Add test case documentation.
Change test cases name to standard.
Change-Id: I819cb86c604338b7452f4378ecde82d24cde6c16
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Luis Gomez [Fri, 9 Oct 2015 00:37:53 +0000 (17:37 -0700)]
Add Netconf server ready test to netconf suite
Change-Id: Ifee19d89c8212573d309f27bf75f514c8feeaa70
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Alton Fong [Thu, 8 Oct 2015 06:32:50 +0000 (23:32 -0700)]
Fixed Timeout and Syntax issues with NIC Command Tests
Change-Id: I7c3babbd96e95c76f6a868ad4e516f1217cec5d0
Signed-off-by: Alton Fong <alton.fong@hp.com>
Vratko Polak [Wed, 7 Oct 2015 16:05:49 +0000 (18:05 +0200)]
Moved the karaf logging keywords to KarafKeywords
This change defines API-like keywords to be used in suites.
Actual implementation may change in subsequent changes.
Original idea an main implementation by: Jozef Behran
Finishing touches by: Vratko Polak.
The keywords are moved with as little modifications as possible
(added code to preserve the active SSH connection across
these calls, renamed "Connect To Controller Karaf" to "Open
Controller Karaf Console On Background" and added requirement
that "Open Controller Karaf Console On Background" is used
prior to any "Log Message To Controller Karaf"),
and without any changes to the rest of the KarafKeywords
because these are used in quite a number of other suites.
Merging this new code with the existing KarafKeywords codebase
is a long and involved work that is better left to another commit.
Additionally, this change updates the BGP Functional test
to use the new keywords. This serves as an example about how
to use these keywords and additionaly provides an additional
verification that the keywords are not broken because the
integration job will rerun the test which will fail,
exposing the breakage. This change prompted for creating yet
another resource (SetupUtils.robot) with keywords that are
used in the [Setup ...] and [Teardown ...] sections of the
suite/test. These are going to be used in further test suites
so it is better to create them now to avoid code duplication
(actually code triplication as there are 2 more tests being
created that need them).
Change-Id: I5df655b9532aeeee377d89e21743e74f1050498e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Vratko Polak [Wed, 7 Oct 2015 14:55:32 +0000 (16:55 +0200)]
Tidy up merged Robot files.
Change-Id: Iae3dd94ca027ae996fd15fa7985bafe700731451
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jozef Behran [Wed, 7 Oct 2015 10:04:43 +0000 (12:04 +0200)]
Tidied missing file.
Change-Id: I736ffa3b6f2200082f0b90c19c244a1be5194e62
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Wed, 7 Oct 2015 09:56:14 +0000 (11:56 +0200)]
Corrections in data for GBP/GBPSFC demo
Strings which need to be replaced by IP address
of VM have '_' prepended. Prevention of overriding
the same string used in a different context.
Change-Id: Iac25f0ec3d44bce724fcbd2b3178090824942f51
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Jozef Behran [Fri, 2 Oct 2015 10:04:22 +0000 (12:04 +0200)]
Tidying all .robot files
The tidying tool was run on all files in the "csit" directory
(actually, the convenience script was used and it turned out
only the "csit" directory contains any .robot files). The
massive amount of .robot file edits is the result of this
tool run.
I prefer to make these automatic changes to be done now so
running "tidy" on my new code does not produce any unwanted
noise.
Change-Id: Ifb86d097b1de96c3ebc78a78176bc0b424002df4
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Lorand Jakab [Thu, 1 Oct 2015 14:44:42 +0000 (17:44 +0300)]
Add lispflowmapping performance tests
Add test to detect regressions in mapping resolution performance of the
Mapping Service when used through the LISP Southbound Plugin.
First, add a script (loosely based on Jan Medved's
flow_config_blaster.py) to create 10.000 simple IPv4-to-IPv4 mappings to
ODL through RPCs.
Second and a script to generate a .pcap file containing 10.000
Map-Requests for each of those mappings in a randomized order. The .pcap
file can then be replayed at arbitrary speeds.
Third, use `udpreplay` to send the prerecorded lookup requests in the
.pcap file at a rate of 100.000 packets/second for 1000 times for a
total of 100 seconds.
Finally, compute the reply rate by reading the Tx packet counter from
the southbound statisitics using RPC and dividing it by the number of
seconds the packet generater was active.
Change-Id: Ib4de1782aa32b7e010f22e12fbd04b2f53579fb1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Jozef Behran [Tue, 29 Sep 2015 13:07:39 +0000 (15:07 +0200)]
Tool for checking that .robot files went through robot.tidy
This adds a tool that traverses the specified directories and
either checks that all of the .robot files were passed
through the robot.tidy tool (when "check" is specified as the
command) or performs the "tidying" (when "tidy" is specified
as command). A convenience shell script is provided that
orders the tool to traverse the entire test project and check
(or tidy them if "tidy" argument is given to it) all .robot
files it finds whether they are tidy.
I built this tool in about 2 hours after I got bugged by "did
you run the test through 'tidy'" kinds of requests. When the
"check" version is wired to the validation jobs, this kind of
answers can now be obtained automatically.
Change-Id: I8540f14ba81b55394f2a3285130dea6e945d6649
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Fri, 2 Oct 2015 09:52:29 +0000 (11:52 +0200)]
JSON correction for EP h36_2 in GBP
Change-Id: I75543cd1f63f66c2fda118475e99663bd05c183d
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Lorand Jakab [Tue, 29 Sep 2015 19:44:58 +0000 (22:44 +0300)]
Fix failing LISP tests due to implementation changes
When returning a mapping on the RESTCONF interface, the mapping service
crafted the same object as the one sent on the southbound, according to
the LISP protocol (which is a Map-Reply with no locator records, action
bit: forward native). However, getting a reply on the northbound with
HTTP code 200 when actually there is no mapping in the database is
confusing, and not what a NB user would expect. The behavior of the
mapping service was changed in Beryllium to return HTTP 404 when no
mapping is present.
This commit accounts for the above change, and additionally factors out
common variables and keywords into Variables.py and a new LISP resource
respectively.
Change-Id: Ia7c8fd2adb2408f2b1c17865bf5512307dc1e635
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Poornachandrarao [Tue, 29 Sep 2015 15:46:32 +0000 (11:46 -0400)]
Add CSIT test cases for VTN Coordinator functionality
* Add Vlanmap robot test file and add fucntion vtncokeyword file.
* Modify default keyword in Start Mininet custom topology function in Utils.robot.
* Remove exclude tags in vtn_flowfilter.robot file
Change-Id: I8e9ec3407e187ea952b79fe8a2ac93aa13f45220
Signed-off-by: Poornachandrarao <poornachandrarao.b@hcl.com>
Jozef Behran [Tue, 29 Sep 2015 14:32:17 +0000 (16:32 +0200)]
Fixed inconsistent line endings in text files
I found some .robot files with Microsoft-style line endings
which are removed by the "tidy" tool, creating unwanted
noise in the form of making it appear that every line was
changed.
To make sure this is not going to happen anymore a
.gitattributes file was added that declares the .robot files
and a large bunch of other files to be text and specifies
that the line endings shall be normalized using the "auto"
algorithm unless the user configures his Git differently.
Change-Id: I653c691759aad7baccea2e6d4266254a072cbfe1
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Sun, 27 Sep 2015 23:41:35 +0000 (01:41 +0200)]
Modifications in JSONs for GBPSFC demo
Changes made for demo-gbp1
Change-Id: I140a26f69a733d7df0132a3381d8b58c276d7b71
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Luis Gomez [Fri, 25 Sep 2015 23:27:17 +0000 (16:27 -0700)]
Consolidate openflow services tests
As per discusion in the integration list we will consolidate OF tests.
Once this is merged I will go ahead and remove the "more" test.
Change-Id: I263fd945e0b3c013adff8a4a7c23cadfafdb6a1a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Vladimir Lavor [Fri, 25 Sep 2015 12:20:13 +0000 (14:20 +0200)]
All config rests from gbpsfc-env demo added
Change-Id: I9f4e9f6aa38891f7107775e448bf494e06cc00c0
Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Martin Mihálek [Thu, 3 Sep 2015 07:14:58 +0000 (09:14 +0200)]
Added SXP robot tests
Change-Id: I1512f8cef75c2be1eb979b03382db0b3a287fe68
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
manimuthazhagan [Wed, 29 Jul 2015 12:58:00 +0000 (18:28 +0530)]
Add vlanmap test cases for VTN Manager
* Add lines in Util.robot to copy Topology file.
* Add python script for vlan topology.
* Add vlan functions in VTNMaKeywords.robot
Change-Id: I15b9139f65d458e12323807541b5e0453000525c
Signed-off-by: manimuthazhagan <manimuthazhagan.r@hcl.com>
Vratko Polak [Tue, 22 Sep 2015 12:29:20 +0000 (14:29 +0200)]
Add testplan and suite for PCEP performance testing
The suite has configurable scale authentication and session handling,
but operations tested are limited to updating delegated LSPs
on simulated by pcc-mock.
This patch contains utility for rapid restconf calls
and library for hiding restconf authentication details.
Also, backport of collections.Counter is added to libraries/.
As scale target (1 PCC * 65535 LSPs) needs more memory,
scriptplan for using 6 GB Heap is added.
For more details, see Documentation in throughpcep/cases.robot
Change-Id: Id4fd440aae92eee9d343b83484f580cf61ba420d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jozef Behran [Fri, 18 Sep 2015 10:25:03 +0000 (12:25 +0200)]
Added BGP_PORT and BGP_TOOL_PORT
There are now multiple suites with hardwired ports for 1790 and
17900 for the ODL BGP port and BGP tool port respectively so now
it makes sense to put this into the Variables.py file.
Change-Id: Ib04c5aa07fe144799418545c5384cd6b48bb4276
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Wed, 23 Sep 2015 10:29:27 +0000 (12:29 +0200)]
Added missing line
Change-Id: I896b6c7cd743fc6f031d18b1277c9643e307556f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jozef Behran [Wed, 23 Sep 2015 12:16:47 +0000 (14:16 +0200)]
Fix ConfigViaRestconf sometimes causing suite failure
When Robot "has bad mood", it emits an ERROR: "Error in file
'some/path/csit/libraries/ConfigViaRestconf.robot': Setting
variable 'cvr_workspace' failed: Invalid variable name
'cvr_workspace'".
The problem is that the line with the variable in the
"Settings" section is missing the "${...}" syntactic sugar
around the "cvr_workspace" variable name. This sometimes
triggers a bug in Robot that causes this malformed line to
be accepted and sometimes (very unlikely) it does not
trigger that bug, causing the abovementioned error and a
test failure caused by the fact that the variable remained
uninitialized, rendering the ConfigViaRestconf resource
inoperational.
Change-Id: Ia1c5b30234da138e4113858543971541abaa38cf
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Tomas Cechvala [Thu, 24 Sep 2015 09:26:23 +0000 (11:26 +0200)]
Basic directory structure for GBPSFC CSIT test
Contributors should update their work here.
Change-Id: Iee67f37a43552630314453c9ecd505b742979747
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Luis Gomez [Wed, 23 Sep 2015 02:20:47 +0000 (19:20 -0700)]
Adjust Max switches suites timeout so we are sure this is not an issue
Change-Id: I6456d33f483894b7e7b598fc75770b1c692b9739
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Luis Gomez [Wed, 23 Sep 2015 00:41:45 +0000 (17:41 -0700)]
Fix flow templates so that they all have different cookie
If cookies are used to update flows, these have to be all different
This will fix some false failures in current openflow "more" suite
Change-Id: I4a03962cf66f316d64332afbf353ed1528070ee7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Poornachandrarao [Mon, 31 Aug 2015 20:50:13 +0000 (16:50 -0400)]
Add robot test files for Flowfilter related keytypes
* Add file VTN Flowfiletr with action type pass
* Add file VBR and VBRIF Flowfilter with action types pass and drop.
Change-Id: Ib4babe3139e8236a36c8e9231acfca2c4700c306
Signed-off-by: Poornachandrarao <poornachandrarao.b@hcl.com>
Luis Gomez [Tue, 22 Sep 2015 03:11:37 +0000 (20:11 -0700)]
Adjust group and meter test for Li redesign plugin
Li redesign API is slightly different reporting group & meters stats
It does not use group-desc or meter-config-stats sections
Change-Id: I805f8653c793cf2b47331f41e6f9a6a24b316756
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Jozef Behran [Wed, 9 Sep 2015 12:03:20 +0000 (14:03 +0200)]
Library for handling BGP speaker tool
Currently it contains keywords for starting the BGP speaker
tool and for killing it. The code captures the output of
this tool and emits it to the Robot logs after the kill.
Additionally the BGP functional suite was updated to use
this new library.
Change-Id: I189a0c8adf6087e63537b7066e98e76338ee0958
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Luis Gomez [Tue, 22 Sep 2015 02:32:10 +0000 (19:32 -0700)]
Repair typo in testplan
Change-Id: I8fd8cc514230fb75224cdf1a5a6221b598f2b1e0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Jozef Behran [Thu, 3 Sep 2015 09:11:19 +0000 (11:11 +0200)]
Netconf readiness test suite
It tries to get the list of modules. If that fails, a minute
is given to netconf to become ready.
Change-Id: Idff6cae00e652469c7ade68ebfe2a61d8c41d790
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Matej Perina [Mon, 14 Sep 2015 13:12:51 +0000 (15:12 +0200)]
basic test for topoprocessing project
Change-Id: I0e97f28e3f3fe28cde62fb151e646948205ba832
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
Karthik.S [Fri, 11 Sep 2015 12:17:47 +0000 (17:47 +0530)]
Add audit test cases to verify VTN coordinator functionality
* Enable exclude tags in audit test cases.
* Modify VBRIF function in VtnCoKeywords file
* Change waiting audit to down state in audit test files to check controller status.
Change-Id: I8aa98b0b5f76edf4da17f2bee38546a69c1365ac
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
Vratko Polak [Thu, 10 Sep 2015 10:53:18 +0000 (12:53 +0200)]
Bug 4267: Fix Tcpmd5user suite
Bug 3753 was causing failures that can be avoided by
making changes described at Bug 4267.
The tcpmd5user suite was changes to both detect Bug 3753 symptom
and apply the workaround so that testing can proceed.
This required changes to ConfigViaRestconf library:
+ Added GET methods, useful for checking the configuration change was applied.
+ Added support for JSON data.
+ Including normalization provided by HsfJson library.
+ Deviations are now Logged as diff.
+ Configurable workspace to store files being diffed.
+ All this in Verify_* keywords.
+ Added "Readme" text to library documentation.
Change-Id: I52edd0503620f2459ff829dc786bfe208d9242b7
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Phillip Shea [Wed, 2 Sep 2015 22:08:48 +0000 (15:08 -0700)]
Update Exploratory cfg Template
In support of test development and triage for various types of
clustering tests, the config template will now include
odl-l2switch-switch-all, odl-mdsal-apidocs, odl-dlux-all,
and odl-clustering-test-app.
Change-Id: I09f4d5ea31ee4f0f998c6859df2ee0989c5293de
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
Vratko Polak [Wed, 9 Sep 2015 13:24:13 +0000 (15:24 +0200)]
Add MD-SAL benchmarking scripts to tools directory
Jan Medved has created several benchmarking utilities for Coretutorials.
But Coretutorial project is not part of Beryllium.
The natural place for the python scripts is in tools,
as they are standalone, do not depend on anything,
and can be started from a machine remote to ODL.
Java part of benchmarking applications will be hosted elsewhere.
Change-Id: Ib872765c0608bba2296f27c4515417d8f01492be
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jamo Luhrsen [Sat, 5 Sep 2015 00:37:11 +0000 (17:37 -0700)]
Fixing broken test case.
This test case appears to have been broken since mid-August. the
part that was broken was one line in Utils.robot
Also added specific users to the test case keywords for logging in
to the controller, as the default MININET_USER is not right in my
system (although it accidentally will work in CI).
Change-Id: Ied23da0e2caeafce7975d194dc61700cfb6d2250
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jozef Behran [Wed, 2 Sep 2015 11:23:43 +0000 (13:23 +0200)]
Added missing "<LibName>." qualifiers
Change-Id: Ic1d16c63c067eb7bfd0174f9fdda6d2dcc73d05f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Jamo Luhrsen [Sat, 5 Sep 2015 00:55:53 +0000 (00:55 +0000)]
Merge "Move 'Create Dictionary' calls from tab format to '=' format"