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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tomas Markovic [Wed, 10 Jan 2018 12:44:06 +0000 (13:44 +0100)]
Tcpmd5 password reconfig
Additional password change on pcc-mock side.
Additional related tests.
Change-Id: I011b6acfe8165742878a6d794338f9aa3747945e
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
Sam Hague [Mon, 8 Jan 2018 18:13:24 +0000 (13:13 -0500)]
disable ofp stats in netvirt csit
Change-Id: I8edfe13fafbe266e5a8ddd2721527b95ed857667
Signed-off-by: Sam Hague <shague@redhat.com>
Tomas Markovic [Mon, 8 Jan 2018 13:04:15 +0000 (14:04 +0100)]
PCEP Speaker Entity Identifier
Additional configuration for PCEP Speaker.
PCEP Speaker can skip session sync.
Test Cases functionality doesn't change.
Change-Id: Ide482afcc44b6c2a569530cd635cbb5237373ed6
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
Tomas Markovic [Thu, 7 Dec 2017 16:24:01 +0000 (17:24 +0100)]
tcpmd5user test update
Updated test to use new pcep MD5 authentication for oxygen.
Added backwards compability for carbon and nitrogen.
Basic tests specified for path-computation-client only
Oxygen tests include pcep-session-state comparison
Change-Id: I43066bec6ab835dec9b86bf04eed6b6256074ca8
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
Jamo Luhrsen [Sat, 6 Jan 2018 02:17:43 +0000 (18:17 -0800)]
Use Variables.robot instead of Variables.py
Change-Id: I97c08d12ac008c6904f06165b8e08cdafe71fb20
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Valentina Krasnobaeva [Tue, 4 Jul 2017 16:42:51 +0000 (18:42 +0200)]
IPv6: refactor Collect VM IPv6 SLAAC Addresses
Make Collect VM IPv6 SLAAC Addresses test more reliable: at first it
will take IPv6 address, which was saved for given VM in neutron
database, after that it will try to connect to VM at this address and
check an output of ip -6 a command.
Update arguments for 'Collect VM IPv6 SLAAC Addresses' call in
netvirt/vpnservice/vpn_basic_ipv6.robot test suite.
Change-Id: I4a1df2bd97372e60f361ffd5442b945a1cc528db
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Jamo Luhrsen [Tue, 2 Jan 2018 23:25:38 +0000 (15:25 -0800)]
Improve RCORS KW to return stdout, stderr or both
- adds two default arguments to "Run Command On Remote System"
to control which output (or both) is returned from the keyword
This removes the duplicate code we ended up with when wanting to
have the keyword return stderr
Change-Id: Id1191538670bf73ce788893ac8b78abe16d0c176
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Luis Gomez [Wed, 20 Dec 2017 21:09:57 +0000 (13:09 -0800)]
Fix cbench test
- Command requires -S option (not -s)
- Command results shows in stderr
Change-Id: I8a80dc772b5ca001e9a76fa14d85d77481a94a02
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Sreekalyan Devaraj [Thu, 21 Dec 2017 18:47:19 +0000 (10:47 -0800)]
Basic clustering tests for daexim
- Executing pre-existing tests on cluster
- Adding basic export testcase to cluster
- Adding a new kw and testsuite for localized export
- Swapping out initial state with skipped and removed unwanted json
- Modifying kw to verify files
- Changing the order of test cases
- Cleaning up the export files before export call
- Adding basic import to a cluster
- Correcting a typo
- Modifying the kw as per comments
Change-Id: I06cc3570e413edfa527a87ac4944d916fa5bc39e
Signed-off-by: Sreekalyan Devaraj <kalyan.ds@gmail.com>
Jamo Luhrsen [Thu, 21 Dec 2017 00:19:52 +0000 (16:19 -0800)]
Fix Docker troubles in aaa keystone suite
- the main problem was that filesystem mounts were failing due to
permission issues. Adding :Z to the end of each mount is the
fix for that.
- a few doc format issues and a TODO were also added
Change-Id: Ia56b8cc2ab9be89b3ddbf54c4d5b6ee9d7415db8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Itzik Brown [Tue, 19 Dec 2017 10:42:19 +0000 (12:42 +0200)]
Set AUTH variable in natapp basic suite
Using ODL_RESTCONF_USER and ODL_RESTCONF_PASSWORD
to set the AUTH variable
Change-Id: Ibfda4f3ed38abfe360042c2ef5b3c29412b56974
Signed-off-by: Itzik Brown <itzikb@redhat.com>