integration/test.git
8 years agoUpdate ovsdb repository and create test plan
Luis Gomez [Thu, 4 Jun 2015 03:19:59 +0000 (20:19 -0700)]
Update ovsdb repository and create test plan

Bridge Domain is very old AD-SAL API so we get it out

We also need a test plan for Chaudry's work

Change-Id: Id54a24f869035117d20089de22b93f1c9e7de4f3
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoDebug help for triaging missing links in CI
Jamo Luhrsen [Wed, 3 Jun 2015 22:45:47 +0000 (15:45 -0700)]
Debug help for triaging missing links in CI

The lithium redesign tests are failing because it's not
seeing that a link has been removed (mininet: link s1 s2 down).
I cannot reproduce this locally, but it's happening every time
in CI.  I'm using same OVS/Mininet versions.  At a loss now, so
pushing some steps to maybe help debug.

I've also reduced a few WUKS in other suites from 30s to
6s which is more reasonable and allows us to fail sooner
as 3s should be good enough.  after 6s we can fail.

Change-Id: Ib1178efb2f49b1c8bd1619c60ea3df543203fe9c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoLISP: Remove Northbound tests
Lorand Jakab [Wed, 3 Jun 2015 10:13:01 +0000 (13:13 +0300)]
LISP: Remove Northbound tests

The old AD-SAL based Northbound interface was deprecated in Lithium and
is currently broken, so remove it from the test suite.

Change-Id: Ib5b88c8f3999b2c932a3cd2de92a5c2bdab79d2e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoOpenflowPlugin link scalability test
sandeepg [Tue, 19 May 2015 23:22:01 +0000 (16:22 -0700)]
OpenflowPlugin link scalability test

This test incrementally connects switches in fully mesh topology and checks if the controller is able to discover links between them.
Test exits(max switch scale value found) when there is an out of memory, null pointer exception or if expected links are unavailable in operational DB.

Change-Id: Iffed85112f89efc328a9bc8a095884e39aff6d30
Signed-off-by: sandeepg <SANDEEP.GANGADHARAN@HP.COM>
8 years agoCreated test plan for Southbound API
Chaudhry Muhammad Usama [Tue, 2 Jun 2015 10:13:36 +0000 (03:13 -0700)]
Created test plan for Southbound API

Change-Id: I3f4883ca5867a3d2f60c944c442d78f965bcabc7
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agoAdd test cases for l2switch link down/up and port remove/add
Luis Gomez [Wed, 3 Jun 2015 02:51:37 +0000 (19:51 -0700)]
Add test cases for l2switch link down/up and port remove/add

This will uncover these 2 bugs:

https://bugs.opendaylight.org/show_bug.cgi?id=3345
https://bugs.opendaylight.org/show_bug.cgi?id=3346

Finally reduce timeouts in case of failure

Change-Id: I7c086ea91bf09933425cedbe2bc54f8fcb636a83
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoTools fastbgp: Replace dummy play.py with working one
Vratko Polak [Wed, 27 May 2015 18:58:04 +0000 (20:58 +0200)]
Tools fastbgp: Replace dummy play.py with working one

Minor changes in bgpuser suite to use new command-line argument names.
CinfigViaRestconf library tolerates more status codes on DELETE.
Command to kill the tool does not write enter after ctrl+c anymore.

Change-Id: I4d241cfae04b592a55852ddfb225024b7a1fc651
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoUsing WUKS for initial node disco to avoid timing issue
Jamo Luhrsen [Tue, 2 Jun 2015 18:44:25 +0000 (11:44 -0700)]
Using WUKS for initial node disco to avoid timing issue

also trimmed other operational checks from 60s to 6s.  for
openflowplugin, the default stats polling time is 3s, so if
it's not there in double that (6s) I think we have a real
problem and can just fail the test case then.

Change-Id: Iad30a6e582e28b5c57837159218013296c394014
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoRobot Test Suites for Southbound API.
Chaudhry Usama [Thu, 21 May 2015 16:00:53 +0000 (09:00 -0700)]
Robot Test Suites for Southbound API.

Change-Id: If9c9556ef820d743c4957820c03542949d7cc35b
Signed-off-by: Chaudhry Usama <chaudhryusama@gmail.com>
8 years agoAdd checking for flow ID in operational
Luis Gomez [Wed, 27 May 2015 00:45:19 +0000 (17:45 -0700)]
Add checking for flow ID in operational

Change-Id: Ie96c9fe1422e64ee95fb31c30338d38de920182f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoIn addition to addressing the suggested changes, Added cat bond line to check if...
mahesh.manivasagam [Sat, 23 May 2015 12:53:41 +0000 (18:23 +0530)]
In addition to addressing the suggested changes, Added cat bond line to check if the data has been copied correctly

Change-Id: If7e2960d57a9a2b8d4681858b5e005744ba3dd53
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
8 years agoSmall change for testing purposes
Luis Gomez [Wed, 27 May 2015 17:22:43 +0000 (10:22 -0700)]
Small change for testing purposes

Change-Id: I191530bdc7c149a473024bc3e80e6056598233ff
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoRefactor cluster monitor README to markdown format
Daniel Farrell [Fri, 22 May 2015 19:58:01 +0000 (15:58 -0400)]
Refactor cluster monitor README to markdown format

Post file extension change, actually format the README as MD.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoAdding new AAA idmlite Robot test suite (More tests will be implemented in this suite)
Kailash Khalasi [Thu, 16 Apr 2015 23:57:25 +0000 (16:57 -0700)]
Adding new AAA idmlite Robot test suite (More tests will be implemented in this suite)

Change-Id: I007112a6ae63bee94eafd684a06dd1ee7bf52aa9
Signed-off-by: Kailash Khalasi <kailash.khalasi@hp.com>
8 years agoRename cluster monitor README to mkdown extension
Daniel Farrell [Fri, 22 May 2015 19:46:27 +0000 (15:46 -0400)]
Rename cluster monitor README to mkdown extension

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoChanged the PROMPT to LINUX_PROMPT, Updated Library call of RequestsLibrary on both...
mahesh.manivasagam [Thu, 14 May 2015 12:46:02 +0000 (18:16 +0530)]
Changed the PROMPT to LINUX_PROMPT, Updated Library call of RequestsLibrary on both the scripts,Added Execute command instead of Write/Read Until

Change-Id: I5dcedb3c720267e1a6001da7a1b37ef54d12520f
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
8 years agoTemporary test to see if we can run a script stored in integration repo
Luis Gomez [Wed, 27 May 2015 04:15:12 +0000 (21:15 -0700)]
Temporary test to see if we can run a script stored in integration repo

Change-Id: I53f8aec424d9b615f1f53f206cbb3e77ecb4e376
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoAdded new testcases for FlowMeter,FlowGroupMetrics on both H2 and
vasanthan_balasubram [Thu, 21 May 2015 11:51:21 +0000 (17:21 +0530)]
Added new testcases for FlowMeter,FlowGroupMetrics on both H2 and
HBase DataStore.
Modified TsdrUtils.txt to taken care of hbase server and stop

Change-Id: I65df5c8f7dcd2d0123a32cbb6f0563c3ca43304d
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
8 years agoRound-robin load-balancing for flow_config_blaster
Gary Wu [Thu, 21 May 2015 22:45:41 +0000 (15:45 -0700)]
Round-robin load-balancing for flow_config_blaster

Add round-robin load-balancing to flow_config_blaster.py.
The feature is enabled when a comma-separated list of
hosts is specified for the --host command line argument.

Change-Id: Ia4a63d55ad11643bfa0bd6e71c61926bf80de8b3
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agoTools: Dummy play.py file added
Vratko Polak [Thu, 21 May 2015 14:56:04 +0000 (16:56 +0200)]
Tools: Dummy play.py file added

There are jobs running "bgpuser" suite, which
relies on play.py script already in suite setup,
so currently it skips all test cases.

The full-blown play.py has still several days to
become polished enough to warrant merge into repository;
this change adds a file that just prints a message and quits.

The suite would still mostly fail because of that,
but with this file in place, the suite would
at least test for presence of Bug 3182.

Change-Id: Iee27fecc82e9d701e36a061766c9976598ada990
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoFlip x and y axes in monitor.py on-screen table.
Gary Wu [Wed, 20 May 2015 20:51:55 +0000 (13:51 -0700)]
Flip x and y axes in monitor.py on-screen table.

Flip the x and y axes in the on-screen table
shown by cluster monitor.py, so that nodes are
on the vertical axis while shards are across.

This is to make the output more readable when
there is a large number of nodes (e.g. > 10)
in the cluster vs. the typically small number
of shards.

Change-Id: If866d1409bf143391d7f020fa72a82d03be456df
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agoAdd basic test case for SFC, mainly Restconf Operations
Johnson Li [Thu, 21 May 2015 05:08:13 +0000 (13:08 +0800)]
Add basic test case for SFC, mainly Restconf Operations

Add Some integration test cases for the Service Function
Chain Project. These cases mainly verify the Restconf
APIs works well or not.

Change Log:
Manually rebase, fix conflicts in Utils.txt
Add new Keywords to Utils.txt and use these words
Rename *.txt to *.robot and remove __init__.txt
Use Keywords from Library Utils.txt
Use Public RequestsLibrary to send requests
Add Test Cases for SFP and RSP

Signed-off-by: Johnson Li <johnson.li@intel.com>
8 years agoAdded and revised following TSDR testcase
vasanthan_balasubram [Mon, 18 May 2015 17:38:53 +0000 (10:38 -0700)]
Added and revised following TSDR testcase
1.Interface Metrics (Revised)
2.Flow Metrics
3.Flow Table Metrics
4.Queue Metrics
Added the additional methods on Utils.txt

Change-Id: Id0bbf68d3a27208a571ea74dd1d99341ea6a229c
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
8 years agoWe have to give example on how to use RequestsLibary
Luis Gomez [Wed, 20 May 2015 21:54:59 +0000 (14:54 -0700)]
We have to give example on how to use RequestsLibary

Change-Id: I253ea4b4a1c6ea4fc908c6cbc477ad4fb8a5dc03
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoadding missing testplan for existing job
Jamo Luhrsen [Wed, 20 May 2015 21:56:42 +0000 (14:56 -0700)]
adding missing testplan for existing job

Change-Id: Ib8d672dc2f70c5cb053f5d323d36e63010f4d089
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoAdded testplan for capwap for ac functionality
Vaibhav Bhatnagar [Fri, 8 May 2015 02:46:43 +0000 (08:16 +0530)]
Added testplan for capwap for ac functionality

Change-Id: I18cf0c5d851320442f8374a7182586ff34b733b1
Signed-off-by: Vaibhav Bhatnagar <vbhatnag@brocade.com>
8 years agoBeta version of a longevity test
Jamo Luhrsen [Tue, 19 May 2015 22:48:08 +0000 (15:48 -0700)]
Beta version of a longevity test

openflow specific

reuses smaller values and single iterations of the hosts and switch
scale tests

this is intended to help meet Lithium deliverables for the integration
group, however this is also a Linux Foundation summer intern project.
I hope this can be a building block for that project.

Change-Id: If84ed95106bbde84f50edbd4c45b189341935407
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoChange monitor to support flexible shard config.
Gary Wu [Tue, 19 May 2015 23:32:45 +0000 (16:32 -0700)]
Change monitor to support flexible shard config.

Change cluster monitor.py to not require that all
nodes have the same shards.  This is useful for
monitoring large clusters that have small
replication factors.

Change-Id: I20d437b3b3bc21f65fdc0e496b6c1b38e23f95b5
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
9 years agotest suites which use more flows available in variables/xml
Peter Gubka [Tue, 5 May 2015 13:22:51 +0000 (15:22 +0200)]
test suites which use more flows available in variables/xml

test suites are moved from tools part to csit and new testplan
is created for that suite

the plan is tests placed in openflowplugin/Flows_Additional_TCs
will be independent and several test plans can use different
tests

-more- refactoring to remove duplication

Change-Id: Ib62e02f4a8656fcf969521fcbadc084e8ef6825c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoChanged the name of the test plan file
Sindhuri [Mon, 18 May 2015 17:38:53 +0000 (10:38 -0700)]
Changed the name of the test plan file

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
9 years agoModify VTN Coordiantor Robot Cases for Lithium
gvrangan [Thu, 14 May 2015 18:41:30 +0000 (00:11 +0530)]
Modify VTN Coordiantor Robot Cases for Lithium

Change-Id: I9514de675c4f124ef044ed1e593277917a00f119
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoAdd bgpuser suite, refactor tcpmd5user suite
Vratko Polak [Tue, 5 May 2015 18:06:56 +0000 (20:06 +0200)]
Add bgpuser suite, refactor tcpmd5user suite

Specification for bgpuser suite:
https://wiki.opendaylight.org/view/BGP_LS_PCEP:Lithium_Feature_Tests#How_to_test_2

Jozef Behran has created the original suite,
Vratko Polak has made additional changes.

ConfigViaRestconf library (Resource) was updated with Put_* keywords,
suite uses them. It also supports reading templated data from files.
FailFast robot library/resource was added and used.
WaitForFailure Resource expands BuiltIn library.
KillPythonTool Resource for making sure processes are gone.

Switched all bgpcep suites to use the standard RequestsLibrary.
Changed Tcpmd5User suite to use PUT with correct URI.
Less urgent changes left as FIXMEs and TODOs.

Change-Id: I8793d5ffb311c2754dfeef5d04cb9b26f4babefa
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoFix W391 in tools/OF_Test/robot_suites/500__OF_Cluster_Sanity_OF
Vratko Polak [Mon, 18 May 2015 13:50:16 +0000 (15:50 +0200)]
Fix W391 in tools/OF_Test/robot_suites/500__OF_Cluster_Sanity_OF

Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Change-Id: If9df79bf0ae1db0f6ce1ce8886f3e077b8f74206

9 years agobug fixing
Peter Gubka [Mon, 18 May 2015 13:21:59 +0000 (15:21 +0200)]
bug fixing

before it's move to csit some revork will be needed

Change-Id: I6752a41894975199e15ce6a6a10ca4c33f27d6be
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoRenaming the LACP testplan as lacp-lacp.txt
mahesh.manivasagam [Thu, 14 May 2015 09:49:36 +0000 (15:19 +0530)]
Renaming the LACP testplan as lacp-lacp.txt

Change-Id: I68c95ccb1f28babc1f8e119c7d470bc93d31e9a2
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agobasic stats collection scenario
Peter Gubka [Thu, 14 May 2015 12:35:38 +0000 (14:35 +0200)]
basic stats collection scenario

it configures and deconfigure 16k flows, then again configure,
disconnect mininet, again connect and deconfigure flows. Between
each step the flows stats are checked

Change-Id: Id12994fd5695b788f21709cd4b2b8f2ec5c24951
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoChanged the file 010__vpn.robot and added testplan
Sindhuri [Fri, 15 May 2015 17:51:16 +0000 (10:51 -0700)]
Changed the file 010__vpn.robot and added testplan

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
Change-Id: If7baea44513e41efd4202d266d77079486e2f678

9 years agoTest Suite to configure vpnservice,verify and delete
Sindhuri [Thu, 14 May 2015 12:30:34 +0000 (05:30 -0700)]
Test Suite to configure vpnservice,verify and delete

Change-Id: I9315186a50315217eba9d3e24b4240fd573ca53a
Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
9 years agorenamed the old testplan file
SANDEEP GANGADHARAN [Fri, 22 Sep 1995 23:20:21 +0000 (16:20 -0700)]
renamed the old testplan file
Scale Test To Find Maximum Hosts
Added testplan for l2switch scale

Change-Id: Ib5bdc23d2e1023b44b0b8536efdd2a3e44b93cae

Signed-off-by: SANDEEP GANGADHARAN <SANDEEP.GANGADHARAN@HP.COM>
9 years agoAdd WUKS to suite setup
Jamo Luhrsen [Tue, 12 May 2015 19:03:14 +0000 (12:03 -0700)]
Add WUKS to suite setup

Change-Id: I266c4d47ed71fad72b7ef78e184d3321fedcb738
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFixing iotdm bugzilla 3214:
Joseph Stewart [Thu, 14 May 2015 02:36:06 +0000 (22:36 -0400)]
Fixing iotdm bugzilla 3214:

https://bugs.opendaylight.org/show_bug.cgi?id=3214
"localhost" being used as server address should be ${CONTROLLER}

Change-Id: I446415de5ecfa60c882b961bfbdd71c3daf49f87
Signed-off-by: Joseph Stewart <josstewa@cisco.com>
9 years agoClarifying code and complying with standards.
Joseph Stewart [Mon, 11 May 2015 16:15:16 +0000 (12:15 -0400)]
Clarifying code and complying with standards.

Make code compliant with PEP8 as per ODL check-in rules.
Commit IoTDM tests.
Move libraries from robot test area to "libraries".
Changed tabs to spaced in robot test cases.
Removed commented-out code.

Change-Id: I9b22e3a999d8cf27413ec9ebd6b0f053acbd8783
Signed-off-by: Joseph Stewart <josstewa@cisco.com>
9 years agoScale Test To Find Maximum Hosts
SANDEEP GANGADHARAN [Fri, 22 Sep 1995 23:20:21 +0000 (16:20 -0700)]
Scale Test To Find Maximum Hosts
Added testplan for l2switch scale
Change-Id: Ib5bdc23d2e1023b44b0b8536efdd2a3e44b93cae

Signed-off-by: SANDEEP GANGADHARAN <SANDEEP.GANGADHARAN@HP.COM>
9 years agoUpdate the featureRepositories parameter in the multi-node-cluster template.
Phillip Shea [Tue, 12 May 2015 20:10:38 +0000 (13:10 -0700)]
Update the featureRepositories parameter in the multi-node-cluster template.
This updates the parameter to match versions in current snapshots.
Without this change, controllers will not form a cluster when deployed
with the cluster deployer script.

Change-Id: Idb600d63a450abdb4589a3872c1d17bfacbc72b5
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoTest Plans seperation on TSDR H2 and HBase datastore
vasanthan_balasubram [Tue, 12 May 2015 04:32:27 +0000 (10:02 +0530)]
Test Plans seperation on TSDR  H2 and HBase datastore

Change-Id: I8b66fe12aea57e3ffcc55d7576a98f826abed639
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoAutomation to track and catch bug 2429
Jamo Luhrsen [Mon, 11 May 2015 23:19:33 +0000 (16:19 -0700)]
Automation to track and catch bug 2429

adding Bug_Validation folder to flow-services testplan

Change-Id: I33393ffae19d789f3a2cdd91fc4d51e46556d860
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoFixing cleanup and setup
Jesus Arechiga [Fri, 8 May 2015 17:55:42 +0000 (10:55 -0700)]
Fixing cleanup and setup

Change to switch initialization:
Making sure the interface is up after config by sending ifconfig up.
Otherwise If the interface had previously existed and brought down,
it never comes up and the  test case will fail.

Change to switch tear down:
Make sure to list down interfaces when deleting bridges, by using ifconfig -a modifier.
Otherwise if the interface is down (due to previous ifconfig down) the bridge is not deleted.

Also removing blank lines to pass tox test.

Change-Id: Ief23ca02d9f3bd0d14155642b517695ef23dcbe1
Signed-off-by: Jesus Arechiga <jesus.arechiga@gmail.com>
9 years agoTcpmd5user suite: Use pcc-mock in reconnecting mode
Vratko Polak [Tue, 5 May 2015 17:25:26 +0000 (19:25 +0200)]
Tcpmd5user suite: Use pcc-mock in reconnecting mode

The initial specification for TCPMD5 user-facing feature
system tests states that pcc-mock should be used in reconnecting mode.

Pcc-mock already supports --reconnect command line argument,
and some of the previous failures can be attributed to the fact
that this argument was not used in initial check-in of tcpmd5user suite.

This change makes pcc-mock reconnecting in 1 second intervals.

Also, test for not seeing prompt is more narrow now.

Change-Id: I07c36d111908aa0f70a3741f11e897d310aaf59c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agotestplan file for Li-Redesign daily switch scale test
Jamo Luhrsen [Mon, 11 May 2015 17:01:26 +0000 (10:01 -0700)]
testplan file for Li-Redesign daily switch scale test

Change-Id: I2b201f28dddc8103916a186dbae6483541394bc9
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agochanges for parsing the new output format
Peter Gubka [Tue, 5 May 2015 08:35:58 +0000 (10:35 +0200)]
changes for parsing the new output format

these changes were triggered by https://git.opendaylight.org/gerrit/#/c/19494/

Change-Id: Iec3e1fb6775021c3b7cfa1b4a1a8bffbbaafb1eb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoAdding priority to flow mods in TTL suite
Jamo Luhrsen [Fri, 8 May 2015 18:53:38 +0000 (11:53 -0700)]
Adding priority to flow mods in TTL suite

-  the reason for this patch is seen in the Flows_OF13/305__ttl.robot
suite.  BUT...

-  using the boyscout rule I've also tried to leave the campsite
a little bit cleaner by removing unneeded lines and using the global
${OPERATIONAL_NODES_API} variable

Change-Id: I66d84f91beba7e8889796dcc2b4a6a0e61f9634c
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoRemoving unused suites in AD_SAL_Apps_* folders
Jamo Luhrsen [Thu, 7 May 2015 22:35:50 +0000 (15:35 -0700)]
Removing unused suites in AD_SAL_Apps_* folders

Change-Id: I22c7fd735a00148879a44f221cc37d3ff7f37c2f
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoAdd tools to isolate controllers.
Phillip Shea [Thu, 7 May 2015 22:02:06 +0000 (15:02 -0700)]
Add tools to isolate controllers.
Change-Id: I367c2a00a32d7a84d6468ee590322bc7512a4d15
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoAdjusting netopeer test to work with any IP and user
Luis Gomez [Sun, 3 May 2015 02:05:59 +0000 (19:05 -0700)]
Adjusting netopeer test to work with any IP and user

Change-Id: I06f971708cc209893a9d17147554e12e32bf11aa
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoThis will fix couple of adsal TCs
Luis Gomez [Sun, 3 May 2015 01:22:13 +0000 (18:22 -0700)]
This will fix couple of adsal TCs

Change-Id: I71fc2874158313f298d9098d372be37bfbc2ff03
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoPriority is required in flow config
Jamo Luhrsen [Thu, 7 May 2015 21:59:25 +0000 (14:59 -0700)]
Priority is required in flow config

-  The Lithium redesign is now correctly requiring that the
priority field be present in the flow being programmed.  The
fact that this was working with the Helium codebase is a bug
there.

-  This will fix 8 failures currently seen in Li-redesign
flow-services CI

-  This also fixes some WARN messages we get in the robot
logs by using the correct namespace "SSHLibrary" in the utils
library

Change-Id: Icaef7e2c225188ea2decf8a8b15587c6e6573e13
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoQuick polling cycle needed to verify DPID is gone
Jamo Luhrsen [Thu, 7 May 2015 21:30:25 +0000 (14:30 -0700)]
Quick polling cycle needed to verify DPID is gone

-  looks like with the Lithium redesign it must be taking a
short time to remove the switch from the operational store
after the switch disconnects.  this will check every sec for
3s, at which point it will fail.

-  this fixes one failure we have in CI right now

Change-Id: Ied99db0a065caf2e0baf4b9ea98b387f76620029
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoAdjusting Netconf connection timeout
Luis Gomez [Sat, 2 May 2015 14:02:45 +0000 (07:02 -0700)]
Adjusting Netconf connection timeout

Change-Id: I1d77b7f9aba16aea4c8586d8551a47709bfa34c0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoNew L2Switch suite to catch standing issues
Luis Gomez [Thu, 30 Apr 2015 22:03:57 +0000 (15:03 -0700)]
New L2Switch suite to catch standing issues

Addressing Jamo's comments

Change-Id: Ida139aa9387e5c10b25ab912cfbc9d823d54b5cd
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge "Add cluster status monitor tool."
Moiz Raja [Tue, 5 May 2015 20:21:44 +0000 (20:21 +0000)]
Merge "Add cluster status monitor tool."

9 years agoMerge "Suite basicpcep removed."
Jamo Luhrsen [Tue, 5 May 2015 19:00:02 +0000 (19:00 +0000)]
Merge "Suite basicpcep removed."

9 years agoMerge "TSDR HBase and H2 DataStore Integrations Test suites and following review...
Luis Gomez [Tue, 5 May 2015 18:29:12 +0000 (18:29 +0000)]
Merge "TSDR HBase and H2 DataStore Integrations Test suites and following review comments are addressed 1.Space on leading and trailing on script 2.Reusage KarafKeyword has been written 3.Utils.txt suiteSetup has been utilized 4.Seperated the Hbase Client installation to Controller.sh 5.Updated the Variable.py with common Karaf variables"

9 years agoMerge "Adding a final suite teardown to scale tests"
Luis Gomez [Tue, 5 May 2015 18:25:52 +0000 (18:25 +0000)]
Merge "Adding a final suite teardown to scale tests"

9 years agoSuite basicpcep removed.
Vratko Polak [Tue, 5 May 2015 17:17:26 +0000 (19:17 +0200)]
Suite basicpcep removed.

Releng/builder jobs now use the new and improved pcepuser suite,
so the old basicpcep suite can be safely removed now.

The testplan and variables related to basicpcep are also removed.

Change-Id: Ia56d8b486e51df5e1a3b0a7d28505a56551cd634
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agonew testplan to be able to compare ofp after redesign
Peter Gubka [Tue, 5 May 2015 09:17:44 +0000 (11:17 +0200)]
new testplan to be able to compare ofp after redesign

Change-Id: I6d722d9e8f6319591b8d8ef9080746ce31c2a21f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoTSDR HBase and H2 DataStore Integrations Test suites and following review comments...
vasanthan_balasubram [Wed, 29 Apr 2015 10:02:41 +0000 (15:32 +0530)]
TSDR HBase and H2 DataStore Integrations Test suites and following review comments are addressed 1.Space on leading and trailing on script 2.Reusage KarafKeyword has been written 3.Utils.txt suiteSetup has been utilized 4.Seperated the Hbase Client installation to Controller.sh 5.Updated the Variable.py with common Karaf variables

Change-Id: I43ff56601c8031cf09360375965915466b00fd53
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
9 years agoAdding a final suite teardown to scale tests
Jamo Luhrsen [Fri, 1 May 2015 00:36:57 +0000 (17:36 -0700)]
Adding a final suite teardown to scale tests

this makes it easier to run manually when the test VMs are
not dynamic and clean to start with.

-  will do a sudo mn -c to let mininet try to clean itself
-  will look for any left over mn processes and kill them at the OS level

Change-Id: Ib7577d00cea199c60e0c8c178b6131b2d898cacb
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMaking cbench suite more friendly for Lithium OFP
Jamo Luhrsen [Mon, 4 May 2015 18:33:43 +0000 (11:33 -0700)]
Making cbench suite more friendly for Lithium OFP

-  there is a deadlock issue in the controller that causes
   cbench to hang.  This ends up in the keyword timing out.
   I added logic to catch that case and log the results as
   zero.

-  Also, moved the latency case to run first as that doesn't
   seem to hit the deadlock and will allow us to start tracking
   those numbers.  Once the deadlock is hit, the controller is
   *dead* for these tests so having throughput first made the
   working latency test worthless

Change-Id: I8c604cf5f3308035dc6de8c1e6aae849aba411c4
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoAdd cluster status monitor tool.
Phillip Shea [Mon, 4 May 2015 18:04:50 +0000 (11:04 -0700)]
Add cluster status monitor tool.

Change-Id: I46729dd780b041c5f1b5526866678d91038c20b1
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoMerge "Reworked FlowConfigBlaster to be able to batch multiple flows in a single...
Luis Gomez [Mon, 4 May 2015 16:36:44 +0000 (16:36 +0000)]
Merge "Reworked FlowConfigBlaster to be able to batch multiple flows in a single RESTCONF request. Batching yields 5-12x better performance than sending individual flows."

9 years agoReworked FlowConfigBlaster to be able to batch multiple flows in a single RESTCONF...
Jan Medved [Sun, 3 May 2015 21:31:05 +0000 (14:31 -0700)]
Reworked FlowConfigBlaster to be able to batch multiple flows in a single RESTCONF request. Batching yields 5-12x better performance than sending individual flows.

Change-Id: I14806d575581565533c65bb678a9930fcd995a40
Signed-off-by: Jan Medved <jmedved@cisco.com>
9 years agoMerge "need a testplan file for Li-redesign cbench test"
Luis Gomez [Fri, 1 May 2015 06:04:43 +0000 (06:04 +0000)]
Merge "need a testplan file for Li-redesign cbench test"

9 years agoMerge "Adding first test case for snmp project, for snmp-get operation"
Jamo Luhrsen [Fri, 1 May 2015 05:59:00 +0000 (05:59 +0000)]
Merge "Adding first test case for snmp project, for snmp-get operation"

9 years agoneed a testplan file for Li-redesign cbench test
Jamo Luhrsen [Fri, 1 May 2015 05:32:03 +0000 (22:32 -0700)]
need a testplan file for Li-redesign cbench test

Change-Id: I46f0d6611eb7ce5cf14aedc5376f861df74f17e5
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoAdding first test case for snmp project, for snmp-get operation
Vaishali Mithbaokar [Wed, 29 Apr 2015 17:58:25 +0000 (10:58 -0700)]
Adding first test case for snmp project, for snmp-get operation

Change-Id: I2c7dd9035b26567b99559f9693b6918ba8ae0f9e
Signed-off-by: Vaishali Mithbaokar <vmithbao@cisco.com>
9 years agoMerge "Move cluster-deployer to a shared clustering directory."
Moiz Raja [Thu, 30 Apr 2015 21:42:30 +0000 (21:42 +0000)]
Merge "Move cluster-deployer to a shared clustering directory."

9 years agoMove cluster-deployer to a shared clustering directory.
Phillip Shea [Wed, 29 Apr 2015 22:44:07 +0000 (15:44 -0700)]
Move cluster-deployer to a shared clustering directory.

Change-Id: I4aeaef2bc07ba14272c96c55e4c8d0ab5018eeb9
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
9 years agoMerge "Test Suite for VPN Service"
Luis Gomez [Thu, 30 Apr 2015 02:02:45 +0000 (02:02 +0000)]
Merge "Test Suite for VPN Service"

9 years agoTest Suite for VPN Service
Sindhuri [Tue, 28 Apr 2015 11:44:24 +0000 (04:44 -0700)]
Test Suite for VPN Service

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
Change-Id: I8484a62565ebf785de72f591e87661fd838624ff

9 years agoAdding link/port bounce test to basic openflow suite
Luis Gomez [Tue, 28 Apr 2015 21:42:19 +0000 (14:42 -0700)]
Adding link/port bounce test to basic openflow suite

Adding switch capabilities and IP check

Also fixing some of the robot warnings

Creating variables for switch vendor

Change-Id: Ib373e8b236e65af0f5018237ba9e40959840f230
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge "Added Put file to put scripts onto the mininet vm & also added sudo command...
Jamo Luhrsen [Tue, 28 Apr 2015 23:48:13 +0000 (23:48 +0000)]
Merge "Added Put file to put scripts onto the mininet vm & also added sudo command to handle root access on init robot file. Rephrased the 010__lacp_inventory.robot file into a keyword format. Rest the prompt to > on variables.py file."

9 years agoMerge "new statistic manager tests"
Luis Gomez [Tue, 28 Apr 2015 23:11:15 +0000 (23:11 +0000)]
Merge "new statistic manager tests"

9 years agoAdded Put file to put scripts onto the mininet vm & also added sudo command to handle...
mahesh.manivasagam [Thu, 16 Apr 2015 10:48:19 +0000 (16:18 +0530)]
Added Put file to put scripts onto the mininet vm & also added sudo command to handle root access on init robot file. Rephrased the 010__lacp_inventory.robot file into a keyword format. Rest the prompt to > on variables.py file.

Change-Id: I012ede4017783fe98d6f16c8c018cf0744182f17
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agoLACP Integration suites
mahesh.manivasagam [Wed, 15 Apr 2015 15:49:04 +0000 (21:19 +0530)]
LACP Integration suites

Change-Id: I5b082027d9a4d34b2e027ee9b9cb8d2e4829f29e
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
9 years agoMerge "Restoring CPqD based test cases"
Jamo Luhrsen [Tue, 28 Apr 2015 18:02:43 +0000 (18:02 +0000)]
Merge "Restoring CPqD based test cases"

9 years agoMerge "Adding verify controller log to scalability test."
Jamo Luhrsen [Tue, 28 Apr 2015 17:05:38 +0000 (17:05 +0000)]
Merge "Adding verify controller log to scalability test."

9 years agonew statistic manager tests
Peter Gubka [Fri, 24 Apr 2015 20:09:10 +0000 (22:09 +0200)]
new statistic manager tests

The idea of these tests is that flows are spread over the switches and
their tables the way we want. Eighter we want to have corner cases (all
flows on one switch in one table) or we want to have flows spread over
switches and tables according some rules.

The library generates flow details (a list) which are then used for
(de)configuration and checking the operational inventory datastore.

Testplan is not created yet. I'll do it next week.

Change-Id: I9f0ffa6f05c22f2aa75fc2cc2120f0390086daa3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agoAdding verify controller log to scalability test.
Luis Gomez [Tue, 28 Apr 2015 04:03:47 +0000 (21:03 -0700)]
Adding verify controller log to scalability test.

Fixing some libraries to use right default ${WORKSPACE} and ${BUNDLEFOLDER}.

(We are passing these variables with the pybot command anyway)

Change-Id: Idd2cbb493a51b67af340c5d69edc0ce27554d84b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoRestoring CPqD based test cases
Luis Gomez [Mon, 27 Apr 2015 02:18:19 +0000 (19:18 -0700)]
Restoring CPqD based test cases

Kicking OpenFlow test...

Change-Id: Ia14209a9e22170c8e6fd7895834e27fed0f2bb53
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdjusting Scalability suite to not log too much to file
Luis Gomez [Sun, 26 Apr 2015 20:39:59 +0000 (13:39 -0700)]
Adjusting Scalability suite to not log too much to file

Change-Id: I8917afc2add16f1ed43e11b595bd752f3190eef2
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdjusting wait time in scalability test
Luis Gomez [Sun, 26 Apr 2015 19:19:15 +0000 (12:19 -0700)]
Adjusting wait time in scalability test

Change-Id: I1435bbbf2f7b6eec0d19c46ba736269bdc3a813c
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoMerge "Scalability Test - To start Playing"
Luis Gomez [Sun, 26 Apr 2015 17:09:16 +0000 (17:09 +0000)]
Merge "Scalability Test - To start Playing"

9 years agoMerge "add timeout-ness to karaf console keyword"
Luis Gomez [Sat, 25 Apr 2015 01:32:34 +0000 (01:32 +0000)]
Merge "add timeout-ness to karaf console keyword"

9 years agoScalability Test - To start Playing
Luis Gomez [Sat, 18 Apr 2015 14:45:31 +0000 (07:45 -0700)]
Scalability Test - To start Playing

Change-Id: I87e1798abae93ee582032e2cc6a51107f16fdb07
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoadd timeout-ness to karaf console keyword
Jamo Luhrsen [Fri, 24 Apr 2015 17:43:10 +0000 (10:43 -0700)]
add timeout-ness to karaf console keyword

Change-Id: I0808cfcd4625214aafa4c6207aa989cefedf1e44
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
9 years agoMerge "Suite for TCPMD5 added, suite for PCEP expanded."
Luis Gomez [Fri, 24 Apr 2015 21:51:50 +0000 (21:51 +0000)]
Merge "Suite for TCPMD5 added, suite for PCEP expanded."

9 years agoMerge "Utility function to isolate and rejoin a controller in a cluster."
Luis Gomez [Fri, 24 Apr 2015 21:47:44 +0000 (21:47 +0000)]
Merge "Utility function to isolate and rejoin a controller in a cluster."

9 years agoSuite for TCPMD5 added, suite for PCEP expanded.
Vratko Polak [Wed, 22 Apr 2015 17:05:57 +0000 (19:05 +0200)]
Suite for TCPMD5 added, suite for PCEP expanded.

The TCPMD5 suite covers entirety of
https://wiki.opendaylight.org/view/TCPMD5:Lithium_Feature_Tests#How_to_test

Notable library (Robot Resource file in fact) is introduced:
ConfigViaRestconf, which simplifies the task of overriding
config-subsystem state at runtime using restconf, at least for XML data.
Tcpmd5-specific config data is present in variables file.

Testplan is included, which in future would run
all suites needed for testing user-facing karaf features
of BGPCEP and TCPMD5 projects.

Also, clone of basicpcep is added, named pcepuser.
The reason is that the new name is more natural
for the new testplan contents, but we do not want to break
existing jobs using basicpcep suite right now.

+ Pcep variables file contains comments, helpful and structured.
+ Resource (library) for PCEP operations added.
+ The pcepuser suite now covers the entire
https://wiki.opendaylight.org/view/BGP_LS_PCEP:Lithium_Feature_Tests#How_to_test

+ pep8 compliant
+ applied: python -m robot.tidy --inplace
+ ${RESTCONFPORT} and ${NEXUSURL_PREFIX} used
- ConfigViaRestconf keywords for JSON data are not implemented at all
- Quality of tcpmd5 variables file is somewhat lacking

Change-Id: I94e77d2effef77f7bf8c23d4bc61f2ceeeb3a034
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agogiving more flows to benchmark the rest api
Peter Gubka [Fri, 24 Apr 2015 09:11:42 +0000 (11:11 +0200)]
giving more flows to benchmark the rest api

adding 500 flows (100 fl x 5 threads) takes less than 3 seconds to
configure and 3 seconds is not enough to measure the real rate,
threfor i enlarged the mumber of flows to 10k (2k x 5 thr)

Change-Id: Iaf6e5d7cab62db0dfcb6347b4fffc50150f94d7e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
9 years agocbench testplan modification based on the renaming of the robot files
Peter Gubka [Thu, 23 Apr 2015 20:06:42 +0000 (22:06 +0200)]
cbench testplan modification based on the renaming of the robot files

Change-Id: I6304a1f3523c1ffbd54bc80db49a9142a2c4a26e
Signed-off-by: Peter Gubka <pgubka@cisco.com>