integration/test.git
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>
6 years agoFix the tcpdump collection 12/68012/12
gvrangan [Thu, 8 Feb 2018 01:28:43 +0000 (06:58 +0530)]
Fix the tcpdump collection

VTN jobs does not have compute nodes.
So the tests are failing. This patch will ensure only tcpdumps
for available nodes.

Change-Id: Id9b7243bf3f1c148fca731408660ca20f45c1839
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoAdd dummy test suite for Genius tdd-wip 56/67856/4
Vishal Thapar [Fri, 2 Feb 2018 13:11:13 +0000 (18:41 +0530)]
Add dummy test suite for Genius tdd-wip

Change-Id: I1eea7fc63bb8f13c3ee7e2667e9efc5120e4d306
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
6 years agoCheck cluster status after rejoin 58/68058/2
Tomas Jamrisko [Thu, 8 Feb 2018 10:26:18 +0000 (11:26 +0100)]
Check cluster status after rejoin

We want to check the cluster is in sync after rejoining. Same
as the other recovery functions

Change-Id: If4d4309dc71130a3d50b50f4f7d21aa5e63c25f4
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoThroughpcep test refactor 97/67597/6
Tomas Markovic [Fri, 26 Jan 2018 09:56:41 +0000 (10:56 +0100)]
Throughpcep test refactor

Stop_pcc_mock with BGPcliKeywords
add workers argument without math.
Adjust topology_postcondition timeout.

Change-Id: I15c05fc40488effa8e85b8d37b243cefc7312dbe
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoBgpcluster tests netconf removal 23/68023/3
Tomas Markovic [Wed, 7 Feb 2018 15:58:03 +0000 (16:58 +0100)]
Bgpcluster tests netconf removal

Remove netconf configuration from
bgpclustering test cases and libraries.

Change-Id: I6e357b27fcbc5d40e6e9d89005326a56d7425f64
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCleanup bgp-ingest tests 13/67613/13
Tomas Markovic [Fri, 26 Jan 2018 12:40:55 +0000 (13:40 +0100)]
Cleanup bgp-ingest tests

Remove Boron, Beryllium compability.
Remove netconf test cases, as it
is no longer used.

Change-Id: I02e980377541ddd37483f2282b738d3d3403f8d3
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoRemove unsused code after cleanup 36/68036/2
Sam Hague [Wed, 7 Feb 2018 20:31:08 +0000 (15:31 -0500)]
Remove unsused code after cleanup

Change-Id: I65578e50d9cc9da7087b219985fbcaaa3c2636d1
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCleanup OpenStackOperations 22/68022/5
Sam Hague [Wed, 7 Feb 2018 15:55:51 +0000 (10:55 -0500)]
Cleanup OpenStackOperations

Change-Id: I56314796e1202ed94a113c568df1b1f4589c0cb5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoExpect RSPs to be persisted from oxygen onward 27/67827/7
Jaime Caamaño Ruiz [Thu, 1 Feb 2018 18:31:30 +0000 (19:31 +0100)]
Expect RSPs to be persisted from oxygen onward

In oxygen, the configuration RSP spec has been implemented by which
rendered service paths are now also as stored as configuration data
so that they are persisted between reboots and as such the
corresponding operational RSP are recreated after a reboot.

Change-Id: I83aaeccd874a40e6ef3bd9c9dcca7f260735a92f
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoRemove redundant logging of password 28/68028/3
Sam Hague [Wed, 7 Feb 2018 16:47:25 +0000 (11:47 -0500)]
Remove redundant logging of password

Change-Id: Ibe61f367b70d66956e74720d491608cd49481d77
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoHarden check for running ovs in sfc full deploy 09/68009/3
Jaime Caamaño Ruiz [Wed, 7 Feb 2018 10:58:40 +0000 (11:58 +0100)]
Harden check for running ovs in sfc full deploy

Change-Id: I195d527ff6f101208dbf21b2a3b089ab56194abb
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoDump module data at the end of full deploy suite 12/67912/7
Jaime Caamaño Ruiz [Mon, 5 Feb 2018 09:44:23 +0000 (10:44 +0100)]
Dump module data at the end of full deploy suite

Change-Id: I40e2cbc5c385347b2cfacbf21b2142525492b0c2
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFix for Get Router ID 53/67953/2
Itzik Brown [Tue, 6 Feb 2018 09:35:53 +0000 (11:35 +0200)]
Fix for Get Router ID

Instead of listing the routers which can be a problem when
routers have similar names - using openstack router show instead.

Change-Id: I759da4efa304820e26ace87bcde7be12da245780
Signed-off-by: Itzik Brown <itzikb@redhat.com>
6 years agoFix VTN Coordiantor Test Failures 56/67956/2
gvrangan [Wed, 7 Feb 2018 02:34:00 +0000 (08:04 +0530)]
Fix VTN Coordiantor Test Failures

- There are only 2 active binaries in Nexus
- Fix line parsing Nitrogen Version
- Make Oxygen test using Nitrogen binary

Signed-off-by: gvrangan <venkatrangang@hcl.com>
Change-Id: I5efe7d040e1fbbae7c991102f2aaaadd3cd3d411

6 years agoenable tcpdump on port 6653 in suite setup 34/67934/3
Sam Hague [Mon, 5 Feb 2018 19:20:34 +0000 (14:20 -0500)]
enable tcpdump on port 6653 in suite setup

Change-Id: Ib69abc069155cde2a86e7c30fb6409b2ddf1d6df
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCheck ServiceStatus For Genius 28/66828/10
B Sathwik [Tue, 2 Jan 2018 10:13:49 +0000 (15:43 +0530)]
Check ServiceStatus For Genius

Change-Id: Iabd83facf300676ed53d6a9e4fe13f6015c20542
Signed-off-by: B Sathwik <b.sathwik@ericsson.com>
6 years agoAdjust for OVS-28 and disk IO issues 50/67850/15
Luis Gomez [Fri, 2 Feb 2018 02:48:32 +0000 (18:48 -0800)]
Adjust for OVS-28 and disk IO issues

- Add argument ${ofversion} in MininetKeywords library.
- For old test code, just set required OpenFlow version.
- Add new variable ${DEFAULT_TIMEOUT_HTTTP}=5.
- Use the default HTTP timeout in KWs opening HTTP connections.
- KWs invoking HTTP methods should use default timeout=${EMPTY},
which will ultimately default to HTTP connection timeout.

Change-Id: I0f2c6784a89f67cc2cb5fbe1f5a1745be2efd085
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoRemove unused bgp suite in netvirt folder 45/67945/1
Jamo Luhrsen [Tue, 6 Feb 2018 02:58:17 +0000 (18:58 -0800)]
Remove unused bgp suite in netvirt folder

Change-Id: I4f0bf398c3f87cbb99fdc7803b827079371e2930
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd header for distchanges to find easier in log 30/67930/1
Sam Hague [Mon, 5 Feb 2018 17:49:18 +0000 (12:49 -0500)]
Add header for distchanges to find easier in log

Change-Id: I67f34cd8acea53f7de870f21123c23a34aa9e642
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCheck classifier interfaces in sfc full deploy 77/67777/10
Jaime Caamaño Ruiz [Wed, 31 Jan 2018 10:23:59 +0000 (11:23 +0100)]
Check classifier interfaces in sfc full deploy

In sfc full deploy, check that the interface are registered in OVSDB
topology before proceeding with the configuration of the classifiers.
The classifier logic in SFC does not intend to be production ready and
does not check for this.

Change-Id: I72a744b1b86711f19fec55240089cb796fac8416
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoIncrease HTTP timeout for cluster test 41/67841/1
Luis Gomez [Fri, 2 Feb 2018 01:53:21 +0000 (17:53 -0800)]
Increase HTTP timeout for cluster test

Slow disk I/O impacts configuration operations in cluster.

Change-Id: I7d36bb9deff9bdceb86df13235003b1a4f7fa45b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoAdd testplan for tdd-wip genius job 03/67803/2
Vishal Thapar [Thu, 1 Feb 2018 08:26:50 +0000 (13:56 +0530)]
Add testplan for tdd-wip genius job

Refer: https://git.opendaylight.org/gerrit/67802

Change-Id: I2273218fda9c523a38372f993eef2425de871b0a
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
6 years agoBgp HA, code refactoring 21/67721/9
Tomas Markovic [Thu, 1 Feb 2018 14:19:58 +0000 (15:19 +0100)]
Bgp HA, code refactoring

Used BGPcliKeywords to remove some replication.
Fixed Variables.robot path Error.

Change-Id: Iab60063ef46192bb847d102d093105068bbcb7ae
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCSIT dualstack: fix Test Teardown With Tcpdump 05/67805/2
Valentina [Thu, 1 Feb 2018 09:23:18 +0000 (10:23 +0100)]
CSIT dualstack: fix Test Teardown With Tcpdump

Fix argument list in 'VpnOperations.Test Teardown With Tcpdump Stop'
token call.

Change-Id: I26981d5917c404d94ebf6171e58d5840c6e10504
Signed-off-by: Valentina <valentina.krasnobaeva@6wind.com>
6 years agoAdd 6653 and 6633 specific port vars 92/67792/2
Jamo Luhrsen [Wed, 31 Jan 2018 18:45:32 +0000 (10:45 -0800)]
Add 6653 and 6633 specific port vars

Change-Id: I8f7f0eac7648b9a21abb222f1585cefe7e308d9f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoMove remaining tcpdump users to use wrapper 90/67690/2
Sam Hague [Mon, 29 Jan 2018 20:37:06 +0000 (15:37 -0500)]
Move remaining tcpdump users to use wrapper

Change-Id: I9bf3e79f7927abe40c626cb2151c734bbfb12957
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing itm tunnel-list URL to teardowns 16/67716/2
Faseela K [Tue, 30 Jan 2018 10:16:37 +0000 (15:46 +0530)]
Add missing itm tunnel-list URL to teardowns

Change-Id: I69ae863dac972fdb37cedd5b9e1d08f5f809e5ff
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoCheck service function types are removed 32/67732/3
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 18:47:59 +0000 (19:47 +0100)]
Check service function types are removed

Check service function types are removed at suite/test teardown before
continuing with the nex test/suite. This prevents service funtion types
being removed during the nex test/suite making it to fail.

Change-Id: Ie6f2bc82b0933c70c99b8e83f44ffe36f48704d7
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFixes in Openstack Keywords 31/67531/16
gvrangan [Thu, 25 Jan 2018 01:12:21 +0000 (06:42 +0530)]
Fixes in Openstack Keywords

- Fixed the list access in
  Is Feature Installed

- Fixed the Clean All Keyword
  Made it work for features that does not
  support L3, by ignoring the listing failure

Change-Id: I06f6aa797d0cc3887d610349a7fc0bb90b7a193f
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoRemove dualstack from basic testplan 85/67785/1
Sam Hague [Wed, 31 Jan 2018 14:18:19 +0000 (09:18 -0500)]
Remove dualstack from basic testplan

Change-Id: I87df7c1493a018453ffd660307df4ea66e92673f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing folder in dualstack csit suite path 68/67768/2
Jamo Luhrsen [Wed, 31 Jan 2018 04:37:10 +0000 (20:37 -0800)]
Add missing folder in dualstack csit suite path

Change-Id: Ia7fa436d72ffaf7371470506a75c509716199ddc
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd multiple routers to SNAT scenario 34/67134/6
Itzik Brown [Sun, 14 Jan 2018 09:51:10 +0000 (11:51 +0200)]
Add multiple routers to SNAT scenario

Creating another internal network and another router
connected to the new internal network, then launch an instance without
Floating IP and check connectivity from this instance.

Change-Id: I47fd916e61c7c09d1fd3caa3d9eb57109f5af5d6
Signed-off-by: Itzik Brown <itzikb@redhat.com>
6 years agoUse OpenStack CLI for nova cli commands 94/67394/4
Jamo Luhrsen [Sun, 21 Jan 2018 05:25:56 +0000 (21:25 -0800)]
Use OpenStack CLI for nova cli commands

- covers hypervisor list and console show
- also deletes deprecated and unused keyword
  "Collect VM Ip Addresses", as we now use a
  newer/better one "Get VM IP"

Change-Id: Ia80771594a9bb8e0d9226c3ebf47357ccb96f7a8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd dualstack csit suite to tdd-wip job's testplan 38/67738/2
Jamo Luhrsen [Tue, 30 Jan 2018 20:10:30 +0000 (12:10 -0800)]
Add dualstack csit suite to tdd-wip job's testplan

Change-Id: I1379c5c8d8ead26d66b40047ea63a2554e0a0413
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoCSIT: add dualstack test for one-router solution 50/63050/60
Valentina Krasnobaeva [Tue, 12 Sep 2017 15:24:13 +0000 (17:24 +0200)]
CSIT: add dualstack test for one-router solution

Introduce new basic dualstack vpnservice test-suite to check
support of dualstack VMs inside L3 BGPVPN. Implemented
neutron network config includes one dualstack router.
It allows to test one-router solution, defined in
l3vpn-dual-stack-vm.rst specification: commit
07ef3e3db56610a878e0a00ada175fa70f05ffe6 "Spec to support
dualstack VMs in L3VPN"

Change-Id: Ie9b048c1ce7329680a064d6fca572b6930244d71
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
6 years agoAdd testplan for tdd-wip netvirt job. 08/67708/2
Jamo Luhrsen [Tue, 30 Jan 2018 05:41:29 +0000 (21:41 -0800)]
Add testplan for tdd-wip netvirt job.

see this patch for more details:
  https://git.opendaylight.org/gerrit/c/67707/

Change-Id: If101a3833f44173947560f0491696cc99d538bbe
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAllow isolation of specific ports 80/67580/3
Tomas Jamrisko [Thu, 25 Jan 2018 16:00:03 +0000 (17:00 +0100)]
Allow isolation of specific ports

Adding arguments to isolate and rejoin to allow specifying protocol
and port. Useful for testing behaviour of cluster when the only
loss of connectivity happens between the nodes.

Change-Id: I9e06a967393a0b5d6e3150a648148693aeee0b83
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoGive time for reboot in sfc persistency test 18/67718/2
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 12:26:44 +0000 (13:26 +0100)]
Give time for reboot in sfc persistency test

Change-Id: I6797dd0489df403b32d7eade9062ac48abd6e8b8
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoCheck service function types are present (II) 12/67712/4
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 09:35:22 +0000 (10:35 +0100)]
Check service function types are present (II)

Similar to commit [1], but that one only took care of the SFC full
deploy suite, this one takes care of the SFC basic suite.

Check service function types are present before attempting to create any
RSP making use of them. Otherwise RSP creation will fail if attempted
before the service function types exist. Service funtion types are
created by SFC as soon as the first SF of that type is added.

[1] a77477cfcab80d3060e796cf255b3323b9bb003d

Change-Id: I7bebba9a4b634a54a75b1cd6066de77cc515d3a3
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoClean up SFC CSIT 88/67688/5
Jamo Luhrsen [Mon, 29 Jan 2018 19:50:52 +0000 (11:50 -0800)]
Clean up SFC CSIT

- move to Variables.robot from Variables.py
- use args for Check Service Function Types so the keyword
  can be commonly used across suites
- moves some seemingly useful keywords from a suite to
  the new SfcKeywords lib

Change-Id: I981aa4d015d77aabc7f2f9225291274696ddec74
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoMove remaining tcpdump users to use wrapper 24/67524/7
Sam Hague [Mon, 29 Jan 2018 20:37:06 +0000 (15:37 -0500)]
Move remaining tcpdump users to use wrapper

Change-Id: Ief3bfd12f1fb46f49e575cc63edd37aef0f88eea
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCheck service function types are present 44/67544/7
Jaime Caamaño Ruiz [Wed, 24 Jan 2018 17:52:11 +0000 (18:52 +0100)]
Check service function types are present

Check service function types are present before attempting to create any
RSP making use of them. Otherwise RSP creation will fail if attempted
before the service function types exist. Service funtion types are
created by SFC as soon as the first SF of that type is added.

Change-Id: Iaa5d0bc966d0bb190e64ef8084b2243078d10fc6
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFix ip forwarding in sfc full deploy suite 39/67539/3
Jaime Caamaño Ruiz [Wed, 24 Jan 2018 14:34:43 +0000 (15:34 +0100)]
Fix ip forwarding in sfc full deploy suite

Another docker update, another default change ;) This time ACCEPT is no
longer setup as the default target of the FORWARD chain, so do it
ourselves.

Change-Id: Iab2e875183f6adc20864797d06bdd51e446f01d4
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoPcep HA tests 41/66941/34
Tomas Markovic [Mon, 8 Jan 2018 15:06:17 +0000 (16:06 +0100)]
Pcep HA tests

Using Pcep-Pcc-Mock tool on cluster

Similar to bgp-ha, and bmp-ha

Stopping karaf, waiting for tool to reconnect
Killing karaf, waiting for tool to reconnect

Reworked finding owner with singleton.
Add test templates for pcep-topology with volatiles.

Change-Id: I5c79533aa4fdb270c7258b4a6443dcde6456f688
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoMove variable definitions 87/67587/2
Sai Sindhur Malleni [Thu, 25 Jan 2018 20:01:23 +0000 (15:01 -0500)]
Move variable definitions

Move variable definitions from Variables.py to Variables.robot

Change-Id: Ie1c66425ca83801bd38ff2b65b3c487b4f09333a
Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com>
6 years agoCreate OpenStack wrapper for tcpdump 22/67522/4
Sam Hague [Tue, 23 Jan 2018 23:21:12 +0000 (18:21 -0500)]
Create OpenStack wrapper for tcpdump

Change-Id: I26981b5c3c5f3daa5b1ad2df09e7fb29c4786e6a
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse intended security group in instance create 20/67520/2
Jamo Luhrsen [Tue, 23 Jan 2018 22:51:38 +0000 (14:51 -0800)]
Use intended security group in instance create

there is some environment problem where we end
up with multiple "default" security groups and
if we don't use the unique sg defined for
that suite, we get a failure to create the
instance

Change-Id: Iade91312d639c789e143b68ba6c3d596b82d675b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd BUG tag to Loop of 3 test under l2switch 21/67521/2
Chethana Lakshmanappa [Tue, 23 Jan 2018 22:58:16 +0000 (14:58 -0800)]
Add BUG tag to Loop of 3 test under l2switch

Change-Id: I2b264d5520245a9b92cc07a9edd7289b4f2fbb1f
Signed-off-by: Chethana Lakshmanappa <chethana@luminanetworks.com>
6 years agoRemove the 2>/dev/null workaround 17/67517/1
Sam Hague [Tue, 23 Jan 2018 19:58:02 +0000 (14:58 -0500)]
Remove the 2>/dev/null workaround

Change-Id: Ia7b47791fbddd2bd8595d75ae5f2e72dad5e49ad
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPop VM from list after deleting it 14/67514/2
Sam Hague [Tue, 23 Jan 2018 17:09:11 +0000 (12:09 -0500)]
Pop VM from list after deleting it

Change-Id: Ib75b5632e530a858ed32d0eb4630a542e4d78de2
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPop VM from list after deleting it 13/67513/1
Jamo Luhrsen [Tue, 23 Jan 2018 16:56:15 +0000 (08:56 -0800)]
Pop VM from list after deleting it

now that we are checking nova commands for proper return
codes, we cannot just happily delete things that are already
deleted. So, for the test case where we delete a single
instance to make sure ping traffic fails, we also need to
remove that instance from the list and let further cleanup
skip it.

Change-Id: Id0578e2c187e4b6703f76a11e369ffb92f6e17af
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoCorrect Genius idmanager test suite name 71/67371/2
Faseela K [Sat, 20 Jan 2018 03:23:21 +0000 (08:53 +0530)]
Correct Genius idmanager test suite name

Change-Id: I7a06c98dfcf7f5e6e1538225e16cfd2f1dce548f
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoEnhance genius CSIT Teardown dumps 81/67281/7
Faseela K [Fri, 19 Jan 2018 07:57:42 +0000 (13:27 +0530)]
Enhance genius CSIT Teardown dumps

The teardown dumps were missing some of the critical
REST URLs for debugging

Change-Id: I80a0f539db9aefb7cf3dba4398e01e08a855741d
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoRedirect openstack cli stderr > /dev/null 23/67323/3
Jamo Luhrsen [Fri, 19 Jan 2018 01:26:44 +0000 (17:26 -0800)]
Redirect openstack cli stderr > /dev/null

Something is slightly broken with our current setup of using
latest openstackclient 13.0.0 with one version back of
novaclient 9.0.0 such that when doing calls like "server
list" we are gettins some stderr output that looks like
some of the debug output when using -v or --debug.

this will supress it for now. Probably a bug should be
raised with openstackclient that it's not handling the
older novaclient properly. Not sure if they are supposed
to work nicely or not.

Change-Id: I0036976be7a907287452aa3b3a91228b820b3c1b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd debug logging 73/67373/3
Sam Hague [Sat, 20 Jan 2018 05:10:08 +0000 (00:10 -0500)]
Add debug logging

Change-Id: I27b2e74487dd6eaab57e859a8093df33e0314a07
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoChange Karaf prompt to root 25/67225/9
Luis Gomez [Wed, 17 Jan 2018 04:53:15 +0000 (20:53 -0800)]
Change Karaf prompt to root

This should fix bump delay issues in CSIT while working with
old distribution provided the overlap between prompts is minimal:

[36mopendaylight-user[0m[1m@[0m[34mroot[0m>
[?1l>[?2004l[?1h=[?2004hopendaylight-user@root>

- We can use string 'opendaylight-user' for session login
- We can use regexp 'opendaylight-user.*root.*>' for read until prompt

Change-Id: Id1d9161025d4d0910d21cbbf2cea358ce9258684
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoChange the Genius Test Suite Name 82/67282/1
Faseela K [Thu, 18 Jan 2018 11:33:56 +0000 (17:03 +0530)]
Change the Genius Test Suite Name

Change-Id: I0a436e8fec2653dd4185860a032a98d6ef261084
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoBMP HA test 71/65471/170
Tomas Markovic [Mon, 13 Nov 2017 08:10:45 +0000 (09:10 +0100)]
BMP HA test

bmp_ha_karaf_stop
Simulate HA with BMP Mock tool
Stopping karaf on one node and verifying reconnection.
Restarting karaf, verifying its presence.

bmp_ha_karaf_restart
Killing karaf on one node and verifying reconnection.
Restarting karaf, verifying its presence.

Reconfiguring timers for HA tests

Removed Isolation tests, because right now they are failing.

Change-Id: If79b2289850ade1c87864340a2b839c53bc729f3
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFix L2GW CSIT 75/67175/1
Victor Pickard [Mon, 15 Jan 2018 21:42:49 +0000 (16:42 -0500)]
Fix L2GW CSIT

Some recent changes to OpenStackOperations require adjustments
in this suite.

Change-Id: Ia5c1fc68f83d547f7c29e52fc7c61bf4c38590b3
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoExpand HN to HOSTNAME 33/67133/2
Sam Hague [Sat, 13 Jan 2018 13:51:51 +0000 (08:51 -0500)]
Expand HN to HOSTNAME

Change-Id: I4b2d398ee02e2e13291c1c57ac915e9753fd0f71
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPlace VMs deterministically 32/67132/3
Sam Hague [Fri, 12 Jan 2018 23:18:13 +0000 (18:18 -0500)]
Place VMs deterministically

Change-Id: I8e3f117f76a4446cedae62287560ddd17a0ac469
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoBGP Peer Reset Session Test 83/65783/48
Tomas Markovic [Tue, 21 Nov 2017 07:45:51 +0000 (08:45 +0100)]
BGP Peer Reset Session Test

Using new reset-session command on oxygen

Change-Id: Ibd8347d8bd3cbcfb69c75801c0251a96a5370109
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdd ability/flag to clean OS in suite setup 46/67046/2
Jamo Luhrsen [Thu, 11 Jan 2018 06:05:06 +0000 (22:05 -0800)]
Add ability/flag to clean OS in suite setup

it will make it easier for other environments to adopt our
upstream CSIT if we can also easily provide the ability to
clean up the environment from any left overs that their
previous tests may have left over.

Change-Id: I0b8347b98f864c70298647049836d128997fb7c4
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix list typo in tcpdump keyword 64/67064/2
Sam Hague [Thu, 11 Jan 2018 14:42:58 +0000 (09:42 -0500)]
Fix list typo in tcpdump keyword

Change-Id: I73982f0559a6fe621f047e6e1e6b587acb339aa6
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd tcpdump filter 37/67037/9
Sam Hague [Wed, 10 Jan 2018 21:56:21 +0000 (16:56 -0500)]
Add tcpdump filter

Change-Id: I8d5c31098d9b31a42642a45d44cd5b15c10f20a5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd additional OVS logs 36/67036/3
Sam Hague [Wed, 10 Jan 2018 21:55:16 +0000 (16:55 -0500)]
Add additional OVS logs

Change-Id: I3b076102d0ad716d8cf1fa1184563c899ed97abf
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd bound-services-state-list to model dump 35/67035/2
Sam Hague [Wed, 10 Jan 2018 21:51:07 +0000 (16:51 -0500)]
Add bound-services-state-list to model dump

Change-Id: I537d9a896de37c8622c6de6c1136b5e9e808bf32
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoIncrease topology recover timeout 99/66999/2
Luis Gomez [Wed, 10 Jan 2018 01:33:16 +0000 (17:33 -0800)]
Increase topology recover timeout

In cluster setup, topology can take some time to recover.

Change-Id: Ia6a752e363d8d2e7718783a5e24f5f6dc9e34471
Signed-off-by: Luis Gomez <ecelgp@gmail.com>