integration/test.git
7 years agoRemove old Boron perf report stub docs 17/54217/1
Daniel Farrell [Sun, 2 Apr 2017 19:09:35 +0000 (15:09 -0400)]
Remove old Boron perf report stub docs

Change-Id: I7c1a6d436de0fc8bd9e52ee46783ed0d73141283
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix federation rabbit script to support multisite 27/53527/4
Alon Kochba [Sun, 19 Mar 2017 13:05:17 +0000 (15:05 +0200)]
Fix federation rabbit script to support multisite

Depends-On: https://git.opendaylight.org/gerrit/#/c/50066/
Change-Id: I92f85816d904d114ac5d85ae5e2786bc26327f77
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoNetvirt CSIT with controller based DHCP 60/53560/9
Alon Kochba [Mon, 20 Mar 2017 13:08:52 +0000 (15:08 +0200)]
Netvirt CSIT with controller based DHCP

Change-Id: I56e124e320993d9d5617911402e6b54638ae1735
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoFix l2switch max host test 80/54080/12
Luis Gomez [Wed, 29 Mar 2017 19:45:16 +0000 (12:45 -0700)]
Fix l2switch max host test

- Repair and clean WorkFlowL2switch library
- Rework suite to use WorkflowL2switch library
- Add l2switch KWs to FlowLib and MininetKeywords

Change-Id: I96ef6332f3ee83a894594dc34d6b2cfd735cc547
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoChanges due to the refactor dhcp function patch 87/54087/2
abbas [Thu, 30 Mar 2017 05:40:43 +0000 (22:40 -0700)]
Changes due to the refactor dhcp function patch

Change-Id: Ib87acd07b6670f95e8770feed3db10c99cd8feb7
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
7 years agoIntroduce a WUKS analogue which can fail fast 93/54093/8
Vratko Polak [Thu, 30 Mar 2017 17:59:28 +0000 (19:59 +0200)]
Introduce a WUKS analogue which can fail fast

WaitUtils.Wait_For_Getter_Failure_Or_Stateless_Validator_Pass

Change-Id: I9267e07bc177d8dc6fed4f0eb9e60d3a913f8462
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoJSONRPC PROJECT BASIC TC 01/52801/8
Sreekalyan Devaraj [Fri, 3 Mar 2017 22:33:32 +0000 (14:33 -0800)]
JSONRPC PROJECT BASIC TC

   Addressing comments by Luis
   Changing sequence of operations on test case
   Adding a keyword to parse output
   Adding a new variable for read service
   Fixing tidy issues
Change-Id: I55f4dfd90afa75ac74958519ccd3c92597a3a4fc
Signed-off-by: Sreekalyan Devaraj <kalyan.ds@gmail.com>
7 years agoReplace empty input container data with no data 90/54090/1
Peter Gubka [Thu, 30 Mar 2017 09:36:02 +0000 (11:36 +0200)]
Replace empty input container data with no data

Change-Id: Ifbc21e0e26d3d3b0b81a7bb695b707881ec0f914
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoChange OF Reconciliation suite to accept scalar 10/54010/7
Luis Gomez [Wed, 29 Mar 2017 05:23:10 +0000 (22:23 -0700)]
Change OF Reconciliation suite to accept scalar

Change-Id: I3843abf556039cad7b94f7e4a80e19d3e68140db
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAdd SSHKeywords library 13/53813/2
Jamo Luhrsen [Fri, 24 Mar 2017 20:00:41 +0000 (13:00 -0700)]
Add SSHKeywords library

Change-Id: Ie6a37dc435588b4d6d278a819b01bc11ea047fa7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix for VTN and Legacy Netvirt CSIT Failure 93/53893/12
Karthik.S [Mon, 27 Mar 2017 16:25:11 +0000 (21:55 +0530)]
Fix for VTN and Legacy Netvirt CSIT Failure

This patch prevents creating vlan provider segment when executing the
tests for Legacy Netvirt and VTN. It is supported by the other features
that enable Openstack integration.

Change-Id: I40a5d2d750dce7ae2f3e89ab42388809fe2969ca
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRefactor stats collection test 06/54006/3
Luis Gomez [Wed, 29 Mar 2017 01:37:07 +0000 (18:37 -0700)]
Refactor stats collection test

- Set default 32 switches
- Set default 300 flows per request
- Make stats graph more clear

Change-Id: Ibb93a965df2068d20ecf6bbae46fe70e22d5bbf6
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agouse variable to keep security-group name 23/54023/2
Valentina Krasnobaeva [Wed, 29 Mar 2017 09:36:10 +0000 (11:36 +0200)]
use variable to keep security-group name

Define and use string variable ${SECURITY_GROUP} to keep neutron
security-group name.

Change-Id: I1ae28b2d13c24a9ff9bb9dae19d1d2cfa34c658f
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Acked-by: Philippe Guibert <philippe.guibert@6wind.com>
7 years agoChange natapp testplan name to use .txt extension 99/53999/2
Jamo Luhrsen [Tue, 28 Mar 2017 17:24:14 +0000 (10:24 -0700)]
Change natapp testplan name to use .txt extension

Change-Id: Ieebab555867d1b27a0e47099a9d089a7fd116a6c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd bier test suites and testplan 35/52135/10
Quan Xiong [Wed, 22 Feb 2017 03:03:56 +0000 (11:03 +0800)]
Add bier test suites and testplan

Change-Id: Idb134ca4e89fa069bb077fbced582a9b1a9c9107
Signed-off-by: Quan Xiong <xiong.quan@zte.com.cn>
7 years agoAdd a FIXME to mdsal binding suite 60/53960/3
Vratko Polak [Tue, 28 Mar 2017 15:11:45 +0000 (17:11 +0200)]
Add a FIXME to mdsal binding suite

+ Also, folder should not end with slash.

Change-Id: I7b36d4469b40e34ebb905c0285f7b4307704b7db
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoCleanup DHCP IP collection, don't mix with VM IPs 67/53867/2
Alon Kochba [Sun, 26 Mar 2017 17:33:24 +0000 (20:33 +0300)]
Cleanup DHCP IP collection, don't mix with VM IPs

Currently in the L2 and external suite we mix the DHCP IP
with the VM IPs, including wasting time on pinging to it.

This corrects the behavior to be the same as the L3 suite
across all suites, without mixing the DHCP IP into the VM IPs.

Change-Id: I3c5727453f5ac3abb072a7b2ed77f7543b7f1247
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd Cluster routing tests 34/49334/53
Martin Mihálek [Thu, 23 Mar 2017 17:04:33 +0000 (18:04 +0100)]
Add Cluster routing tests

Change-Id: I37b7c8bd6b130287f2b79db50bd6e83830093ac5
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoUse a black regex file for tempest test 12/53812/6
Jamo Luhrsen [Fri, 24 Mar 2017 19:46:07 +0000 (12:46 -0700)]
Use a black regex file for tempest test

previously we knew that mitaka ostestr did not allow the --black-regex
option and newton does. But, mitaka and newton (assuming future
releases too) allow a black regex file.

this patch also addresses one small refactor request to move a
copy utility to the  more logical SSHKeywords library.

Change-Id: I9d9c350a5eb6f0dad6693f36683031df7b2e6515
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix timeout value according to guidelines 90/53890/3
Miguel Angel Muñoz Gonzalez [Mon, 27 Mar 2017 10:07:43 +0000 (12:07 +0200)]
Fix timeout value according to guidelines

Instead of number of times, a retry interval in seconds is provided.

Change-Id: I7ac4a8595535fcecbd1ba957613d057a3177d57a
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
7 years agoMake commit message queries more url friendly 99/53899/2
Sam Hague [Mon, 27 Mar 2017 14:18:32 +0000 (10:18 -0400)]
Make commit message queries more url friendly

When searching for commit messages like:
"Bug 7915 - Zero flows populated in all switches when
connected to Leader Node"
the - is interpreted as a control character. gerrit query
 expects to see
spaces as +, _ or -1, so thsi patch converts to + and you
 end up with:
"Bug+7915+-+Zero+flows+populated+in+all+switches+when+connected
+to+Leader+Node"

Change-Id: I1c07bcd0dc4960ec845d3fb03bd41212363cfa44
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoRename testcase in netvirt L2 suite 59/53859/1
Alon Kochba [Sun, 26 Mar 2017 12:11:14 +0000 (15:11 +0300)]
Rename testcase in netvirt L2 suite

Change-Id: Ifbddbd2e6ad1c8a606d1cc82036e2ba3a86e03a1
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoConfigure timeout in Open_Connection_* keywords 60/39360/5
Vratko Polak [Fri, 24 Mar 2017 17:40:30 +0000 (18:40 +0100)]
Configure timeout in Open_Connection_* keywords

The value of this timeout argument is passed "as is" to the
"Open Connection" keyword invocation that is inside of these
keywords. This is needed by suites that require a different
timeout from the default one.

Change-Id: I6681343be3bfbb43e198e347814a16a4cde9d19e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoLISPflowmapping: $BRANCH -> $GERRIT_BRANCH 04/53804/1
Lorand Jakab [Fri, 24 Mar 2017 17:13:21 +0000 (19:13 +0200)]
LISPflowmapping: $BRANCH -> $GERRIT_BRANCH

Since $BRANCH is no longer set in the environment, use $GERRIT_BRANCH
instead.

Change-Id: I68e4259d59d2b03eb5d8abecabf810367f182be8
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agorefactor dhcp function 42/51442/20
Mor Zvi [Sun, 5 Feb 2017 16:14:34 +0000 (18:14 +0200)]
refactor dhcp function

change Verify VMs Received DHCP Lease func name
to Collect VM IP Addresses, remove the for loop and
use WUKS instead.

Change-Id: If814321915fbe6b5ddca3bd694d501af0657ff62
Signed-off-by: Mor Zvi <mor.zvi@hpe.com>
7 years agoTLS tests for Restconf Northbound interface 78/52878/15
mangel [Mon, 6 Mar 2017 12:18:18 +0000 (13:18 +0100)]
TLS tests for Restconf Northbound interface

Support for configuring, activating and executing HTTPS requests towards
northbound interface provided by Jetty.
Note for activating certaing configurations it is required to restart
ODL completely by means of Karaf command: shutdown -r

For reloading certificate information (keystore/trustore) it is only
required to restart jetty bundle. Note this operation is not supported
officially for production environments.

These tests are based on openssl/keytool external commands.

Change-Id: I21b2d2f60d65a04342ef6d1de882c2b59915f40b
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
7 years agoRevert "Bug 8033 - Skip test_mtu_sized_frames" 53/53753/2
Jamo Luhrsen [Thu, 23 Mar 2017 21:26:53 +0000 (21:26 +0000)]
Revert "Bug 8033 - Skip test_mtu_sized_frames"

This reverts commit d97a731e82f1b79614fe0beb9c1de97a3d48a25e.

Change-Id: Ib70cf01926bc4757f8a9f5fe25e478b888dbb622
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRevert "Skip RoutersNegativeTest for mitaka" 96/53696/3
Jamo Luhrsen [Wed, 22 Mar 2017 21:03:51 +0000 (21:03 +0000)]
Revert "Skip RoutersNegativeTest for mitaka"

This reverts commit 8cb9be37bba876e8f366530b032439edf3ffb6f5.

Change-Id: I131a7a57ed44e038c7626ed4fd029f998b8744b3
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix NexusKeywords to autorelease URLs 37/53737/4
Vratko Polak [Thu, 23 Mar 2017 17:02:29 +0000 (18:02 +0100)]
Fix NexusKeywords to autorelease URLs

Autorelease staging directories
do not have metadata for timestamps to parse.

Change-Id: I8904aaa1584e92adbca0ae6af8b69948ac2300fc
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoChang expected parentId format to SP-relative 06/53706/3
Tomas Janciga [Thu, 23 Mar 2017 09:02:37 +0000 (02:02 -0700)]
Chang expected parentId format to SP-relative

Change-Id: I628f3ab196b1c8aafb6ebb213ffdc64c1a6cd824
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoAdd ovsdb test case for validating bug 7414 65/49765/15
Jamo Luhrsen [Wed, 21 Dec 2016 00:18:54 +0000 (16:18 -0800)]
Add ovsdb test case for validating bug 7414

Change-Id: Id2deac2b4c4847c6b7c5a1187171390ab5024fef
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRemove noloss suite in Be and B controller's rest-cars-perf jobs 21/53721/1
Peter Gubka [Thu, 23 Mar 2017 10:34:34 +0000 (11:34 +0100)]
Remove noloss suite in Be and B controller's rest-cars-perf jobs

Change-Id: I24f93ab957de5529b9eab78d4d82fad0ebb1b9eb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAAA: Keystone Authentication Authorization 84/53084/6
Ursicio Martin [Thu, 9 Mar 2017 14:30:03 +0000 (15:30 +0100)]
AAA: Keystone Authentication  Authorization

Change-Id: I696dc3a6bce252fc2e032e7c902fb35479cfaa8b
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
7 years agoBug 8033 - Skip test_mtu_sized_frames 02/53602/2
Revital Aronis [Tue, 21 Mar 2017 11:40:00 +0000 (13:40 +0200)]
Bug 8033 - Skip test_mtu_sized_frames

Change-Id: Iacbecc9e978f795dadb7b8e73598269933909532
Signed-off-by: Revital Aronis <revital.aronis@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix typo in ClusterManagement.List_All_Indices 92/53692/2
Vratko Polak [Wed, 22 Mar 2017 17:06:34 +0000 (18:06 +0100)]
Fix typo in ClusterManagement.List_All_Indices

Change-Id: I27caae107eca695f2ba2567cbe161a750d33b749
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoSkip RoutersNegativeTest for mitaka 44/53644/7
Jamo Luhrsen [Wed, 22 Mar 2017 01:02:41 +0000 (18:02 -0700)]
Skip RoutersNegativeTest for mitaka

This is from the tempest.api.network suite. This is a newly (as
of Mar 2017) added test and fails in mitaka. The openstack fix
was made for newton+ but will not be backported to mitaka.

Change-Id: Ieb8062badd8b305da6d6b43d45b3ea34a88b579b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRemove the pydocstyle ignore statements 77/53577/3
Jamo Luhrsen [Mon, 20 Mar 2017 17:55:14 +0000 (10:55 -0700)]
Remove the pydocstyle ignore statements

pydocstyle is not currently running, so these statements were
irrelevant.

And, if you do enable the PyDocStyleBear in the .coafile then you will
see tons of errors, even with those ignore statements.

Change-Id: I80786f0734640110a2f50123aacd071ce4ef223c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoCreate gate & sanity testplans for openflowplugin 27/53627/3
Luis Gomez [Tue, 21 Mar 2017 17:29:49 +0000 (10:29 -0700)]
Create gate & sanity testplans for openflowplugin

Change-Id: I44183508515ef704a370800fa810dea686347114
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoProcess unmerged gerrits in distchanges 59/51659/5
Sam Hague [Fri, 10 Feb 2017 00:43:46 +0000 (19:43 -0500)]
Process unmerged gerrits in distchanges

gerrits that have not merged yet are not found when doing
git queries because the queries assume they are merged. This
patch first tries to find the gerrit merged and if not
found it tries as not merged.

Change-Id: Ibce154effe9e58b9cad1a6b88df7c0356a90698f
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoBUG-8013: Fix Bmp Basic test 68/53568/6
Claudio D. Gasparini [Mon, 20 Mar 2017 09:55:57 +0000 (10:55 +0100)]
BUG-8013: Fix Bmp Basic test

Verify feature is installed and up, before
proceed with the test

Change-Id: I8bd1fc42031e00a1c47e131e83dbd39abfa316e1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
7 years agoAdd csit runs with vlan provider 44/49844/61
Revital Aronis [Wed, 28 Dec 2016 15:25:06 +0000 (17:25 +0200)]
Add csit runs with vlan provider

Change-Id: I25fa56f2043c1142cde211c8030584216dd5284a
Signed-off-by: Revital Aronis <revital.aronis@hpe.com>
7 years agoUpdated IoTDM tests to be compliant with latest changes 47/53347/2
Tomas Janciga [Wed, 15 Mar 2017 13:00:29 +0000 (06:00 -0700)]
Updated IoTDM tests to be compliant with latest changes

Change-Id: I54d5a8c9e50169a32ecccc336298648d1e78bee9
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoInclude IdManager Debug Information for collection 36/53536/2
Vivekanandan Narasimhan [Mon, 20 Mar 2017 05:57:56 +0000 (11:27 +0530)]
Include IdManager Debug Information for collection

Change-Id: I905df44b5d13b0d861931089f4bfb3ad60ac2114
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
7 years ago3 Node Cluster 52/53252/4
naveen [Tue, 14 Mar 2017 08:14:15 +0000 (13:44 +0530)]
3 Node Cluster
Verify 10k flows per switch with single switch

Change-Id: I5ab7d3fcc0187df9c76e3be31182c460a881c1de
Signed-off-by: naveen <naveenk.t@tcs.com>
7 years agoClusterManagement.List_Indices_Or_All 00/53400/4
Vratko Polak [Thu, 16 Mar 2017 13:23:56 +0000 (14:23 +0100)]
ClusterManagement.List_Indices_Or_All

Consumers of the old private name updated:
BulkomaticKeywords, KarafKeywords, MininetKeywords, OVSDB,
staggered_install, internal ClusterManagement calls.

ClusterManagement__Given_Or_Empty_List removed
as nobody calls that.

Change-Id: I697c1ca7be8f3dc54fd076cd2c86083a469e04e0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoAdd gitcommitbear 00/53500/5
Jamo Luhrsen [Fri, 17 Mar 2017 19:53:47 +0000 (12:53 -0700)]
Add gitcommitbear

This will enforce better commit messages to hopefully align with
our best practices:

https://wiki.opendaylight.org/view/BestPractices/Commit_Messages

This was agreed to in the integration weekly meeting. item 3g here:
https://meetings.opendaylight.org/opendaylight-integration/2017/integration/opendaylight-integration-integration.2017-03-16-16.03.html

Change-Id: I1912ae79e76cc6499537ab2e30d035de1ae78026
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRepresentation of Get Request output to proper JSON format 44/53344/3
Nazeerahamed [Wed, 15 Mar 2017 21:13:27 +0000 (14:13 -0700)]
Representation of Get Request output to proper JSON format

Change-Id: I6c00244774f2f76058778a91c086c2513ac93efd
Signed-off-by: Nazeerahamed <nazeerahamed.hunshyal@tcs.com>
7 years agoFix PEP8 issues 02/53502/2
Thanh Ha [Fri, 17 Mar 2017 20:36:54 +0000 (16:36 -0400)]
Fix PEP8 issues

Change-Id: I11a83413b03e231af0efff1352e17cbf5d3126e9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoCheck that DHCP server address is not None 17/53317/7
mor.zvi [Wed, 15 Mar 2017 09:20:27 +0000 (11:20 +0200)]
Check that DHCP server address is not None

in some cases it seems the nova console-log will already show the
obtained lease (the instance ip address) but not yet show the
nameserver string we are looking for (test moving too fast). So,
we need to make sure we keep checking until we have all of it.

Change-Id: If50742be982e54a8c9f0274de262ae24a2144faf
Signed-off-by: mor.zvi <mor.zvi@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix for VTN Coordinator csit failure of Boron 98/50998/13
Karthik.S [Wed, 25 Jan 2017 15:13:01 +0000 (20:43 +0530)]
Fix for VTN Coordinator csit failure of Boron

Change-Id: I95175fae83b7805224b5cfe29d724ab9841c139f
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
7 years agoITM Get Tunnel backwards compatibility with Boron 40/53440/5
Tali [Thu, 16 Mar 2017 18:28:57 +0000 (20:28 +0200)]
ITM Get Tunnel backwards compatibility with Boron

Change-Id: Ib7821b9723c6d833d6b0c69c9ab45053a39e2444
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoAdd SXP SSL functionality tests 38/52938/23
Martin Mihálek [Tue, 7 Mar 2017 11:56:56 +0000 (12:56 +0100)]
Add SXP SSL functionality tests

Change-Id: Ifc38e209807e7783e37aebd46d930ff6a454543f
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoSplit clustered tests to more detailed test cases 96/53396/4
Peter Gubka [Thu, 16 Mar 2017 11:52:47 +0000 (12:52 +0100)]
Split clustered tests to more detailed test cases

Benchmarking 3 node cluster was done by 4 test cases for
every combination of datastore (operational, config) and
shard leadership (leader, follower).
Due to bug 7390 more detailed test cases are prefered. Old test
cases were split to have more parameters configurable.

Also a simple leader stability check was added. Test simply compares
the leader ip at the end of the test with the one at the start.

Change-Id: Ie9fb6b5d8bf24aecdff034a106d358a1bcc0aefe
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdjust ITM robot for VxLAN tunnel aggregation 13/52613/5
Tali [Thu, 2 Mar 2017 07:27:40 +0000 (09:27 +0200)]
Adjust ITM robot for VxLAN tunnel aggregation

This change must be submitted with
* genius yang changes https://git.opendaylight.org/gerrit/#/c/51770
* related netvirt changes https://git.opendaylight.org/gerrit/#/c/52506

Change-Id: I7bc4cd9ed14cd8eb8efc3038a0c0dca2b7c2986a
Signed-off-by: Tali <tali.ben-meir@hpe.com>
7 years agoAdd noloss notifications longevity suite and a job testplan 42/53342/5
Peter Gubka [Wed, 15 Mar 2017 12:28:37 +0000 (13:28 +0100)]
Add noloss notifications longevity suite and a job testplan

Change-Id: I583fcf4488647d232387e3ba1f0029f81fcdd260
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd DOMNotificationBroker Test Suite 66/52666/34
Peter Gubka [Thu, 2 Mar 2017 16:08:05 +0000 (17:08 +0100)]
Add DOMNotificationBroker Test Suite

Change-Id: I91501de578ca629ef9f3ab1f2f43b25ed496e3be
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoL2Gw Test Cases Suite1 52/52152/10
abbas [Wed, 22 Feb 2017 09:01:35 +0000 (01:01 -0800)]
L2Gw Test Cases Suite1

Change-Id: I9a2067d8ebe4a54385115be93a3f065148a55083
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
7 years agoSkip Tempest macspoofing test in mitaka 85/53285/3
Alon Kochba [Tue, 14 Mar 2017 16:23:27 +0000 (18:23 +0200)]
Skip Tempest macspoofing test in mitaka

This test fails because of missing default security
rule functionality in Mitaka.

This patch was only merged into Newton at this time:
https://review.openstack.org/#/c/390783/

Change-Id: I2dcae83f56355330dc6350e0b011d8fb6bb98864
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoRemove redundant ovs debug 69/53369/2
Sam Hague [Wed, 15 Mar 2017 17:53:13 +0000 (13:53 -0400)]
Remove redundant ovs debug

dump-ports-desc is not needed because show br-int calls
dump-ports and more.

Change-Id: I6962ab1a13e87a7955209ebc79a9739c6e86974b
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAAA: Keystone Authentication 35/52735/13
Ursicio Martin [Fri, 3 Mar 2017 09:11:50 +0000 (10:11 +0100)]
AAA: Keystone Authentication

Change-Id: I7d6713fc789d669c9dc8bfe3134b072da9145eb9
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
7 years agoAdd to modules.py the external-subnets model 01/53201/2
yair [Mon, 13 Mar 2017 08:35:45 +0000 (10:35 +0200)]
Add to modules.py the external-subnets model

Change-Id: I18332c6fad6ecefdeda6651121f0c4e617bd5f8b
Signed-off-by: yair <yair.zinger@hpe.com>
7 years agoRetry once in first dsbenchmark test case 26/53226/3
Vratko Polak [Mon, 13 Mar 2017 15:26:35 +0000 (16:26 +0100)]
Retry once in first dsbenchmark test case

Change-Id: I8efd8a437f3918708d47a7facc0a23a241bc5bb3
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoConvert arguments of CompareStream into String 20/53220/2
Martin Mihálek [Mon, 13 Mar 2017 14:04:59 +0000 (15:04 +0100)]
Convert arguments of CompareStream into String

Arguments that are parsed by CompareStream__Convert_Input are
int type the whole KW will be marked as failure due to error
"'int' object has no attribute 'replace'".

Simple conversion of arguments to String will solve this issue.

Change-Id: I547c445565713fe4e5bb575d3ee02550ca45fcbb
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoIn case of ovsdb -all job, topology tree will have 69/53169/1
Anil Vishnoi [Sat, 11 Mar 2017 03:18:08 +0000 (19:18 -0800)]
In case of ovsdb -all job, topology tree will have
multiple topology in the config and operational data store
because multiple features are installed and most of the features
like bgp,netconf,hwvtep:1,sxp will initialize their topology.
So matching on {network-topology:{topology:[{topology-id:ovsdb:1}]}}
for checking if ovsdb:1 topology is empty will always fail.
We should only check if the ovsdb:1 topology is empty or not.
This patch fixes the matching issue.

Change-Id: Id37e62c30e02ebb0299d284261ec029072a255ce
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoFix rest body of create-node 67/53167/2
Anil Vishnoi [Fri, 10 Mar 2017 23:01:09 +0000 (15:01 -0800)]
Fix rest body of create-node

When we load all features,it loads ovsdb and hwvtep both
and both the yang models has connection-info container in
their yang models. When both are loaded, we need to
specifically mention which connection-info we are referring
to in our rest body. We have done similar fix in the past
as well

https://git.opendaylight.org/gerrit/#/c/37216/

Change-Id: I1067b96619e0017b9ff7bb8c644fd915ba5836aa
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoAdding gate and upstream testplans for ovsdb 62/53162/2
Jamo Luhrsen [Fri, 10 Mar 2017 17:07:58 +0000 (09:07 -0800)]
Adding gate and upstream testplans for ovsdb

Change-Id: If6a59eb4c07e4b2192215476012161dbd2489741
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoReplace hardcoded prompt with variable 04/53004/2
Janki [Wed, 8 Mar 2017 13:24:49 +0000 (18:54 +0530)]
Replace hardcoded prompt with variable

Replace hardcoded linux prompt ']>' to DEFAULT_LINUX_PROMPT_STRICT variable.

Change-Id: Ia52d9e9eaa2ab2f091f07640376a7a1a1dddc8ec
Signed-off-by: Janki <jchhatba@redhat.com>
7 years agoAdd Action Provider test suites 66/52166/21
Peter Gubka [Wed, 22 Feb 2017 11:33:50 +0000 (12:33 +0100)]
Add Action Provider test suites

Change-Id: Id3722b79e6d76fce7042bf4d64492c0c5a2813bc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd openflowport as a parameter to cbench command line 40/53040/2
Jamo Luhrsen [Thu, 9 Mar 2017 01:31:22 +0000 (17:31 -0800)]
Add openflowport as a parameter to cbench command line

Change-Id: Iced0f38c3897ede2c596dd149f872250c5d8907b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdditional Gateway MAC Table Validation in VPNservice 99/52099/6
Suvitha.balu [Tue, 21 Feb 2017 09:23:29 +0000 (14:53 +0530)]
Additional Gateway MAC Table Validation in VPNservice

Change-Id: I6d316d8cb658f26e33344839db4e8c3e4cd5659b
Signed-off-by: Suvitha.balu <suvitha.balu@tcs.com>
7 years agoSkip any retries and timeout after 1s for model dumps 06/52906/5
Jamo Luhrsen [Mon, 6 Mar 2017 19:26:53 +0000 (11:26 -0800)]
Skip any retries and timeout after 1s for model dumps

this is to avoid the 20s timeout we hit in a failed cluster sometimes.

Change-Id: I4e3850a460e107f2e76365fe655dacfae1f5da22
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoDefinitions of needed test suites and test cases 97/51397/11
Tomas Janciga [Fri, 3 Feb 2017 13:24:50 +0000 (05:24 -0800)]
Definitions of needed test suites and test cases

Change-Id: Iefcbad17a22f2287a332bed1069dcbce0280e697
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoLog OpenFlow max switch scale result 26/46526/4
Daniel Farrell [Tue, 4 Oct 2016 23:49:44 +0000 (19:49 -0400)]
Log OpenFlow max switch scale result

Was logging to console only, so not visible in primary log.

Change-Id: I9c95f2e95db3bc89431f490ce1af1d0f3ae55e23
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agofix Verify VMs Received DHCP Lease func - if dhcp ip is empty change to 86/52886/3
mor.zvi [Mon, 6 Mar 2017 14:17:58 +0000 (16:17 +0200)]
fix Verify VMs Received DHCP Lease func - if dhcp ip is empty change to
None

Change-Id: Ic0720bff4ebb9607e9a95a11fc4eeec9acb4158a
Signed-off-by: mor.zvi <mor.zvi@hpe.com>
7 years agoAdd IPv6 tunnel test to Genius CSIT 83/51183/27
Yakir Dorani [Mon, 30 Jan 2017 13:16:58 +0000 (15:16 +0200)]
Add IPv6 tunnel test to Genius CSIT

This test creates a vxlan tunnel between two endpoints with IPv6 addresses and checks
that the network topology configuration is updated accordingly.

I did a configuration check and not an full check with OVS because the OVS version doesn't
support IPv6 vxlan tunnels.

This tests change https://git.opendaylight.org/gerrit/#/c/49542/

Change-Id: I6d40d0e5b7a73ac934261e45a4239c156fb5c9b9
Signed-off-by: Yakir Dorani <yakir.dorani@hpe.com>
7 years agoSkip macspoofing tempest test if security group mode is 'transparent' 05/52905/3
Jamo Luhrsen [Mon, 6 Mar 2017 18:56:37 +0000 (10:56 -0800)]
Skip macspoofing tempest test if security group mode is 'transparent'

Change-Id: I0b411dde0d3482f17bfc5e6a8b4492d42729b175
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd Rpc Provider Test Suites 06/52106/43
Peter Gubka [Tue, 21 Feb 2017 11:53:40 +0000 (12:53 +0100)]
Add Rpc Provider Test Suites

Change-Id: Ide061771ca1ef099da58916293221001e0580202
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd SXP performance measuring suite 53/48553/15
Martin Mihálek [Mon, 21 Nov 2016 20:16:36 +0000 (21:16 +0100)]
Add SXP performance measuring suite

Added Connectivity measuring tests

Change-Id: Iae55d82ef5e796c35cb33d953b88c0297842c85a
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoaddind additional Tempest scenario tests 11/49411/26
Mor Zvi [Thu, 15 Dec 2016 09:20:18 +0000 (11:20 +0200)]
addind additional Tempest scenario tests
and adding the option to skip run of tests in mitaka,
like hotplig nic test that fails in mitaka due to a bug that was fixed only in Newton.

Change-Id: I7fc99d2a178fd318c3ec87dbc3d6ef9c1f499465
Signed-off-by: Mor Zvi <mor.zvi@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRemove netvirt Tempest macspoofing test 62/52862/2
Alon Kochba [Mon, 6 Mar 2017 08:04:37 +0000 (10:04 +0200)]
Remove netvirt Tempest macspoofing test

This test was recently modified causing inconsistent
results between various ACL runs.

Removing it and it will be re-added as part of a bunch
of Tempest SG tests after it is analyzed:
https://git.opendaylight.org/gerrit/#/c/48654/

Change-Id: Ie19b010a4391d29ffbef94cf2d44f52e090af05d
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd Persistency Test cases: 13/48813/14
Celestino Martinez Lopez [Wed, 30 Nov 2016 06:29:03 +0000 (07:29 +0100)]
Add Persistency Test cases:

  - Basic Environment Setup Tests
  - Add SFC Elements and restart cluster

Change-Id: I75d219b95200c6fb9e097538cbbee2983701888c
Signed-off-by: Celestino Martinez Lopez <celestino.martinez.lopez@ericsson.com>
7 years agoFix typo of ) instead of } in robot variable 74/52774/1
Jamo Luhrsen [Fri, 3 Mar 2017 16:38:05 +0000 (08:38 -0800)]
Fix typo of ) instead of } in robot variable

Change-Id: Ifdcc81d3d59e53f8dc7377d2463c0239b62f150c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRework Check_Status_Code to check the code with explicitly specified codes 47/52747/3
Peter Gubka [Fri, 3 Mar 2017 10:36:08 +0000 (11:36 +0100)]
Rework Check_Status_Code to check the code with explicitly specified codes

Change-Id: I49a7f5970464f149b8acc9b606bf9a73b3136224
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd global rpc ha scenarion for frozen/stopped/paused node 67/51867/7
Peter Gubka [Tue, 14 Feb 2017 14:54:42 +0000 (15:54 +0100)]
Add global rpc ha scenarion for frozen/stopped/paused node

Change-Id: I91208a259cc24fea6ed058b7f89e097244c5f571
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd keywords for (un)freezing the karaf process 65/51865/5
Peter Gubka [Tue, 14 Feb 2017 14:27:26 +0000 (15:27 +0100)]
Add keywords for (un)freezing the karaf process

Change-Id: Ibc8be69ee00a3bdeb8bc71caedcb3da47d0eca6a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd new suite for adding cars during shard leader change. 71/51471/29
Peter Gubka [Mon, 6 Feb 2017 15:12:49 +0000 (16:12 +0100)]
Add new suite for adding cars during shard leader change.

Change-Id: I4840c2bc0a77163bc9c67804db7a907effe0424f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoTweak cbench execution and availability when it's running on localhost 11/52611/2
Jamo Luhrsen [Thu, 2 Mar 2017 06:42:01 +0000 (22:42 -0800)]
Tweak cbench execution and availability when it's running on localhost

  seems most (guessing) all uses of this script were using cbench from a remote system
  and logging in to that system via SSH to run the tool. The changes here are fixing
  some problems I found when trying to run cbench on the same system running robot.
  in other words, running from localhost

Change-Id: Ib33824fb4bf36c80c9301097e22e2c4f15cd79d7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix the problem when no real check of new leader was done 85/52485/4
Peter Gubka [Wed, 1 Mar 2017 10:20:54 +0000 (11:20 +0100)]
Fix the problem when no real check of new leader was done

Change-Id: I396c3b2be6a0f02c86fd96a9532cc78bc96c3c5b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix cluster test teardowns, allow model dump to fail 24/52524/1
Alon Kochba [Wed, 1 Mar 2017 17:48:25 +0000 (19:48 +0200)]
Fix cluster test teardowns, allow model dump to fail

Fixes test teardowns on several netvirt clustering test failures, and
allows model dump to fail in teardowns after bringing up ODL.

Change-Id: Icd3597c30f8d7c30bcae128d4658880ddd4af156
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd ietf-acls to netvirt module dump 51/52351/2
Alon Kochba [Tue, 28 Feb 2017 10:56:39 +0000 (12:56 +0200)]
Add ietf-acls to netvirt module dump

Change-Id: Idc82d435d1f8b0d6ae0b404a97f29254046c095e
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoChange Entity Owner suite to new cluster behavior 31/52331/6
Luis Gomez [Mon, 27 Feb 2017 22:44:36 +0000 (14:44 -0800)]
Change Entity Owner suite to new cluster behavior

New cluster behavior: only entities the switch connects to show
as candidates in the entity owner API.

Change-Id: I8d16a737c31bd4f12bb892eab45b88030f5a237f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoBug 7868: Increase timeout for one request in car perf 66/52366/5
Vratko Polak [Tue, 28 Feb 2017 14:42:01 +0000 (15:42 +0100)]
Bug 7868: Increase timeout for one request in car perf

There has been a performance regression,
but in order to see how bad it is, we need to wait longer.

Also:
+ Added a check to fail Add_Card when tool reports an error.
+ Test teardown to report known bugs.

Change-Id: Iec3334d4986c367926fabae12cfc389953747212
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBug 7785: Remove flows with invalid action 77/51977/4
Luis Gomez [Thu, 16 Feb 2017 17:36:58 +0000 (09:36 -0800)]
Bug 7785: Remove flows with invalid action

Change-Id: I30af9cfe868213cabbf7847ae846e7fa18fc4dfc
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoUse ostestr instead of run_tempest.sh 68/52268/10
Alon Kochba [Sat, 25 Feb 2017 16:28:39 +0000 (18:28 +0200)]
Use ostestr instead of run_tempest.sh

run_tempest.sh was deprecated and removed,
instead use 'ostestr' to run tests.

in addition remove unused code in DevstackUtils

Change-Id: I790dafd2821437e4a97b851dda659c51733541a4
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agodistchanges: Add protections around patches under review 61/52261/2
Sam Hague [Fri, 24 Feb 2017 18:17:40 +0000 (13:17 -0500)]
distchanges: Add protections around patches under review

distchanges breaks for patches that are under review and not merged yet. This
is because the gerrit queries assume they are merged. When it breaks
the distchanges output stops abruptly and doesn't continue
processing all the projects. This patch prints the log and then keeps going.
There is another patch under review to get the gerrits for the unmerged patches,
so this patch here just keeps the logs going.

Change-Id: Ie451ccb083db3873f5680d78f1f8b0a36b0b9fc8
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd distchanges lookup for aggregated merges 94/52194/3
Sam Hague [Thu, 23 Feb 2017 01:51:00 +0000 (20:51 -0500)]
Add distchanges lookup for aggregated merges

Some distributions end up with a aggregated merge
of a number of gerrits in a patch stack. The data included in the git.properties
includes all the gerrit's commit messages. This gerrit adds a
search using the commit message of the patch at the top of the stack. [1]
is an example of one of these types of gerrits.

[1] https://git.opendaylight.org/gerrit/#/c/51304/

Change-Id: I26663b44e08b2f09c18dfff98efe560fbeaae4e4
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoComment out BFD and ELAN suits due to inconsistent issue. 57/52257/2
Suvitha.balu [Fri, 24 Feb 2017 14:37:13 +0000 (20:07 +0530)]
Comment out BFD and ELAN suits due to inconsistent issue.

Change-Id: I13d2a6a0a899078bd15e977d0840e8ef814d5dff
Signed-off-by: Suvitha.balu <suvitha.balu@tcs.com>
7 years agoBug 7661: Add WUKS to netconf outages suite 53/52253/2
Vratko Polak [Fri, 24 Feb 2017 16:19:16 +0000 (17:19 +0100)]
Bug 7661: Add WUKS to netconf outages suite

Change-Id: Id6467cb29b7649d63a61d3b4b9c754164bb6e189
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBug 3712. SFC: SFP validation of SF types at creation time 43/50843/9
Diego Granados [Mon, 23 Jan 2017 16:10:21 +0000 (17:10 +0100)]
Bug 3712. SFC: SFP validation of SF types at creation time

Set of five new tests for SFP validation. This validation
verifies that SF types for SFs defined in SFP hops are (when
present), consistent with the SF types for the SFs defined in
the referenced SF chain

Change-Id: I66a5f3bc3fa2098def8397bdd256094c5c82a818
Signed-off-by: Diego Granados <diego.jesus.granados.lopez@ericsson.com>
7 years agoAdd interfaces child info to model dumps 51/51551/2
Olga Schukin [Wed, 8 Feb 2017 09:45:15 +0000 (11:45 +0200)]
Add interfaces child info to model dumps

Change-Id: I60983dde4c6646e5a113107489be258451d9b319
Signed-off-by: Olga Schukin <olga.schukin@hpe.com>