integration/test.git
4 years agoPin pygments to 2.3.x 73/81973/1
Thanh Ha [Thu, 9 May 2019 13:00:09 +0000 (09:00 -0400)]
Pin pygments to 2.3.x

Pygments released 2.4.0 which added a python requires that excludes all
versions of Python < 3.5. The LFCI's default Python 3 version is 3.4 so
causes build failure.

Change-Id: Iec3de2d14754b2b4d52ea9e2e4c07006ec5d3f62
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoShow jmx-local and jmx-others file contents 61/81961/1
jluhrsen [Wed, 8 May 2019 21:27:27 +0000 (14:27 -0700)]
Show jmx-local and jmx-others file contents

just for more detailed debugging

Change-Id: Ia90fcb798846418d4da41aacb37ef27593c8cefa
Signed-off-by: jluhrsen <jluhrsen@gmail.com>
4 years agoAdd netconf scale suite to find max devices 31/81831/15
jluhrsen [Tue, 30 Apr 2019 19:48:41 +0000 (12:48 -0700)]
Add netconf scale suite to find max devices

Change-Id: I5252ef94bdb7e2e7b3e84fefa770641bac6306a0
Signed-off-by: jluhrsen <jluhrsen@gmail.com>
4 years agoPin pep8 and tidy to Python 2 92/81892/1
Thanh Ha [Fri, 3 May 2019 16:04:08 +0000 (12:04 -0400)]
Pin pep8 and tidy to Python 2

The code in the repository has not been updated to pass Python 3
linting. Pin the Python version to 2 for now.

Change-Id: Ied5d4b77886ad065be07f624fbab317e24d493cf
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoGENIUS-157: CSIT Test suite for OF-Tunnels Phase-1 46/80646/20
souvikdas95 [Thu, 28 Feb 2019 17:04:24 +0000 (22:34 +0530)]
GENIUS-157: CSIT Test suite for OF-Tunnels Phase-1

TC01-TC04

Test plan Ref.: https://git.opendaylight.org/gerrit/#/c/72712/

Change-Id: I5249e407e0d4c29601f7dd57945244270bef9f03
Signed-off-by: souvikdas95 <souvikdas95@yahoo.co.in>
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
4 years agoRemove BC option in netconf testtool 79/81879/2
Luis Gomez [Thu, 2 May 2019 17:43:32 +0000 (10:43 -0700)]
Remove BC option in netconf testtool

This reverts commit 92bdbae14ff0883e00a730ab2796fadf37596ac4.
The original change is not required anymore and BC seems to be
required by latest version of sshd.

Change-Id: Ibc94f3ddbafc7ce4eeaa38ecc8bf07503b271eaf
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
4 years agoChange FIP to ExtIP 10/81710/4
JayaPr [Tue, 23 Apr 2019 13:19:30 +0000 (18:49 +0530)]
Change FIP to ExtIP

While debugging netvirt-1591, found FIP creates
confusion that whether it is fixed IP or Floating IP
So rename FIP which is actually External IP and also
fixed to ExtIP

Change-Id: I5c2aa496f3a49dd95ac01a1933f9381a2c9990ae
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
4 years agoAdd bgpvpn specific apis in netvirt. 45/80945/9
JayaPr [Mon, 18 Mar 2019 10:34:33 +0000 (16:04 +0530)]
Add bgpvpn specific apis in netvirt.

Add bgpvpn specific apis to check support for bgpvpn
create and verify commands in an openstack
environment

Change-Id: I72b58d2c46338b06e85a26343cfdc30227b0ac85
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
4 years agoAdd ping test in aclrecovery suite 21/81021/13
JayaPr [Wed, 20 Mar 2019 16:58:10 +0000 (22:28 +0530)]
Add ping test in aclrecovery suite

Add ping test in aclrecovery suite.
The previous suite was checking for flows table,
Modified it to check for ping.

Change-Id: I9eb4756506963f58207d0b575a78ba68d16c31d9
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoFix validations HTTP error 08/81308/3
ananth.y [Fri, 29 Mar 2019 09:58:44 +0000 (18:58 +0900)]
Fix validations HTTP error

Change-Id: I13862722892767fa2be2ab57cb4caf21de8537f2
Signed-off-by: ananth.y <ananth.y@hcl.com>
5 years agoAdd testcase for vm readd and connectivity 51/81351/4
JayaPr [Wed, 3 Apr 2019 00:39:29 +0000 (06:09 +0530)]
Add testcase for vm readd and connectivity

Added testcase to check when Deleted VM is added back again
ping and connectivity should be fine
Also reorganised suite to make it more readble.

Change-Id: Id14f39638da25fb51a81280b982c7034127dcd5b
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoReplace Start Suite with Suite Setup 64/81264/1
JayaPr [Fri, 29 Mar 2019 01:21:09 +0000 (06:51 +0530)]
Replace Start Suite with Suite Setup

Replaced the keyword Start Suite with Suite Setup in all
netvirt suites to follow test code guidelines.

Change-Id: Icfa7a1a4ab24ee1935ae09184186ac9fe74c7d65
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoRemove bgp-connect duplicate variable from suites 46/80946/3
JayaPr [Mon, 18 Mar 2019 10:43:07 +0000 (16:13 +0530)]
Remove bgp-connect duplicate variable from suites

Change-Id: Id20b500b488e6252de83ecf340d5058d86d7bcc3
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoMove ${VPNV4_ADDR_FAMILY} to lib file 97/81197/2
Jamo Luhrsen [Tue, 26 Mar 2019 16:36:56 +0000 (09:36 -0700)]
Move ${VPNV4_ADDR_FAMILY} to lib file

this was missed in https://git.opendaylight.org/gerrit/#/c/80758

Change-Id: I2cfb0655ccf49f2805b59942ab9e8ec61d8f967e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoRe-create l3vpn and verify traffic 79/80879/9
JayaPr [Fri, 15 Mar 2019 10:08:43 +0000 (15:38 +0530)]
Re-create l3vpn and verify traffic

Change-Id: I0aa9b2f2f5383d2b84825a7eccb1f339a44ff5a7
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoMove bgp global api to BgpOperations library 58/80758/4
JayaPr [Mon, 11 Mar 2019 07:12:52 +0000 (12:42 +0530)]
Move bgp global api to BgpOperations library

Change-Id: I661218b800968c40c8c0860a6a5c0f36594997ff
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
5 years agoFix BGPCEP Test related to tcpmd5user (Neon) 53/80853/5
gvrangan [Thu, 14 Mar 2019 13:29:20 +0000 (18:59 +0530)]
Fix BGPCEP Test related to tcpmd5user (Neon)

- The XML response is differnt for neon.
- This Patch checks for the STREAM and uses a differnt
  response for XML.

Change-Id: Iefeb6c5c2b57c676c73e2942350ff3476dbfa2fc
Signed-off-by: gvrangan <vgovindarajan@luminanetworks.com>
5 years agoFix for BGPFunct Test (Route Ref Tests) 21/80821/7
gvrangan [Wed, 13 Mar 2019 11:09:29 +0000 (16:39 +0530)]
Fix for BGPFunct Test (Route Ref Tests)

- The tests were failing due to multiline string comparison.
This patch breaks the search in to a loop one line at a time.

Change-Id: Ic10403966f9310366f8027ff9e0b6ed4834cc1c9
Signed-off-by: gvrangan <vgovindarajan@luminanetworks.com>
5 years agoLISP: fix MD-SAL Neon git paths 42/80742/3
Lorand Jakab [Sat, 9 Mar 2019 00:55:17 +0000 (01:55 +0100)]
LISP: fix MD-SAL Neon git paths

Change-Id: I104d99e451bf2b264342c0782e260be51ced7b6b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
5 years agoNon passing validations now cause HTTP 400 error 66/80766/5
Jaime Caamaño Ruiz [Mon, 11 Mar 2019 12:07:55 +0000 (13:07 +0100)]
Non passing validations now cause HTTP 400 error

Depends-On: If97cc430dbc287b887b1267268d86c14cadd283c
Change-Id: I0450e426a500329b6c87c278d93fb0dedb5161ed
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
5 years agoFix for ACL Tests in AllinOne Setup 11/80711/3
gvrangan [Thu, 7 Mar 2019 11:42:56 +0000 (17:12 +0530)]
Fix for ACL Tests in AllinOne Setup

Change-Id: I2db4fb578f95f997afacdb4dfc6f440983887cd9
Signed-off-by: gvrangan <vgovindarajan@luminanetworks.com>
5 years agoRepair Karaf command 78/80678/8
Luis Gomez [Tue, 5 Mar 2019 04:03:21 +0000 (20:03 -0800)]
Repair Karaf command

Option -f is not available in bundle:restart.
Some of the expected logs are not there anymore.

Change-Id: Ie8f2c7be83a4b5c08ed06034996dba7e4b0523de
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix Robot evaluate 75/80675/4
Luis Gomez [Tue, 5 Mar 2019 01:25:04 +0000 (17:25 -0800)]
Fix Robot evaluate

It seems like latest robot version changes the way python dictionary
is evaluated.

Change-Id: I34b72190bb4f7d09aedf1cb1d46b4ec65b247164
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix error in CSIT due to not empty stderr 71/80671/1
Luis Gomez [Mon, 4 Mar 2019 18:42:51 +0000 (10:42 -0800)]
Fix error in CSIT due to not empty stderr

pip command shows stderr about python 2.7 deprecation

Change-Id: I79c399abb203cb4d7bcdafd208ed241829822ba7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoQualify Keywords in Genius Suite 70/80570/7
Karthika Panneer [Mon, 25 Feb 2019 12:05:51 +0000 (04:05 -0800)]
Qualify Keywords in Genius Suite

Change-Id: Id2c77861462d29fc5e2ab944ca0b8d8823aad2e0
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoRemoce wrong keyword for node data 16/80616/5
Faseela K [Wed, 27 Feb 2019 07:03:25 +0000 (12:33 +0530)]
Remoce  wrong keyword for node data

Upgrade CSIT has been failing with the below error:

No keyword with name 'DevstackUtils.Set Node Data For Control Only Node
Setup' found.

The keyword was renamed, but the keyword call can simply be removed
because the proper keyword is called during Suite Setup->
OpenstackOperations.OpenStack Suite Setup->Devstack Suite Setup->
Get DevStack nodes Data

Change-Id: I05d7470733669e5b74d57237f1c013cdf345c219
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoMigrate to serviceutils/upgrade flag 78/80378/4
Faseela K [Tue, 19 Feb 2019 05:06:11 +0000 (10:36 +0530)]
Migrate to serviceutils/upgrade flag

JIRA: GENIUS-190

Change-Id: Iafdea3a3e74b4e1c8d2f6161ec05cca91f51d8bc
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoFix URI bad format error 25/80625/1
ananth.y [Wed, 27 Feb 2019 13:40:46 +0000 (22:40 +0900)]
Fix URI bad format error

In jenkins model dump for rendered-service-path
gets error response.

Change-Id: Iebb1c89c90c335fc5b2b924e250b7d876386dd2f
Signed-off-by: ananth.y <ananth.y@hcl.com>
5 years agoMigrate from godep to go modules 01/80301/2
Faseela K [Wed, 13 Feb 2019 07:12:22 +0000 (12:42 +0530)]
Migrate from godep to go modules

COE CSIT has migrated to latest golang,
so we can start using go modules for
building watcher and cni.

Change-Id: Ie9c54e81a7b9917c818d234df8c6e53a83bc6349
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoEnable mdsal store for testool 05/80405/5
Luis Gomez [Tue, 19 Feb 2019 22:18:01 +0000 (14:18 -0800)]
Enable mdsal store for testool

Change-Id: I8ee0e343f980b883d04483f1569674ddeea69877
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSFC New testcase addition. 62/80262/11
pabitra_b [Mon, 11 Feb 2019 13:13:21 +0000 (22:13 +0900)]
SFC New testcase addition.

- SFC Flow Classifier creation with destination port range.
- SFC Flow Classifier creation with source port range.
- During Start Applications on VM Instances part, executing call
  commands inside single ssh connection.

Change-Id: I4f3c226a6ced0fb699754e57b8d9440da0d09849
Signed-off-by: pabitra_b <pabitra_b@hcl.com>
5 years agoRevert "Fix OpenStack CLI Get List error" 52/80352/2
Venkatrangan Govindarajan [Fri, 15 Feb 2019 13:17:07 +0000 (13:17 +0000)]
Revert "Fix OpenStack CLI Get List error"

All jobs are reported as failure, but tests are working. This patch
causes failure in Suite Teardown Causing Failure when the json outcome
has a value like False which is not a string
link:https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-
fluorine/1169/robot-plugin/log_02_l3.html.gz

This reverts commit e6e32a086559fbe0a59558175b6f6b3b0c99f34f.

Change-Id: I4653effc113a08b45f94d3a265dd2dd67c6c9318
Signed-off-by: gvrangan <vgovindarajan@luminanetworks.com>
5 years agoFix OpenStack CLI Get List error 28/80328/2
Yi Yang [Thu, 14 Feb 2019 03:38:12 +0000 (22:38 -0500)]
Fix OpenStack CLI Get List error

In OpenStack CLI Get List error, RequestsLibrary.To Json
    ${json} will result in exception if return value of
OpenStack CLI is empty, i.e. ${json} is empty, this will
terminate current keyword/test case, it isn't what we expect.

This commit fixed this error and make sure current keyword/test
case can be run normally.

Change-Id: If36e27f092e66920004cfc09e9a6d6ec88bf5b51
JIRA: INTTEST-56
Signed-off-by: Yi Yang <yangyi01@inspur.com>
5 years agoRevert "Revert Add Acl enhancement" 76/75676/36
TabassumSharieff [Mon, 3 Sep 2018 11:54:05 +0000 (17:24 +0530)]
Revert "Revert Add Acl enhancement"

This reverts commit I7bf12b07e24f73d29bc90f1cff0bd90253e17915

Change id 73638 went in but  broke netvirt csit so was reverted
and this is an attempt to get that original patch in without
breaking netvirt csit.

Change-Id: I21e04f6c1492dc828fa04993c2554ec10ea2d0a5
Signed-off-by: TabassumSharieff <shariefftabassum14@gmail.com>
5 years agoInclude sodium in the list of branches 25/80225/1
Karthika Panneer [Fri, 8 Feb 2019 05:39:11 +0000 (21:39 -0800)]
Include sodium in the list of branches

Change-Id: Ic497401eabbe5746a40004fdcda461b36e616f98
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoChange ping check for COE 85/80185/2
Karthika Panneer [Thu, 7 Feb 2019 10:10:22 +0000 (02:10 -0800)]
Change ping check for COE

The output of ping between pods
is checked over 0% packet loss.
This is changed to 64 bytes to
ensure proper check is being done.

Change-Id: I45923d3b2884b75cdd16baa5204427ed46ca9d40
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoGENIUS-136 : Enhance Genius-CSIT to 3 Switches 61/79461/28
Karthika Panneer [Fri, 11 Jan 2019 09:40:49 +0000 (01:40 -0800)]
GENIUS-136 : Enhance Genius-CSIT to 3 Switches

Change-Id: I39ae335caec7867e05942efa63a85d043bcb4a57
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoModification on SFC test Cases 48/79848/17
pabitra_b [Wed, 23 Jan 2019 12:30:19 +0000 (21:30 +0900)]
Modification on SFC test Cases

- Replaced Ubuntu image with Alpine Image
- Created new variables ETH_IN, ETH_OUT, CLOUD_IMAGE_USER,
  CLOUD_IMAGE_PASS, CLOULD_IMAGE_CONSOLE specific to Cloud Image.
- Globally set suit variable for OS Prompt, user, password and console.
- During Creation of VM instance Key is ommitted as it is not required.
- Downloading VXLAN Tool is not required in this case.
- Used 512 MB and 1 CPU for Alpine Image.
- Replace curl comand with nc command.
- Replace cirros instances and create 3 instances using the opnfv image.
- Leverage SimpleHTTPServer from python to check the connection.

Change-Id: I0309c2a735664f937b41f5954ea8e6d4b44f5a71
Signed-off-by: pabitra_b <pabitra_b@hcl.com>
5 years agoAppend ARP use cases TCs in puntpath suite 84/79984/7
shahid_calsoft [Tue, 29 Jan 2019 15:15:15 +0000 (20:45 +0530)]
Append ARP use cases TCs in puntpath suite

Change-Id: I121f33cf3ba85c9a9b68c80b74d5c00614b88598
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
5 years agoDo not check status code for empty inventory 26/80126/1
Luis Gomez [Sun, 3 Feb 2019 21:37:06 +0000 (13:37 -0800)]
Do not check status code for empty inventory

Since Neon it returns 404.

Change-Id: I93df691d925fb1891c3a63cf2388c633001f9299
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoChange ODL port from 6633 to 6653 78/80078/1
Karthika Panneer [Fri, 1 Feb 2019 06:27:06 +0000 (22:27 -0800)]
Change ODL port from 6633 to 6653

Change-Id: I83a737c05c4bccd5c0a7362dca1cd077141df94d
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoSXP: Adapt/increase retry timers 58/80058/1
Ivan Hrasko [Thu, 31 Jan 2019 08:40:41 +0000 (09:40 +0100)]
SXP: Adapt/increase retry timers

- adapt/increase retry timers for cluster
routing tests

Change-Id: I2003fe719be257b4ed0c25fc26a05599bf2cea11
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoGENIUS-268: Disable BFD Greater than Neon 36/79836/14
Karthika Panneer [Wed, 23 Jan 2019 07:13:40 +0000 (23:13 -0800)]
GENIUS-268: Disable BFD Greater than Neon

Changes in test cases are done because BFD
will be disabled by default for branches
greater than neon while for other branches
it will remain enabled by default.

Change-Id: I3d2819d3a198f534afce94314c5756e4cd62408c
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoAdjust XML output for empty device configuration 62/79862/4
Luis Gomez [Thu, 24 Jan 2019 00:28:21 +0000 (16:28 -0800)]
Adjust XML output for empty device configuration

This change is required after this merge in master:
https://git.opendaylight.org/gerrit/#/c/79524/

Note this behavior change shows when devices
are added using RPC (vs added to datastore).

Change-Id: Iffa85482bf107b27381eabba2fa44a22567f49a1
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: Add script plan 40/79840/1
Ivan Hrasko [Wed, 23 Jan 2019 08:28:48 +0000 (09:28 +0100)]
SXP: Add script plan

- add script plan for cluster-binding
suite to install SXP device

JIRA: SXP-150
Change-Id: Id705526a2d95961ea494c0347d88899218b09404
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix node stop status checking 39/79839/1
Ivan Hrasko [Wed, 23 Jan 2019 08:05:00 +0000 (09:05 +0100)]
SXP: Fix node stop status checking

- use ODL system to check that node
has stopped

JIRA: SXP-150
Change-Id: I274fb83ae225b87443ee91845950018b04e0a2dc
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoCOE-43: Check for stale veth ports 89/79789/4
Karthika Panneer [Mon, 21 Jan 2019 09:59:41 +0000 (01:59 -0800)]
COE-43: Check for stale veth ports

To check if stale veth ports are left on
the switches after pod deletion

Change-Id: I55261ec15842d7c641b76dd0ed53fe4c543a194b
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoSXP: Fix node stop status checking 04/79804/2
Ivan Hrasko [Tue, 22 Jan 2019 07:17:00 +0000 (08:17 +0100)]
SXP: Fix node stop status checking

- use ODL system to check that node
has stopped

JIRA: SXP-150
Change-Id: I4eab98143c20ae41a961f2654a86f5aa6a046850
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAppend 3 more punt path protection TCs 94/79594/3
shahid_calsoft [Thu, 17 Jan 2019 14:09:33 +0000 (19:39 +0530)]
Append 3 more punt path protection TCs

Change-Id: I3d9d0c201ad20f7f79e261bcebe47356dc12eede
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
5 years agoUpdate list of projects 74/79774/1
Luis Gomez [Mon, 21 Jan 2019 01:15:35 +0000 (17:15 -0800)]
Update list of projects

Change-Id: I86c89149872ea52dfabd7418494ca357cc94e9a1
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoAdditional URLs in Coe TearDown 50/79650/4
Faseela K [Fri, 18 Jan 2019 10:01:17 +0000 (15:31 +0530)]
Additional URLs in Coe TearDown

Change-Id: I82a1a066e81ccd6df5c53134bd2ac5e5f4d28188
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoSXP: Check shard status 30/79630/6
Ivan Hrasko [Fri, 18 Jan 2019 08:53:58 +0000 (09:53 +0100)]
SXP: Check shard status

JIRA: SXP-150
Change-Id: I244d2a91027f800ae1ca595f0ebbc2521939ffc7
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Wait until cluster is ready 76/79576/3
Ivan Hrasko [Wed, 16 Jan 2019 13:56:00 +0000 (14:56 +0100)]
SXP: Wait until cluster is ready

JIRA: SXP-150
Change-Id: I8308bb3e40efa0d90224f56f65b5ba22dfbd4745
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Introduce cluster-binding job 75/79575/3
Ivan Hrasko [Wed, 16 Jan 2019 13:33:20 +0000 (14:33 +0100)]
SXP: Introduce cluster-binding job

- move the last test file of clustering suite
to separate suite increases its possibility to pass

JIRA: SXP-150
Change-Id: I4003b919b837fbeb6b5fd12e9bc93b013d67e883
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Improve reliability of clustering suite 42/79542/3
Ivan Hrasko [Mon, 14 Jan 2019 13:59:10 +0000 (14:59 +0100)]
SXP: Improve reliability of clustering suite

- increase retry timeouts

JIRA: SXP-150
Change-Id: Ib143df18b0e9badc587157e51c5618b0b8a95610
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Improve reliability of basic suite 03/79503/6
Ivan Hrasko [Mon, 14 Jan 2019 09:15:55 +0000 (10:15 +0100)]
SXP: Improve reliability of basic suite

- check that node is started after add
- check that node is stopped after delete

- increase timeouts in all connection
related tests

JIRA: SXP-150
Change-Id: I440a90c7b471594642d843ed87a9b638743a6485
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Enable DEBUG log level 35/79535/1
Ivan Hrasko [Tue, 15 Jan 2019 13:02:36 +0000 (14:02 +0100)]
SXP: Enable DEBUG log level

- enable debug log level on cluster tests start
and revert it back to info on teardown

Change-Id: I038ece42d86432c2b6a65588fb5277ed782dbf08
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoPass default values to service_list arg 22/79522/4
Jamo Luhrsen [Mon, 14 Jan 2019 17:45:30 +0000 (09:45 -0800)]
Pass default values to service_list arg

fixes bug that was introduced by:
https://git.opendaylight.org/gerrit/#/c/79385/

Change-Id: Ia8d19251d93e0cd4c3c05dfb4f315b2662599e27
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoSXP: Increase number of retries 13/79413/6
Ivan Hrasko [Thu, 10 Jan 2019 13:11:19 +0000 (14:11 +0100)]
SXP: Increase number of retries

- increase number of retries to check bindings

JIRA: SXP-150
Change-Id: I6abd25c2ec5c3d54f3036a464851a18636817f0f
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoIntroduce @{EMPTY_LIST} variable 60/79460/3
Ivan Hrasko [Fri, 11 Jan 2019 09:28:13 +0000 (10:28 +0100)]
Introduce @{EMPTY_LIST} variable

- introduce @{EMPTY_LIST} variable to use
in KWs with list parameters

JIRA: SXP-150
Change-Id: I07a3b3c171370cea13d68fecf409e924a6826f1c
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Check cluster is ready after (un-)isolation 55/79355/9
Ivan Hrasko [Wed, 9 Jan 2019 14:42:18 +0000 (15:42 +0100)]
SXP: Check cluster is ready after (un-)isolation

JIRA: SXP-150
Change-Id: I5e587775054a6da4ee392439727abdf0ab64d3e6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoRename bfd suite teardown 00/79400/2
Faseela K [Thu, 10 Jan 2019 09:26:34 +0000 (14:56 +0530)]
Rename bfd suite teardown

Change-Id: I2c55a95c85a2fef04718013118e51498104101b6
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoSXP: Verify that all bindings are present 97/79397/2
Ivan Hrasko [Thu, 10 Jan 2019 08:20:56 +0000 (09:20 +0100)]
SXP: Verify that all bindings are present

Change-Id: I152b6315302f8ccb975855645bbf93acb90c6133
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Increase WUKS retry time 96/79396/2
Ivan Hrasko [Thu, 10 Jan 2019 08:16:06 +0000 (09:16 +0100)]
SXP: Increase WUKS retry time

Change-Id: I2d91227ed1c495d0c3423a84dbb5cb377538cf6a
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoGENIUS - Fix diagstatus check 99/79399/1
Faseela K [Thu, 10 Jan 2019 09:17:53 +0000 (14:47 +0530)]
GENIUS - Fix diagstatus check

Change-Id: Iaaf3308cef501e492efa3294e6a638c2d98597f6
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoFix handling of list argument 85/79385/3
Jamo Luhrsen [Wed, 9 Jan 2019 23:56:13 +0000 (15:56 -0800)]
Fix handling of list argument

I've learned that you cannot assign default values to a list
argument (something to do with mutability), so removing
the default value in the argument line and handling the case
where the keyword is called without passing in a list for
that argument.

Change-Id: I2b37e0c7a9a7708a234562541439de8db37eda84
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoPass service_list as actual list 80/79380/1
Jamo Luhrsen [Wed, 9 Jan 2019 19:02:59 +0000 (11:02 -0800)]
Pass service_list as actual list

this logic was broken by c/79243

Change-Id: I1ee01bdabd09759fd6ca101a8f8b4689e529cbd6
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoSXP: Use not equal retry timer value 27/79227/4
Ivan Hrasko [Fri, 4 Jan 2019 11:26:54 +0000 (12:26 +0100)]
SXP: Use not equal retry timer value

- not equal retry timer value allows
to deal with VSS switchover

JIRA: SXP-147
Change-Id: I998f1f52f8dcc543b4e2e402c0cd3f2b58dbff59
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoVerify restconf is available on member startup 43/79243/6
Tom Pantelis [Fri, 4 Jan 2019 16:52:16 +0000 (11:52 -0500)]
Verify restconf is available on member startup

CSIT run
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/controller-csit-3node-clustering-tell-all-neon/106/robot-plugin/log.html.gz
failed due to the restconf availability check returning 404.
This occurred at 17:16:24 however the karaf log shows that
the restconf bundle was still in the process of starting up
at that time (it was waiting for ia AAA dependency). The
bundle eventually completed startup at 17:17:19.

The restconf check is part of the
Get_Raft_Property_From_Shard_Member keyword. However it's
wrapped in the higher-level
Verify_Leader_Exists_For_Each_Shard keyword with a deadline
of 30 sec which is enough most of the time but needs a bigger
cushion. Unfortunately, since the restconf check is deeply
nested within a Wait Until Keyword Succeeds, we can't just
simply wrap it with it's own deadline as that may be longer
than the enclosing deadline. Instead, I added the restconf
check to the Start_Members_From_List_Or_All keyword which
already has a 5 min deadline. I left
Get_Raft_Property_From_Shard_Member as is lthough I really
don't think the restconf check belongs there.

Change-Id: I687a10cbc92d8190a2bcb9a5f4ac1837ba0459a8
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agocomplete project telemetry system test job 84/79084/14
wsx25289 [Fri, 28 Dec 2018 02:34:27 +0000 (21:34 -0500)]
complete project telemetry system test job

Change-Id: I1ce405ff31dee6a001dc4a83f5345d3df0473b7e
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
5 years agoAdd Floating Ip testcases to SNAT suite. 37/78037/16
mpany [Thu, 22 Nov 2018 07:26:58 +0000 (12:56 +0530)]
Add Floating Ip testcases to SNAT suite.

Change-Id: I9483d953369951a1524e9bb5868c64fbcea699c9
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd two new keywords to BGP library. 66/79166/6
mpany [Thu, 3 Jan 2019 07:43:56 +0000 (13:13 +0530)]
Add two new keywords to BGP library.

Change-Id: I989f4b735e01d9bef0e68f9016eb6082fb010bb9
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoSXP: Format connectivity tests 06/79306/3
Ivan Hrasko [Tue, 8 Jan 2019 12:27:20 +0000 (13:27 +0100)]
SXP: Format connectivity tests

Change-Id: I883cfeeaac3d597c14b531cd8b87faabfe5839d7
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Use not random retry time 10/79310/1
Ivan Hrasko [Tue, 8 Jan 2019 13:10:45 +0000 (14:10 +0100)]
SXP: Use not random retry time

Change-Id: I07f7f866af4b0d374e74366e4ba7ce60cd70fd48
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd openflow punt protection suite 65/77165/19
shahid_calsoft [Mon, 22 Oct 2018 07:57:17 +0000 (13:27 +0530)]
Add openflow punt protection suite

Change-Id: I226552cbe569032881d9a16dbd1b2d0234bbf370
Signed-off-by: shahid_calsoft <mohammad.shahid@altencalsoftlabs.com>
5 years agoIncrease timeout for member stop 46/79246/2
Tom Pantelis [Fri, 4 Jan 2019 23:21:30 +0000 (18:21 -0500)]
Increase timeout for member stop

We've been seeing intermittent failures when
stopping a member where it times out waiting
for the karaf process to disappear. Eg
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/controller-csit-3node-clustering-tell-all-neon/107/robot-plugin/log.html.gz#s1-s17
In that case, it timed out at 08:45:10 - the
karaf log indicates it stopped somehwere between
08:45:11 and 8:45:32 when it was restarted. So
the 2 min deadline wasn't quite enough in this
case.

I think at least part of the problem is that
CSIT installs the "world" or at least all the
managed projects which adds to the startup and
shutdown time - coupled with random delays due to
workload in the CSIT env. In lieu of trimming down
the installed features, let's double the timeout
to 4 min to (hopefully) give plenty of cushion.

Change-Id: I1d3b85ec1600c26c6ee187ffc5036a513151f2c6
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
5 years agoUse proper syntax for list passing to *contain* kw 88/79288/1
Jamo Luhrsen [Mon, 7 Jan 2019 19:31:51 +0000 (11:31 -0800)]
Use proper syntax for list passing to *contain* kw

more details here:
https://git.opendaylight.org/gerrit/#/c/79287/1//COMMIT_MSG

Change-Id: I65f688ac32a568f7bfa9f318eb270fc6135911d5
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoUse $ for list arg passed in to builtIn kw 87/79287/1
Jamo Luhrsen [Mon, 7 Jan 2019 19:27:48 +0000 (11:27 -0800)]
Use $ for list arg passed in to builtIn kw

If a list is passed in with the @ syntax, it's expanded first
the first two elements are used for the BuiltIn keyword. So
the result is not what we expect. I noticed it in this false
failure:

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-snat-conntrack-fluorine/154/robot-plugin/log_full.html.gz#s1-s11-k1-k2-k6-k5

it needs to come in with the $ syntax so the keyword can
use it internally to loop over, and compare to the 2nd
argument.

Change-Id: Iea8cda9f8f7357cac3399cf7756822cc743cc6cd
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoSXP: Improve connectivity tests 73/79273/2
Ivan Hrasko [Mon, 7 Jan 2019 13:24:12 +0000 (14:24 +0100)]
SXP: Improve connectivity tests

- Add logging for tests with passwords
- Nodes are already cleaned in test:
remove unnecessary cleanings

Change-Id: Ia6c86eb7083101a59f6d9c742a9f629b93296054
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoRemove check for ownership change 59/79159/2
Tom Pantelis [Wed, 2 Jan 2019 19:06:32 +0000 (14:06 -0500)]
Remove check for ownership change

The "Partition And Heal" and "Global Rpc Freeze" expect the
owner not to change after rejoin but akka may report a spurious
unreachable member event that can cause an owner change after rejoin.

Change-Id: I586f0da98743bd02a5a02038a4b894b2e8929218
JIRA: CONTROLLER-1865
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
5 years agoAdd Subnet And Multicast Suite. 52/72152/70
anuj.l [Tue, 22 May 2018 17:32:16 +0000 (23:02 +0530)]
Add Subnet And Multicast Suite.

Change-Id: I20f0a24c16252e6f078a98c0c96eb1382faeaabf
Signed-off-by: anuj.l <anuj.l@altencalsoftlabs.com>
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRevert "Fix wrong GERRIT_PROJECT" 70/79070/1
Sam Hague [Wed, 26 Dec 2018 22:16:37 +0000 (22:16 +0000)]
Revert "Fix wrong GERRIT_PROJECT"

This reverts commit 5856b0886f8024dd1b6cabdddfd1a68d73a42bd7.

Change-Id: Ia949c795feb0f6f9ee9b167c53d2091f200a5b0f
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix wrong GERRIT_PROJECT 68/79068/2
Sam Hague [Wed, 26 Dec 2018 14:47:10 +0000 (09:47 -0500)]
Fix wrong GERRIT_PROJECT

GERRIT_PROJECT is used in the csit job to clone
the integration/test project so it can not be·
overwritten with the root tst-patch job.

Depends-on: I426b516d2b81f1f2a758552f3e97c16f08e46127
Change-Id: I7d6d5e3d3ffe76807692a7b9bdd52fbca8377fe5
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd multiple bgp vpn suite. 98/72698/50
mpany [Tue, 5 Jun 2018 15:44:24 +0000 (21:14 +0530)]
Add multiple bgp vpn suite.

Change-Id: I3ce4c0dbe6eba7899c3cd90debec9b84d5178a85
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoFix refspec for coe test patch 77/78877/4
Sam Hague [Wed, 19 Dec 2018 18:46:49 +0000 (13:46 -0500)]
Fix refspec for coe test patch

Depends-on: I5c67e9cf8db8b3e0ffc7ef857bae946cd3d7f489
Change-Id: I587245e1b61a0fa800d79cb920cab35667b678c5
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agopretty print git log output 75/78875/3
Sam Hague [Wed, 19 Dec 2018 15:43:27 +0000 (10:43 -0500)]
pretty print git log output

Change-Id: I01fd907056bea4a57211f94d6e808f115fde361f
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRemove check for leadership change 48/78848/2
Jamo Luhrsen [Mon, 17 Dec 2018 22:58:20 +0000 (14:58 -0800)]
Remove check for leadership change

see [0] for more details, but the idea is that we
have some sporadic cases where the isolated node
will report a node unreachable while it's being
rejoined to the cluster which triggers a new leader
election. This unreachable node messages can be
expected if the timing of things is a certain way
so the new leader election is also expected. In
the spirit of creating stable CSIT results without
sporadic failures, we will remove this test case.

[0] https://jira.opendaylight.org/browse/CONTROLLER-1865

JIRA: CONTROLLER-1865
Change-Id: Ic5da2d0748915a36e11eaa841f4b2772ecf7540f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoGenius CSIT - Add AutoTunnels Suite 83/77783/38
srajappa [Wed, 14 Nov 2018 12:30:19 +0000 (18:00 +0530)]
Genius CSIT - Add AutoTunnels Suite

This change is to remove CLI based deletion of vteps and
add REST calls for all recent changes of auto tunnel.
Removed All openstack related commands and
added CLI based verification of tunnel state in ITM_Vtep_Auto_Tunnel

Test spec link for auto-tunnel:
https://docs.opendaylight.org/projects/genius/en/latest/specs/itm-tunnel-auto-config.html

ITM_Vtep_Auto_Tunnel suit contains below test scenario
verify default transport zone after enabling local ip in compute
verify tunnel status after renaming external id to TZA in compute
verify tunnel status under default transport zone after removing TZA

Change-Id: Idadf7038d6b412b358e822b57590b8319ecfbe56
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoAdd graceful-restart test suite 77/77177/33
tomas.markovic [Mon, 22 Oct 2018 13:28:35 +0000 (15:28 +0200)]
Add graceful-restart test suite

Change-Id: I370968d827149a59d0908ff0f184450c70426a9e
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoCOE : Pass proper GERRIT_REFSPEC 42/78842/4
Faseela K [Mon, 17 Dec 2018 15:52:32 +0000 (21:22 +0530)]
COE : Pass proper GERRIT_REFSPEC

Change-Id: Idf3c9ea9305e9abae99881c274a621ab3af51055
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoPrecise log statements for COE CSIT 55/78855/2
Karthika Panneer [Tue, 18 Dec 2018 10:22:41 +0000 (02:22 -0800)]
Precise log statements for COE CSIT

Change-Id: Ia579b0df72d05cc087e8398d4ab498d942466ebd
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
5 years agoFix COE Model Dumps 54/78854/2
Faseela K [Tue, 18 Dec 2018 10:21:26 +0000 (15:51 +0530)]
Fix COE Model Dumps

coe_data_models was partial for the
second suite, as model derivation is done
in start suite, and that was run only for
the first suite.

Change-Id: I73c3143ded18f44bf6a10b69bc3b581410671e93
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoBroken COE patch test 90/78790/2
Faseela K [Fri, 14 Dec 2018 09:59:17 +0000 (15:29 +0530)]
Broken COE patch test

If we run COE patch test from netvirt,
it is currently not working, as the refspec
is getting used for building golang binaries
from COE project.

Change-Id: If90519fb035d01b4c18d3a1abcc5f06e92e8074a
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agos/Testcases/Test Cases/ 27/78727/1
Jamo Luhrsen [Thu, 13 Dec 2018 03:07:04 +0000 (19:07 -0800)]
s/Testcases/Test Cases/

With the newer version of robotframework the use of a single
work Testcases produces this warning in the robot .html log

Error in file '<filename>: Section name 'Testcases' is deprecated.
Use 'Test Cases' instead.

This will clean that up

Change-Id: Ibd1542b31fe2573cd20931129f29f5c4b5cf0060
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix change_counter 69/78669/2
Tomas Markovic [Wed, 12 Dec 2018 08:33:36 +0000 (09:33 +0100)]
Fix change_counter

Change-Id: I793d57c50e0742eba80dc1107f158458a19f8663
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoSXP: Wait for bindings to be send/received 18/78618/1
Ivan Hrasko [Mon, 10 Dec 2018 11:17:44 +0000 (12:17 +0100)]
SXP: Wait for bindings to be send/received

Change-Id: Ide429e7a77fe89840a8b740b4640d61e428e58c0
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix "Check Connections" KW usage 43/78543/1
Ivan Hrasko [Fri, 7 Dec 2018 15:01:00 +0000 (16:01 +0100)]
SXP: Fix "Check Connections" KW usage

Change-Id: Ib52a732dafbbdb66d6cf97b7be448454fc490728
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix teardown in 040_Custom_Passwords 34/78534/2
Ivan Hrasko [Fri, 7 Dec 2018 08:24:59 +0000 (09:24 +0100)]
SXP: Fix teardown in 040_Custom_Passwords

- in setup only 3 nodes are created
- in teardown delete only 3 nodes (not 4)

Change-Id: I7a878dd1610c0470591e2ee8adbca8d174df6b9f
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoFix tidy for Coe 37/78537/1
Ivan Hrasko [Fri, 7 Dec 2018 09:52:30 +0000 (10:52 +0100)]
Fix tidy for Coe

Change-Id: I7a47e2e18e29f20906d3424a9c4a1b48d1b112c6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoEnhance HA suite teardown 09/78509/2
Faseela K [Thu, 6 Dec 2018 17:18:05 +0000 (22:48 +0530)]
Enhance HA suite teardown

Change-Id: Icfb88c8b26983483dcaf4fa27b30faa58f56e4c7
Signed-off-by: Faseela K <faseela.k@ericsson.com>