integration/test.git
5 years agoSXP: Use ip instead of arp 78/77278/8
Ivan Hrasko [Thu, 25 Oct 2018 14:09:10 +0000 (16:09 +0200)]
SXP: Use ip instead of arp

Change-Id: I5aa16e324589c3136d1d2eecb57748abce3d5963
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoUse defined tools ips 64/77564/1
Sam Hague [Tue, 6 Nov 2018 19:04:35 +0000 (14:04 -0500)]
Use defined tools ips

Change-Id: Iefafd774674805f3684a871be81ace45502b43c4
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix bgp default policies test 40/77540/2
tomas.markovic [Tue, 6 Nov 2018 13:57:48 +0000 (14:57 +0100)]
Fix bgp default policies test

Change-Id: I378ba8ba4d56a217cd43b555e3976d9183aa47ca
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix bmp_basic test on neon 35/77535/1
tomas.markovic [Tue, 6 Nov 2018 13:04:35 +0000 (14:04 +0100)]
Fix bmp_basic test on neon

On neon we no longer require empty list
in the output, and this line can be completely
removed.

Change-Id: Ic9ed6aa58438671c47839fe382e0aca6a117022e
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoScalability of VMs in COE 72/75172/44
Karthika Panneer [Mon, 13 Aug 2018 15:21:43 +0000 (08:21 -0700)]
Scalability of VMs in COE

To increase the number of nodes and check
how many pods can be brought up on
the nodes.

Change-Id: I63a067c258b32e39b3a1086b4c0c2ae5a3716da0
Signed-off-by: Karthika Panneer <karthikapaneer97@gmail.com>
5 years agoScalability Of Pods In COE 54/73654/51
Karthika Panneer [Tue, 3 Jul 2018 05:47:10 +0000 (22:47 -0700)]
Scalability Of Pods In COE

Change-Id: I9047165c62bca08f9d7c6b586ffec35ce3316bb8
Signed-off-by: Karthika Panneer <karthikapaneer97@gmail.com>
5 years agoIgnore failure on trace:transactions w/ karaf cli 15/77515/1
Jamo Luhrsen [Mon, 5 Nov 2018 21:09:02 +0000 (13:09 -0800)]
Ignore failure on trace:transactions w/ karaf cli

this is part of a common test teardown keyword which is
blindly run on all ODL nodes. However, sometimes those
nodes are actually down in our 3node jobs. We don't
want to fail the test case in that instance.

Change-Id: I99e543e0aefa2d3b56487e854ef4a5dc055bc309
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd comments to ARP Learning suite 37/77337/5
Sridhar Gaddam [Tue, 30 Oct 2018 08:40:49 +0000 (14:10 +0530)]
Add comments to ARP Learning suite

Change-Id: I3f0528c859507d62d7211a922584c5c7a8bd5749
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
5 years agoFix failing sfc test case 35/77435/5
Jamo Luhrsen [Thu, 1 Nov 2018 18:13:56 +0000 (11:13 -0700)]
Fix failing sfc test case

[0] broke a test case. The syntax was wrong and not using
enough arguments. I only fixed the syntax and arguments.
I have no idea if the functionality intended will work
or not.

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

Change-Id: Iaad136bc88f12dbab474037954cf7d04909b0754
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoDo not close connections on tcpdump nodes 11/77411/1
Jamo Luhrsen [Thu, 1 Nov 2018 15:04:02 +0000 (08:04 -0700)]
Do not close connections on tcpdump nodes

there is some hard to nail down bug in the test code
such that closing a single tcpdump connection is
actually closing a different one and when that different
one is attempted to be used, we fail on connection
not found. Until that is figured out, this should
work around that. Every suite that uses this tcpdump
functionality will have a suite teardown that uses
close all connections which should eventually close
these

Change-Id: Iae448ee8935589aaebb111832b6ae1e9055e70f3
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoLog validations to file 60/77360/4
Sam Hague [Tue, 30 Oct 2018 19:54:33 +0000 (15:54 -0400)]
Log validations to file

Change-Id: I5207937374faa6abadd185e7ce22c6fa70967e4c
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd tunnel validation 58/77358/3
Sam Hague [Tue, 30 Oct 2018 14:36:31 +0000 (10:36 -0400)]
Add tunnel validation

Change-Id: Idcd68c8d1a4d50d85190d5895782a72a218c790b
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoChange kill -9 to graceful stop command 59/77359/2
Jamo Luhrsen [Tue, 30 Oct 2018 18:01:20 +0000 (11:01 -0700)]
Change kill -9 to graceful stop command

Since it's accepted that 'kill -9' is the extreme and
uncommon way to stop ODL karaf, and we have nobody
that can currently try to figure out and fix the problems
we run in to when restarting that way, we'll move
to using the graceful (bin/stop) method of stopping
karaf.

Change-Id: Ie90c19a34dc6ef0ef96611c7f2bafe736524dbb1
JIRA:CONTROLLER-1849
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoList open transactions in test case teardown 52/77352/2
Jamo Luhrsen [Tue, 30 Oct 2018 16:57:10 +0000 (09:57 -0700)]
List open transactions in test case teardown

Change-Id: I509527dd33efefdd83d7baefa0c9f9adac15284d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd Elan service and Interface recovery suite 22/73922/53
sanjothapatil [Wed, 11 Jul 2018 18:28:03 +0000 (23:58 +0530)]
Add Elan service and Interface recovery suite

Change-Id: I550f246a34204f861746dcbe7efcd36b92d23d15
Signed-off-by: sanjothapatil <sanjotha.it@gmail.com>
5 years agoFixes to SFC CSIT for neon-mri changes 58/77258/2
ebrjohn [Wed, 24 Oct 2018 15:13:27 +0000 (17:13 +0200)]
Fixes to SFC CSIT for neon-mri changes

Change-Id: Id8790628c237ccf542978a3995a40d4d9fe0fc92
Signed-off-by: Brady Johnson <bjohnson@inocybe.com>
5 years agoUse same tests before and after downing two nodes 82/77282/2
Jamo Luhrsen [Thu, 25 Oct 2018 21:54:07 +0000 (14:54 -0700)]
Use same tests before and after downing two nodes

Sometimes we notice a failure in connectivity after the step
to take down two of three nodes, and the node that is left
is in a bad state (maybe because it's the only node up and
cannot sync with anyone). If there is a real connectivity
issue we want to see it while a healthy cluster is running

Change-Id: Ib0251318c3b58bfdce9e8327c8a2194a4ae3dd7b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoSubnet Routing-Remaining Testcases 76/77176/4
rssaravana [Mon, 22 Oct 2018 13:08:05 +0000 (18:38 +0530)]
Subnet Routing-Remaining Testcases

Change-Id: I93fa7ea2f3889642c38700fcfa20921bc9b06835
Signed-off-by: rssaravana <saravanakumar.somaskandan@gmail.com>
5 years agoUse 3.5.0 version of flake8 64/77264/2
Sam Hague [Wed, 24 Oct 2018 18:08:21 +0000 (14:08 -0400)]
Use 3.5.0 version of flake8

Version 3.6.0 was released today and it fails many
existing files.

Change-Id: I081959b959510176969eead58222b23c735013ca
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoMark CONTROLLER-1849 bug in cluster suite 12/74412/6
Luis Gomez [Tue, 24 Jul 2018 18:14:56 +0000 (11:14 -0700)]
Mark CONTROLLER-1849 bug in cluster suite

Also add akka "light" debugging.

Change-Id: Ia018b871a19fadd52a05194bfb1dc295fa6f9618
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: Use correct virtual interface name 78/77178/3
Ivan Hrasko [Mon, 22 Oct 2018 14:13:37 +0000 (16:13 +0200)]
SXP: Use correct virtual interface name

Change-Id: I6e43905f135b6f1c01cab5242fbd30443da7f59f
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Update ping parameters 79/77179/1
Ivan Hrasko [Mon, 22 Oct 2018 14:39:24 +0000 (16:39 +0200)]
SXP: Update ping parameters

Change-Id: I57693bc1a86c90f03dcc121d0ffc2c242e3eb2a3
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Log routing 73/77073/3
Ivan Hrasko [Thu, 18 Oct 2018 08:35:04 +0000 (10:35 +0200)]
SXP: Log routing

Change-Id: I38c9db3c91a3cf0f636474a18b1a62f96b8c35cb
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoFix netconf cluter test 42/77042/29
Luis Gomez [Tue, 16 Oct 2018 23:59:36 +0000 (16:59 -0700)]
Fix netconf cluter test

- Update model name.
- Adjust perf test duration and tool timeout.
- Remove netconf ready suite.
- Comment failing suite (adding jira ticket)
- Also fix tox issue in docs/conf.py

Change-Id: Ie154e55772f548b5b35adb5c2e017e82e5c302cf
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoupdate odltools cli to use netvirt subcommand 34/77034/2
Sam Hague [Tue, 16 Oct 2018 17:39:49 +0000 (13:39 -0400)]
update odltools cli to use netvirt subcommand

Change-Id: I9f4346c163b59cb63c203861522d0e0857b68a1a
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix env removal 20/77020/3
tomas.markovic [Tue, 16 Oct 2018 09:28:35 +0000 (11:28 +0200)]
Fix env removal

Change-Id: I5e1778b1e60c8b2a6ea7315014424eaf190b3d21
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoChange gate skipping logic to use tags 33/77033/2
Jamo Luhrsen [Tue, 16 Oct 2018 16:11:29 +0000 (09:11 -0700)]
Change gate skipping logic to use tags

Change-Id: I93b9ae76aa2c077336ee7231d9d903f91d99f10f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd bgp funct rt constrain validation test suite 31/75531/58
Dasa Simkova [Tue, 28 Aug 2018 16:43:14 +0000 (18:43 +0200)]
Add bgp funct rt constrain validation test suite

This suite tests advertising rt-constrain routes to odl.
It runs with 3 bgp peers configured. It tests whether app peer
advertizes l3vpn route to bgp peers based on whether app peer
received route containing route-target argument from given bgp peer.

Change-Id: I2e56acb0a4982de182669d3a6750a79bb63ef92e
Signed-off-by: Dasa Simkova <dasa.simkova@pantheon.tech>
5 years agoUse tags to skip tests in gate job 13/77013/2
Jamo Luhrsen [Mon, 15 Oct 2018 19:49:53 +0000 (12:49 -0700)]
Use tags to skip tests in gate job

Change-Id: Ib7cf889207aa03f3bf90fee9e04c5e5c18ae6000
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoSkip some tests to help speed up gate job 80/76580/2
Jamo Luhrsen [Tue, 2 Oct 2018 18:10:48 +0000 (11:10 -0700)]
Skip some tests to help speed up gate job

Change-Id: I46638bed4e2ac71ad7e36cfa4f6f75b9a5149733
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd basic odltools csit 38/76938/7
Sam Hague [Fri, 12 Oct 2018 14:14:37 +0000 (10:14 -0400)]
Add basic odltools csit

Change-Id: Iddf3c146ae630b859fd7357377dfd85b087086c5
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix netconf scale suite 12/76912/3
Luis Gomez [Thu, 11 Oct 2018 20:02:47 +0000 (13:02 -0700)]
Fix netconf scale suite

- Increase test tool REST timeout
- Reduce REST request #. Reduces test duration and perf results are
proven to be the same.

Change-Id: I79a9c40947ef99cb5bc796383f8eaddc7499e823
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoLISP: adapt to Neon directory changes 06/76806/3
Lorand Jakab [Wed, 10 Oct 2018 06:29:27 +0000 (08:29 +0200)]
LISP: adapt to Neon directory changes

Some YANG models from the mdsal project that we download for CSIT tests
have had their artifact names and also their directories renamed. This
patch adapts our download script to those changes.

Change-Id: I7fd1850e2e8476a64f2df3a9409e4df40c262a39
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
5 years agoSXP: Fix parameters for Add Bindings 76/76876/1
Ivan Hrasko [Thu, 11 Oct 2018 13:34:44 +0000 (15:34 +0200)]
SXP: Fix parameters for Add Bindings

Change-Id: I82c8ff06061d586e4689aff87c4f52adbcab89fc
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Do not parse missing connections list 74/76874/1
Ivan Hrasko [Thu, 11 Oct 2018 12:36:20 +0000 (14:36 +0200)]
SXP: Do not parse missing connections list

- after upgrade to Neon platform empty lists
are removed from datastore
- this is also case for connections list -
do not try to parse it if its missing

Change-Id: I04a3695ecd76d3a13b1abee7e5b36738433dd759
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSubnet Routing Support hidden IPv4/IPv6 address 75/75375/13
rssaravana [Wed, 22 Aug 2018 12:00:43 +0000 (17:30 +0530)]
Subnet Routing Support hidden IPv4/IPv6 address

Change-Id: I348bc5eda53a8a9956cddc10c3e1dfaa427fa481
Signed-off-by: rssaravana <saravanakumar.somaskandan@gmail.com>
5 years agoFix teardowns for netvirt/ha tests 77/76777/2
Vishal Thapar [Tue, 9 Oct 2018 06:33:19 +0000 (12:03 +0530)]
Fix teardowns for netvirt/ha tests

Some of Netvirt HA Tests are not collecting
all the dumps, only OVS debugs. This makes them
impossible to debug. Bug is due to using the wrong
teardown method. This fixes them by using correct
one.

Change-Id: I126fd30f2ff92b3890f0c581a70f7c8c4f63f917
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoAdd console arg back to keyword 66/76766/7
Jamo Luhrsen [Mon, 8 Oct 2018 18:00:15 +0000 (11:00 -0700)]
Add console arg back to keyword

https://git.opendaylight.org/gerrit/#/c/72108 removed this argument
and 3rd party/downstream CI using csit code is failing with the
hardcoded value of jenkins

Change-Id: I84e9e7ef1e341c1b935ca0e6e9eb8befe4a0f3f5
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix netconf callhome suite 07/76807/5
Luis Gomez [Tue, 9 Oct 2018 18:28:35 +0000 (11:28 -0700)]
Fix netconf callhome suite

Comment failing test and link jira NETCONF-574

Change-Id: Ia70a4eb009197abe049a49fd4337ed2d8d72469d
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix netconf ready suite 76/76776/1
Luis Gomez [Tue, 9 Oct 2018 02:19:47 +0000 (19:19 -0700)]
Fix netconf ready suite

CSS Netconf (port 1830) is replaced by MD-SAL Netconf (port 2830)

Change-Id: I834111c0c8e8c28916d7eb14b66ffec9ff8bc4ce
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: download SXP bundle on tools node 41/76641/9
Ivan Hrasko [Thu, 4 Oct 2018 10:34:43 +0000 (12:34 +0200)]
SXP: download SXP bundle on tools node

- SXP already installs ODL on tools node,
but managed distribution only
- This patch downloads actual SXP karaf
distribution, installs basic SXP features
and run it

Change-Id: Ie32c49713e6fe0fc1079622284a98833fd42ed14
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd basic routing functionality to vpn suite. 71/76471/4
mpany [Thu, 27 Sep 2018 09:11:08 +0000 (14:41 +0530)]
Add basic routing functionality to vpn suite.

Change-Id: I042befa7d3cf7532c8a3f8ba404f27cdc622e44e
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd -o MACs-hmac-sha1 to openstack ssh calls 67/76567/1
Jamo Luhrsen [Tue, 2 Oct 2018 16:02:52 +0000 (09:02 -0700)]
Add -o MACs-hmac-sha1 to openstack ssh calls

just like what was needed here:
  https://git.opendaylight.org/gerrit/#/c/76360/

Change-Id: I5464b0d2c67f10034cb2347055cb2966117baa9a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoadd stable/rocky vars 59/76559/1
Waldemar Znoinski [Tue, 2 Oct 2018 11:56:11 +0000 (12:56 +0100)]
add stable/rocky vars

Change-Id: I0c3710079015cd3e1a2c9724b67a35fbb5b2a73a
Signed-off-by: Waldemar Znoinski <wznoinsk@redhat.com>
5 years agoIgnore any non gerrit lines 39/76539/5
Sam Hague [Mon, 1 Oct 2018 17:04:59 +0000 (13:04 -0400)]
Ignore any non gerrit lines

The latest ssh infra changes are now returning output like:
"Warning: Permanently added the RSA host key for IP address" to the
output and that is being parsed incorrectly. So drop any lines that
are not gerrit lines. Those lines will have "grantedOn" in them.

Also added a testcase to test the condition.

Change-Id: Iefc109f28eed491aad9fac7bd9093685cba2348d
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd ITM Auto Tunnel suite 25/73225/30
shankar rajappa [Wed, 20 Jun 2018 09:43:47 +0000 (15:13 +0530)]
Add ITM Auto Tunnel suite

Change-Id: I001c233b3645b708b93679300171ba2b44fc4616
Signed-off-by: shankar rajappa <srajappa@outlook.com>
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoEdit verification that two hex messages are equal 46/76446/4
Dasa Simkova [Tue, 25 Sep 2018 15:10:57 +0000 (17:10 +0200)]
Edit verification that two hex messages are equal

- this verification considers two hex messages equal
  even if their arguments are misplaced. It compares
  the length of two hex messages and then converts each
  argument into integer and sums these arguments up for
  each hex message and compares the results.

Change-Id: Ia85ef0ab49e5ddf7939a9a7583715c414552c29d
Signed-off-by: Dasa Simkova <dasa.simkova@pantheon.tech>
5 years agoupdate code comments 21/76421/3
Dibya Prakash Das [Fri, 21 Sep 2018 14:04:55 +0000 (19:34 +0530)]
update code comments

Change-Id: I0e4e43ed8b799452dc759beb0e9ffbbd045a37b3
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoUse -o MACs=hmac-sha1 for instance ssh connections 60/76360/12
Jamo Luhrsen [Fri, 21 Sep 2018 22:27:56 +0000 (15:27 -0700)]
Use -o MACs=hmac-sha1 for instance ssh connections

It's not clear (to me) why we need this hmac-sha1 option,
but our new APEX images need it to make our connectivity
csit test cases work.

Also, while debugging this I tweaked the timeout numbers
to 5s for the initial ssh connection (from 10s) and 10s
to get the prompt (from 30s). In the case of failures,
having smaller values here will speed up the tests, and
5s/10s seem reasonable enough anyway.

Change-Id: Ib3505d3dc6fd8cfc6774e2d3605d4b28b3cc52b9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix Netvirt SFC Oxygen Jobs 22/76422/3
gvrangan [Mon, 24 Sep 2018 16:13:37 +0000 (21:43 +0530)]
Fix Netvirt SFC Oxygen Jobs

- OVS 2.6.1 does not support ct_clear
  so the tests do not use SG for Oxygen
  jobs only.

Change-Id: I1a70c364db3e7bda939716fef4f397411bfd8882
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agokeyword change for ITM Auto Tunnel 05/76205/5
srajappa [Tue, 18 Sep 2018 09:06:00 +0000 (14:36 +0530)]
keyword change for ITM Auto Tunnel

Another change amended in keyword to avoid csit failure for new change
in ITM auto tunnle feature

Change-Id: I707379532c5dc346c64f6d3937c32e0c8f0e2b92
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agovalidator now shows missing keys 73/76073/2
Dibya Prakash Das [Thu, 13 Sep 2018 21:17:13 +0000 (02:47 +0530)]
validator now shows missing keys

Change-Id: I68acc59c56683290ec940e3380287c9a4a1716a5
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoSkip ELK update for jobs running in sandbox 16/76316/2
Luis Gomez [Thu, 20 Sep 2018 20:46:20 +0000 (13:46 -0700)]
Skip ELK update for jobs running in sandbox

Change-Id: If79512c3045ca6561691e4576cdc9a93966de3c6
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSFC tests with 2 compute nodes 62/75962/4
gvrangan [Tue, 11 Sep 2018 20:14:43 +0000 (01:44 +0530)]
SFC tests with 2 compute nodes

- SF Instance will be creaetd in Compute2 if
  2 compute nodes are used for testing

- Oxygen tests will still use one compute node
  only

Change-Id: I87e8512a654671b8e88445e5fe13c51d161874c1
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agoSeparate test data vs dashboard script 87/76287/20
Luis Gomez [Thu, 20 Sep 2018 01:16:44 +0000 (18:16 -0700)]
Separate test data vs dashboard script

Also use configured series value to sort series.

Change-Id: Idf09eb04c905e0f75c07fbf1123170c684a9df7a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix OFP cluster test after OF code change 02/76302/2
Luis Gomez [Thu, 20 Sep 2018 11:31:19 +0000 (04:31 -0700)]
Fix OFP cluster test after OF code change

Change-Id: I7820e67d2ac46fd8bc955f353c0ad4d9a87a5b42
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: Fix localhost nodes start checks 97/76297/2
Ivan Hrasko [Thu, 20 Sep 2018 08:18:19 +0000 (10:18 +0200)]
SXP: Fix localhost nodes start checks

- localhost nodes 127.0.0.1, 127.0.0.2 etc.
are created on ${ODL_SYSTEM_IP} maschine

- but in general node with some ip should be
created on system with that ip, thus default:
${system}=${node}

Change-Id: I62489b87563c9b5b84f61c4f853a2787af2e6c8f
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoIgnore error when not expecting sync 52/76052/3
Tomas Jamrisko [Thu, 13 Sep 2018 07:55:38 +0000 (09:55 +0200)]
Ignore error when not expecting sync

Cluster is not expected to be in sync on the node that remains
isolated

Change-Id: If8426003228a73ea646e488f29469a73a785ff19
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
5 years agoRemove nitrogen test workarounds 79/76279/1
Sam Hague [Wed, 19 Sep 2018 15:55:39 +0000 (11:55 -0400)]
Remove nitrogen test workarounds

Change-Id: I28827a734c01cb2c5ef224d34b54abced66f34e6
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRemove pike test workarounds 78/76278/1
Sam Hague [Wed, 19 Sep 2018 15:50:55 +0000 (11:50 -0400)]
Remove pike test workarounds

Change-Id: I1d063e0b0cc9455f2d490477b31efd6c4e86772e
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoChange pass-fail priority 29/76229/5
Luis Gomez [Tue, 18 Sep 2018 16:55:07 +0000 (09:55 -0700)]
Change pass-fail priority

Change-Id: Ia42fb318373388f27d5b1209d5f625612e1f9126
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix wrong uri 41/76241/1
tomas.markovic [Wed, 19 Sep 2018 08:39:16 +0000 (10:39 +0200)]
Fix wrong uri

Due to changes in different test,
this is not working, and has to be
changed as a result.

Change-Id: I2aefab12da26e5e6b6b56321f08b0eb31fa703d9
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix dashboard data generate 19/76119/9
Luis Gomez [Sun, 16 Sep 2018 20:21:01 +0000 (13:21 -0700)]
Fix dashboard data generate

Change-Id: I8a40dcbf8c87afd5e964dbe2790fc13751a5ab16
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoreplace () with _ 13/76113/2
Sam Hague [Sun, 16 Sep 2018 01:00:45 +0000 (21:00 -0400)]
replace () with _

The below error is coming out because the ()'s are  not valid in the
python shell  call. The path is composed of the test name and some
tests have  ()'s in the name.

18:39:17 Ping Vm Instance1 In net_2 From net_1 (vxlan to vlan) :: Check rea... sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools show eos -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'
18:39:23 sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools analyze tunnels -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'

Change-Id: I82b28a713f0c007af74cdcba23a16a758e805929
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agofix support for multiple dashboards 08/76108/4
Dibya Prakash Das [Sat, 15 Sep 2018 10:33:39 +0000 (16:03 +0530)]
fix support for multiple dashboards

Change-Id: I7d8f9f2403ff1c0bfbc22cf16ce6a8e214c99fec
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoUse graceful start and stop 69/76069/12
Sam Hague [Fri, 14 Sep 2018 21:55:44 +0000 (17:55 -0400)]
Use graceful start and stop

Change-Id: I231ccaf155fd182d27f2b72e7532df7594de88c0
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAllow adding msg log for start/stop odl 02/76102/2
Sam Hague [Fri, 14 Sep 2018 21:55:28 +0000 (17:55 -0400)]
Allow adding msg log for start/stop odl

Change-Id: Ieb6ad194c664dd098b8f5ee8637ae3d2ddbf93ad
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd dashboard for BGPCEP 07/76107/1
Luis Gomez [Sat, 15 Sep 2018 00:16:51 +0000 (17:16 -0700)]
Add dashboard for BGPCEP

Change-Id: Ic8d2c2ef932f93f5bffd4c2ca41aa50f0fd273ef
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoOrganize OpenFlow dashboard 06/76106/2
Luis Gomez [Fri, 14 Sep 2018 22:58:02 +0000 (15:58 -0700)]
Organize OpenFlow dashboard

Change-Id: I20e3a415cc88abb04ae4f7daaac891f2cb161ed8
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agorun tell based in separate job 92/74692/9
Vishal Thapar [Tue, 31 Jul 2018 12:31:02 +0000 (18:01 +0530)]
run tell based in separate job

Change-Id: I199b7dafe05b4bc811d97b77c6b2a9f56ad5f577
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoIgnore ssh errors on closed connections 99/76099/2
Sam Hague [Fri, 14 Sep 2018 19:12:34 +0000 (15:12 -0400)]
Ignore ssh errors on closed connections

Commit I7bb0f566eef9c4e5526272a2af567d0180db8e09 brought in a
change to logout from ssh connections, but in some cases the
connection is gone, such as during stop and start of ODL nodes
in clustering tests. This then fails the keyword and exits
so the later part of the keyword doesn't execute. And that is
the important part which opens a new connection. This ends up
leaving the old connection which is closed and unusable.

Change-Id: I3512686e7df117c453789608bc5c3b2121e7c7b8
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agosuite change for ITM Auto Tunnel 80/76080/2
srajappa [Fri, 14 Sep 2018 05:53:24 +0000 (11:23 +0530)]
suite change for ITM Auto Tunnel

Change-Id: I0b2230f915eb082013648a9c52d3cbac6dd83946
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoSXP: Make cluster routing suite more readable 21/75721/17
Ivan Hrasko [Thu, 23 Aug 2018 15:02:58 +0000 (17:02 +0200)]
SXP: Make cluster routing suite more readable

Change-Id: I3472bdd10d7538485533709b5b2a815c95387691
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Cluster suite fixes 64/75964/8
Ivan Hrasko [Tue, 11 Sep 2018 08:47:15 +0000 (10:47 +0200)]
SXP: Cluster suite fixes

Change-Id: I3297a1899c5e199966232ad9d56668fb835bf339
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoShow instance details before deleting 05/76005/2
Jamo Luhrsen [Tue, 11 Sep 2018 20:25:49 +0000 (13:25 -0700)]
Show instance details before deleting

when the suite setup fails to create instances the
only output we get in our robot logs is the single
line matching the state of the instance as "error"
Those are the cases we want to see more output,
like server show.

Change-Id: I8474638785193727b6c61851dd715356ee245561
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd SNAT DNAT suite. 33/74233/35
mpany [Thu, 19 Jul 2018 20:43:14 +0000 (02:13 +0530)]
Add SNAT DNAT suite.

Change-Id: I15a7f76892e7fe56596e557613db8d97029d820d
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoSXP: Add missing tags to binding origins tests 08/75908/3
Ivan Hrasko [Mon, 10 Sep 2018 07:13:19 +0000 (09:13 +0200)]
SXP: Add missing tags to binding origins tests

Change-Id: If81f329d245569ff4f4f66751272b952e6504c12
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix clustering tests 17/75817/7
Ivan Hrasko [Thu, 6 Sep 2018 14:52:25 +0000 (16:52 +0200)]
SXP: Fix clustering tests

Change-Id: I520fff58ad1838fdccea6421b692ccdfbeeb2e95
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoUpdate whtielist 00/75900/1
Sam Hague [Sun, 9 Sep 2018 21:47:15 +0000 (17:47 -0400)]
Update whtielist

Change-Id: I9a78963428bab346b4eb91890c251e9d8e70dbd7
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agochanges amend as per ITM Auto tunnel feature 50/75750/22
srajappa [Wed, 5 Sep 2018 10:04:53 +0000 (15:34 +0530)]
changes amend as per ITM Auto tunnel feature

Change-Id: Ic3f466ab81f5419a46d150ba4ba1afd93295fbc5
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoSXP: Improve parameter ${node_range} 27/75827/9
Ivan Hrasko [Fri, 7 Sep 2018 07:58:05 +0000 (09:58 +0200)]
SXP: Improve parameter ${node_range}

- improve parameter ${node_range} to
represent exact number of created/cleaned nodes

- afterwards there is no need to ask to
create/clean wanted number of nodes + 1

Adapted KWs:
- Setup SXP Environment KW
- Clean SXP Environment KW

Change-Id: Ia5863e8f6cf04b71325303558ccec76a11758133
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix session creating in test suites 26/75826/3
Ivan Hrasko [Fri, 7 Sep 2018 07:46:30 +0000 (09:46 +0200)]
SXP: Fix session creating in test suites

Change-Id: I45d02ee9e4b9561c6382fcd90e7dd0bc5b7d48ba
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix 020_Sxp_Node_Switching.robot 24/75424/18
Ivan Hrasko [Thu, 23 Aug 2018 15:02:58 +0000 (17:02 +0200)]
SXP: Fix 020_Sxp_Node_Switching.robot

Change-Id: If3d2df7e0dde8499489b527ebfc142a7f5423da4
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Improve Clean SXP Cluster Session KW 49/75749/5
Ivan Hrasko [Wed, 5 Sep 2018 10:09:09 +0000 (12:09 +0200)]
SXP: Improve Clean SXP Cluster Session KW

Change-Id: I0eeb8d61a58d433165f1622f426ec61813381930
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoL3vpn test update 29/75529/23
Tomas Markovic [Mon, 27 Aug 2018 07:19:50 +0000 (09:19 +0200)]
L3vpn test update

Additional configuration is necessary due
to policy changes in bgpcep implementation.

BGP policies require route target argument in
order for application peer to distribute routes
back to internal bgp peer. So we have to first
send route containg route-target argument from
ibgp, and then we can send l3vpn route to app
peer so it can identify ibgp as appropriate
for advertizement of such route.

Switched from using exabgp to play.py for sending
route from internal peer to application peer in
odl versions fluorine and further.

Change-Id: Id3570b421491a8c906f3e848fef6922d6812e07c
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoFix for OPNFLWPLUG-1022 requires Topology Manager 93/75593/3
Anil Vishnoi [Thu, 30 Aug 2018 20:48:13 +0000 (13:48 -0700)]
Fix for OPNFLWPLUG-1022 requires Topology Manager

module to register for singleton clustering service.
That introduces application entity in the EOS output.
In the current cluster tests, after disconnecting all
the OpenFlow devices, test checks that no openflow
 device should have owner, by grepping the "member"
string, and expect that it should be 0. After
introducing topology manager entity, EOS output
will always have one entity with all the 3 controllers
as a candidates, so greppign the "member" string
will always return 3. This patch take care of this
change."

Change-Id: Id2d3c0905ec3cd02c2098c1c1aee61c081dfe629
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
5 years agoAdd SFC Tests 08/72108/64
gvrangan [Mon, 21 May 2018 20:29:08 +0000 (01:59 +0530)]
Add SFC Tests

- Tests the SFC Functionality
- Creates the configuration with one Service Function
  and ensures packet traverses via the SF
- Creates the symmeteric Chain configuration
  and tests the functionality

Change-Id: I74fbbd0f3c64f7676dbc50ff372493a71c84fc6b
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agoSXP: Use KWs from ClusterManagement 03/75503/10
Ivan Hrasko [Mon, 27 Aug 2018 12:19:53 +0000 (14:19 +0200)]
SXP: Use KWs from ClusterManagement

- use keyword from ClusterManagement to get
cluster owner

- use keyword from ClusterManagement to get
all cluster sessions

- remove usage of cluster owner when it is
not needed - instead use ${CONTROLLER_SESSION}

Change-Id: I189fcc42c8eaff370fefbedef8cef0ea22974fe9
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Get leader only from running members 69/75369/10
Ivan Hrasko [Wed, 22 Aug 2018 08:50:39 +0000 (10:50 +0200)]
SXP: Get leader only from running members

- after leader isolation look for new leader only
from currently running cluster members

- removed duplicated variables
- removed SAMPLES variable with constant value 1
from FOR loops

Change-Id: I1ef6fa9dd22729f1960ce948489fb7ee230393f6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd support for filter 20/75520/5
Dibya Prakash Das [Tue, 28 Aug 2018 00:15:14 +0000 (05:45 +0530)]
Add support for filter

The data in the visualization can now be filtered
by field name and value

Change-Id: I630912547ec9777895b20086a0c99e7a9c0af40f
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoAdd bgp isolation clustering test 66/72866/15
Tomas Markovic [Tue, 19 Jun 2018 05:13:36 +0000 (07:13 +0200)]
Add bgp isolation clustering test

Now that we are going to look at clustering
tests with more focus, we want even this one
to work, so adding it back to releng.

Change-Id: I1c6603783cc236c7e2d309cfd30b3b4ba3e89fa8
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoadd support for colors in plots 88/75388/2
Dibya Prakash Das [Wed, 22 Aug 2018 20:14:14 +0000 (01:44 +0530)]
add support for colors in plots

Change-Id: I87be96f0f807109e28e94af8642a40239dc4620f
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoRevert "Add Acl enhancement" 53/75653/2
Jamo Luhrsen [Sat, 1 Sep 2018 03:52:44 +0000 (03:52 +0000)]
Revert "Add Acl enhancement"

This reverts commit de41221e7fda59bc5ead54ce812d1d3bffe866ab.

This broke our normal tests in the security group rule create.
we forgot to run those in the sandbox too. please fix.

Change-Id: I7bf12b07e24f73d29bc90f1cff0bd90253e17915
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd Acl enhancement 38/73638/30
TabassumSharieff [Mon, 2 Jul 2018 09:50:32 +0000 (15:20 +0530)]
Add Acl enhancement

Change-Id: I7f174d02cf007382fad434812a90a55481a360cc
Signed-off-by: TabassumSharieff <shariefftabassum14@gmail.com>
5 years agoSpecify ODL IP for ODLTools 50/75350/5
Vishal Thapar [Tue, 21 Aug 2018 09:43:42 +0000 (15:13 +0530)]
Specify ODL IP for ODLTools

ODLTools currently uses HA_PROXY_IP, which Genius
doesn't currently support. Change ODLTools method
signatures to get ip form caller and set default
to ODL_SYSTEM_IP.

Change-Id: Ia5f48a96b0a883e9dad504e5291cf7541e99df8d
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoRemove optional argument from vpn dualstack suite. 64/75464/2
mpany [Fri, 24 Aug 2018 10:19:19 +0000 (15:49 +0530)]
Remove optional argument from vpn dualstack suite.

Change-Id: I13ade897da5a28df38bc6e296840fe7f9457abc9
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRemove optional argument from vpn ipv6 suite. 61/75461/3
mpany [Fri, 24 Aug 2018 08:35:25 +0000 (14:05 +0530)]
Remove optional argument from vpn ipv6 suite.

Change-Id: I1228890a2d7dff43a17cf80478261f6985b50922
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRemove optional parameter from suite. 58/75458/3
mpany [Fri, 24 Aug 2018 06:24:59 +0000 (11:54 +0530)]
Remove optional parameter from suite.

Change-Id: Ic6e55b065354cd7128f29929ec5d809e67d5ac87
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd optional parameter in Openstack lib. 67/75367/2
mpany [Wed, 22 Aug 2018 05:59:03 +0000 (11:29 +0530)]
Add optional parameter in Openstack lib.

Change-Id: I80d8e0b31358bde26acd976b370fc0a2c96a22c7
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd host route suite for host route handling. 05/72105/36
Arunkumar Murukesan [Sun, 20 May 2018 08:50:55 +0000 (14:20 +0530)]
Add host route suite for host route handling.

Change-Id: I8c1e28d7272f940274cd1b9464a7fd6fbc35c2ab
Signed-off-by: Arunkumar Murukesan <arunkumar.murukesan@gmail.com>