integration/test.git
6 years agoAdd exceptions to whitelist for NEUTRON-157 01/71601/2
Sam Hague [Tue, 1 May 2018 11:05:23 +0000 (07:05 -0400)]
Add exceptions to whitelist for NEUTRON-157

These jobs hit NEUTRON-157 and a new exception is coming out
from an mdsal change in the api. The job below has an example.

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-gate-stateful-fluorine/290/odl_1/odl1_karaf.log.gz

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-gate-stateful-fluorine/281/odl_1/odl1_karaf.log.gz

JIRA: NETVIRT-1090
JIRA: NEUTRON-157
Change-Id: I3d2cb216e896bfd168e85cfe073f019b3aed713a
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd exception for NEUTRON-157 99/71599/3
Sam Hague [Tue, 1 May 2018 00:17:13 +0000 (20:17 -0400)]
Add exception for NEUTRON-157

This job hit NEUTRON-157 and a new exception is coming out
from an mdsal change in the api. The job below has an example.

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-gate-stateful-fluorine/281/odl_1/odl1_karaf.log.gz

Change-Id: I7c5a7c6f3dbb8013d217168b09d3ce9a0213978d
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoLocal address peer test 37/70837/27
Tomas Markovic [Thu, 12 Apr 2018 10:20:39 +0000 (12:20 +0200)]
Local address peer test

Test case meant for validation of
local-address functionality.
When set, bgp peer can connect only
on this address.

Refactor test suite for newer approach
to comparing topology with
TemplatedRequests robot library.
Remove unnecessary code.

Change-Id: I2e2ba913db0be84584740c51f97a25e154f9863e
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFix bgp-cli test 62/71562/3
Tomas Markovic [Mon, 30 Apr 2018 07:54:45 +0000 (09:54 +0200)]
Fix bgp-cli test

ShellTable has now been migrated to
oxygen as well, so I unified test
with fluorine, since the only difference
was the divider and trailing
white spaces.

Change-Id: Ic9d4c2963cb80dce008cb773a64216acf0769f50
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoUse Variables.robot instead of Variables.py 61/71561/2
Tomas Markovic [Mon, 30 Apr 2018 07:27:59 +0000 (09:27 +0200)]
Use Variables.robot instead of Variables.py

Also change resources to alphabet order in affected
test suites.

Change-Id: Ief74db7df00e8b0e8011721e912801d229c99959
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoRefactor keyword Verify Tunnel Status As UP 13/71413/7
Sathwik Boggarapu [Thu, 26 Apr 2018 09:52:58 +0000 (15:22 +0530)]
Refactor keyword Verify Tunnel Status As UP

Tunnel Status As UP keyword is just verifys tunnels are Up or not.
In this we are verifying no.of tunnels created are equal to
no.of expected tunnel

Change-Id: Ib5512b3621e95a07de54aeeccf65dc3c660811c1
Signed-off-by: Sathwik Boggarapu <b.sathwik@ericsson.com>
6 years agoChange comparestream usage 27/71427/3
Tomas Markovic [Thu, 26 Apr 2018 14:32:54 +0000 (16:32 +0200)]
Change comparestream usage

This patch makes lines in code shorter and cleaner.
Also robot logs are less pain to examine.

Change-Id: I5be5187c17cd82776c2c1962f145338540c1b2df
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoRevert "Do not fail on ODLPARENT-152" 41/71441/2
Jamo Luhrsen [Thu, 26 Apr 2018 20:31:14 +0000 (20:31 +0000)]
Revert "Do not fail on ODLPARENT-152"

original patch works for most cases, but has some corner
cases that don't work. We can ignore the ssh NPE entirely
from showing up with this patch:
  https://git.opendaylight.org/gerrit/#/c/71423/

This reverts commit 5cc59cbad39a4d759d8814089e7283aecfdae06c.

Change-Id: I629d97dd4ee472b1943e4ef94eb6d2cbc6652227
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix itm-direct-tunnels OVS restart TCs 12/71412/5
Faseela K [Thu, 26 Apr 2018 10:15:05 +0000 (15:45 +0530)]
Fix itm-direct-tunnels OVS restart TCs

Genius itm-direct-tunnels suite was using the wrong IP
to restart the OVS.

Change-Id: I43beb5a75cdaff2f247706be721e687a8db295bb
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoFix itm-direct-tunnels suite tear down. 13/71313/6
Faseela K [Wed, 25 Apr 2018 14:13:55 +0000 (19:43 +0530)]
Fix itm-direct-tunnels suite tear down.

Change-Id: I6ce869d5967728d54d3a88acca50efaf78412c97
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd scriptplan for genius-verify 91/71491/3
Luis Gomez [Fri, 27 Apr 2018 03:33:18 +0000 (20:33 -0700)]
Add scriptplan for genius-verify

Change-Id: I08e23c9f9fb8425b2d7d84ae6d51375f609f9fa0
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoFix NIC basic test. 31/71431/2
Yrineu Rodrigues [Thu, 26 Apr 2018 17:06:31 +0000 (10:06 -0700)]
Fix NIC basic test.

Change-Id: I576e8f6987517e6f085e1093328162531170a743
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@luminanetworks.com>
6 years agoGenius scriptplans and testplans 14/71414/5
Faseela K [Thu, 26 Apr 2018 10:36:41 +0000 (16:06 +0530)]
Genius scriptplans and testplans

After the recent refactoring of genius CSIT yaml in
builder repo, there was a need for changing some of the
scriptplans and testplans. Adding the new plans
with soft links to the existing plans.

Change-Id: I93479f054dfd3b506135f93e5868dcf3cad4d946
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBgp app peer xml change 24/71424/6
Tomas Markovic [Thu, 26 Apr 2018 13:50:53 +0000 (15:50 +0200)]
Bgp app peer xml change

Test was sending POST into wrong uri,
although it did use to work.

Patch adjusts xml template when we are
sending POST requests, so it
works with that uri.

Change-Id: I0abfa795624256a1a98fea0f1f88f3939a2c246c
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoChange naming to future proof 29/71429/2
Tomas Markovic [Thu, 26 Apr 2018 15:00:13 +0000 (17:00 +0200)]
Change naming to future proof

With next version of odl, I would have
to do this anyway, so might as well just
do it now.

Since it's only test for oxygen and fluorine
right now. It will take .oxygen files
and the default files for other versions.

Change-Id: I0759f73fdf6c837e57878a446ce3d83f0396490b
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoDisable the ssh exception logging 23/71423/3
Sam Hague [Thu, 26 Apr 2018 13:45:43 +0000 (09:45 -0400)]
Disable the ssh exception logging

JIRA: ODLPARENT-152
Change-Id: If2d6fc330e6f3836bd01795ed159bb0eed4d9fa8
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAllow connection to karaf port during suite setup 64/71164/3
Tomas Jamrisko [Fri, 20 Apr 2018 11:58:31 +0000 (13:58 +0200)]
Allow connection to karaf port during suite setup

Typical tripleo deployment doesn't allow external connections
to karaf consoles. As a result the setup and thus all the other
tests fail.

Change-Id: I7c3a87d7d3e0a54741f60f2a84671ff55a48d8b8
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoAdd script-plan for genius-tdd-wip 64/71364/1
Faseela K [Thu, 26 Apr 2018 03:57:45 +0000 (09:27 +0530)]
Add script-plan for genius-tdd-wip

test-genius-tdd-wip from genius patches is not executing the
script plan, and hence test cases are failing.

Change-Id: I514f510ad199144be57cac209fdd4ee58cf45f48
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoSFC-219: Fix incorrect transport id 15/71315/1
Jaime Caamaño Ruiz [Wed, 25 Apr 2018 15:11:01 +0000 (17:11 +0200)]
SFC-219: Fix incorrect transport id

Change-Id: I379ed3394475e6a4d7649cfa18ab35a8f3d1bb84
JIRA: SFC-219
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoUpdate test docs 72/71272/2
Luis Gomez [Tue, 24 Apr 2018 19:26:04 +0000 (12:26 -0700)]
Update test docs

Change-Id: Idda2e32244e71cb2d7ad1533761ec03dd1ceffae
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoGenius test-plan refactoring per stream 86/71286/2
Faseela K [Wed, 25 Apr 2018 04:00:58 +0000 (09:30 +0530)]
Genius test-plan refactoring per stream

The corresponding builder repo patch :
https://git.opendaylight.org/gerrit/#/c/71283/

Change-Id: Id42dfda71126477c227d53285291875293ca0de8
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd some missing model dumps 30/71230/2
Sam Hague [Mon, 23 Apr 2018 20:31:08 +0000 (16:31 -0400)]
Add some missing model dumps

Change-Id: I88cddb243010d678af430a4088ab96d0fcc84845
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoDo not fail on ODLPARENT-152 92/71092/5
Jamo Luhrsen [Wed, 18 Apr 2018 21:44:13 +0000 (14:44 -0700)]
Do not fail on ODLPARENT-152

this is a special case exception we want to ignore and
not cause failures in the robot test cases.

The Exception prints a generic 2nd line that was falling
through our normal whitelist process. So this special case
will be caught IFF those two lines appear back to back.

Change-Id: I65b437af3e53a7474fa64ef1b9e42e52e35cf778
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoINTTEST-35 Explicitly install os-testr 10/68510/13
Jamo Luhrsen [Thu, 22 Feb 2018 22:37:45 +0000 (14:37 -0800)]
INTTEST-35 Explicitly install os-testr

os-testr is no longer being installed as a dependency
when tempest is installed. Eventually we should figure
out the right/new/supported way to do this, but for now
we need our tempest.api.network tests to run

Change-Id: I9b59de80328fd871c5452f8dace4d2ce1e0b5030
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBgp-cli debug 66/71066/15
Tomas Markovic [Wed, 18 Apr 2018 05:51:24 +0000 (07:51 +0200)]
Bgp-cli debug

Output of cli has changed in fluorine.
Also reworked some of the test cases
to be clearer and more universal.

Change-Id: Ic6c8bb34ff1b81d147485fc11374454778607d29
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBmp initiation timeout 09/71209/2
Tomas Markovic [Mon, 23 Apr 2018 12:27:23 +0000 (14:27 +0200)]
Bmp initiation timeout

On all versions bmp currently does
not start within 50sec currently assigned
to it.

Increasing this value.

Change-Id: Ia2673d808235330c3ca6aef1d44cc19395f8368f
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
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>