integration/test.git
7 years agoTopoprocessing - Refactor of mostly target fields' paths 55/41555/5
Martin Dindoffer [Fri, 8 Jul 2016 12:54:57 +0000 (14:54 +0200)]
Topoprocessing - Refactor of mostly target fields' paths

Moved locally defined target fields' paths into a .py file as constants
Also instroduced a variable for overlay topology url and renamed Teardown keywords to reflect their behaviour

Change-Id: Iaa24b160142b03e034a8d385ecf72eeafd2c3fd9
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoCSIT tests are using wrong port for setting 79/41879/2
Anil Vishnoi [Fri, 15 Jul 2016 08:00:46 +0000 (01:00 -0700)]
CSIT tests are using wrong port for setting
controller for the bridges. Because of this
wrong configuration openflow bridges attempt to
connect on port 6640 with openflow protocol and
keep getting disconnected.

Change-Id: I7de9f83fd461d71f1620089f78b096d217c57b17
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoBoron update of CSIT 06/39206/36
Martin Mihálek [Wed, 29 Jun 2016 09:05:59 +0000 (11:05 +0200)]
Boron update of CSIT

Change-Id: I5f8cccbb1571ea9ed5b13ca63cc9608408c7be05
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoAdd Bridge And Tap Interface in Openstack Ovs 23/41823/2
priya.ramasubbu [Thu, 14 Jul 2016 17:40:50 +0000 (23:10 +0530)]
Add Bridge And Tap Interface in Openstack Ovs

      * verify the added bridge and tap interface from operational datastore

Change-Id: I1a2f23ead77e3cc105d90136969cb06ec74fd0e8
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
7 years agoCluster Library consolidation 1 55/41455/12
Luis Gomez [Thu, 7 Jul 2016 05:24:50 +0000 (22:24 -0700)]
Cluster Library consolidation 1

Create consolidated library on ClusterManagement.robot
- Add Entity Owner KWs
- Add Cluster REST KWs
- Sort KWs

Modify OpenFlow Cluster test to use new library

Change-Id: I7825f86b738a46f1e9082a0a99aa4b64109588f0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAdd tests of node removal processing during unification op. 78/41278/3
Martin Dindoffer [Mon, 4 Jul 2016 13:34:41 +0000 (15:34 +0200)]
Add tests of node removal processing during unification op.

Change-Id: I5bc504ac5f9e5c65c4c7fa109b74a3129bd92a6e
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoadd tunnel creation suite for vpnservice netvirt 82/41182/12
Jamo Luhrsen [Fri, 1 Jul 2016 00:23:23 +0000 (17:23 -0700)]
add tunnel creation suite for vpnservice netvirt

Change-Id: I14662421529ce1a225cf939bc51674302f69639a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoEnabling change of loglevel by configuration 25/41625/4
Revital Aronis [Sun, 10 Jul 2016 15:34:13 +0000 (15:34 +0000)]
Enabling change of loglevel by configuration

Change-Id: Ib440f247c9673e6e301d192c1e28ce892bd7799c
Signed-off-by: Revital Aronis <revital.aronis@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoStop linking Keystone and Neutron ips 54/41554/2
Cédric Ollivier [Fri, 8 Jul 2016 12:50:11 +0000 (14:50 +0200)]
Stop linking Keystone and Neutron ips

It defines two new variables KEYSTONE and NEUTRON instead of OPENSTACK.

Change-Id: I9c744a049a97721ba78ab811ec22325c59698837
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
7 years agoCardinal simple system test suites 04/41204/3
pande.gaurav [Fri, 1 Jul 2016 10:35:14 +0000 (16:05 +0530)]
Cardinal simple system test suites

Change-Id: I46e72466a8682b264d904d27635f41c1a0152fba
Signed-off-by: pande.gaurav <pande.gaurav@tcs.com>
7 years agoMore time required for CPqD after infra cutdown 90/41590/2
Luis Gomez [Fri, 8 Jul 2016 20:44:55 +0000 (13:44 -0700)]
More time required for CPqD after infra cutdown

Change-Id: I06725729a7ec79a1b6191e96b358a531bec7a913
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoDelete the fix to upgrade JDK 87/41587/1
gvrangan [Fri, 8 Jul 2016 20:08:11 +0000 (20:08 +0000)]
Delete the fix to upgrade JDK

This issue was affecting the VTN before the slaves were respun.
This is no longer required as the version incompatibility between
the verify and CSIT slaves have been resolved.

Change-Id: I1dd1681d87db181aafd96ddc183daa122ce1d6dd
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoAdd link to Robot API index 38/41538/2
Thanh Ha [Fri, 8 Jul 2016 05:13:24 +0000 (01:13 -0400)]
Add link to Robot API index

Link requires the following docs patch to be merged first:
https://git.opendaylight.org/gerrit/41537

Change-Id: I92f6b3adc377f48dfe43dab1417513cf5eed6ca6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd Tap Device to the bridge in OVS 95/41195/3
priya.ramasubbu [Fri, 1 Jul 2016 12:41:30 +0000 (18:11 +0530)]
Add Tap Device to the bridge in OVS

     * verify the added tap interface from operational datastore

Change-Id: I93dca2e827aa40cbc17560604a42f867c693b2f4
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
7 years agoAdd perftest model for l2fib 67/40367/2
Robert Varga [Wed, 15 Jun 2016 11:09:55 +0000 (13:09 +0200)]
Add perftest model for l2fib

This is a port of patch https://git.opendaylight.org/gerrit/35916
to a better place.

Change-Id: I479f7fa6c7bde1535ee417818a58d22116d45fd4
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoAdded CSIT Basic test to OF-CONFIG 86/41386/2
Freeinggo Sure [Wed, 6 Jul 2016 18:02:20 +0000 (02:02 +0800)]
Added CSIT Basic test to OF-CONFIG

Change-Id: I566ad1e9c20244560f54c327a6fd3571d0b04e4c
Signed-off-by: Freeinggo Sure <xiao.fenggang@zte.com.cn>
7 years agoFix testplan name 66/41566/1
Luis Gomez [Fri, 8 Jul 2016 14:58:47 +0000 (07:58 -0700)]
Fix testplan name

Change-Id: Id0a59c3902218e984a12859c41b2692ecf372128
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoDefine Openstack creds as variables 63/41463/1
Cédric Ollivier [Thu, 7 Jul 2016 09:31:41 +0000 (11:31 +0200)]
Define Openstack creds as variables

It mainly eases overriding the default values.

Change-Id: I79eef8ee68f4de3213b9d26625168566b7fae606
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
7 years agoDefine Suite Setup and Suite Teardown 61/41461/1
Cédric Ollivier [Thu, 7 Jul 2016 07:20:52 +0000 (09:20 +0200)]
Define Suite Setup and Suite Teardown

It allows getting X-AUTH before running any Neutron test cases

Change-Id: Ia50776203dd31bc6c371464ba495488cdf561d92
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
7 years agoFix the Failure in Create VM Test 61/41361/3
gvrangan [Tue, 5 Jul 2016 22:11:31 +0000 (22:11 +0000)]
Fix the Failure in Create VM Test

The "Close Connection" in Get Net Id was closing the only
active connection to control node and hence the rest of keywords fail.

Change-Id: I39aaa386c9191cc29759fb2fe5b13fe921c0a947
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoadding tempest test cases to existing openstack related jobs 83/39683/61
Jamo Luhrsen [Wed, 1 Jun 2016 05:34:48 +0000 (22:34 -0700)]
adding tempest test cases to existing openstack related jobs

Change-Id: I2787316cb39eee1e3bc713eb9772d4c21be02ba1
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoApply modifications done in OPNFV functest project 48/40948/2
Cédric Ollivier [Tue, 28 Jun 2016 14:27:15 +0000 (16:27 +0200)]
Apply modifications done in OPNFV functest project

It synchronises the robotframework files testing neutron resources
between ODL and OPNFV functest. It mainly replaces deprecated keywords
[1], removes unused librairies [2] and fixes minor typos [3].

[1] https://gerrit.opnfv.org/gerrit/#/c/15627/
[2] https://gerrit.opnfv.org/gerrit/#/c/15535/
[3] https://gerrit.opnfv.org/gerrit/#/c/15083/

Change-Id: I183115b50643a7fe03b23cfdd8676f7e9643481f
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
7 years agoAdd entity owner leader isolation-rejoin test 16/40916/3
Luis Gomez [Tue, 28 Jun 2016 07:53:41 +0000 (00:53 -0700)]
Add entity owner leader isolation-rejoin test

Also add cluster KWs for isolate and rejoin.

Change-Id: Icbcb57519d3a8f4be3f55c8aeb64ec289869f27a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoTopoprocessing - System tests refactor 01/40501/10
Samuel Kontriš [Fri, 17 Jun 2016 17:28:10 +0000 (19:28 +0200)]
Topoprocessing - System tests refactor

Change-Id: I719db8566fd17b16feb3bc7e189da87820358fae
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
7 years agoTopoprocessing - changed OpenFlow feature to default design 25/41025/3
Samuel Kontriš [Wed, 29 Jun 2016 14:30:38 +0000 (16:30 +0200)]
Topoprocessing - changed OpenFlow feature to default design

Change-Id: I5b5f0410da474689880d20109c5d48536cdd5ca8
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
7 years agoAdded a link computation update test using inner aggregation 40/39940/8
Marek Korenciak [Tue, 7 Jun 2016 11:01:06 +0000 (13:01 +0200)]
Added a link computation update test using inner aggregation

Also refactored some of the code using local keywords.

Change-Id: If363e9c283261c0f519418299a7afbb265cdff00
Signed-off-by: Marek Korenciak <marek.korenciak@pantheon.tech>
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoAdded various test cases to update-suite 08/39708/7
marek.korenciak [Wed, 1 Jun 2016 12:21:09 +0000 (14:21 +0200)]
Added various test cases to update-suite

Tests of Filtration Range Number Node Update, Filtration Range Number Link Update and Unification Filtration Node Update Inside on both NT and Inventory models - six test cases total.
Also created or edited some supporting keywords and repaired little testing mistake in 020_Filtration_nodes - duplicated termination point testing

Change-Id: Ieab17ac51e802592e55a2c888a12aab6feac2612
Signed-off-by: marek.korenciak <marek.korenciak@pantheon.tech>
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoAdded termination point test cases to the update suite. 64/39364/8
Martin Dindoffer [Tue, 7 Jun 2016 09:09:00 +0000 (11:09 +0200)]
Added termination point test cases to the update suite.

Test cases test processing of update requests when filtrating termination points using range number filtrator.
Also added a proper teardown rewriting the changed underlaying topologies during updates.

Change-Id: Icc89f795f736de729703208d391a9ce52e1544b6
Signed-off-by: Martin Dindoffer <martin.dindoffer@pantheon.tech>
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoInitialize Integration Testing Guide 42/39142/5
Thanh Ha [Fri, 20 May 2016 02:16:09 +0000 (22:16 -0400)]
Initialize Integration Testing Guide

You can build the docs with:

    tox -edocs

and view the docs by opening:

    firefox .tox/docs/tmp/html/index.html

This patch simply initializes sphinx for integration/test. Once
merged we can link into the docs project and have it generated on
readthedocs under the docs project's readthedocs link:

    https://opendaylight.readthedocs.io/en/latest

Change-Id: Id81f1e0468e1b60db26e1df4690d8774971ae4c7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd forgotten testplan 76/40976/1
Luis Gomez [Wed, 29 Jun 2016 02:01:45 +0000 (19:01 -0700)]
Add forgotten testplan

Change-Id: Ifdfb465cea229998102cf81841683572e4fe645f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoisolate flow posting time 33/40833/3
Jamo Luhrsen [Fri, 24 Jun 2016 23:53:57 +0000 (16:53 -0700)]
isolate flow posting time

see email [0] with better explanation:
https://lists.opendaylight.org/pipermail/integration-dev/2016-June/006940.html

Change-Id: I8b0d758e7d9eae9225f707f4eaeb225df6f8bd74
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdding sessions to Elasticsearch Appender Class 73/40573/4
Kumar Rishabh [Tue, 21 Jun 2016 00:08:59 +0000 (05:38 +0530)]
Adding sessions to Elasticsearch Appender Class

Adds sessions(get_connection keyword) to Elasticsearch Appender Class.
First call get_connection(host=host, port=port) to get session object and call
the robot Keywords with fetched session object.
Add cluster robot example.

Change-Id: Iac741173d8870d261cbb8665deb044c539520dab
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
7 years agoAdded node unification test cases to the update suite 71/39271/9
Martin Dindoffer [Tue, 7 Jun 2016 09:06:28 +0000 (11:06 +0200)]
Added node unification test cases to the update suite

Change-Id: I7315b40b0c7562a9e67596819015e542f53db298
Signed-off-by: Martin Dindoffer <martin.dindoffer@pantheon.tech>
Signed-off-by: Martin Dindoffer <odlgerritforwarder@dindoffer.eu>
7 years agoExclude problematic test cases 68/40668/2
Miguel Angel Munoz Gonzalez [Wed, 22 Jun 2016 09:45:21 +0000 (11:45 +0200)]
Exclude problematic test cases

Two test cases are excluded due to it is not possible to delete
mandatory model items (e.g. dpl)

One case related to RSP generation is excluded due to known problems
with RSP algorithms.
Note there are some bugs related to RSP generation:

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

Change-Id: I5cf4356f55e6441e7460f61a033d23e0acca093b
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
7 years agoFixing data report in GBP 3node 44/40144/6
Tomas Cechvala [Fri, 10 Jun 2016 08:18:58 +0000 (10:18 +0200)]
Fixing data report in GBP 3node

Adding mising Connections.robot to 3node demo

Change-Id: Ifda0af13c0327ce2225e1c8c31e0e13641a6b997
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoOrganize test plans for OF plugin swap 41/40741/1
Luis Gomez [Wed, 22 Jun 2016 23:58:56 +0000 (16:58 -0700)]
Organize test plans for OF plugin swap

Add helium-redesign testplan to use in master.
Also some code cleanup.

Change-Id: I29e6ee86dfa3b4517b3feca65cf3258c55a7ea76
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoFeature check change in SXP CSIT 75/40675/2
Martin Mihalek [Wed, 22 Jun 2016 10:30:28 +0000 (12:30 +0200)]
Feature check change in SXP CSIT

Changed test on installed feature to reflect cleanup of
jjb CSIT jobs in for SXP

Change-Id: I7b8dc811c269048461ca2cbe09e7662e05c0c56e
Signed-off-by: Martin Mihalek <mamihale@cisco.com>
7 years agobasic bmp suite added 89/40589/8
Peter Gubka [Tue, 21 Jun 2016 09:30:42 +0000 (11:30 +0200)]
basic bmp suite added

Change-Id: I7fc85a71df43c22ca72977fdefcb86f10b6b5390
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoadding path-id into the route template 90/40590/5
Peter Gubka [Tue, 21 Jun 2016 09:41:01 +0000 (11:41 +0200)]
adding path-id into the route template

Change-Id: I733e19070c00d29d9bc12badb34e1e4d50eace60
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoReconcilliation in a 3 node cluster multi DPN environment 65/40365/6
Sanjib Mohapatra [Wed, 15 Jun 2016 09:24:59 +0000 (14:54 +0530)]
Reconcilliation in a 3 node cluster multi DPN environment

Description: In a 3 node cluster initial inventory shard status is
verified and following tests are performed

- Start Mininet 3 DPNs connect to one of the follower, add bulk 3K flows via that
  node (1K per DPN).

- Verify flows in config DS as well as in switch, Stop Mininet and
  reconnect DPNs to same follower node and verify same flows installed
  in respective DPNs.

- Stop Mininet and connect back to 2nd follower node and verify same
  flows installed in respective DPNs.

- Stop Mininet and connect back to leader node and verify same flows
  installed in respective DPNs.

- Also modified existing BulkomaticKeywords.robot library for
  implementing KWs to get json object instead of json files as argument.

- Corresponding changes are done in rest of the Clustering_Bulkomatic
  test suites.

Change-Id: Ife65746c13681377f63e152bbf88392e492924d2
Signed-off-by: Sanjib Mohapatra <sanjib.mohapatra@ericsson.com>
7 years agoOCPPLUGIN made some fixes in API, so test suites should also modify input data to... 75/40575/1
jason [Tue, 21 Jun 2016 03:22:39 +0000 (11:22 +0800)]
OCPPLUGIN made some fixes in API, so test suites should also modify input data to make it work.
OCPPLUGIN patch: https://git.opendaylight.org/gerrit/#/c/40422/

Change-Id: Ia4a171d4252ad4aef8b3e16352c75f70d2c73317
Signed-off-by: jason <jason.cw.yuan@foxconn.com>
7 years agoAdd new CSIT test cases for VTN Manager Flowfilter 81/39881/4
Karthik.S [Mon, 6 Jun 2016 16:33:02 +0000 (22:03 +0530)]
Add new CSIT test cases for VTN Manager Flowfilter

* Added new testcase to test and verify dl-src with flowfilter functionality.
* Added test cases in 010__vtn_manager_flowfilter.robot of VTN_Mgr_OF10 and VTN_Mgr_OF13
* Added verification output in VtnMaKeywords.robot library file.

Change-Id: I6c3d1121d834a8c91873d3eab0ffa96f2c958e0c
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
7 years agoFixes for timeouts in debug information 27/40427/3
gvrangan [Thu, 16 Jun 2016 07:55:43 +0000 (07:55 +0000)]
Fixes for timeouts in debug information

Change-Id: I47dd11f87dbec3b27e1b784e112ad83d155f0bab
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoNode Convergance and Data Consistency in 2 Node Cluster 48/40248/4
Sanjib Mohapatra [Mon, 13 Jun 2016 16:58:24 +0000 (22:28 +0530)]
Node Convergance and Data Consistency in 2 Node Cluster

Description: In a 3 node cluster intial inventory shard status is
verified and following tests are performed.

- Shutdown Leader node and in 2Node system connect mininet to follower
  node and push bulk flow in that node

- Verify data consistency across 2 Active Nodes

- Restart Leader and verify data consistency after node convergance

- Verify flow count in switch

- Similarly test for follower shutdown case

Change-Id: Id5714ee52e5956eaf546e34dae738a8d996f255a
Signed-off-by: Sanjib Mohapatra <sanjib.mohapatra@ericsson.com>
7 years agoAdd scalability test for OCPPLUGIN 88/39588/6
jason [Mon, 30 May 2016 09:05:51 +0000 (17:05 +0800)]
Add scalability test for OCPPLUGIN

Change-Id: Icde7d8a2a56765cb5e13ebef1e2195b4e440a30a
Signed-off-by: jason <jason.cw.yuan@foxconn.com>
7 years agofixing play.py and data change counter 90/40290/4
Peter Gubka [Tue, 14 Jun 2016 10:31:15 +0000 (12:31 +0200)]
fixing play.py and data change counter

-LOCAL_PREF is added into play.py to be sent
-new xml and uri file added for data change counter usage in boron
 as new schema is present in boron

Change-Id: I6b3179c4cdc82e97e0de557f2a484ee537527d12
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemoved duplicate code for entity ownership 39/39639/28
Ernest Deák [Mon, 30 May 2016 12:32:36 +0000 (14:32 +0200)]
Removed duplicate code for entity ownership

Duplicate code removed related to entity ownership in
entity.robot

Change-Id: Ic3a2da3a1efc06e317204be2d2ab65db9107e96b
Signed-off-by: Ernest Deák <erdeak@cisco.com>
7 years agoAdd support for netconf entities 82/37982/6
Jozef Behran [Thu, 21 Apr 2016 16:12:57 +0000 (18:12 +0200)]
Add support for netconf entities

Change-Id: I6ec8a9fd629c893ae6c5f63cd4b3089584e167db
Signed-off-by: Jozef Behran <jbehran@cisco.com>
7 years agoAdd entity ownership handling test 70/37870/29
Jozef Behran [Fri, 22 Apr 2016 11:21:16 +0000 (13:21 +0200)]
Add entity ownership handling test

Change-Id: I7103363012caf770c20d3e6e7af5ab4fcac9a861
Signed-off-by: Jozef Behran <jbehran@cisco.com>
7 years agoInstalls pyangbind into the Robot test VM image. 99/38699/2
Ashish [Thu, 12 May 2016 03:02:08 +0000 (08:32 +0530)]
Installs pyangbind into the Robot test VM image.

Pyangbind generates high level python class
bindings for the given yang models. This commit
installs the plugin.

This plugin can be used to generate python bindings
which uses the libraries from the plugin. We can use
these bindings to generate the desired JSON with
default or variable data.

Change-Id: I2f980264ef42495abcb9592e57e6b381f38266bb
Signed-off-by: Ashish <ashishk.iiit@gmail.com>
7 years agoStabilize ovsdb-csit-3node-clustering-only-<stream> job 46/39646/5
priya.ramasubbu [Tue, 31 May 2016 14:43:09 +0000 (20:13 +0530)]
Stabilize ovsdb-csit-3node-clustering-only-<stream> job

Change-Id: If826d8e6a62d954cc51b813552108833606f7972
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
7 years agofix ovsdb clustering failures 85/40185/7
Jamo Luhrsen [Fri, 10 Jun 2016 20:19:54 +0000 (13:19 -0700)]
fix ovsdb clustering failures

- use more specific URIs for neutron northbound
- use POST instead of PUT
- cleaned up URI variables for suite that is not used in
  production, but brings it up to standard variable use

Change-Id: If750dae2f8b3041e08fdbf5664ff258ae3b82d18
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
use more specific URIs for neutron northbound

Change-Id: Iafe6e6829dd809655a0c714d098aadc8e7fac555
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdding Natapp System-Test into Integration 97/39597/2
Thomas Lee S [Mon, 30 May 2016 11:13:54 +0000 (16:43 +0530)]
Adding Natapp System-Test into Integration

Change-Id: I79cbd113a5062ab7d7f5aad0d0309ba872e629f1
Signed-off-by: Thomas Lee S <thomaslee.s@tcs.com>
7 years agomove node URI/data syntax around and remove hard coded ip 55/40255/3
Jamo Luhrsen [Mon, 13 Jun 2016 20:43:59 +0000 (13:43 -0700)]
move node URI/data syntax around and remove hard coded ip

-  a hard coded ip had crept in with an early patch.  that is now back to
   a variable format

-  some places (like URIs for REST) need %2F in place of actual "/" character
   so reworked the tests to use that as needed

-  moved uuid discovery to the test case that needs it, instead of suite setup
   since it was getting reset as part of normal test flow and was invalid

Change-Id: I5fe95e10052e1a9c6e3565dd453b9441a0153bf2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoSxp Topology tests update of Most Recent Rule test 98/38098/7
Martin Mihálek [Tue, 26 Apr 2016 08:20:35 +0000 (10:20 +0200)]
Sxp Topology tests update of Most Recent Rule test
to check state via Wait Until Keyword

Change-Id: Ib14354508b1d8abd513a6d33b3df91dabd014b6b
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoincrease wait time from 3 to 5 when ovs connects to ovsdb sb 49/40249/1
Jamo Luhrsen [Mon, 13 Jun 2016 17:15:49 +0000 (10:15 -0700)]
increase wait time from 3 to 5 when ovs connects to ovsdb sb

Change-Id: Ib5bfe69c28e2e23d2b70ec6a2f622044ea699d52
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdded test suite for verification of data consistency in config DS and 57/39357/8
Sanjib Mohapatra [Tue, 24 May 2016 13:55:45 +0000 (19:25 +0530)]
Added test suite for verification of data consistency in config DS and
switch under various HA scenarios

        Description: In a 3 node cluster initial inventory shard status is
        verified and following tests are performed.

        - Start mininet with single switch and using Bulkomatic API pushed 1000 flows to config datastore

        - Verify data consistency across all cluster nodes via Bulkomatic API also in the connected switch

        - Kill all cluster nodes and then stop switch

        - Restart cluster connect and reconnect the switch to follower node1

        - Verify data recovery across all cluster nodes also in the connected switch

        - Stop the switch and delete 1000 flows via Bulkomatic API from follower node1

        - Similarly test cases added for leader restart and followe restart scenarios

        - Added library file and new json files

        - As per code review comment moved common variables to
          BulkomaticKeywords.robot library file

Change-Id: I1457a23d6f44d3793ecc63ab79c5a391718b7e89
Signed-off-by: Sanjib Mohapatra <sanjib.mohapatra@ericsson.com>
7 years agoIncreasing time delay for feature installation 99/40099/2
Ruchita [Thu, 9 Jun 2016 09:29:27 +0000 (14:59 +0530)]
Increasing time delay for feature installation

Change-Id: Iac719cae522d57986c0f055fb7551b887372551e
Signed-off-by: Ruchita <ruchita.khanna@tcs.com>
7 years agoSmall Fixes to the Openstack Keywords 20/39820/7
gvrangan [Fri, 3 Jun 2016 07:05:17 +0000 (07:05 +0000)]
Small Fixes to the Openstack Keywords

a. Add more timeout for delete and other
   operations that were failing in sandbox
b. Make the flavor as nano for VM instances
   as it could speed up the building

Change-Id: I6309528e972ce11f9d1eb5811d0208f5a9a78722
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoupdating expected results for boron stream 11/40011/2
Peter Gubka [Wed, 8 Jun 2016 09:38:24 +0000 (11:38 +0200)]
updating expected results for boron stream

minor updates in .robot files due to api change for variables

Change-Id: Id8b7a9f5f3825de85ca25ba75ea53ad8eec95559
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoEnhanced debugging logs in GBP CSIT 29/39829/9
Tomas Cechvala [Fri, 3 Jun 2016 10:30:12 +0000 (12:30 +0200)]
Enhanced debugging logs in GBP CSIT

 - fixed periodic curl
 - added logging for easier debugging

Change-Id: Ib00a74cec8b4abcb2f7d872e48d2cd46707544fb
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoAdding ElasticsearchAppenderClass & longevitytests 59/38559/19
Kumar Rishabh [Mon, 9 May 2016 07:07:25 +0000 (12:37 +0530)]
Adding ElasticsearchAppenderClass & longevitytests

This adds ElasticsearchAppender Class which can query for harvested
MBeans in an Elasticsearch Node to which karaf-decanter dumps the data.
The current MBeans that can be currently queried for are:
    java.lang:type=GarbageCollector
    java.lang:type=Threading
    java.lang:type=ClassLoading
    java.lang:type=Memory
    java.lang:type=OperatingSystem

This also adds a method plot_points which draws graph using mathplotlib
for the above metrices
    Usage example is defined in the file.

This also adds long duration robot tests for the above class in the
folder longevity. A sample run would look something similar to

robot -v PORT:9200 -v IP:10.2.4.204 -v DURATION:20 -v STEP:1 010_Check_JVM_Resource.robot
where elasticsearch node is running on 10.2.4.204:9200 and each of the
tests is to be run for a duration of 20 seconds.
Also adds a test to plot_points where the graph is plotted using the
points from the starting of the elasticsearch node to the current time.

Change-Id: I4acb3cef32213e91cbaadb40c0c21deef8f4c060
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
7 years agoSuite for testing Distribution version reporting 37/39837/3
Vratko Polak [Fri, 3 Jun 2016 13:25:57 +0000 (15:25 +0200)]
Suite for testing Distribution version reporting

Change-Id: I5c9f963c1c0fd6327f9ed47c4e91f5ac8d20460b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoFix Robot file formatting in recent merges 41/39841/1
Vratko Polak [Fri, 3 Jun 2016 13:26:33 +0000 (15:26 +0200)]
Fix Robot file formatting in recent merges

Change-Id: I8c46806517b674864c698ee31bee386545826b10
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoadd ability for cbench to be run locally to the system executing robot framework 10/39810/2
Jamo Luhrsen [Thu, 2 Jun 2016 23:56:44 +0000 (16:56 -0700)]
add ability for cbench to be run locally to the system executing robot framework

Change-Id: I0efb64c93ff5ffc43bd456d1e66064a2cd01bb04
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agofixing paths of resources to prevent ERROR message in test report 11/39811/1
Jamo Luhrsen [Fri, 3 Jun 2016 00:05:02 +0000 (17:05 -0700)]
fixing paths of resources to prevent ERROR message in test report

Change-Id: Ic31ff4fd7ca746e8b5295d1e7b6c9508a3999da7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd a fix to update java version for VTN Coordinator Boron 85/39685/1
Karthik.S [Wed, 1 Jun 2016 12:28:14 +0000 (17:58 +0530)]
Add a fix to update java version for VTN Coordinator Boron

* Enabled VTN coordinator for Boron, test are failing due to java version.
  So, added a line in VtnCoKeyword.robot file to update java-1.8.0-openjdk-devel

Change-Id: I43c069460f852d33369fbe874ad65e65e8a97103
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
7 years agoSort OpenFlow Cluster Test Plan 81/39681/1
Luis Gomez [Wed, 1 Jun 2016 03:38:04 +0000 (20:38 -0700)]
Sort OpenFlow Cluster Test Plan

Change-Id: If5a3bae0baf20c2b57ccce48490fc37e75418c1b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAkka 1node: Add WUKS to data verification 36/39636/2
Vratko Polak [Tue, 31 May 2016 10:04:41 +0000 (12:04 +0200)]
Akka 1node: Add WUKS to data verification

This is to allow -all- jobs to get out of status 503.

Change-Id: Ice1695d9f70d2cb249d3f86372e5e7947af5349a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoStabilize aaa test 47/39547/4
Luis Gomez [Fri, 27 May 2016 22:06:27 +0000 (15:06 -0700)]
Stabilize aaa test

- Add test case known bug.
- add retry in next test case.

Change-Id: Ia58da2fd6e6b90c13ab8ffd0d1bbe7dcedd4570e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoStabilize l2switch test: Remove unstable Loop remover test 46/39546/1
Luis Gomez [Fri, 27 May 2016 21:35:17 +0000 (14:35 -0700)]
Stabilize l2switch test: Remove unstable Loop remover test

Loop remover feature remove port test fails sporadically in CI.
This failure is not reproducible outside CI so it looks like an env issue.

Change-Id: Iedb13b8ae1534ef1576f02a4c8ee731cf25b3b44
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoTo Fixed The Failure Scenarios for Southbound_Cluster. 58/39458/2
Poornachandrarao [Thu, 26 May 2016 15:43:56 +0000 (11:43 -0400)]
To Fixed The Failure Scenarios for Southbound_Cluster.

Change-Id: Iaed86ed075a3a8aa56923db951e09a16b788059e
Signed-off-by: Poornachandrarao <poornachandrarao.b@hcl.com>
7 years agoInitial ocpplugin system test. 59/38959/6
jason [Tue, 17 May 2016 08:33:42 +0000 (16:33 +0800)]
Initial ocpplugin system test.

Change-Id: Ie2fdb0c68da9a0c5e49b77221fb82c818af00098
Signed-off-by: jason <jason.cw.yuan@foxconn.com>
7 years agoImprove variable names and comments in akka upgrade suite 72/39472/2
Vratko Polak [Thu, 26 May 2016 09:53:23 +0000 (11:53 +0200)]
Improve variable names and comments in akka upgrade suite

Change-Id: Id4fb4f5fba7c2317b190289babe67f486c9bb720
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoRemove tempest from ovsdb 37/39437/3
Sam Hague [Wed, 25 May 2016 18:40:10 +0000 (14:40 -0400)]
Remove tempest from ovsdb

Change-Id: I03787bd6887818f6eb89f0b93ff54f47fc049de5
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agomove netvirt clustering to netvirt 35/39435/3
Sam Hague [Wed, 25 May 2016 18:36:22 +0000 (14:36 -0400)]
move netvirt clustering to netvirt

Change-Id: Icbe1aafdc7a48f627cf84a01a262c4abef6455c6
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agomove openstack to netvirt 34/39434/5
Sam Hague [Wed, 25 May 2016 18:33:57 +0000 (14:33 -0400)]
move openstack to netvirt

Change-Id: Ic66a3bf26653868d16ab75dafb2fdbb61b71682b
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agomove devstack tempest to netvirt 33/39433/3
Sam Hague [Wed, 25 May 2016 18:25:24 +0000 (14:25 -0400)]
move devstack tempest to netvirt

Change-Id: I33cfa33ba441e5071cb1c40257d9b0d4f4ddecb0
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoAdd suite for akka persistence when upgrading ODL 50/37150/40
Vratko Polak [Mon, 23 May 2016 17:21:14 +0000 (19:21 +0200)]
Add suite for akka persistence when upgrading ODL

+ Add a testplan file.
+ Include a utility for rapid PATCH requests for replacing cars.
+ Change ClusterManagement to work with single node
+ Change ClusterManagement to support alternative installation directories.
+ SSHKeywords.Execute_Command_Passes is now much more customizable.
+ SSHKeywords.Execute_Command_Should_Pass as its wrapper with different defaults.

Change-Id: If4f6751a16534295eed9662015f06d5f4287308b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoAdd CSIT for VTN Manager flowfilter functionality 93/39093/3
Karthik.S [Thu, 19 May 2016 12:55:59 +0000 (18:25 +0530)]
Add CSIT for VTN Manager flowfilter functionality

* Added vlan test cases for vbrif flowfilter keytype to verify vlan-pcp
  in flowentry installed.
* Added new function "Add a vlan portmap" in VtnMaKeyword library file.
* Added new test file 010__vtn_vbridge_interface_vlanmap.robot for OF10
  and OF13.

Change-Id: If91f821a8337de1a2c8f0c07752a20ae0a570211
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
8 years agoFix print statements for pep8 49/39349/2
Thanh Ha [Tue, 24 May 2016 13:24:51 +0000 (09:24 -0400)]
Fix print statements for pep8

"print (" -> "print(" to remove space between print function and
parenthesis.

Change-Id: Idab18bed943ab9f4f4896cedb99d219ad893e939
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoEnable tempest tests for netvirt 43/39343/2
Sam Hague [Tue, 24 May 2016 12:41:38 +0000 (08:41 -0400)]
Enable tempest tests for netvirt

Change-Id: I20a624a2dae1d0d38c1e68e42ef1ec1dc9943af0
Signed-off-by: Sam Hague <shague@redhat.com>
8 years agoFix spurious failures on small BGP batches 15/39315/3
Jozef Behran [Tue, 24 May 2016 09:32:43 +0000 (11:32 +0200)]
Fix spurious failures on small BGP batches

The suites manypeers_changecount.robot and
manypeers_prefixcount.robot are failing if too small amount
of prefixes is being specified because the timeout
calculations are not taking static overhead into account.
This static overhead is too high for small amounts of
prefixes, leading to spurious failures due to a timeout.

Change-Id: Ib46f4dc099bb1c55d95422f6ecee4ee8b8e45bf3
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTidied new and updated suites 72/39172/2
Jozef Behran [Fri, 20 May 2016 11:29:49 +0000 (13:29 +0200)]
Tidied new and updated suites

Change-Id: I28164bd4bbe73cee68c02c487a955de5bbc46479
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoadding de-configuration part 94/38994/2
Peter Gubka [Tue, 17 May 2016 17:04:30 +0000 (19:04 +0200)]
adding de-configuration part

Change-Id: I3b428045dced84bd14197acd48c65e70b94692dc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix CSIT Tests as per the recent changes in Keywords 64/38964/8
priya.ramasubbu [Tue, 17 May 2016 15:13:58 +0000 (20:43 +0530)]
Fix CSIT Tests as per the recent changes in Keywords

  * Fix the Openstack Tests
  * Fixed the  tests added to Tempest suite as well
  * Removed the Ping All as it is not necessary now

Change-Id: I11c56586f11d29c5ebaa94686b86a01f02b5a920
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
8 years agoBGP 10 peers: Lower scale in order to fit in memory. 71/38971/1
Vratko Polak [Tue, 17 May 2016 13:26:55 +0000 (15:26 +0200)]
BGP 10 peers: Lower scale in order to fit in memory.

With Route Reflector client peers, all data sent to them
is is AdjRibsOut, which contains copies for each peer.
That means there was 9M more prefixes stored in datastore,
which is too much for the heap to handle.

This sets scale to 100k prefixes, which should fit in memory safely;
unless there is large amount of transient data during processing.

Change-Id: I11c1a3d4fa966aee56145949520918c4307d8335
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoMore readable log message for ExecuteCommandOnRemoteSystem 67/38967/1
Jozef Behran [Tue, 17 May 2016 12:26:50 +0000 (14:26 +0200)]
More readable log message for ExecuteCommandOnRemoteSystem

The original logging command produced a message like
"Attempting to execute sudo /sbin/iptables -I OUTPUT -p all
--source 10.30.32.162 --destination 10.30.32.204 -j DROP on
10.30.32.162 by jenkins with any and >" which is pretty
confusing as it is not clear what part is the command to be
execute, what part is the remote system to be executed and
so on.

The new format is something like 'Attempting to execute
command "sudo /sbin/iptables -I OUTPUT -p all --source
10.30.32.162 --destination 10.30.32.204 -j DROP" on remote
system "10.30.32.162" by user "jenkins" with keyfile "any"
and prompt ">"' which is far more readable as now the
message described each of the items it contains and also
uses quotes to make it explicit where the items start and
end in the message.

Change-Id: I886059bd7bae6ebde866977a49b4bf6eb63354d1
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years ago3node Tests for the Openstack Integration 53/38053/48
priya.ramasubbu [Mon, 25 Apr 2016 15:47:31 +0000 (21:17 +0530)]
3node Tests for the Openstack Integration

     * Add failover test cases for L2/L3
     * Fixed some Keywords which were causing socket closed
     * Add dumpflows and other debugs
     * Verify created and deleted routers with northbound calls

Change-Id: I1ab0f88e322e44ca9928d7feea33b732599168bc
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
8 years agoAdd sleep 1 to prevent mininet packet storms in l2switch test 23/38823/2
Luis Gomez [Thu, 12 May 2016 19:50:15 +0000 (12:50 -0700)]
Add sleep 1 to prevent mininet packet storms in l2switch test

Forgot to add packet-storm prevent sleep in 2 test cases.

Change-Id: I86ed4fa4fa1d19f5c63606d9463b29bbd516700b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoentity ownership tests using ofp 53/37253/37
Peter Gubka [Thu, 7 Apr 2016 12:15:57 +0000 (14:15 +0200)]
entity ownership tests using ofp

Change-Id: I5ec48364df3b15895178ce00b553f649ae1acabc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoBGP 3-node clustering performance 17/32817/54
Radovan Sajben [Fri, 15 Jan 2016 12:07:22 +0000 (13:07 +0100)]
BGP 3-node clustering performance

- 1M prefix scaling & performance test suite

Change-Id: I2aeb28873a830d1e8565e9141f1331d7f71387b8
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoAdd new CSIT test cases in VTN Manager 03/38503/5
Karthik.S [Fri, 6 May 2016 15:15:08 +0000 (20:45 +0530)]
Add new CSIT test cases in VTN Manager

   * Added new testcase to test and verify vlanpcp with flowfilter functionality.
   * Added test cases in 010__vtn_vlanmap.robot in VTN_Mgr_OF10 and VTN_Mgr_OF13
   * Added verification output in VtnMaKeywords.robot library file.

Change-Id: Ie28fc3f59cdd50329985afef082024d54bcac1bc
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
8 years agoupdating flowspec suite to accept path-id 0 in json response 20/38620/1
Peter Gubka [Tue, 10 May 2016 09:48:00 +0000 (11:48 +0200)]
updating flowspec suite to accept path-id 0 in json response

suite must defferentiate between boron and beryllium because
the beryllium one miss this field

Change-Id: If26cd1b9a6b0bc5ca39ee1b7800006056d93e220
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoFix car-people performance test 53/38553/2
Luis Gomez [Mon, 9 May 2016 00:07:42 +0000 (17:07 -0700)]
Fix car-people performance test

Modify python script to register people rpc.
Add WUKS for Purchase verify.
Remove Netconf check.

Change-Id: I7e3408999e4a97895d658a531cb06a640cc6ec0e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoFix SFC tests for service chains, sched types and paths 72/38572/2
Miguel Angel Munoz Gonzalez [Mon, 9 May 2016 12:43:47 +0000 (14:43 +0200)]
Fix SFC tests for service chains, sched types and paths

Proper selection of variables has to be done according to each release.
There are specific directories containing different variables per release.

Some other minor fixes to reflect changes in the model have been included.

Change-Id: Ie2813a7ea2ebda720364c21789820f9ecd5c5ee0
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
8 years agol2switch suite stabilization 14/38214/5
Luis Gomez [Fri, 29 Apr 2016 02:21:59 +0000 (19:21 -0700)]
l2switch suite stabilization

Add 1 sec sleep to avoid packet storm in the loop test.
Remove bad checking in loop test, a port down can show discard.
Add WUKS for all ping tests.

Change-Id: I5879bb2a89a9cee0cd38d61ba1263c45d7e5b1cf
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoFix version dir variables for service nodes and SFFs suites 18/38518/2
Miguel Angel Munoz Gonzalez [Fri, 6 May 2016 15:39:48 +0000 (17:39 +0200)]
Fix version dir variables for service nodes and SFFs suites

Service Nodes and Service Function Forwarders test
are using wrong references to directories. They should
include the name of the release they refer to.

Aside, there are minor checks wrong, based on old models.

Change-Id: If04e8b5d1e050471f0b4385d3679fb23eccc594b
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
8 years agoFix test cases variables for 'Rendered Service Path' test suite 56/38356/5
Miguel Angel Munoz Gonzalez [Tue, 3 May 2016 10:16:00 +0000 (12:16 +0200)]
Fix test cases variables for 'Rendered Service Path' test suite

Variables used in mentioned robot test suite should be properly initialized according to version.

There are also some minor fixes on several values used to check results, such as json paths and service funcion names

Change-Id: Ie4c49e31d258c5ed82c1368b15e26d3edd2f478e
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
8 years agoFix for VTN Manager CSIT Job Failures 93/38493/2
Karthik.S [Fri, 6 May 2016 12:57:57 +0000 (18:27 +0530)]
Fix for VTN Manager CSIT Job Failures

   * Temporory fix to install vlan package in Mininet
   * Will be reverted once the Infra moves to Private Cloud

Change-Id: I881c00522c2f5a6da499926c6dd317ef57ec6f09
Signed-off-by: Karthik.S <siva-karthik@hcl.com>