integration/test.git
2 years agoBGPCEP is release-integrated since Phosphorus 77/96877/3
Robert Varga [Tue, 13 Jul 2021 12:17:54 +0000 (14:17 +0200)]
BGPCEP is release-integrated since Phosphorus

bgpcep should not be downloaded from autorelease repo, but rather
from our normal release repository. This should fix failures in
bgpcep-csit-1node-userfeatures-all-phosphorus, where we are failing
to download bgp-bmp-mock-0.15.0-executable.jar from
https://nexus.opendaylight.org/content/repositories/autorelease-4860/

Change-Id: I2d4334e379b114ff997e93f264227046c30186a9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDecrease number of injected routes 94/96294/2
Luis Gomez [Fri, 21 May 2021 08:10:01 +0000 (01:10 -0700)]
Decrease number of injected routes

Change-Id: I8eff2b04f6b758221e28eb4aa2da03a3461aa343
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix OFP link scale test 93/96293/2
Luis Gomez [Fri, 21 May 2021 06:50:20 +0000 (23:50 -0700)]
Fix OFP link scale test

It is fine to stop at 52 switches and 2652 links.

Change-Id: Iefeb5e4e9b3e917309c4faac398ea0784ac28ff7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoDocumentation for run integration test on local computer 10/95510/11
Iaroslav [Tue, 16 Mar 2021 09:23:40 +0000 (11:23 +0200)]
Documentation for run integration test on local computer

Added RST document with instructions how to set up Robot framework and
run integration test on local machine.

JIRA: INTTEST-127
Change-Id: I950656a036b1ef3c782ca6c0863f192e09a83e60
Signed-off-by: Iaroslav <iaroslav.kholiavko@pantheon.tech>
3 years agoAdd pcep suite variables for phosphorus release 34/95634/6
Oleksii Mozghovyi [Thu, 1 Apr 2021 12:31:06 +0000 (15:31 +0300)]
Add pcep suite variables for phosphorus release

Change-Id: Ieb0349bcae384bc4813187df0d3bcf813a508015
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
3 years agoUpdate ambv/black branch for the python formatter 83/95683/2
Oleksii Mozghovyi [Tue, 6 Apr 2021 15:14:32 +0000 (18:14 +0300)]
Update ambv/black branch for the python formatter

The 'stable' branch of ambv/black is not available,
switch to the psf/black and branch 20.8b1 instead.

Change-Id: If8dce5f251a8c35cf0d3f5e824bd4c0f735b929c
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
3 years agoNETCONF is release-integrated in Silicon+ 38/95538/1
Robert Varga [Tue, 23 Mar 2021 07:20:29 +0000 (08:20 +0100)]
NETCONF is release-integrated in Silicon+

Adjust component mapping to account for NETCONF not sitting in
autorelease.

Change-Id: I30d6e5ee594b3000b6d412ffbf2c75b4d71ad840
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd phosphorus to release dict 12/95512/1
Ivan Hrasko [Tue, 16 Mar 2021 19:15:57 +0000 (20:15 +0100)]
Add phosphorus to release dict

Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Change-Id: If4184ccc2518e232de2cfb59edbcbb1bbf95aed4

3 years agoAdd test cases for call-home (devices connected with TLS transport) 30/91030/18
Oleksii Mozghovyi [Wed, 8 Jul 2020 20:18:14 +0000 (23:18 +0300)]
Add test cases for call-home (devices connected with TLS transport)

Verification for the TLS transport based on the following flow:
- Generates certificate for the device
- Installs certificates into the netopeer2 device
- Installs certificates into the OpenDaylight controller
- Checks if the device is recognized by the OpenDaylight CallHome feature and
mounted successfully

JIRA: NETCONF-5
Change-Id: Ibe08c61ab6956d83748ae95be776a1be8c1a1d78
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Signed-off-by: Vladyslav Marchenko <vladyslav.marchenko@pantheon.tech>
3 years agoAdd test cases for new API to netconf/call-home suite 04/91004/16
Oleksii Mozghovyi [Wed, 8 Jul 2020 16:59:55 +0000 (19:59 +0300)]
Add test cases for new API to netconf/call-home suite

This test verify new yang data models for NETCONF CallHome feature

JIRA: NETCONF-5
Change-Id: I1a96db6beb4d68fe0f767b7f1e86bd4e4f200177
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Signed-off-by: Vladyslav Marchenko <vladyslav.marchenko@pantheon.tech>
3 years agoFix NETCONF KWs to log less 97/95097/1
Luis Gomez [Tue, 9 Feb 2021 17:55:13 +0000 (09:55 -0800)]
Fix NETCONF KWs to log less

Also remove JVM KWs that throws ERRORs

Change-Id: I9eb3a50f03dcaba6ca2dd948c0d40475dc027e66
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoAdd 'silicon' to the list of variables used for release version comparison 69/95069/3
Oleksii Mozghovyi [Mon, 8 Feb 2021 15:11:47 +0000 (17:11 +0200)]
Add 'silicon' to the list of variables used for release version comparison

This adding functionality to limit test runs for silicon and later
releases.

Change-Id: I3e62d91f830270013059d9dbf76658b7ce2db6f0
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
3 years agoFix robot KW logging 84/94984/2
Luis Gomez [Wed, 3 Feb 2021 06:42:24 +0000 (22:42 -0800)]
Fix robot KW logging

Change-Id: I9a8640c7b26a0c0172576d50fbb30482aef22163
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agomigrate doc index wiki URLs to wiki-archive 23/94823/1
Guillaume Lambert [Tue, 26 Jan 2021 15:37:44 +0000 (16:37 +0100)]
migrate doc index wiki URLs to wiki-archive

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic09f8b41b4315e134d1649efd81502385b449efe

3 years agoAdd netty replicate test suite 54/94254/201
Martin Balaz [Tue, 15 Dec 2020 19:54:03 +0000 (20:54 +0100)]
Add netty replicate test suite

Add test suite for MD-SAL netty-replicate functionality.

Jira: MDSAL-648
Signed-off-by: Martin Balaz <martin.balaz@pantheon.tech>
Change-Id: I10f2f06cd32fb686b13a12d13bde50a7f6d66db8

3 years agoAlways use /dev/urandom 19/94719/1
Robert Varga [Thu, 21 Jan 2021 21:39:57 +0000 (22:39 +0100)]
Always use /dev/urandom

We do not care about RNG here, just use /dev/urandom.

Change-Id: If3e5ae14bef69af71c726a5d2bbaf3744f29f389
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUpdate yangtools validation set to newer commits, add description about reasons for... 43/94343/8
Martin Balaz [Tue, 1 Dec 2020 05:08:12 +0000 (06:08 +0100)]
Update yangtools validation set to newer commits, add description about reasons for excluding yang files

Signed-off-by: Martin Balaz <martin.balaz@pantheon.tech>
Change-Id: Ibd92d17dbea1c2514f7be40b3a1580b3262fce37

3 years agoFix typo in comparison operator in Open_Controller_Karaf_Console_On_Background for... 42/94342/1
Martin Balaz [Sat, 26 Dec 2020 10:46:44 +0000 (11:46 +0100)]
Fix typo in comparison operator in Open_Controller_Karaf_Console_On_Background for proper restoring ssh connection

Signed-off-by: Martin Balaz <martin.balaz@pantheon.tech>
Change-Id: I1f9fbbcd71e9f59c0d70686c57f9612d5834a7bd

3 years agoUpdate call-home integration tests 40/90940/16
Oleksii Mozghovyi [Tue, 7 Jul 2020 01:22:07 +0000 (04:22 +0300)]
Update call-home integration tests

- Replace outdated netopeer with a netopeer2-server
- Configuration of the ODL controller is done from tests(previous
  implementation used shell scripts inside the container)
- Templates for ODL requests are now stored separately
- Host key generation outside of the container
- Netopeer2 container plays only the role of netconf device

JIRA: NETCONF-5
Change-Id: I536b3c8a66cc3e92f376cb2451b888316c8a82bd
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Signed-off-by: Vladyslav Marchenko <vladyslav.marchenko@pantheon.tech>
3 years agoodlmicro scale tests 24/92924/71
Venkatrangan Govindarajan [Tue, 6 Oct 2020 11:55:37 +0000 (17:25 +0530)]
odlmicro scale tests

Signed-off-by: Venkatrangan Govindarajan <gvrangan@gmail.com>
Change-Id: I5132f2e1a794934e3877c20a320d9a91187ff094

3 years agoEnable CRUD-RPC Test for odlmicro 61/94261/3
Venkatrangan Govindarajan [Wed, 16 Dec 2020 18:58:30 +0000 (00:28 +0530)]
Enable CRUD-RPC Test for odlmicro

Signed-off-by: Venkatrangan Govindarajan <gvrangan@gmail.com>
Change-Id: I19acadfe5c7994200f2f5e248fa05962e13075b9

3 years agoRemove BGPCEP many peers test 28/94128/1
Luis Gomez [Wed, 9 Dec 2020 20:53:53 +0000 (12:53 -0800)]
Remove BGPCEP many peers test

The test fails intermitent in all the branches. Better skip until
someone spends the cycles to figure if this is a test or
a controller issue.

JIRA: BGPCEP-946

Change-Id: I1c5211c0655046c67faa655f35e9dc692c96a4d8
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoModifications for OF_Tunnels to support Aluminium release 21/93821/3
Srinivas Rachakonda [Fri, 13 Nov 2020 09:17:23 +0000 (14:47 +0530)]
Modifications for OF_Tunnels to support Aluminium release

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: Ieab937d11e1e0d489b4078097a20c4a4702874aa

3 years agoFix variable names consistency in DnbCommons.robot 74/93974/2
Martin Balaz [Fri, 27 Nov 2020 08:34:08 +0000 (09:34 +0100)]
Fix variable names consistency in DnbCommons.robot

Signed-off-by: Martin Balaz <martin.balaz@pantheon.tech>
Change-Id: Ice47186a2ecc51ec65147a2480f44ce7cdf4d3f7

3 years agochange DOMNotificationBroker wait timeout to incorporate check period time 16/93916/7
Martin Balaz [Sat, 21 Nov 2020 16:37:19 +0000 (17:37 +0100)]
change DOMNotificationBroker wait timeout to incorporate check period time

Signed-off-by: Martin Balaz <martin.balaz@pantheon.tech>
Change-Id: I7e4dc959883da5cf5a4afc1df330933a8f33f4cb

3 years agoExclude long time failing test 23/93923/1
Luis Gomez [Wed, 25 Nov 2020 04:37:41 +0000 (20:37 -0800)]
Exclude long time failing test

JIRA: OVSDB-413

Change-Id: I7b070b817abbe18bc3f4019f6d85ceb4b387d6d1
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoReduce output.xml size 34/93834/1
Vratko Polak [Fri, 13 Nov 2020 17:11:34 +0000 (18:11 +0100)]
Reduce output.xml size

Other longevity tests may need a similar fix.

Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Change-Id: Ie033532a542cbb203fb4a93afb75a98bbc8f218d

3 years agoStabilize netconf callhome test 70/93570/4
Luis Gomez [Tue, 3 Nov 2020 22:28:16 +0000 (14:28 -0800)]
Stabilize netconf callhome test

Change-Id: I49524d04d28ec0b483c432ec8f83cf240c2a447a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoAdd INFO.yaml for integration/test 42/91242/2
Anil Belur [Sat, 11 Jul 2020 23:37:29 +0000 (09:37 +1000)]
Add INFO.yaml for integration/test

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I1e510ac9dc35193d692188595b2842e095fd8b28

3 years agoInitial tests for odlmicro netconf functionality 56/92456/50
Bhuvana Vignesh [Wed, 16 Sep 2020 08:45:37 +0000 (14:15 +0530)]
Initial tests for odlmicro netconf functionality

JIRA: ODLMICRO-32
Signed-off-by: Bhuvana Vignesh <bhuvanmailid@gmail.com>
Change-Id: Ib103551d4468f33ce180706f751028c110f7c286

3 years agoVerify PCEP sessions from multiple machines 78/91678/30
BhuvanaVignesh [Mon, 27 Jul 2020 09:57:38 +0000 (15:27 +0530)]
Verify PCEP sessions from multiple machines

JIRA: INTTEST-121
Signed-off-by: BhuvanaVignesh <bvignesh@luminanetworks.com>
Change-Id: I3d030782ab5c4dd9b7e96de32a0609bdb908bb10

3 years agoController component should be MRI 92/92392/5
Luis Gomez [Wed, 2 Sep 2020 19:59:41 +0000 (12:59 -0700)]
Controller component should be MRI

carpeople component is MRI from Aluminium onwards.

JIRA: INTTEST-119

Change-Id: I81e4c2d74dc5f7ce34a72d616ca02d1a708fc9dc
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix tox errors 04/92404/1
Jamo Luhrsen [Thu, 3 Sep 2020 16:53:33 +0000 (09:53 -0700)]
Fix tox errors

It seems some updates in linters/pre-commit steps is
now catching more errors. This is just a patch accepting
all the automatic fixes from running them locally.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I762637f6890eeedd2dde1e1406a6cfb65c2ff26f

3 years agoAdjust PCEP module names 59/91759/18
Robert Varga [Wed, 29 Jul 2020 12:07:24 +0000 (14:07 +0200)]
Adjust PCEP module names

The names of the modules have shifted, hence we need to update the
test suite to take that into account.

magnesium/ folder contains the pre-existing files and
sodium/ is just a symlink to it. aluminium/ folder will
have the new formats and eventually when magnesium and
sodium age out we can revert the .robot changes in this
patch pointing to a ${STREAM} folder and flatten these
updated files back down to a single folder.

JIRA: BGPCEP-882
Change-Id: I4e217370f4ad908c557da852d864d458035b2586
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoGENIUS-130: OF Tunnels support For ITM Direct Tunnels (of-tunnels) 99/91799/27
Karthika Panneer [Fri, 31 Jul 2020 13:01:12 +0000 (06:01 -0700)]
GENIUS-130: OF Tunnels support For ITM Direct Tunnels (of-tunnels)

Genius already supports creation of OF-tunnels through interface-manager.
With itm-direct-tunnels, interface-manager is by-passed for all
internal tunnel operations, and in such scenarios, OF tunnels are
not currently supported. This feature adds support for flow based
tunnels on top of itm-direct-tunnels for better scalability.

Specification Gerrit : https://git.opendaylight.org/gerrit/#/c/71659/

Gerrits Topic : https://git.opendaylight.org/gerrit/#/q/topic:of-tunnels+(status:open+OR+status:merged)

Change-Id: I32c9f1796b86670263574748bb937d9f18869b58
Signed-off-by: Karthika Panneer <r.p.karthika@ericsson.com>
3 years agoBGP session with LLGR capability for unsupported safi 03/91503/52
pdathathraya [Tue, 21 Jul 2020 12:10:05 +0000 (17:40 +0530)]
BGP session with LLGR capability for unsupported safi

   - A library for gobgp tool is added
   - Test case for validating BGP Session with LLGR
   - For an unsupported safi

JIRA : BGPCEP-893

Signed-off-by: pdathathraya <pdathathraya@luminanetworks.com>
Change-Id: I57cfc0ade08f37f85f5bbdb0ca7093012ac0f500

3 years agoAdd RESTCONF RFC8040 SSE test 24/92124/33
Luis Gomez [Thu, 13 Aug 2020 03:23:03 +0000 (20:23 -0700)]
Add RESTCONF RFC8040 SSE test

The new test is executed when using RFC8040. And it is available
in Aluminium onwards.

Change-Id: Iaf74ff1d119a93d8c87227e9fc0a9c25c1fd7a04
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoConvert SFC checks from python2 to python3 49/92149/1
Jamo Luhrsen [Fri, 14 Aug 2020 04:23:49 +0000 (21:23 -0700)]
Convert SFC checks from python2 to python3

resp.content breaks with "should contain" style KWs.
resp.text is the way forward with that.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: Ia0212b48b0c531e38c18dafcde8d7eeea7065049

3 years agoAdd silicon to release dict 67/92067/3
Luis Gomez [Tue, 11 Aug 2020 22:38:38 +0000 (15:38 -0700)]
Add silicon to release dict

Change-Id: If50e0a5fa8f73bfe7e2f8ca1215b13502d5babea
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoSetup python-black for opinionated linting 58/88758/12
Thanh Ha [Fri, 27 Mar 2020 18:59:15 +0000 (14:59 -0400)]
Setup python-black for opinionated linting

Black will automatically format code for Python 3.

Change-Id: I55d5042412f9ba275ec8e65301a21db1d4209d84
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoAuto-generated patch by python-black 57/88757/11
Thanh Ha [Fri, 27 Mar 2020 19:11:25 +0000 (15:11 -0400)]
Auto-generated patch by python-black

Refer to the next patch in the list before merging this one. This
also removes autopep8 in prep for python-black as both these tools
conflict with each other.

Change-Id: I8adbeea0d42827e9dc341b023e79da2ce389d491
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoAdding new PCC delegation test cases 31/91631/13
BhuvanaVignesh [Fri, 24 Jul 2020 14:03:48 +0000 (19:33 +0530)]
Adding new PCC delegation test cases

 - This patch contains the test case which revoke the pcc delegation in LSP updates

JIRA: INTTEST-120
Signed-off-by: BhuvanaVignesh <bvignesh@luminanetworks.com>
Change-Id: I16eb170586d6e7e1eb7736a4e09ed01a9c68570a

3 years agoTest with AS Number configured more than 65535 08/91608/9
pdathathraya [Fri, 24 Jul 2020 06:06:17 +0000 (11:36 +0530)]
Test with AS Number configured more than 65535

JIRA : INTTEST-122

Signed-off-by: pdathathraya <pdathathraya@luminanetworks.com>
Change-Id: I33b3f6acfdfdcf3127f08940ab57a19c7a69170e

3 years agoDisable SSE notifications 30/91830/13
Lukas Baca [Mon, 3 Aug 2020 18:06:07 +0000 (20:06 +0200)]
Disable SSE notifications

By default in Aluminium, SSE (Server Side Events) are enabled
and websocket notfications are disabled. The existing CSIT
test cases expect websocket notifications to work. For now
we need to disable SSE to allow the test cases to pass with
websockets.

This will be a NOOP for Mg and Na, although the controller
restart is a small waste of time (~2min).

In the future, tests cases for SSE will be written and doing
this config change and restart in the suite setup will
probably not make sense.

JIRA: INTTEST-107

Signed-off-by: Lukas Baca <lbaca@luminanetworks.com>
Change-Id: I0dc87e2731927c2ec61c683d1a2f238e2b03e8d0
Signed-off-by: Lukas Baca <lbaca@luminanetworks.com>
3 years agoRestore OFP cluster suites original order 89/91489/3
Luis Gomez [Mon, 20 Jul 2020 22:11:13 +0000 (15:11 -0700)]
Restore OFP cluster suites original order

Change-Id: I7ef0d9ef06e842aeb50fcb353aa1f685b34a9606
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoincrease ping packet count 75/91575/2
Srinivas Rachakonda [Thu, 23 Jul 2020 07:12:01 +0000 (12:42 +0530)]
increase ping packet count

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I02d265ff89be5eed2d301053f8b8ab87d86226d8

3 years agoPython3 Fixes in Genius 69/91569/11
Srinivas Rachakonda [Thu, 23 Jul 2020 05:04:35 +0000 (10:34 +0530)]
Python3 Fixes in Genius

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I0f87a7f95293dd49652d19af2a99f924d5d50832

3 years agoAdditional Tests related to the address families 24/90924/14
PoojaDathathraya [Mon, 6 Jul 2020 07:10:42 +0000 (12:40 +0530)]
Additional Tests related to the address families

JIRA: BGPCEP-910
Change-Id: Idd36f6643374466ace0bbc11cafa4c54e6a8c477

Signed-off-by: PoojaDathathraya <pdathathraya@luminanetworks.com>
Change-Id: If5ebdc0814e27ab9f6084eeb2eeae3d046e8333e
Signed-off-by: pdathathraya <pdathathraya@luminanetworks.com>
3 years agoSupport for cirros-0.4.0 password 12/91512/7
Srinivas Rachakonda [Tue, 21 Jul 2020 19:40:51 +0000 (01:10 +0530)]
Support for cirros-0.4.0 password

The password for cirros-0.4.0-x86_64-disk.img (and higher
cirros version images) is gocubsgo.
OpenstackOperation.robot takes cirros as username and
password as cubswin:).
So there is need to add two more arguments user=cirros and
password=gocubsgo.

The default passowrd will be changed in all library files once
we move to Openstack Stein on wards.

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I92ac6c79caedc465412363d890d6e7c0c639d025

3 years agoNETVIRT-1695 - Remove Association/Disaccociation IPv6 TCs. 19/91519/2
Srinivas Rachakonda [Wed, 22 Jul 2020 09:09:48 +0000 (14:39 +0530)]
NETVIRT-1695 - Remove Association/Disaccociation IPv6 TCs.

Direct Association of IPv6 subnet to VPN id is not supported.
So removing the TCs related to it.

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I0fddf6fc777d24256267e06b68d0a0a6d9a8eff6

3 years agoSupport for cirros-0.4.0 password 10/91510/2
Srinivas Rachakonda [Tue, 21 Jul 2020 18:47:58 +0000 (00:17 +0530)]
Support for cirros-0.4.0 password

The password for cirros-0.4.0-x86_64-disk.img (and higher
cirros version images) is gocubsgo.
OpenstackOperation.robot takes cirros as username and
password as cubswin:).
So there is need to add two more arguments user=cirros and
password=gocubsgo.

The default passowrd will be changed in all library files once
we move to Openstack Stein on wards.

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: If55349f79304a2bf5ee688f33a0c8f5926f31b85

3 years agoAdditional Test for varying afi-safis 04/90604/166
PoojaDathathraya [Tue, 23 Jun 2020 12:16:41 +0000 (17:46 +0530)]
Additional Test for varying afi-safis

JIRA: BGPCEP-906
Signed-off-by: PoojaDathathraya <pdathathraya@luminanetworks.com>
Change-Id: I5c85b04faa77afc3b8fe5ef869d37b069c537bb1

3 years agoImprove netconf max devices test logic 41/91341/5
Jamo Luhrsen [Wed, 15 Jul 2020 21:19:22 +0000 (14:19 -0700)]
Improve netconf max devices test logic

- there was some race condition where issuing a GET
(using the python getter.py tool) was not able to
get a 200 from every device initially after they
were all reported mounted. running the getter.py
tool once seems to resolve this and running it a
second time to do the actual checks for 200 on each
mounted device.

- also bumped the timeout factor from 2 to 3 since
I saw the larger iterations (750) hitting the timeout
once.

JIRA: NETCONF-711

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: Iab274d89c44cc0a56bb4959e4ec67a0eaa345873

3 years agoCorrecting Get Value from JSON 89/91289/10
Srinivas Rachakonda [Mon, 13 Jul 2020 07:35:33 +0000 (13:05 +0530)]
Correcting Get Value from JSON

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: Iff74a4a70536b4c233bdf2d2b8c014c8c724eafd
Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
3 years agoINTTEST-107: Add test cases to cover rpc augmentation action 69/90969/3
Kailash Khalasi [Tue, 7 Jul 2020 19:37:58 +0000 (12:37 -0700)]
INTTEST-107: Add test cases to cover rpc augmentation action

Change-Id: I8c9b32aea038d7f7e2003dc0171bc36da4f85cc9
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agopython3 changes in openstack scripts 14/91314/1
Srinivas Rachakonda [Tue, 14 Jul 2020 08:12:54 +0000 (13:42 +0530)]
python3 changes in openstack scripts

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I2bd8d821f3967f40f031d379bc2642d9d694a7fb

3 years agoIncrease timeout for apidocs URI to 90s 08/91308/1
Jamo Luhrsen [Mon, 13 Jul 2020 21:22:20 +0000 (14:22 -0700)]
Increase timeout for apidocs URI to 90s

It seems that 60s might not be long enough in all cases as we
see this test fail sometimes. Let's try 90s to see if it helps.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: Id3eb7547dd4be8bac6d3a96ad384d950614a55e8

3 years agoFix BGPCEP ingest test 17/91217/2
Luis Gomez [Sat, 11 Jul 2020 00:32:47 +0000 (17:32 -0700)]
Fix BGPCEP ingest test

Python3 floor division is //

Change-Id: Id4a730a6464234f5f902069f5d684435ae2a9426
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix robot syntax with robot.tidy tool 15/91215/3
Jamo Luhrsen [Fri, 10 Jul 2020 19:36:56 +0000 (12:36 -0700)]
Fix robot syntax with robot.tidy tool

- have to skip .robot files with the trailing-whitespace hook because
it will remove the blank line at the end of a file whereas robot tidy
will add one which causes a failure

This change is coming from using the latest RF and
robotframework-tidy-wrapper.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I7ad30196d4ad3641901578614e3b417e4772498d

3 years agoMove robot-tidy precommit back to master 18/90418/4
Jamo Luhrsen [Thu, 11 Jun 2020 22:38:05 +0000 (15:38 -0700)]
Move robot-tidy precommit back to master

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I1e58cdb94da31e98614561f2c00d4473aaae4622

3 years agoRemove neon version of netconf testplans 11/91211/2
Jamo Luhrsen [Fri, 10 Jul 2020 16:42:38 +0000 (09:42 -0700)]
Remove neon version of netconf testplans

neon is no longer maintained, so remove the files
specific to that.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I65cce28bd05ecb3d26d1b5010a0f40df15ad5806

3 years agoTests for BGPCEP-901 65/90865/44
BhuvanaVignesh [Thu, 2 Jul 2020 10:54:06 +0000 (16:24 +0530)]
Tests for BGPCEP-901

- This patch have the flapping pcc sessions test cases and modified as to run 1+ more pcc sessions

JIRA: BGPCEP-901
Signed-off-by: BhuvanaVignesh <bvignesh@luminanetworks.com>
Change-Id: Ifb73a165244ddb7fbbd77327479edf0331af774f

3 years agoAdd gate testplan for rfc8040 job 37/90937/1
Jamo Luhrsen [Mon, 6 Jul 2020 16:45:41 +0000 (09:45 -0700)]
Add gate testplan for rfc8040 job

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I0da8aed19459dca15f376acc66969970f475bafd

3 years agoFix python3 issues in OVSDB 07/90907/1
Srinivas Rachakonda [Fri, 3 Jul 2020 02:04:18 +0000 (07:34 +0530)]
Fix python3 issues in OVSDB

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: I57bcf759f96c2d7d47ffd9acc9e21599d58c2c36

3 years agoAdd schemas with rpc action in augmentation 79/90879/5
Kailash Khalasi [Thu, 2 Jul 2020 16:16:29 +0000 (09:16 -0700)]
Add schemas with rpc action in augmentation

INTTEST-107
Change-Id: I4b7a1f96f2a947c30867eac10ce5cea4ab88c4f8
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoINTTEST-83: Add testcase for restconf notification stream 76/90676/6
Kailash Khalasi [Wed, 24 Jun 2020 17:18:47 +0000 (10:18 -0700)]
INTTEST-83: Add testcase for restconf notification stream

Change-Id: Ifa68dd65afd17a97d4f85025e321cf3771d0493b
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoFix python3 issues in Netvirt 17/90617/7
Srinivas Rachakonda [Wed, 24 Jun 2020 07:35:45 +0000 (13:05 +0530)]
Fix python3 issues in Netvirt

Also removed VTN library files

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: Ifcfbc76cc5c308f0e7126ac5b494c7e80ca64a18

3 years agoINTTEST-91 - Updating list and dictionary syntax 02/90502/7
Srinivas Rachakonda [Fri, 19 Jun 2020 05:03:40 +0000 (10:33 +0530)]
INTTEST-91 - Updating list and dictionary syntax

Accessing list and dictionary items
using @{var}[item] and &{var}[item] is deprecated
from robotframework 3.2b1

https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-3.2b1.rst#accessing-list-and-dictionary-items-using-varitem-and-varitem-is-deprecated

Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
Change-Id: Ic2e9bc0b7edc150c003171022da987b61bd9999f

3 years agoFix python3 cluster suites 52/90852/1
Luis Gomez [Wed, 1 Jul 2020 22:29:47 +0000 (15:29 -0700)]
Fix python3 cluster suites

Change-Id: I63d4d7906cbfc81804a2e10793e04109ddf65531
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoResolve E722 do not use bare except 63/90763/2
Thanh Ha [Fri, 26 Jun 2020 15:17:14 +0000 (11:17 -0400)]
Resolve E722 do not use bare except

Bare exceptions violates one of Pythons idioms that bare exceptions
should not be used. The reason for this is that a bare except catches
all exceptions and can make programming errors look like runtime
problems making debugging more difficult.

Change-Id: I7006639302ef2efc9301c384c19218dd6783c825
Ref: https://docs.python.org/3.1/howto/doanddont.html#except
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoPrint git-diff when pre-commit fails 97/90397/2
Thanh Ha [Thu, 11 Jun 2020 14:13:02 +0000 (10:13 -0400)]
Print git-diff when pre-commit fails

When pre-commit fails and automatically fixes issues for us in Jenkins
we are not able to see what pre-commit automatically fixed. Adding
--show-diff-on-failure makes pre-commit perform a git-diff immediately
after failing to ensure more useful output is printed to inform the
contributor what changes are needed to pass the check.

Change-Id: I7d97b823e401bb737564a3936afa08085dcb6975
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoMake GitLint actually run as part of pre-commit 96/90396/2
Thanh Ha [Thu, 11 Jun 2020 14:12:19 +0000 (10:12 -0400)]
Make GitLint actually run as part of pre-commit

The tox environment for pre-commit currently does not actually run
the gitlint hook.

Change-Id: Ia22d2d1fed8aed3689690e3f51e06905f409f82e
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoFix formatting for .pre-commit-config.yaml 03/90403/2
Thanh Ha [Thu, 11 Jun 2020 20:19:25 +0000 (16:19 -0400)]
Fix formatting for .pre-commit-config.yaml

File should start with `repos:` as the root level. Without this things
appear to still work anyway but we should probably have the right
formatting.

Change-Id: I437ae2b0164b85125fdeb323d27f025861da9f6b
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoRestore forked ipaddr library 18/90718/2
Luis Gomez [Fri, 26 Jun 2020 02:39:43 +0000 (19:39 -0700)]
Restore forked ipaddr library

Change-Id: Ibdcb3c963fceeac5cd304c956d8d589aa0033912
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoIncrease HTTP timeout for apidocs test 17/90717/2
Luis Gomez [Fri, 26 Jun 2020 01:34:31 +0000 (18:34 -0700)]
Increase HTTP timeout for apidocs test

Change-Id: I180d1f34b5458326ad60161c60e9c51c43ae36d0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoInstall ipaddr module in Tools VM 19/90619/4
Venkatrangan Govindarajan [Wed, 24 Jun 2020 08:25:43 +0000 (13:55 +0530)]
Install ipaddr module in Tools VM

The ipaddr.py was removed in an earlier merged patch, causing
the tests to fail. This patch uses pip to install ipaddr to TOOLS VM.

JIRA: INTTEST-105
Signed-off-by: Venkatrangan Govindarajan <vgovindarajan@luminanetworks.com>
Change-Id: Id0dcfa0b59f1326baa3a0999ac0a7647dc26a0fa

3 years agoINTTEST-88: Check namespace in response header 75/90675/1
Kailash Khalasi [Wed, 24 Jun 2020 17:10:58 +0000 (10:10 -0700)]
INTTEST-88: Check namespace in response header

Change-Id: Ib23bbd813c29a47a28b2d5629c9238727d39df54
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoFix python3 issues in OFP 2 14/90614/4
Luis Gomez [Wed, 24 Jun 2020 01:37:08 +0000 (18:37 -0700)]
Fix python3 issues in OFP 2

JIRA: INTTEST-105

Change-Id: I35d00e8a98df9ad1763e9de16da7915d17ef18cd
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix python3 issues in OFP 82/90582/22
Luis Gomez [Mon, 22 Jun 2020 20:06:38 +0000 (13:06 -0700)]
Fix python3 issues in OFP

JIRA: INTTEST-105

Change-Id: I70deb287014630d21dbc6842678edef21d5690b7
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix for Genius Tests 07/90607/1
Venkatrangan Govindarajan [Tue, 23 Jun 2020 14:43:51 +0000 (20:13 +0530)]
Fix for Genius Tests

JIRA: INTTEST-105
Signed-off-by: Venkatrangan Govindarajan <vgovindarajan@luminanetworks.com>
Change-Id: I10e536d74518605c79326509b4245ae4cc87c8e4

3 years agoRemove HTTP library 91/90591/2
Jamo Luhrsen [Mon, 22 Jun 2020 23:21:26 +0000 (16:21 -0700)]
Remove HTTP library

The library is old, does not work with python3. I also
do not see where it is even used in the TSDR keywords
so might have been a copy/paste relic anyway.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I6e19ebfb5e07890b5090e7ce184196578bad7c2f

3 years agoRemove HTTP library 92/90592/2
Jamo Luhrsen [Mon, 22 Jun 2020 23:24:57 +0000 (16:24 -0700)]
Remove HTTP library

The library is old and does not work with python3. It appears
that the *** Settings *** section in the affected files may
have just been copy/paste from the same source and likely the
library is not used. It's possible that some tests would break
if the library was being used. In that case, things will have
to be ported to the more commonly used RequetsLibrary keywords.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I55e5d02818b0f2bfaf106cb26ecf43df9791c6e3

3 years agoRemove NIC related test files 88/90588/3
Jamo Luhrsen [Mon, 22 Jun 2020 21:56:24 +0000 (14:56 -0700)]
Remove NIC related test files

The NIC project has long since been archived as a project
and no longer active or part of OpenDaylight. So, remove
these files.

JIRA: INTTEST-105
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I3884a5744bca2ef48db92262a6089d1bd46159a2

3 years agoRemove token auth suite and it's testplan 90/90590/2
Jamo Luhrsen [Mon, 22 Jun 2020 23:19:43 +0000 (16:19 -0700)]
Remove token auth suite and it's testplan

Neon is no longer supported or tested and was the
last release that had token authentication. So,
remove the relevant resources.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I324f3de5ce83b6b6ff9ce437bf604e772c448cdd

3 years agoresp.content->resp.text in Should Contain 93/90593/1
Jamo Luhrsen [Tue, 23 Jun 2020 00:15:04 +0000 (17:15 -0700)]
resp.content->resp.text in Should Contain

The new python3 upgrade breaks our old checks for
Should Contain when using ${resp.content}. The
erorr is:

TypeError: a bytes-like object is required, not 'str'

There will probably be lots of places to fix this.

JIRA: INTTEST-105
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I14726cef95e2d2e7355d6974eacb4646566aa7a5

3 years agoFix BGPCEP test for 409 code and isolate failures 62/90462/8
Luis Gomez [Tue, 16 Jun 2020 21:03:28 +0000 (14:03 -0700)]
Fix BGPCEP test for 409 code and isolate failures

Some tests fail because exabgp route-refresh capability but this
capability is only required in the route-refresh test, so this
patch disables this capability if not required.

Change-Id: I834f3edfb2a0a757ea2f4c4786dbd5161c1db143
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoMigrate Tests/Scripts to Python3 27/90527/14
Venkatrangan Govindarajan [Sat, 20 Jun 2020 18:28:50 +0000 (23:58 +0530)]
Migrate Tests/Scripts to Python3

- Used 2to3 to migrate scripts to python3
- Fixed some issues due to robot 3.2.1

JIRA: INTTEST-105
Signed-off-by: Venkatrangan Govindarajan <vgovindarajan@luminanetworks.com>
Change-Id: I1028a2090ae616b192119d0eff8d27c7f95bfddd

3 years agoAdjust apidocs URL for Aluminium 63/90463/2
Luis Gomez [Tue, 16 Jun 2020 21:58:02 +0000 (14:58 -0700)]
Adjust apidocs URL for Aluminium

Change-Id: I861ed4028a53274b4fa9a73bb8abb48b2717988e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoFix cluster suite for 409 code change 61/90461/2
Luis Gomez [Tue, 16 Jun 2020 19:27:44 +0000 (12:27 -0700)]
Fix cluster suite for 409 code change

JIRA: INTTEST-102

Change-Id: Ibae69a260fc11dbc91a3b71df180ea49567b6052
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoUse wildcard *journal 41/90341/3
Jamo Luhrsen [Mon, 8 Jun 2020 23:33:47 +0000 (16:33 -0700)]
Use wildcard *journal

In Aluminium the journal/ folder is now named segmented-journal/
Using a wildcard in the tests should let it work for all branches

this was partially done already with:
https://git.opendaylight.org/gerrit/c/integration/test/+/88658

Signed-off-by: Jamo Luhrsen <jamoluhrsen@ip-192-168-86-41.us-west-1.compute.internal>
Change-Id: I4cf26da11e388c986ab5343ca1ad93d0beb352f7

3 years agoRevert "Remove robot-tidy from pre-commit" 93/90393/5
Thanh Ha [Thu, 11 Jun 2020 13:28:07 +0000 (09:28 -0400)]
Revert "Remove robot-tidy from pre-commit"

Pin to a specific hash ID instead of 'master' to workaround failure
due to:

    "error: pathspec 'master' did not match any file(s) known to git."

Not sure why this is suddenly failing with this repo but using a
specific commit hash instead appears to resolve the issue.

This also changes the clone URL from git:// to https:// to match the
other repos in this file.

This reverts commit c300e14ebc35e94f62ebc2056fad7da81a54ab40.

JIRA: RELENG-149
Change-Id: I42a1ef3e8c347820a5a482b1b530616de75cfc27
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
3 years agoUse DELETED_STATUS_CODES instead of 404 83/90383/1
Jamo Luhrsen [Wed, 10 Jun 2020 21:37:10 +0000 (14:37 -0700)]
Use DELETED_STATUS_CODES instead of 404

data-missing will now give 409 in Aluminium and beyond
by default so we can look for both 404 and 409 which is
in DELETED_STATUS_CODES

JIRA: INTTEST-102
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I6f979e3a46b5121f8c98db1511e734c400a70f90

3 years agoConvert Python boolean to properly-encoded boolean 60/90360/4
Robert Varga [Tue, 9 Jun 2020 14:33:27 +0000 (16:33 +0200)]
Convert Python boolean to properly-encoded boolean

'True' and 'False' are not valid values for boolean where either
XML (RFC6020/RFC7950) or JSON (RFC7951) encoding is concerned. Fix
this up by explicitly converting booleans.

JIRA: INTTEST-101
Change-Id: Iefbce681e8df3f1ca7701cd89da8b3d7c00a8b1d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove robot-tidy from pre-commit 64/90364/6
Jamo Luhrsen [Tue, 9 Jun 2020 22:59:56 +0000 (15:59 -0700)]
Remove robot-tidy from pre-commit

Nothing wrong with the hook or the repo, but something
has changed recently with pre-commit or some dependency
that causes it to break. More details in:

JIRA: RELENG-149

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Change-Id: I43bba25e27e195224aee4e2763d2259899da8346

3 years agoNETVIRT-1599 Add support for group-add-mod-enabled param 02/86802/24
Srinivas Rachakonda [Wed, 8 Jan 2020 06:15:17 +0000 (11:45 +0530)]
NETVIRT-1599 Add support for group-add-mod-enabled param

We have a flag group-add-mod-enabled in /etc/opendaylight/
datastore/initial/config/default-openflow-connection-config.xml
which needs to be enabled for upgrade scripts. Once we wipe ODL
data and then connect back the switch, this flag will enable the
ONFT_BUNDLE_ADD_MESSAGE to be accepted by the openvswitch.

Change-Id: Ie952d5ca5280fbe750495cd34dfbc065bc9c3e2f
Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
3 years agoUse correct kw when checking empty DS in netconf library 29/90129/1
Kailash Khalasi [Sat, 30 May 2020 01:15:06 +0000 (18:15 -0700)]
Use correct kw when checking empty DS in netconf library

Change-Id: I488168ef77f7ffd8ca73489c1093b01bbe309279
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoFix robot bug in Should_Contain assertion 18/90118/1
Kailash Khalasi [Fri, 29 May 2020 21:00:04 +0000 (14:00 -0700)]
Fix robot bug in Should_Contain assertion

Change-Id: I4f2f8b70cb63f4d09fa2c5466dad1d6371d67909
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoUse ${DELETED_STATUS_CODES} instead of hard-coded value 08/90108/1
Kailash Khalasi [Fri, 29 May 2020 18:33:05 +0000 (11:33 -0700)]
Use ${DELETED_STATUS_CODES} instead of hard-coded value

Change-Id: I5c992a1bb128fd1044cb2449052f85aef8555491
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
3 years agoFix typo in lisp test 07/90007/1
Luis Gomez [Wed, 27 May 2020 16:57:34 +0000 (09:57 -0700)]
Fix typo in lisp test

Change-Id: I57111a228050a9e5756444e8537d75ee5111335b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
3 years agoAllow 409 code when DS is empty 21/89921/3
Luis Gomez [Sat, 23 May 2020 01:07:22 +0000 (18:07 -0700)]
Allow 409 code when DS is empty

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