integration/test.git
8 years agoModify Longevity test to include only switch scalability test
Luis Gomez [Thu, 9 Jul 2015 03:51:19 +0000 (20:51 -0700)]
Modify Longevity test to include only switch scalability test

host scalability involves l2switch (not openflowplugin)

link scalability test is not stable yet

Change-Id: Ib55ff63aad1fe7d6c1cf73fa0974f458b27fe412
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
(cherry picked from commit 94f790d2334fa0cc56f12b876fc9b62278c40efa)

Change-Id: I9b014830bf49cd9731926d478c842c575f60caf7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoTest suite to configure hosts on 2 switches for vpnservice
Sindhuri [Mon, 29 Jun 2015 13:19:08 +0000 (06:19 -0700)]
Test suite to configure hosts on 2 switches for vpnservice

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

8 years agoInitial Docker Library for Robot
Marcus G K Williams [Wed, 10 Jun 2015 00:12:47 +0000 (16:12 -0800)]
Initial Docker Library for Robot

Wrapper for Docker-py to allow use in Robot System Tests

Change-Id: Iceaa48a42fbbee804039dbfa153737734e03fb66
Signed-off-by: Marcus G K Williams <Marcus.G.Williams@gmail.com>
8 years agoUpdate clustering tests for Continuous Integration
Phillip Shea [Mon, 22 Jun 2015 22:38:55 +0000 (15:38 -0700)]
Update clustering tests for Continuous Integration

Moved clustering tests to controller directory.

Replaced ${PORT} with ${RESTCONFPORT} in call to Wait For Controller Up.

This commit is a re-try of the following commit:
https://git.opendaylight.org/gerrit/#/c/23001/

It adds KEYFILE_PASS to variables.py
and then puts KEYFILE_PASS into
Run Command On Remote System.

It also contains the following from the
previous commit attempt:
    Change global variables to match those used in CI
    All ssh sign-ins now use certificates rather than passwords
    Remove Sleeps where possible.
    Move repeated variables into variables.py.
    Move repeated keywords into libraries.

Change-Id: Iacb328c89abe35d8c57eac4b4d081ff219b2e8b5
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoAdd openflow longevity testplan
Luis Gomez [Thu, 9 Jul 2015 00:16:30 +0000 (17:16 -0700)]
Add openflow longevity testplan

Change-Id: I7b4b43062063a8101a050d1cdcec6cfa9ade5847
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoBug 3330 - Add System Tests for GBP
Ruijing Guo [Wed, 24 Jun 2015 07:35:07 +0000 (07:35 +0000)]
Bug 3330 - Add System Tests for GBP

Change-Id: I0219761e915c0f38bbc01a0e6f9a813c781e2d5a
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoEnsure netvirt is loaded before executing the remaining tests cases.
Gabriel Robitaille-Montpetit [Thu, 2 Jul 2015 16:44:27 +0000 (12:44 -0400)]
Ensure netvirt is loaded before executing the remaining tests cases.

Change-Id: I5af54a00b68f98a93a874cc5ba407f6c6c27b29b
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoadding teardown part to log the ovs content
Peter Gubka [Wed, 8 Jul 2015 08:54:06 +0000 (10:54 +0200)]
adding teardown part to log the ovs content

Change-Id: I4a4eec94c778983a690636947b992ea7a5e6aaa0
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agogiving more time for He designed ofp to collect stats
Peter Gubka [Wed, 8 Jul 2015 10:27:31 +0000 (12:27 +0200)]
giving more time for He designed ofp to collect stats

Li designed plugin works well even with this setup
this has impact on *-sw-scalability-daily* jobs, better
result are expected

Change-Id: If23370cf5dbd2edeb50441016c222ba0cb65d1bb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoCorrect test case with the right html response code.
Gabriel Robitaille-Montpetit [Tue, 7 Jul 2015 18:45:16 +0000 (14:45 -0400)]
Correct test case with the right html response code.

Change-Id: I395e922e6ed32a2e862dfecdcbfcdd69038bbd5f
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoScript to test MD-SAL datastore read performance.
Gary Wu [Wed, 1 Jul 2015 18:49:16 +0000 (11:49 -0700)]
Script to test MD-SAL datastore read performance.

Add a new script to test MD-SAL clustering datastore
read performance.  It will iterate through a list
of controller nodes and repeatedly retrieve flows
previously populated by flow_config_blaster.py.

Change-Id: I76ff6e7f837b268fff5db1f11b340353a220580b
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agoIntroduce a Clean up OVS utility to use in Robot.
Gabriel Robitaille-Montpetit [Thu, 2 Jul 2015 15:26:22 +0000 (11:26 -0400)]
Introduce a Clean up OVS utility to use in Robot.

Change-Id: If2925ba1d9ea2eacdec6e7f76bdd0241ddf8b66a
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agominor improvement to be able to run the script from any location
Peter Gubka [Tue, 7 Jul 2015 10:21:52 +0000 (12:21 +0200)]
minor improvement to be able to run the script from any location

Change-Id: Ice274084144499f4fdab4e3fdcb360e59f2204c3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoRemove duplicated test plan for ovsdb souhtound.
Alexis de Talhouët [Fri, 3 Jul 2015 16:17:00 +0000 (12:17 -0400)]
Remove duplicated test plan for ovsdb souhtound.

One is declared here [1] and is used for csit, the other declared here [2]
isn't used. Thus this patch deletes [2]

[1] https://github.com/opendaylight/integration/blob/master/test/csit/testplans/ovsdb-southbound.txt
[2] https://github.com/opendaylight/integration/blob/master/test/csit/testplans/ovsdb-sbplugin.txt

Change-Id: I6f444b7e203364801af1d8993df0701e545d3194
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agonew robot to measure flow setup rate using add-flows-ds
Peter Gubka [Thu, 2 Jul 2015 12:38:47 +0000 (14:38 +0200)]
new robot to measure flow setup rate using add-flows-ds

- unifying performance suites and minor imrovements
- 090_BulkMaticConfigDsSetup_100k.robot - new robot
- 080_Rpc_100k_Flows_Configuration_Time_Measure.robot - adding rate to csv file
- 070_Stats_Collection_100k_WithMininetRestart.robot - adding rate to csv file
- new tesplan files

Change-Id: I1e812c8a21088907054128c328a83b08bea4bac7
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoadding a new suite for new rpc calls
Peter Gubka [Wed, 20 May 2015 12:32:47 +0000 (14:32 +0200)]
adding a new suite for new rpc calls

Change-Id: Id5c0a83c0718fb783f61c19e6b22dff1e7154a25
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix Failure to launch vtn coordinator
gvrangan [Tue, 23 Jun 2015 04:38:51 +0000 (13:38 +0900)]
Fix Failure to launch vtn coordinator

     * Excluded all cases other than add/remove controller
     * Fixed the installation of VTN coordinator

Change-Id: I76745303f3cb5847d5d55cb710cd89814b4115e6
Signed-off-by: gvrangan <venkatrangang@hcl.com>
8 years agoenlarging timeout
Peter Gubka [Thu, 2 Jul 2015 09:45:53 +0000 (11:45 +0200)]
enlarging timeout

when lots of switches are connected sometimes it takes more than 15s
for http response to be available and the keyword then runs only once
and we want more

Change-Id: Icb5438730be036f3afefffd96fff19066eb861e8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFixed prompt issue on Run Command on Remove System procedure
mahesh.manivasagam [Thu, 2 Jul 2015 05:42:18 +0000 (11:12 +0530)]
Fixed prompt issue on Run Command on Remove System procedure

Change-Id: I2c09b55630cc097e27d85f936c94a2da526b92ff
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
8 years agonew robot suite which will measure a time to setup flows using rpcs
Peter Gubka [Tue, 30 Jun 2015 13:17:44 +0000 (15:17 +0200)]
new robot suite which will measure a time to setup flows using rpcs

http request sent contains a list of flows to be set up, parralel
https connections should make ofp as busy as possible

testplan files created for the jobs

to mbe merged after https://git.opendaylight.org/gerrit/#/c/23511/

Change-Id: I26450a0b5b8d896c5ed57ad9143f94121bc89ac1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFixed Bug 2429 Verification CI
Jamo Luhrsen [Thu, 25 Jun 2015 18:14:17 +0000 (11:14 -0700)]
Fixed Bug 2429 Verification CI

the initial test was unable to pull the thread count of the controller
*after* running the DOS attack with the 'nc' tool.  Changing from the
Run command to the "Start Process" keyword helps with that.

Also added a few extra debug outputs that may help in the event this
test fails.

Change-Id: I8c34c75c85a4c8ea781a8a0c1d13f8ae4b664fff
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
8 years agoremoving sleep from the suite and improving setup verify
Peter Gubka [Wed, 1 Jul 2015 13:47:49 +0000 (15:47 +0200)]
removing sleep from the suite and improving setup verify

Change-Id: I81b6a57069ed355a7be6ddb26c4b8dad3d0b0252
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoadding a new config functions to use several /restconf/operations
Peter Gubka [Mon, 29 Jun 2015 13:01:29 +0000 (15:01 +0200)]
adding a new config functions to use several /restconf/operations

minor refactoring to have one general task executor and sender

Change-Id: Iab8d7ae4f17fda1875b97c538a2e72c66a19bc10
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoRemove tox <1.6 workaround
Thanh Ha [Tue, 30 Jun 2015 20:20:48 +0000 (16:20 -0400)]
Remove tox <1.6 workaround

With https://git.opendaylight.org/gerrit/23610 merged we no longer need
this workaround.

Change-Id: I96d4f02839a802200f2e4b924e173d533e6e3cb9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd more commands to completely cleanup the OVS instance.
Gabriel Robitaille-Montpetit [Thu, 25 Jun 2015 20:54:38 +0000 (16:54 -0400)]
Add more commands to completely cleanup the OVS instance.

Change-Id: I4c05640f40355cb05468fc528a0b2dd5b64e1613
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agoFix for robot CSIT - Tested using the Sandbox.
Gabriel Robitaille-Montpetit [Thu, 25 Jun 2015 19:21:20 +0000 (15:21 -0400)]
Fix for robot CSIT - Tested using the Sandbox.

Change-Id: I71deb59955c4fdf172206e6ecb782dd127eae2aa
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
8 years agofixing python issues with string formating in odl jenkins env
Peter Gubka [Tue, 30 Jun 2015 08:00:04 +0000 (10:00 +0200)]
fixing python issues with string formating in odl jenkins env

Change-Id: I71c8a99b74e711c6b748fc04fdf4e4b40ba6a372
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agorequiretty log help for cluster-deployer
Kamal Rameshan [Tue, 16 Jun 2015 01:16:19 +0000 (18:16 -0700)]
requiretty log help for cluster-deployer

Change-Id: I816106f33a3d7f57051e15a4f85360c37c2bd396
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
(cherry picked from commit 5b43cd3466bb17729bb3cee042e117faa43ad675)

8 years agoCleanup activity on LACP feature scripts. Added the prompt info. on the lag resilienc...
mahesh.manivasagam [Thu, 18 Jun 2015 10:05:58 +0000 (15:35 +0530)]
Cleanup activity on LACP feature scripts. Added the prompt info. on the lag resiliency & flow entry stats robot files to override the existing prompt variable

Change-Id: Ife12243fb4cfcd23854eacd4dc0f329d98676afd
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
8 years agofixing the wrong suite file name in the ofp testplan
Peter Gubka [Mon, 29 Jun 2015 21:13:54 +0000 (23:13 +0200)]
fixing the wrong suite file name in the ofp testplan

Change-Id: I5383d445f0dd76a56dbf9f1a5566778b56b0c499
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix flow_config_blaster hanging on network errors
Gary Wu [Wed, 24 Jun 2015 17:36:35 +0000 (10:36 -0700)]
Fix flow_config_blaster hanging on network errors

flow_config_blaster was hanging on network errors
(e.g. bad hostname) and not exiting properly.
This fixes the issue by using thread.join instead
of waiting for a manually tracked thread count.

Also added a default timeout for connections.

Change-Id: I8b858d12393b4f1d70379233f0a6b35e63d95beb
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agocreating a new test suite to find out maximum number of switches connected
Peter Gubka [Fri, 19 Jun 2015 23:19:16 +0000 (01:19 +0200)]
creating a new test suite to find out maximum number of switches connected

the idea is not to start and stop mininet with different paramentes, but to
add (and remove) switches to the running topology

the other idea is to make that test not as long as the one running from
../../../testplans/openflowplugin-scalability-daily.txt (1.5h). The new suite
has to last much less.

Existing testplans were updated to point on certain files, not the whole directory,
so new robot file can be placed there.

Change-Id: Ifc7c9beb103b87d049f112ac57215705b8364412
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoAdded cli directory for nic-basic JJ
Alton Fong [Fri, 26 Jun 2015 16:37:31 +0000 (09:37 -0700)]
Added cli directory for nic-basic JJ

Change-Id: I2d28190b965513579851871c3321ec5f0b34aedd
Signed-off-by: Alton Fong <alton.fong@hp.com>
8 years agoAdded Tests for RESTCONF on NIC
Alton Fong [Wed, 24 Jun 2015 14:59:39 +0000 (07:59 -0700)]
Added Tests for RESTCONF on NIC

Change-Id: Ic5e4feb43e56d38f9f3ed9e875f913634cfffdd7
Signed-off-by: Alton Fong <alton.fong@hp.com>
8 years agoVerifying fib in operational DS instead of config DS release/lithium
Sindhuri [Thu, 25 Jun 2015 07:01:48 +0000 (00:01 -0700)]
Verifying fib in operational DS instead of config DS

Signed-off-by: Sindhuri <sindhuri.b@ericsson.com>
8 years agoremote_host.py: re-use ssh session across commands
Gary Wu [Wed, 24 Jun 2015 17:19:40 +0000 (10:19 -0700)]
remote_host.py: re-use ssh session across commands

Refactored remote_host.py to re-use a single ssh
connection to each cluster node for multiple
shell commands, instead of creating a separate
ssh connection for each command to be executed.
This reduces the delays experienced in the ssh
connection startup.

Change-Id: I74395ed3f2a90f6fc3fef1a509f48f9bcba7aff4
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
8 years agoCleaning the ovsdb node completely for other test
Chaudhry Muhammad Usama [Tue, 23 Jun 2015 17:48:39 +0000 (10:48 -0700)]
Cleaning the ovsdb node completely for other test

Change-Id: I5dacf7c50bc048e58417fa60b0a9e4cb447cbf9c
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agotest suite updated to measure the time needed for stats collection
Peter Gubka [Tue, 23 Jun 2015 13:26:32 +0000 (15:26 +0200)]
test suite updated to measure the time needed for stats collection

there is a need to plot the measured time which is needed for stats
to be collected in operational ds (inventory)

the delay between two triggers to inventory was decreased to 1s to
get a more precise time

monitoring change period was incresed to 450s. If timeout occures,
particular test case will fail and max time (450s) will be stored as
collection time

Change-Id: I0fe436055e1859f0d3f7db93100955e7815cf2e6
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoAdd tests for NIC (Network Intent) CLI features.
altonfong [Sat, 20 Jun 2015 02:21:37 +0000 (19:21 -0700)]
Add tests for NIC (Network Intent) CLI features.

Change-Id: Ief020df806ab2c93d4794b789b96530f77b905bc
Signed-off-by: Alton Fong <alton.fong@hp.com>
8 years agoChanged the order of the testsuites and added operational check after each operation
Chaudhry Muhammad Usama [Mon, 22 Jun 2015 22:00:53 +0000 (15:00 -0700)]
Changed the order of the testsuites and added operational check after each operation

Change-Id: Ia68400bd3a093501f655015f7194b884ad172ab4
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agoAdd support to deploy Coordinator from test suites
gvrangan [Tue, 2 Jun 2015 10:42:08 +0000 (19:42 +0900)]
Add support to deploy Coordinator from test suites

   + Add a new TEST VTNC_LAUNCH to download ad launch Coordinator
   - Remove tags in test cases to enable them
   + VTN_C_LAUNCH to testplan to run first before the OF10 and OF13
   + robot.tidy executed on all robot files
   + Excluded the topology test cases

Change-Id: I43dcbffff5ba91fe99282f2b1b0d85c49a202f4b
Signed-off-by: gvrangan <venkatrangang@hcl.com>
8 years agoBug 3827 - Chinese contributors fail to build integration test vm
Ruijing Guo [Sun, 21 Jun 2015 05:34:48 +0000 (13:34 +0800)]
Bug 3827 - Chinese contributors fail to build integration test vm

Change-Id: Ife0ac086c3ba1d303aab8aa119fd08b6576a1326
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoOVSDB netvirt: add variables to custom.properties
Alexis de Talhouët [Fri, 19 Jun 2015 20:07:19 +0000 (16:07 -0400)]
OVSDB netvirt: add variables to custom.properties

This patch adds values to the custom.properties to enable l3 forwarding.

Note: I wasn't able to test it offline

Change-Id: Ie5f2c97e79289e5598a8add2da4e762b72117cb4
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoRevert "Update clustering tests for Continuous Integration"
Phillip Shea [Mon, 22 Jun 2015 21:26:06 +0000 (21:26 +0000)]
Revert "Update clustering tests for Continuous Integration"

This reverts commit 4b29b890c4baa4d30bea955ab17aaa7c6d5caed6.

Change-Id: I510dce690b6bfb11f220891cd492c9a310e9e002
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoUpdate clustering tests for Continuous Integration
Phillip Shea [Fri, 19 Jun 2015 17:30:38 +0000 (10:30 -0700)]
Update clustering tests for Continuous Integration

This commit is a re-try of the following commit:
https://git.opendaylight.org/gerrit/#/c/22652/

The following changes were made:
    Change global variables to match those used in CI
    All ssh sign-ins now use certificates rather than passwords
    Remove Sleeps where possible.
    Move repeated variables into variables.py.
    Move repeated keywords into libraries.

Change-Id: I3c67c9fa5cbbfb1219f38cb9741481c28357185a
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agofixing the lib to be compatible with mininet
Peter Gubka [Fri, 19 Jun 2015 09:11:44 +0000 (11:11 +0200)]
fixing the lib to be compatible with mininet

mininet start indexing switches with 1 but the lib did it with 0,
now the lib will start with 1 too

Change-Id: Ibbff0a43fe954ec49c439b8acf8cbdbf045d0081
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix race conditions in lispflowmapping tests
Lorand Jakab [Thu, 18 Jun 2015 18:33:53 +0000 (21:33 +0300)]
Fix race conditions in lispflowmapping tests

Ever so often there are some tests failing, because an add or remove
operation isn't processed internally by ODL before the next read is
sent.  Add some very short sleep periods to avoid failures of this type.

Change-Id: I9a4ad8dfae737e29897a796dadade444138bbf88
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit e2724f305927b6a69ca62355cf10b0070ed2b1f4)

8 years agoFix failing TC in flow-services suite
Luis Gomez [Fri, 19 Jun 2015 02:42:36 +0000 (19:42 -0700)]
Fix failing TC in flow-services suite

A patch has been finally merged to set default flow timeouts=0

Change-Id: I52e5fcab72445543109bc020237b77952659c054
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoFix test case to pass in CI
Luis Gomez [Fri, 19 Jun 2015 03:00:49 +0000 (20:00 -0700)]
Fix test case to pass in CI

Netopeer has a bug that makes this TC to fail.

Change-Id: I3ec344f3f3caf044dd05ba5606b0f74759d518ba
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoFixing minor syntax errors on variables. "switchouput" to "switchoutput"
Kailash Khalasi [Thu, 18 Jun 2015 23:00:06 +0000 (23:00 +0000)]
Fixing minor syntax errors on variables. "switchouput" to "switchoutput"

Change-Id: Ic38e1efc7feead907ff9417891fd75df6f23c580
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
8 years agoAdded scripts to start HBase server before controller
vasanthan_balasubram [Thu, 11 Jun 2015 10:34:16 +0000 (16:04 +0530)]
Added scripts to start HBase server before controller
Added Waiting time for 6 polling cycle for TSDR collection

Change-Id: I9f4a652270231175e2f68e4abccb78929656d03f
Signed-off-by: vasanthan_balasubram <vasanthan_balasubram@dell.com>
8 years agoTest case for ovsdb netvirt
Mohamed El-Serngawy [Fri, 12 Jun 2015 20:58:44 +0000 (16:58 -0400)]
Test case for ovsdb netvirt

Change-Id: Ia852ec603efde41802caeee390f01e95120d5d77
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
8 years agoTest Cases for PacketCable PCMM Service
Mohamed El-Serngawy [Thu, 18 Jun 2015 21:56:25 +0000 (17:56 -0400)]
Test Cases for PacketCable PCMM Service

Change-Id: I42da2b83d884988d1d2af62053b22b978744ded1
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
8 years agoFix Bug 3797 - setup java home for integration test VM
Ruijing Guo [Thu, 18 Jun 2015 08:28:50 +0000 (16:28 +0800)]
Fix Bug 3797 - setup java home for integration test VM

Change-Id: I2dc3c37b2100a0f2938cf87f8140e1bd5efcb2ed
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoAdd csit for NIC
Alexis de Talhouët [Thu, 18 Jun 2015 18:01:49 +0000 (14:01 -0400)]
Add csit for NIC

Change-Id: I9258134bdb8f5763d55452e784d77a2183ba21a6
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agosmall fix to be used with requests==1.1.0
Peter Gubka [Thu, 18 Jun 2015 10:16:09 +0000 (12:16 +0200)]
small fix to be used with requests==1.1.0

Any suite using this lib got stuck. Session does not have prepare
function for requests==1.1.0. This lib was initially tested with
newer requests librabry, so the bug did not appear earlier.

Change-Id: Ic6d0c87aa18232e7cf9f61f681e55aa5e2470eb8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoAdd test plan for OVSDB netvirt
Alexis de Talhouët [Thu, 18 Jun 2015 15:51:19 +0000 (11:51 -0400)]
Add test plan for OVSDB netvirt

Change-Id: Ie3ee84a95753b2c0634cf1b1d2f81fc8c5a883fd
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoadding more heap for a scale test
Peter Gubka [Wed, 17 Jun 2015 11:41:38 +0000 (13:41 +0200)]
adding more heap for a scale test

the job https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-periodic-1node-cds-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/1/
is stuck for hours and i believe that it is due to memory consumed and
therefor http requests are not responded

Change-Id: I6d578ae685452e72eb6060383ddba36f1b9775a7
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoAdd connection manager to Openstack_Neutron test suite.
Alexis de Talhouët [Wed, 17 Jun 2015 20:52:16 +0000 (16:52 -0400)]
Add connection manager to Openstack_Neutron test suite.

This robot file setup the connection between OVS and ODL.
It also verifie the connection is correctly set up, and
flows are correctly pushed to the OVS instance, creating a bridge,
a port and an interface.

Patch Set 1: Initial commit
Patch Set 2: Remove whitespaces
Patch Set 3: Remove useless library, setup and teardown. Also update tests documentation
Patch Set 4; Rebase and clean

Change-Id: I17055fab4a65ff86f419fac29f84a241edd52ce7
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
8 years agoPatch to solve the failure Issue of 2 robot tests
Chaudhry Muhammad Usama [Wed, 17 Jun 2015 19:47:42 +0000 (12:47 -0700)]
Patch to solve the failure Issue of 2 robot tests

Change-Id: Iccc73947888d4e93bda302ff18906ee0d3680ff7
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agoCleanup activities in __init__.robot
mahesh.manivasagam [Wed, 17 Jun 2015 05:38:00 +0000 (11:08 +0530)]
Cleanup activities in  __init__.robot

Change-Id: I8d7298b0c26a12026285813ee326be43f2812477
Signed-off-by: mahesh.manivasagam <mahesh_manivasagam@dell.com>
8 years agoadding a scale test for statistic collection and its it's testplans
Peter Gubka [Fri, 12 Jun 2015 17:05:12 +0000 (19:05 +0200)]
adding a scale test for statistic collection and its it's testplans

ScaleClient.py - updated to support bulk configurations of flows
070_Stats_Collection_100k_WithMininetRestart.robot - test suite itself
   connect mininet with 63 switeshes, configures 100k flows, reconnect mininet,
   remove flow configuration while monitoring inventory content between these steps
testplans

Change-Id: I4ee1abb0b6aac2ef8120b8e62b55d50cdd16a2ee
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoTidy for clustering test suite.
Phillip Shea [Mon, 15 Jun 2015 22:32:41 +0000 (15:32 -0700)]
Tidy for clustering test suite.

These are all the fixes from running tidy.robot on all files
in the clustering test suite.

Change-Id: I659e57ad133c0928d70022cc29902936828903e2
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoFix VTN Manager CSIT Cases
gvrangan [Wed, 10 Jun 2015 06:11:36 +0000 (15:11 +0900)]
Fix VTN Manager CSIT Cases

+ Get VTN Version to verify if VTN Manager is up

Change-Id: I6dc2966f413c36c85f5acea232792de315ae70da
Signed-off-by: gvrangan <venkatrangang@hcl.com>
8 years agoMaking OVS Switch Prompts configurable.
Kailash Khalasi [Fri, 12 Jun 2015 16:35:46 +0000 (16:35 +0000)]
Making OVS Switch Prompts configurable.

Change-Id: I4e02b78870f822466d28ced66388889d09fedf0f
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
(cherry picked from commit d9f02530840a28883fab792d8ecfd0c82daa4619)

8 years agoModifications to deployer to install a dsbenchmark distribution
Moiz Raja [Fri, 12 Jun 2015 21:14:32 +0000 (14:14 -0700)]
Modifications to deployer to install a dsbenchmark distribution

- Made a bunch of changes to deploy.py to just make it pep8 compatible
- Made some modifications so that if a template does not exist we
  return nothing. This allows us to put copy some of the templates
  only if they are available
- Added a new template for dsbenchmark tests

Change-Id: I9f3b274533c191d6e42b438dac75bb7830c3986a
Signed-off-by: Moiz Raja <moraja@cisco.com>
8 years agoUpdate the feature-repositories parameter in the openflow template
Kamal Rameshan [Sat, 13 Jun 2015 22:19:03 +0000 (15:19 -0700)]
Update the feature-repositories parameter in the openflow template

Change-Id: I180b3b24755b351f43f9639ee8673ccccc7684b9
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
8 years agoThe start of some scripts to help debug performance issues
Moiz Raja [Wed, 10 Jun 2015 21:25:35 +0000 (14:25 -0700)]
The start of some scripts to help debug performance issues

This may all be done in a better way but I'm hoping for this
to be a start

Change-Id: Ie73a1c708efca9f463e3cb85cc77ca0e70cac15e
Signed-off-by: Moiz Raja <moraja@cisco.com>
8 years agoreplacing the usage of private RequestsiLibrary to system one
Peter Gubka [Fri, 12 Jun 2015 09:36:28 +0000 (11:36 +0200)]
replacing the usage of private RequestsiLibrary to system one

tity tool used to correctly format the file

Change-Id: I6968172c14beb8c144acd5f3b94f2ae1ea84acc1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoConfigure for minimum required features in deployer template.
Phillip Shea [Thu, 11 Jun 2015 23:22:03 +0000 (16:22 -0700)]
Configure for minimum required features in deployer template.

odl-mdsal-clustering is installed by default in
Lithium, so it's no longer needed.

Change-Id: I4b8aeb212d0668f68d5b49f3bb9f5d283481a7fb
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoAdded testcase to fetch specific capwap wtp ipv4 address.
Sajan Liyon [Tue, 9 Jun 2015 15:18:30 +0000 (20:48 +0530)]
Added testcase to fetch specific capwap wtp ipv4 address.

Change-Id: Id7758a7eb70b4db765fe900cfb23b4e2b4fcc6cb
Signed-off-by: Sajan Liyon <sliyon@brocade.com>
8 years agoAdd RPC data type test cases for lispflowmapping
Lorand Jakab [Wed, 10 Jun 2015 19:32:57 +0000 (22:32 +0300)]
Add RPC data type test cases for lispflowmapping

Change-Id: I6c69873c9b35ef70077ae6ba1c75cfc3d6ebd085
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit 738f9f70cecc6ab389353803e337636f4bc7869e)

8 years agoAdding a testplan file for running datastore tests in CI.
Phillip Shea [Wed, 10 Jun 2015 18:13:57 +0000 (11:13 -0700)]
Adding a testplan file for running datastore tests in CI.

This testplan file  with be for the clustering datastore tests.
Also adding a cluster-deployer template with a large number of features
for use in exploratory testing. This template will not be used in CI.

Change-Id: Ib7117215492b34b2f37f70d362ac950754e8ef0e
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoskip clear-actions check element in flow compare
Jamo Luhrsen [Wed, 10 Jun 2015 21:38:25 +0000 (14:38 -0700)]
skip clear-actions check element in flow compare

the newer flow test suites has some flows that does a clear-actions
but that does not show up in the switch, as it just clears out all
existing actions.  So that element will not show up in operational
so we can skip it.

Change-Id: Iced26004df2c40c88ead5c92fa777d7178723d16
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoChanging the way the mac addrs is extracted from OVS switches.
Kailash Khalasi [Wed, 10 Jun 2015 17:45:43 +0000 (17:45 +0000)]
Changing the way the mac addrs is extracted from OVS switches.

Since the "s1" interface and "s1" is hard-coded, this is a safer approach.

On Fedora, I found that the mac addr wasnt being extracted(but worked for Ubuntu).

This command will work for both platforms, and others as it uses
regular expression.

Change-Id: I008b1a3681eabdace6fbe26346750fb3b1169f7d
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
8 years agoClustering datastore tests for Lithium.
Phillip Shea [Wed, 3 Jun 2015 19:09:36 +0000 (12:09 -0700)]
Clustering datastore tests for Lithium.

Some datastore functionality has changed between Helium and Lithium. The crud and settings libraries
needed to be modified for changes in restconf for the cars shard. Also, an unneccessary sleep was removed
from the crud library. Because there's a difference in the installed features required for Hydrogen
and Lithium cluster testing, the multi-node-test clustering template was changed. Some other features to
help with troubleshooting were also added. Finally, the clustering template temp directory was added to
gitignore to simplify test development.

Change-Id: I8b704d57af64985d8d4be6d2454601371c0f55e8
Signed-off-by: Phillip Shea <phillip.shea@hp.com>
8 years agoOVSDB Southbound testsuites, Earlier vlan port command was missing
Chaudhry Muhammad Usama [Wed, 10 Jun 2015 03:46:30 +0000 (20:46 -0700)]
OVSDB Southbound testsuites, Earlier vlan port command was missing

Change-Id: I8723acbea96407e91b93040c9aa8538726ea5ab8
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agonew scalability testplan for Li-designed openflowplugin
Peter Gubka [Wed, 10 Jun 2015 07:46:43 +0000 (09:46 +0200)]
new scalability testplan for Li-designed openflowplugin

Change-Id: I1bf1fe1e0d26ddafaba315acf13b016f2699d8f4
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix lispflowmapping RPC CRUD tests
Lorand Jakab [Tue, 9 Jun 2015 08:56:34 +0000 (11:56 +0300)]
Fix lispflowmapping RPC CRUD tests

Relative path names are causing the lispflowmapping RPC CRUD tests to
fail with the error message:

    IOError: [Errno 2] No such file or directory:
    u'/opt/variables/lispflowmapping/rpc_add-key_ipv4.json'

Adding the ${CURDIR} variable in front of the path should fix the issue.

Change-Id: I63d7ef22b0aa9a7907cb529dc3440bcba7a2b577
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit 8b48459de4a846213156e81848afe935432b96d4)

8 years agoOVSDB Southbound TestSuites Updated
Chaudhry Muhammad Usama [Mon, 8 Jun 2015 18:47:46 +0000 (11:47 -0700)]
OVSDB Southbound TestSuites Updated

Change-Id: I362d90491fbd531cb2d8cdc6165e3a93450a50af
Signed-off-by: Chaudhry Muhammad Usama <chaudhryusama@gmail.com>
8 years agoKill all the controllers first before deploying
Moiz Raja [Fri, 5 Jun 2015 20:25:50 +0000 (13:25 -0700)]
Kill all the controllers first before deploying

This is to ensure that when deployment of a node is slow it does not
cause the new node to join an old cluster and to truly ensure a quick
start

Change-Id: I3ff3c8f483a2aa4ee7cc8d1ae5fcb83443dd396b
Signed-off-by: Moiz Raja <moraja@cisco.com>
8 years agoAdd RPC CRUD test cases for lispflowmapping
Lorand Jakab [Mon, 8 Jun 2015 09:45:23 +0000 (12:45 +0300)]
Add RPC CRUD test cases for lispflowmapping

Change-Id: I2dcc1de462e03db11deb11cdd690e130ecbb9fed
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit ca3ae4dbcda2d6fa9c4b3f7f46a5f377b25981be)

8 years agoTest plan for link scale test on lithium-redesign
sandeepg [Tue, 9 Jun 2015 00:37:16 +0000 (17:37 -0700)]
Test plan for link scale test on lithium-redesign

Change-Id: Ic728df45f06e2df30fe27082622e3c0495fe0aa0
Signed-off-by: sandeepg <SANDEEP.GANGADHARAN@HP.COM>
8 years agotestplan for didm
Pratima Doma [Mon, 8 Jun 2015 18:17:13 +0000 (11:17 -0700)]
testplan for didm

Change-Id: Idd5ca8243ca5b0dca86470bf8f5fd99aed9a8be2
Signed-off-by: Pratima Doma <pratima.doma@hp.com>
8 years agoAdded a library and test case for capwap project.
Vaibhav Bhatnagar [Wed, 3 Jun 2015 19:37:39 +0000 (01:07 +0530)]
Added a library and test case for capwap project.

Change-Id: Ibd1e8cc7a1f6a5366e7aac2fac379851d537d4fd
Signed-off-by: Vaibhav Bhatnagar <vbhatnag@brocade.com>
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
8 years agoFix issue with kill_controller not working in certain environments
Moiz Raja [Fri, 5 Jun 2015 01:02:06 +0000 (18:02 -0700)]
Fix issue with kill_controller not working in certain environments

Move the kill functionality to a separate shell script which is
copied over to the destination system before invoking it

Change-Id: If9c01746263448e4dcb8920ebd962fe745275c8b
Signed-off-by: Moiz Raja <moraja@cisco.com>
8 years agoIncrementing versions by 0.1.0 for post-lithium master branch
Luis Gomez [Sat, 6 Jun 2015 00:21:56 +0000 (17:21 -0700)]
Incrementing versions by 0.1.0 for post-lithium master branch

Change-Id: I1318fc8f2de6a66a6e166d159b16a05e16a62b2f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agodidm basic verification
Pratima Doma [Wed, 3 Jun 2015 21:33:02 +0000 (14:33 -0700)]
didm basic verification

addressed: more information onto Documentation on to line 28
Change-Id: I63a2695015a5d2ce562ba27a8bdabed032efc1d4
Signed-off-by: Pratima Doma <pratima.doma@hp.com>
8 years agoadding a statistic monitor script + minor changes
Peter Gubka [Thu, 4 Jun 2015 09:18:15 +0000 (11:18 +0200)]
adding a statistic monitor script + minor changes

flow_add_delete_test.py - fixed output message

inventory_crawler.py - fix the problem when one instance of
  crawler runs more than once it did count nodes togenther

Change-Id: I3f59031349c18e1ed0e995e8a1d62c3a92512e2f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoUse full path to push custom mininet topo to VM
Jamo Luhrsen [Thu, 4 Jun 2015 19:05:16 +0000 (12:05 -0700)]
Use full path to push custom mininet topo to VM

Change-Id: I7cd3dd46c688dbf717d60092a9c11c72453f7c5f
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
(cherry picked from commit f7b1f3a989ecbc23b4856a555444acfba218064e)

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>