integration/test.git
6 years agoAdd missing , for model 10/71210/1
Sam Hague [Mon, 23 Apr 2018 13:01:18 +0000 (09:01 -0400)]
Add missing , for model

Change-Id: I23b52d28b00f40572b5b79467775de128f1bc1ef
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd negative test and happy path for router delete 42/68042/6
Jamo Luhrsen [Wed, 7 Feb 2018 23:11:45 +0000 (15:11 -0800)]
Add negative test and happy path for router delete

- there is some situation where deleting a router that is
associated with a VPN causes a cascading effect of failing
test cases. We need to first disassociate the vpn before
deleting the router. However, this seems like it's not
handled correctly. Should we be rejecting the router
delete? So that negative test flow is also added here.

Change-Id: Ic1b0ff86b53c6f6f067201191fca08109689ddab
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoRemove hardcoded line nos in status output matches 83/71183/1
Jamo Luhrsen [Fri, 20 Apr 2018 20:44:24 +0000 (13:44 -0700)]
Remove hardcoded line nos in status output matches

Change-Id: I198b20cbb05940d9c993cd4fadd1794859c38118
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix robot syntax 99/71099/1
Tomas Markovic [Thu, 19 Apr 2018 07:13:45 +0000 (09:13 +0200)]
Fix robot syntax

Additional dot in test.

Change-Id: I0f3d4c503b017df7caeed8bb41f32622ff40c9a8
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdd timeout for rib out checks 13/71013/3
Tomas Markovic [Tue, 17 Apr 2018 04:47:35 +0000 (06:47 +0200)]
Add timeout for rib out checks

Because route-reflect can take up to
10 seconds when using play.py tool.

Also changed test case name to better reflect
functionality.

Change-Id: I6529c24fced83ec5805129df90113042b615e614
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoApplication peer oxygen route key 67/71067/2
Tomas Markovic [Wed, 18 Apr 2018 05:55:52 +0000 (07:55 +0200)]
Application peer oxygen route key

Output was the same for both oxygen,
and fluorine versions.

Add fluorine output and change the default
output to match oxygen values.

Change-Id: Ic71a05a3d4e094f00b88adcae23ac027c202da17
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoLocal as peer test 41/70841/13
Tomas Markovic [Thu, 12 Apr 2018 11:27:47 +0000 (13:27 +0200)]
Local as peer test

Testing local-as configuration.
Configures external peer with local-as,
and internal peer without local-as.

We connect play.py python tool to both
peers, and we wait for them to exchange
routes.

Local-as from external peer is expected
on outputs of both peers, and each peer
should contain the others peer-as.

Change-Id: I741b251b6618432b713b65d4aa9ab81a7290eb90
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdjust UM projects CSIT documentation 56/70956/1
Luis Gomez [Sun, 15 Apr 2018 16:14:58 +0000 (09:14 -0700)]
Adjust UM projects CSIT documentation

Change-Id: I2324fdfb2853eb67113673654b8e38ef301220b7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoUpdate of Check_Karaf_Log_Message_Count API 31/70831/7
eafatha [Thu, 12 Apr 2018 17:22:56 +0000 (22:52 +0530)]
Update of Check_Karaf_Log_Message_Count API

Enabling user option to use either console or karaf log

Change-Id: I42e23647c608e91a0c8d7d3d271f571f727c0511
Signed-off-by: eafatha <a.fathima.thasneem@ericsson.com>
6 years agoMultipath route-key config 71/70771/4
Tomas Markovic [Wed, 11 Apr 2018 11:10:20 +0000 (13:10 +0200)]
Multipath route-key config

Addition of mandatory fluorine
argument, but invalid for old
versions of odl, as ipv4/6 and linkstate
route-key is not supported.

Change-Id: I302becbe270806de435a3a11a8377b41d752c813
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoRoute refresh config update 12/70712/4
Tomas Markovic [Tue, 10 Apr 2018 12:14:21 +0000 (14:14 +0200)]
Route refresh config update

Route-key parameter is now mandatory
when sending routes to bgp on fluorine.

Change-Id: I98ceb2dea7513bf883280ebeb994acfa09415375
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdd route-key into policies 20/70920/3
Tomas Markovic [Fri, 13 Apr 2018 15:33:44 +0000 (17:33 +0200)]
Add route-key into policies

Mandatory fluorine argument.

Change-Id: I52f31b7170d6748b44b32030678e4b32da9189aa
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCluster id test case 64/70664/17
Tomas Markovic [Mon, 9 Apr 2018 14:03:47 +0000 (16:03 +0200)]
Cluster id test case

In fluorine mutliple cluster-ids are
supported, therefore we add new test case
to test this functionality.

Two ibgp rr-client peers introduce prefixes
and we check if controller adds respective
cluster-ids as argument to these routes.

Also fixing play.py type hex for cluster-id
argument.

Change-Id: I73a462a81b080c5550c0f4590294d8dde34bd6ee
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBgp app peer route key 80/70780/3
Tomas Markovic [Wed, 11 Apr 2018 13:29:41 +0000 (15:29 +0200)]
Bgp app peer route key

Addition of mandatory fluorine argument.

Removing support for lithium, beryllium.

Change-Id: I9c5efa3ec5260d7832424a147748684bc8c371b2
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCount threads in suite teardown 82/68982/4
Jamo Luhrsen [Fri, 2 Mar 2018 01:13:49 +0000 (17:13 -0800)]
Count threads in suite teardown

- in light of the recent discovery that we get a lot of threads
running when doing karaf shell commands (especially via ssh),
this info might be useful to have down the road.

see: https://jira.opendaylight.org/browse/INFRAUTILS-29

Change-Id: I4198512bd6ad28b2916ca13276b7ca1ea73117c8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoTest to cover No FIP VM to FIP VM traffic. 56/64156/16
Aswin Suryanarayanan [Wed, 11 Oct 2017 10:47:35 +0000 (16:17 +0530)]
Test to cover No FIP VM to FIP VM traffic.

1)This covers NFIP to FIP same compute and different compute.
2)NFIP-FIP from a NAPT switch and Non-NAPT switch(Assumes NAPT switch is
scheduled on a compute).

Change-Id: I9956aa3a52245daf1ab9a7a31e145669168c5a96
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoWhitelist karaf ssh interrupted timeout Exception 08/70808/1
Jamo Luhrsen [Wed, 11 Apr 2018 20:59:40 +0000 (13:59 -0700)]
Whitelist karaf ssh interrupted timeout Exception

Change-Id: I544ddb78ab37fcd450c05c5527ebf711bcfd6e9c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdjust OF stats test 50/70750/4
Luis Gomez [Wed, 11 Apr 2018 00:46:31 +0000 (17:46 -0700)]
Adjust OF stats test

Do not push flows until switch is really connected.

Change-Id: Ibbda6ae4cf0ab4c80e006014129676446eea362b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoCheck_Karaf_Log_Message_Count API added 14/70714/4
eafatha [Tue, 10 Apr 2018 20:28:50 +0000 (01:58 +0530)]
Check_Karaf_Log_Message_Count API added

Change-Id: If0d9e685e3363b26bb4ebe3b69d546bd1eae23cf
Signed-off-by: eafatha <a.fathima.thasneem@ericsson.com>
6 years agoRemove ':' OLFE exception in whitelist 46/70746/1
Jamo Luhrsen [Tue, 10 Apr 2018 21:28:47 +0000 (14:28 -0700)]
Remove ':' OLFE exception in whitelist

seems that we sometimes get OptimisticLockFailedExceptions
with and without the ':' on the end. Remove it for now so
we can still ignore OLFEs in CSIT

Change-Id: Iab56968dff0e6dbc8840f05fc986edc089e5479b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd mandatory configuration 59/70359/6
Tomas Markovic [Thu, 5 Apr 2018 06:44:17 +0000 (08:44 +0200)]
Add mandatory configuration

Result of: BGPCEP-743
On Fluorine we have to add default policies
when reconfiguring example-bgp-rib, which does
contain in fluorine config located in
odl-bgpcep-bgp-config-example feature.

Change-Id: I9df5ab2ed8fc0fe8c706b9c5e9111672a0c6439e
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFail test cases on Exception in karaf.log 72/62572/30
Jamo Luhrsen [Fri, 1 Sep 2017 21:13:59 +0000 (14:13 -0700)]
Fail test cases on Exception in karaf.log

There will be a global variable to control whether this check will
happen or not. a -v FAIL_ON_EXCEPTIONS:False (or True) on the
pybot command line can be used.

Also moved some keywords that are focused on parsing karaf.log
messages to KarafKeywords.robot. They did not seem to fit in
the OpenStackOperations.robot library

Change-Id: Icbc6b4669f0ad260e116b206387fabdb5d4f3e3c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoUpdate CSIT doc for Unmanaged projects 50/70350/2
Luis Gomez [Thu, 5 Apr 2018 01:56:55 +0000 (18:56 -0700)]
Update CSIT doc for Unmanaged projects

Also update JJB project examples.

Change-Id: I378cd379926e5888220871d7d72e1ae95e26d054
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoExabgp ipv6 connect test 87/68887/41
Tomas Markovic [Wed, 28 Feb 2018 15:48:30 +0000 (16:48 +0100)]
Exabgp ipv6 connect test

Tests simple ipv6 functionality.

Configures neighbor as ibgp peer with ipv6
address. Starts exabgp with various ipv6
configurations, and verifies all of them report
expected data.

Change-Id: I0107a5adfe9b07526e742d07f619da48c1e4434d
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBGPCEP-781: Adjust evpn routes 20/70320/8
Tomas Markovic [Wed, 4 Apr 2018 07:33:37 +0000 (09:33 +0200)]
BGPCEP-781: Adjust evpn routes

Due to addition of path-id to evpn,
so we can use multiple evpn routes at once,
tests have to be adjusted since path-id is
now mandatory for evpn

Change-Id: I99f799464256c3f0a299cfeb89785c29dd87899d
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBgp policy add AS number 13/70413/4
Tomas Markovic [Fri, 6 Apr 2018 07:35:52 +0000 (09:35 +0200)]
Bgp policy add AS number

Due to developement on fluorine,
we add this Autonomous System
number to output of odl.

Change-Id: If7cadf1f7f281d5fe9b0305f06e36bba49433e03
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoOVSDB.robot library file update 10/70410/2
eafatha [Fri, 6 Apr 2018 14:51:11 +0000 (20:21 +0530)]
OVSDB.robot library file update

Change-Id: Id5a74ceee47061cb09d4912511ef42b792b81b2b
Signed-off-by: eafatha <a.fathima.thasneem@ericsson.com>
6 years agoRevert "Exclude failing tempest test until nova bu 13/69713/4
Jamo Luhrsen [Tue, 20 Mar 2018 21:48:00 +0000 (21:48 +0000)]
Revert "Exclude failing tempest test until nova bu

This reverts commit 21bff84a69111758a8bb9ea74028002a9584c425.

Reason for revert: nova patch was merged in queens which should allow
this test case to pass.

  https://review.openstack.org/#/c/553817/

Change-Id: I26ffb7f596414759bed6fc3ecb07fc84e6814913
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoConnectivity test with blocking ports 87/67787/8
Tomas Jamrisko [Wed, 31 Jan 2018 15:58:19 +0000 (16:58 +0100)]
Connectivity test with blocking ports

Adding a new clustering test which checks how the cluster behaves
when we lose connectivity between ODL nodes while keeping them
available on other interfaces.

Change-Id: Id17b2b9b321c518f746dfa6286c0255b7baa7dcb
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoBGPCEP-781: Adjust l3vpn routes 23/70323/6
Tomas Markovic [Wed, 4 Apr 2018 08:09:56 +0000 (10:09 +0200)]
BGPCEP-781: Adjust l3vpn routes

path-id is now mandatory for l3vpn routes,
and should be expected and configured as well.

Change-Id: Ib1d5e87391411db73885d35373e2bf108f5348f7
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBGPCEP-781: Add fluorine outputs 35/70335/3
Tomas Markovic [Wed, 4 Apr 2018 12:27:26 +0000 (14:27 +0200)]
BGPCEP-781: Add fluorine outputs

Mandatory path-id argument is now visible
in policies results.

Change-Id: I781e85014a99fe0c3e67f624d955aba511d2b4c9
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdditional cases for clustering HA L3 tests 50/69450/2
Tomas Jamrisko [Tue, 13 Mar 2018 16:46:08 +0000 (17:46 +0100)]
Additional cases for clustering HA L3 tests

Taking down controllers one-by-one doesn't guarantee that a leader
will be killed. This patch explicitly tests recovery after removal
of a leader. It also adds recovery after all nodes in the cluster
are restarted.

Change-Id: I3ae7584d6711df54f48be60463fdd21106791f4d
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoRemove version feature test in master 35/70235/2
Luis Gomez [Mon, 2 Apr 2018 03:20:58 +0000 (20:20 -0700)]
Remove version feature test in master

Change-Id: If592c25e811fceff74756274a69a3340ee90c631
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoParse taglist.log for autorelease builds 63/70163/3
Sam Hague [Wed, 28 Mar 2018 19:17:33 +0000 (12:17 -0700)]
Parse taglist.log for autorelease builds

Change-Id: I86f24db2f0a39e194533fbc0f100dce833417ebe
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPeer group reconfig test case 97/69797/21
Tomas Markovic [Thu, 22 Mar 2018 09:33:55 +0000 (10:33 +0100)]
Peer group reconfig test case

Add test cases for peer-group
configuration and reconfiguration.

Configures peer-group assigns peer to it.
Checks working peer with filled topology.
Reconfigures peer-group without appropriate
afi-safi, and checks empty topology.

Change-Id: I87588b24847c61eb4ad6532ed653ad9989c4fd92
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoReference OVSDB-413 instead of bz 8529 08/69708/2
Jamo Luhrsen [Tue, 20 Mar 2018 20:08:05 +0000 (13:08 -0700)]
Reference OVSDB-413 instead of bz 8529

eventually we need to move all CSIT bug references to
their JIRA counterparts, then change the bug reporting
keyword to make the link proper. For now, I just want
to stop having to figure it out when I'm vetting release
CSIT failures.

Change-Id: I4bcf1d594a29cfded0806dd18ab947bc41613553
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBGPCEP-700: Log message for expected error. 85/70085/4
Tomas Markovic [Mon, 26 Mar 2018 07:21:45 +0000 (09:21 +0200)]
BGPCEP-700: Log message for expected error.

This error is always in karaf.log due to
test intentionally sending routes without
mandatory arguments.

Add log message after start of the test case
to clarify what we are doing.

Change-Id: Id01416cb45a2e349c967355c603cfca6f7e43648
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoUse Variables.robot in two main libraries 46/70046/1
Jamo Luhrsen [Fri, 23 Mar 2018 23:51:23 +0000 (16:51 -0700)]
Use Variables.robot in two main libraries

We need to keep moving on this conversion. This patch
is to fix a bug that was very irritating to track down.

this line in Variables.robot is pretty simple:
  @{AUTH}           ${ODL_RESTCONF_USER}    ${ODL_RESTCONF_PASSWORD}

But, changing the two ODL_ variables on the command line
so that we can have AUTH be something different for
other installations was not working. AUTH was still taking
admin:admin as user and password.

That's because we were still sourcing Variables.py in
these two libs (Utils and TemplatedRequests) where this
line exists:

 AUTH = [u'admin', u'admin']

pybot brings in those .py variables files last and they will
take final precendence, even over the command line overrides.

very annoying, and also very hard to figure out unless
you are thinking about it.

Change-Id: I0b91be872ab5dd7a598a7b13c8b6bb45e6b986f0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBGP RIB policies test 88/68288/40
Tomas Markovic [Thu, 15 Feb 2018 09:33:01 +0000 (10:33 +0100)]
BGP RIB policies test

This test suite is base for policies tests
which will be filtering routes and peers based on
policies set.

It is running with 6 exabgps in background and app peer.
Configurations of exabgp are subject to change based on
policies applied.

Change-Id: I4454feed28a07e9526245fba8e2dde83badc4a28
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoRefactor Genius 47/69747/4
Sathwik Boggarapu [Wed, 21 Mar 2018 10:36:35 +0000 (16:06 +0530)]
Refactor Genius

Removing unnecessary logging statements and global varibales

Change-Id: I14039c972463a40783b66e9e42da49900a40fdd8
Signed-off-by: Sathwik Boggarapu <b.sathwik@ericsson.com>
6 years agoFix for VTN Coordinator CSIT failure 34/69734/1
gvrangan [Wed, 21 Mar 2018 20:07:11 +0000 (01:37 +0530)]
Fix for VTN Coordinator CSIT failure

- CSIT is downloading a wrong version of VTN Coordinator
- This Patch fixes the same by ading the correct index for download.

Change-Id: I0f69b5207b7b5d9392455200ba57a67bd051fa76
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoReference AAA-101 instead of bz 5838 93/69693/2
Jamo Luhrsen [Tue, 20 Mar 2018 16:55:16 +0000 (09:55 -0700)]
Reference AAA-101 instead of bz 5838

eventually we need to move all CSIT bug references to
their JIRA counterparts, then change the bug reporting
keyword to make the link proper. For now, I just want
to stop having to figure it out when I'm vetting release
CSIT failures.

Change-Id: I90615bd456afd2035a3517a31dd5e7661981bdf8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd new testcase to ITM_Direct_Tunnel 25/69425/6
Sathwik Boggarapu [Tue, 13 Mar 2018 08:28:02 +0000 (13:58 +0530)]
Add new testcase to ITM_Direct_Tunnel

Verifying Tunnels after restarting both OVS and CONTROLLER

Change-Id: I05a8cb87dbc20ca427e98a95c0f26c0b024d03d3
Signed-off-by: Sathwik Boggarapu <b.sathwik@ericsson.com>
6 years agoAdd pcep and bmp ha to fluorine 87/69687/2
Tomas Markovic [Tue, 20 Mar 2018 15:36:48 +0000 (16:36 +0100)]
Add pcep and bmp ha to fluorine

Pcep-ha and Bmp-ha are relevant to versions
Oxygen and above, therefore I am adding
new testplan specific for fluorine to
enable testing of these suites in fluorine.

Change-Id: I6cc65f2f7a2acba4c3670af01bea45fc3d80b3a1
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFix sporadic genius 3 node CSIT failures 02/69702/2
Faseela K [Tue, 20 Mar 2018 19:00:25 +0000 (00:30 +0530)]
Fix sporadic genius 3 node CSIT failures

Change-Id: Ia7d97ce22f588c3d091f3d79f7585a4ffe592135
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd get sysstat keyword 02/69502/12
Tomas Markovic [Wed, 14 Mar 2018 16:13:17 +0000 (17:13 +0100)]
Add get sysstat keyword

Sysstat is running on all children nodes and
this keyword can be used to get this sysstat
usage statistics when investigating
performance issues on odl nodes.

Change-Id: I2c3e748eda777fb11b717ec6b2008eaa1848861d
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFix link to releng/builder Jenkins guide 30/69630/2
Thanh Ha [Mon, 19 Mar 2018 16:42:47 +0000 (12:42 -0400)]
Fix link to releng/builder Jenkins guide

Change-Id: I61c01d5d6895e3946181553801db96c88ad841ea
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoFix RTD not building robot libdoc 29/69629/1
Thanh Ha [Mon, 19 Mar 2018 16:34:47 +0000 (12:34 -0400)]
Fix RTD not building robot libdoc

ReadTheDocs does not run tox so needs to be run as part of conf.py
code to force it to build the libdocs.

Change-Id: I04a713319d846659784e9e2099b110323a80ccd8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMove libdocs script to integration/test 26/69226/3
Thanh Ha [Wed, 7 Mar 2018 20:08:41 +0000 (15:08 -0500)]
Move libdocs script to integration/test

Since this is used by integration/test it should live in
the integration/test project.

Change-Id: I4cbaaa52f82d29947d53b3992dd6bfe113905dbc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoSwitch to using lfdocs-conf to pull in theme 25/69225/4
Thanh Ha [Wed, 7 Mar 2018 19:35:59 +0000 (14:35 -0500)]
Switch to using lfdocs-conf to pull in theme

lfdocs-conf is a new project that allows us to centrally manage
project theme configuration without having to duplicate it
everywhere or have the "docs" project become a large submodule
project.

We will push to ReadTheDocs separately and then create a new path
for this doc under docs.opendaylight.org/projects/integration-test

For further details refer to:
http://docs.releng.linuxfoundation.org/en/latest/project-documentation.html

Change-Id: I6e88b86cb4089d1410be6f8cd5f2b36a90a33162
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoExclude failing tempest test until nova bug fixed 67/69567/1
Jamo Luhrsen [Fri, 16 Mar 2018 18:38:55 +0000 (11:38 -0700)]
Exclude failing tempest test until nova bug fixed

with this test skipped, we are expecting 100%
pass which will give more confidence to devs
when looking at -gate- results

nova bug:
  https://review.openstack.org/#/c/553817/

Change-Id: Iec028889c406b5da88328b79503c4130b51eafe8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoTest cases for Bug 8882 36/62536/15
Aswin Suryanarayanan [Fri, 1 Sep 2017 10:41:38 +0000 (16:11 +0530)]
Test cases  for Bug 8882

Tests the PNF connectivity from SNAT vm

Change-Id: I3a181da8c70f618a83767f940995245f5b510b48
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoIncrease time for version feature verification 44/69544/3
Luis Gomez [Fri, 16 Mar 2018 02:39:49 +0000 (19:39 -0700)]
Increase time for version feature verification

Current time with all featurres loaded is not sufficient

Change-Id: I26af88bc6a74888f93a21ef509ffa56eab912bad
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoNETVIRT-1060:vpn_basic_dualstack: fix extra route 44/69444/7
Valentina [Tue, 13 Mar 2018 15:11:03 +0000 (16:11 +0100)]
NETVIRT-1060:vpn_basic_dualstack: fix extra route

Configure extra-routes IPv4 and IPv6 only in one VM, then update router.
Check, that these Ipv4 and IPv6 extra route addresses are reachable from
all other spawned VMs.

JIRA: NETVIRT-1060

Change-Id: I9fe6413af5f23af7741ba9e71cdacf96d2a82669
Signed-off-by: Valentina <valentina.krasnobaeva@6wind.com>
6 years agoRemove newton code 93/69293/8
Sam Hague [Thu, 8 Mar 2018 19:35:04 +0000 (14:35 -0500)]
Remove newton code

Change-Id: I71d7cfa174333f69e2ef02aa3ee6ec0227b10041
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAllow offsetting index for raft queries 85/69385/3
Tomas Jamrisko [Mon, 12 Mar 2018 15:38:58 +0000 (16:38 +0100)]
Allow offsetting index for raft queries

Our downstream CI uses tripleO for deployment of OS. This can cause
differences in deployment. In this case it's related to akka.conf
which indexes member roles from 0, instead of 1. This results in
some queries failing with 404.

This patch allows us to add an offset for indexes so that we query
the appropriate member-${index}

Change-Id: I024eb521436530806c15fd4109ddf3644a2191f4
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoMove Karaf Home variable 91/69491/2
Tomas Markovic [Wed, 14 Mar 2018 09:58:59 +0000 (10:58 +0100)]
Move Karaf Home variable

Karaf_home variable is used in Variables.robot
without definition, which causes test execution error
in some test suites.

Moved it from Clustermanagement.robot library to
Variables.robot

Change-Id: I09e7be5046cb1971084d90dd77c8972cbde509e6
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoModify data-store URLs for NetVirt data collection 52/69352/2
Kiran N Upadhyaya [Sun, 11 Mar 2018 15:32:29 +0000 (21:02 +0530)]
Modify data-store URLs for NetVirt data collection

1) Added config/ebgp:bgp
2) operational/l3vpn:vpn-interfaces is not used anymore from Oxygen. It
has been replaced by operational/odl-l3vpn:vpn-interface-op-data. Keep
both models and just let it be empty for the different branches.

Change-Id: Ie82adead893060f1dc70ae39b4fd28556148e9d0
Signed-off-by: Kiran N Upadhyaya <kiran.n.upadhyaya@ericsson.com>
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRemove dummy.robot 40/69340/1
Faseela K [Sat, 10 Mar 2018 15:02:17 +0000 (20:32 +0530)]
Remove dummy.robot

Now that itm-direct-tunnels suite is added here, removing dummy.robot

Change-Id: Ifcadafe4820ab7d45bff12d2a7122f398fd9c40a
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoNETCONF-521: Fix netconf test 61/69161/13
Luis Gomez [Tue, 6 Mar 2018 21:19:15 +0000 (13:19 -0800)]
NETCONF-521: Fix netconf test

There is new API for add/remove netconf device keys in Oxygen.
There is new API for configuring netconf device in Oxygen.

Change-Id: Ia5740a86e16de6754a20bb37136de9e85ee2699a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoTest Suite For ITM_Direct_Tunnels 53/68453/16
Sathwik Boggarapu [Wed, 21 Feb 2018 08:19:07 +0000 (13:49 +0530)]
Test Suite For ITM_Direct_Tunnels

Change-Id: If8f70065d50279fb28a734f21e727e906fae76b7
Signed-off-by: Sathwik Boggarapu <b.sathwik@ericsson.com>
6 years agoChange Genius IdManager Start and Stop Suite 01/69301/4
Faseela K [Fri, 9 Mar 2018 06:49:42 +0000 (12:19 +0530)]
Change Genius IdManager Start and Stop Suite

Idmanager does not have any testcase where switches are needed.
Changing the start suite for this, so that we can save
some time during CSIT runs as it saves a lot of unnecessary
operations.

Change-Id: I55bb06f21e0a277d4d1f8c0226c6c67a405462ad
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoinclude I as part of Change-Id 28/69228/1
Sam Hague [Wed, 7 Mar 2018 20:18:58 +0000 (15:18 -0500)]
include I as part of Change-Id

Change-Id: I1bd99b2776dbe0ce312e8326dfbcb07f75826903
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoDeploy Openstack Using Robot Keywords 68/63168/78
gvrangan [Sat, 16 Sep 2017 00:03:37 +0000 (20:03 -0400)]
Deploy Openstack Using Robot Keywords

Change-Id: I86736192bbb1d610218a81fbefaa5a4dcf6e2690
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoStrip Change-Id from regex 71/69171/1
Sam Hague [Wed, 7 Mar 2018 00:01:14 +0000 (19:01 -0500)]
Strip Change-Id from regex

Change-Id: I6a5c2c9649291ab4251ce24fbef2876b51965d8d
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoNETCONF-520: Fix netconf test in oxygen 01/69101/6
Luis Gomez [Tue, 6 Mar 2018 00:25:36 +0000 (16:25 -0800)]
NETCONF-520: Fix netconf test in oxygen

Looks like a yang model changed during oxygen so new RPC URI and data
for adding and deleting device are required from oxygen onwards.

Change-Id: I39eb3f76e053775e738119cc41a82ec9742e364b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoFix L2GW test case 16 34/68834/5
Victor Pickard [Tue, 27 Feb 2018 19:08:47 +0000 (14:08 -0500)]
Fix L2GW test case 16

Should be 3 ports, not 1.

Fix a typo.

Check port_mac[2], which is the remote OVSPORT2 MAC,
instead of port_mac[4], which is the local HWVTEPPORT3
MAC.

Change-Id: I7673b7889181636f9ec296ccd00cbdddbdfce6f4
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoAdd OVS dumps to Test Tear Down 86/68386/8
Faseela K [Sun, 18 Feb 2018 04:17:15 +0000 (09:47 +0530)]
Add OVS dumps to Test Tear Down

Change-Id: I57d286931f219e542ee4751f0c3b1efeda022257
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd queens tempest exclusions 01/69001/1
Sam Hague [Fri, 2 Mar 2018 13:47:04 +0000 (08:47 -0500)]
Add queens tempest exclusions

Change-Id: I9aa027497451917c0e0f37a33f5943f7c34dfb4b
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse fix URL for netconf test-tool from Oxygen 81/68981/2
Luis Gomez [Fri, 2 Mar 2018 00:17:28 +0000 (16:17 -0800)]
Use fix URL for netconf test-tool from Oxygen

This is because test-tool is broken in Oxygen.

Change-Id: I49c2f805b87b3a67b060cbeb667165d52268694c
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoAdd queens cirros flavor 71/68971/1
Sam Hague [Thu, 1 Mar 2018 18:50:42 +0000 (13:50 -0500)]
Add queens cirros flavor

Change-Id: Icb81f513e157737e144a09e3680883047c012a32
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoFix VTN CSIT Issues 17/68817/4
gvrangan [Wed, 28 Feb 2018 02:22:48 +0000 (07:52 +0530)]
Fix VTN CSIT Issues

- VTN Manager CSIT tests OF10 cases, so modified
  start Keyword to start mininet with OF10

- VTN Coordiantor does not download Oxygen for testing.
  Currently fixed to do so.

Change-Id: I5d41f3c278879418a4df9eee313097d8d1247dec
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoRemove genius DEBUG 79/68879/1
Sam Hague [Wed, 28 Feb 2018 13:52:19 +0000 (08:52 -0500)]
Remove genius DEBUG

Change-Id: I572658544f0c799014264bcc43d235dfcf10337d
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRevert "Add trace:transactions to suite teardown" 76/68876/2
Sam Hague [Wed, 28 Feb 2018 13:04:44 +0000 (13:04 +0000)]
Revert "Add trace:transactions to suite teardown"

This reverts commit 360dabe9726142f778b9ae623059277adde0e144.

Change-Id: I612b30f847e4e9d8b459c9e3761c24925ff979e3
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRun command on existing connection 58/68758/2
Tomas Jamrisko [Mon, 26 Feb 2018 08:45:05 +0000 (09:45 +0100)]
Run command on existing connection

Adding a convenience function to Utils.robot to run a command
on an already open and existing connection

Change-Id: I7538f1e960a641d8ca79980ffc81904ff330b87d
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoAdd fluorine keywords to CompareStream lib 95/68795/3
Faseela K [Tue, 27 Feb 2018 05:21:49 +0000 (10:51 +0530)]
Add fluorine keywords to CompareStream lib

Change-Id: I7350b6dc8fba7995ea0c2be0d0dd50aa0c15b43e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd trace:transactions to suite teardown 47/68447/6
Jamo Luhrsen [Wed, 21 Feb 2018 01:01:56 +0000 (17:01 -0800)]
Add trace:transactions to suite teardown

this will only add the execution of the command. Only
the output will be logged, and no pass/fail criteria
yet.

Change-Id: If8b1ce6b4a50ea7b1d4982a4ba7f5b3f7b7500b0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoExpect RSP to be persisted from oxygen onward (II) 63/68763/3
Jaime Caamaño Ruiz [Mon, 26 Feb 2018 11:47:02 +0000 (12:47 +0100)]
Expect RSP to be persisted from oxygen onward (II)

Previous patch did not account for the fact that CSIT is non versioned
and that RSPs would not be persisted on nitrogen and before.

Change-Id: Id897262add499063e6231778e202f3985dd3eff6
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoAdd to git Ignore 73/68773/1
Claudio D. Gasparini [Mon, 26 Feb 2018 13:00:22 +0000 (14:00 +0100)]
Add to git Ignore

log files
csv files
out files

Change-Id: Ie21e008a199c4d5ee12fa2092ca30c76e451d5bc
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoCleanup ovsdb cluster suites 57/68557/6
Sam Hague [Fri, 23 Feb 2018 16:55:53 +0000 (11:55 -0500)]
Cleanup ovsdb cluster suites

Change-Id: I8467e350ccfe2d9068ccf4f651d3114984ffba93
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCleanup ovsdb suites 27/68427/38
Sam Hague [Mon, 19 Feb 2018 20:02:53 +0000 (15:02 -0500)]
Cleanup ovsdb suites

Change-Id: I9ad8dde94f386df6cd9ef22c3c5cffbe3f804d43
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoFix yangtools test tool installation 82/67882/11
Jamo Luhrsen [Fri, 2 Feb 2018 22:54:05 +0000 (14:54 -0800)]
Fix yangtools test tool installation

Change-Id: I9f6d4e7dee3edfb5e3ae7b011420fd387c84476e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix some L2GW test cases for existing connections 01/68501/3
Victor Pickard [Thu, 22 Feb 2018 15:53:41 +0000 (10:53 -0500)]
Fix some L2GW test cases for existing connections

Fix some issues in newly added test cases that are
now able to run in queens.

Change-Id: I884c13531f24c5d77ba79a9781dabfb460854372
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoFix mistake [0] in location of Variables.robot 44/68444/1
Jamo Luhrsen [Tue, 20 Feb 2018 22:18:40 +0000 (14:18 -0800)]
Fix mistake [0] in location of Variables.robot

[0] https://git.opendaylight.org/gerrit/c/68438/

Change-Id: Ie0e1bc729258fe2355e4a37cdb22e3fefda2cee0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd Variables.robot to get visibility to ${AUTH} 38/68438/1
Jamo Luhrsen [Tue, 20 Feb 2018 18:59:04 +0000 (10:59 -0800)]
Add Variables.robot to get visibility to ${AUTH}

in the case when a suite uses this cluster management (CM)
library, but has not imported the global Variables.robot
file, certain variables are not available (e.g. ${AUTH})
which is used in this CM lib. This can cause problems
like unauthorized access when sending REST calls to the
controller.

Change-Id: Ib0bbd1577ea32a5978904e6ef483146a502398b0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBgp variables cleanup 23/68423/1
Tomas Markovic [Tue, 20 Feb 2018 11:10:36 +0000 (12:10 +0100)]
Bgp variables cleanup

Removed all folders which are no longer used.
In particular mostly with .beryllium and .boron
extensions.
The rest is mostly tcpmd5user requests, which were
replaced by variables.py in same folder.

Change-Id: I99fce69a4338aba7d3043502b65050455fa1ea03
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCleanup DevstackUtils.robot 14/68414/3
Sam Hague [Mon, 19 Feb 2018 17:02:41 +0000 (12:02 -0500)]
Cleanup DevstackUtils.robot

Change-Id: I1760a5c199e171df7fe2dd8e3c423c426b58ee11
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoGENIUS-111 Genius CSIT - IdManager Failure 06/68406/2
Vishal Thapar [Mon, 19 Feb 2018 09:03:25 +0000 (14:33 +0530)]
GENIUS-111 Genius CSIT - IdManager Failure

Child pool name logic converts host IP to String and
appends it to parent pool name. This can result in
a negative number if IP is 128.x.x.x+ Fixing it in
IdManager can have upgradabuility impact. So modifying
CSIT to allow -ve numbers too.

Refer: 67332

Change-Id: I908b775f007f0f2a9496c6fc3d8ff0faf2a24690
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
6 years agoRemove installation of features. 07/68407/2
Andrej Záň [Mon, 19 Feb 2018 09:59:44 +0000 (10:59 +0100)]
Remove installation of features.

Installed features are already in odl compatible all.

Change-Id: I04c82fd70585f672b73e8bd9750fa0f20076648e
Signed-off-by: Andrej Záň <andrej.zan@pantheon.tech>
6 years agoBreakout complicated setup from suite setup 11/68411/4
Sam Hague [Mon, 19 Feb 2018 15:43:38 +0000 (10:43 -0500)]
Breakout complicated setup from suite setup

The arp tests have very complicated setup in the
suite setup. This makes it hard to debug if there are
any failures. Breaking the steps out makes it easier to
debug and allows the debug logging to happen.

Also cleaned up other style issues in the file.

Change-Id: Id31957be64b65c48dbafea2b67e178ee4eedf0c4
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd retries for HWVTEP emulator setup 37/68337/2
Victor Pickard [Thu, 15 Feb 2018 22:42:22 +0000 (17:42 -0500)]
Add retries for HWVTEP emulator setup

In queens, I can see that the HVWTEP emulator
shows connected for 0 secs, so let's add some
retries/timeout to give it time to show up in the
config.

Change-Id: Iefa48cf361b259639dee062d70ad216f19a3264a
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agosfc: dont use internal pattern for rsp names 78/68378/4
Jaime Caamaño Ruiz [Fri, 16 Feb 2018 18:32:51 +0000 (19:32 +0100)]
sfc: dont use internal pattern for rsp names

Avoid using in the tests the same pattern for RSP names
(<sfp-name>-Path-<id>) as that used internally for the
RSPs that are automatically created from SFPs. It can
produce false positive/negative matches on the tests.

Change-Id: I5790c558b22004052821188ac6832099311beda9
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFix L2GW cleanup test case 69/68369/4
Victor Pickard [Fri, 16 Feb 2018 14:18:37 +0000 (09:18 -0500)]
Fix L2GW cleanup test case

Enhance cleanup test case to cleanup optional resources
only when appropriate.

Change-Id: If55d227450b03add22d18cfde5a7b506fc67ecde
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoDelete data folder 10/68010/5
Janki Chhatbar [Wed, 7 Feb 2018 11:06:05 +0000 (16:36 +0530)]
Delete data folder

Delete data along with journal and snapshots folder.
This is needed for ODL upgrade CSIT

Change-Id: I893accaecf6931701b9b27c321a99c47e62798a6
Signed-Off-By: Janki Chhatbar <jchhatba@redhat.com>
6 years agoIncrease timeout and retries for Genius 14/67414/8
Vishal Thapar [Mon, 22 Jan 2018 11:20:03 +0000 (16:50 +0530)]
Increase timeout and retries for Genius

POST requests are sporadically failing with READ_TIMEOUT
error. This increases default timeout from 1 to 5 secs
and max_retries from 0 to 5 to avoid such issues. Note
that for success scenarios there is no impact as they
will return response anyhow. This just avoids wrongly
marked failures coz we gave up too soon.

Similarly add WUKS for other operations that expect
a change in value. Waiting for a valid response is not
enough, need to wait some more for response to return
a different value.

Change-Id: I11a6df202ca47f3a70298a3af43117019e4f4dbc
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
6 years agoAdd Netvirt L2GW test cases 73/67173/28
Victor Pickard [Mon, 15 Jan 2018 21:11:57 +0000 (16:11 -0500)]
Add Netvirt L2GW test cases

Add test cases to cover the use case where a port
is added to an L2GW that has an existing L2GW
connection.

This is only supported on ODL oxygen and later.
As well, OpenStack must be queens or later.

Change-Id: I31ce6ff930e93ceca48def7ea92281bd4106fb05
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoUse L2GW Security Group when creating VMs 58/68258/1
Victor Pickard [Wed, 14 Feb 2018 19:00:21 +0000 (14:00 -0500)]
Use L2GW Security Group when creating VMs

There are multiple default SGs in Pike, which cause
failures when creating VMs in L2GW CSIT. So, don't
use default SG, use L2GW SG when creating the VMs.

Change-Id: I51c071d3fdcc0e6290b1c1cb9836d6cb4095c6df
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoAdd Change-Id to regex 51/68251/1
Sam Hague [Wed, 14 Feb 2018 16:40:30 +0000 (11:40 -0500)]
Add Change-Id to regex

Change-Id: Ib1b29a247398d1d10fcdfe2368ea2b356ef7eb3e
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoTests for Bug #8400 60/64060/18
gvrangan [Tue, 10 Oct 2017 01:30:34 +0000 (21:30 -0400)]
Tests for Bug #8400

This patch tests the status of traffic when a releated rule
is removed when the communication is happening.

Change-Id: Ieb961a46606a11d86043c2d5fc2570e6a3954763
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoMove external net variables to common location 13/68213/1
Jamo Luhrsen [Tue, 13 Feb 2018 20:18:44 +0000 (12:18 -0800)]
Move external net variables to common location

Change-Id: I6a935db046fde139992e949b420e7d3dbf44b416
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>