integration/test.git
5 years agoWrap checks after deletes in a WUKS 69/77869/3
Jamo Luhrsen [Fri, 16 Nov 2018 06:40:35 +0000 (22:40 -0800)]
Wrap checks after deletes in a WUKS

Example here shows that a delete was done but the
uuid still showed up in the config store. In the
example below, you can see the openstack CLI to
delete the l2gw connection completed at timestamp
00:39. Looking in the 3 karaf logs (it's a cluster
job) you can see the delete made it by 00:41 or
00:42 depending on which log you check. So, polling
for up to 5 seconds should give a little time for
that to propagate.

example:
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/builder-copy-sandbox-logs/508/jamo-netvirt-csit-hwvtep-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-fluorine/14/robot-plugin/log_full.html.gz#s1-s1-s1-t20-k1-k4

Change-Id: I4e09db3a03a4851df14d47b5328abe7eba834052
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoMake ${OS_NODE_CNT} a suite variable 66/77866/1
Jamo Luhrsen [Fri, 16 Nov 2018 06:10:41 +0000 (22:10 -0800)]
Make ${OS_NODE_CNT} a suite variable

Without making it a suite variable, it seems the changed
value is only local to that keyword, and outside of that
keyword it will remain the value as assigned in the
above *** Variables *** section, which is ${1}

example of the value getting changed to 3:
https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/jamo-netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-gate-snat-conntrack-oxygen/42/robot-plugin/log_full.html.gz#s1-k1-k1-k4-k2-k4

two keywords later in that same job, you can see
it's incorrectly back to 1:
https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/jamo-netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-gate-snat-conntrack-oxygen/42/robot-plugin/log_full.html.gz#s1-k1-k1-k4-k2-k6-k2

Change-Id: I6e8cc9eb73acc8efef8a61342546d2de1205e4bb
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoReplace BR1 and BR2 with br-int in Genius-CSIT 64/77764/9
Karthika Panneer [Wed, 14 Nov 2018 07:24:16 +0000 (23:24 -0800)]
Replace BR1 and BR2 with br-int in Genius-CSIT

Change-Id: Id9d6cbbb5013460c5d7572a3a34238005a7213b9
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoFix flowspec empty uri 13/77713/9
tomas.markovic [Tue, 13 Nov 2018 10:13:57 +0000 (11:13 +0100)]
Fix flowspec empty uri

In neon, family ribs, are not initialized
until we fill them, and therefore we have
to check whether they are empty differently

Change-Id: I12815bc3383e10942873a496bb7a71608d01410e
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix dpkg frontend locking 91/77791/3
shahid_calsoft [Wed, 14 Nov 2018 13:44:14 +0000 (19:14 +0530)]
Fix dpkg frontend locking

Getting following error while installing debian packages in CSIT
dpkg: error: dpkg status database is locked by another process
due to this locking failure dcgw script could not install all
required Quagga debian packges in tools system hence suite failed
refer following fix for the same
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1796081

Change-Id: I498520b1fbc1068a2f9ad9d54cab1e9217a0977e
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
5 years agoRemove vtep-auto-tunnels from tdd-wip 77/77777/1
Faseela K [Wed, 14 Nov 2018 11:32:15 +0000 (17:02 +0530)]
Remove vtep-auto-tunnels from tdd-wip

This script is broken, and cannot even run
from genius patch test. Shankar needs
to update the test suite as per comments
on https://git.opendaylight.org/gerrit/#/c/73225/
and then add the suite to main test plan.

Change-Id: I035509f6c1d3e8e1da27802d0c6a9d313aaf7bdf
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoSXP: Wait for RPC registration 23/77723/7
Ivan Hrasko [Tue, 13 Nov 2018 13:55:57 +0000 (14:55 +0100)]
SXP: Wait for RPC registration

- SXP has RPC services registered on owner
node only, after owner change it can take
some time for them to be registered on new
owner

Change-Id: I28316461d38bd1bfc78a3851794017aa3f36372c
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix WUKS KW usage 70/77770/5
Ivan Hrasko [Wed, 14 Nov 2018 09:21:32 +0000 (10:21 +0100)]
SXP: Fix WUKS KW usage

- BuiltIn.Wait Until Keyword Seceeds KW is used in wrong
way in some places

- the first argument should be number of retries
- the second argument should be retry interval
- it has no sense to retry 1x

Change-Id: I326b4fbb7bab42e844642c5765ecf078c03f00c1
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Run binding origins test on Fluorine 06/77706/4
Ivan Hrasko [Tue, 13 Nov 2018 08:11:45 +0000 (09:11 +0100)]
SXP: Run binding origins test on Fluorine

- binding origins test can be run on Fluorine
and later streams only

Change-Id: I97a14461e16ad7daa5bf5533621793f3a1d74bc6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoFix cluster suites after latest updates 43/77743/5
Luis Gomez [Tue, 13 Nov 2018 23:47:42 +0000 (15:47 -0800)]
Fix cluster suites after latest updates

- For OFP inventory returns empty when no switch is connected.
- For Netconf there is a change in the singleton entity ID.

Change-Id: I57780e099f1c59b23d89007c47f5855f1a45ff18
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix bgp l2vpn evpn test 48/77548/9
tomas.markovic [Tue, 6 Nov 2018 14:59:28 +0000 (15:59 +0100)]
Fix bgp l2vpn evpn test

Change-Id: I53d392ff8302473f4e9d0aa5239d3085fb177c30
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix route-key argument in ibgp test 07/77707/2
tomas.markovic [Tue, 13 Nov 2018 09:19:11 +0000 (10:19 +0100)]
Fix route-key argument in ibgp test

The route-key on neon is now in proper base64
enconding so we can change test to reflect this.

Change-Id: I892daed80b4ca30b2bbf8f5048a04889d3535f9b
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoLog output from ovs commands for easier debugging 20/77420/2
Jamo Luhrsen [Thu, 1 Nov 2018 17:43:59 +0000 (10:43 -0700)]
Log output from ovs commands for easier debugging

Change-Id: I0c53fbad88d981a53d00cc4b4ab84a05a723a38b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoRemove Create Resources from first test case 18/77418/2
Jamo Luhrsen [Thu, 1 Nov 2018 17:35:15 +0000 (10:35 -0700)]
Remove Create Resources from first test case

[0] refactored some test code to unify some suite
setups, which moved "Create Resources" to the suite
setup. Doing it again in the first test case results
in a failure, since openstack create commands are
failing trying to create a duplicate

[0] https://git.opendaylight.org/gerrit/#/c/74698/7/csit/suites/netvirt/upgrade/upgrade.robot

Change-Id: I99c8393a010ad2ec22f7a8ca89e6d2dca783ecf9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix bgp_app_peer test 38/77538/5
tomas.markovic [Tue, 6 Nov 2018 13:34:24 +0000 (14:34 +0100)]
Fix bgp_app_peer test

Refactor test

In result we also fix bgp_app_peer.py
script, which should increase health
of most of the performance tests.

Change-Id: I831540c6e09287ec7642de7adfc98d74e8f2b087
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoAdd BGP multipath support suite for ODL 27/72227/33
shahid_calsoft [Thu, 24 May 2018 10:59:18 +0000 (16:29 +0530)]
Add BGP multipath support suite for ODL

Change-Id: Ic25735ae34630679cfc71150fd592b162f0c2348
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
5 years agoAdd DC gateway configplan 57/59457/41
maheshl [Fri, 23 Jun 2017 10:36:49 +0000 (16:06 +0530)]
Add DC gateway configplan

Change-Id: I16130e39a7ecb536cf1dc025335c413f7c49fe09
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoFix bgpcep flowspec test 19/77619/2
tomas.markovic [Thu, 8 Nov 2018 13:11:37 +0000 (14:11 +0100)]
Fix bgpcep flowspec test

Change-Id: I2a9bd47810842b5a39e917bcabf6afe3feb291e0
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoDont check tunnels on single node 33/77633/1
Sam Hague [Thu, 8 Nov 2018 20:21:00 +0000 (15:21 -0500)]
Dont check tunnels on single node

Change-Id: I96d1e415342899f3743be700ea1c64117ff35066
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix bgp multipath test 21/77621/2
tomas.markovic [Thu, 8 Nov 2018 13:30:12 +0000 (14:30 +0100)]
Fix bgp multipath test

Change-Id: Ia346e8007ab69a1b6df4eb281b2d16feecdc1f1e
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix bgpcep lsp test 20/77620/2
tomas.markovic [Thu, 8 Nov 2018 13:21:51 +0000 (14:21 +0100)]
Fix bgpcep lsp test

Change-Id: I9b6ec9e8c5063ae95ba55d357e8a7bc90da631a2
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix bgpcep tcpmd5user test 03/77603/3
tomas.markovic [Thu, 8 Nov 2018 08:09:00 +0000 (09:09 +0100)]
Fix bgpcep tcpmd5user test

Remove irrelevant tc's

Change-Id: Id30777f7eff69376d87230c56fc644e9096abd14
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix bgp route refresh test 76/77576/6
tomas.markovic [Wed, 7 Nov 2018 10:48:30 +0000 (11:48 +0100)]
Fix bgp route refresh test

Change-Id: I0485816fc7b37938674e96047eb0510e00448bc0
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoSXP: Add RPC redirecting tests 56/77256/16
Ivan Hrasko [Wed, 24 Oct 2018 14:27:30 +0000 (16:27 +0200)]
SXP: Add RPC redirecting tests

Change-Id: Iad37cee3c72b4add1c477c3fe7149e8781fa6e2d
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd False check to validation 98/77598/2
Sam Hague [Thu, 8 Nov 2018 02:33:17 +0000 (21:33 -0500)]
Add False check to validation

Change-Id: Ia60933fd2c8938a28ad8b68bba0558e7036a373b
Signed-off-by: Sam Hague <shague@redhat.com>
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>