Sangwook Ha [Mon, 22 Nov 2021 22:31:54 +0000 (14:31 -0800)]
Remove Sanity3Node test suite
This test suite is outdated & not used in any place.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I974a80a90c84d6794a2ad4e252138c1d27f001e0
Sangwook Ha [Mon, 22 Nov 2021 21:37:50 +0000 (13:37 -0800)]
Update mapping for 'Post As Json Templated'
Now 'mapping' for the *_As_*_Templated keywords should be
a dictionary and the value of the 'mapping' dictionary is
percent-encoded with an expectation that the value will replace
the value placeholder of the RFC8040 list segment.
Update OpenFlow plugin test cases using the keywords to provide
a dictionary. Also, replace the Bierman02 URL still used in the URL
templates, and change the placeholder to the value of the node list,
instead of just switch ID.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I0de33bd5670fdd8f11f464dfdd67b72b792688db
Sangwook Ha [Tue, 28 Sep 2021 01:50:12 +0000 (18:50 -0700)]
Replace Bierman02 with RFC8040 for OpenFlow Plugin
Create new variables for RFC8040 topology & inventory API URLs
for OpenFlow Plugin test suites and replace RESTCONF APIs
based on Bierman02 with the ones for RFC8040.
Some of the common libraries in 'csit/libraries' used by OpenFlow
Plugin test suites are also updated. This requires additional
changes in other test suites using the updated libraries.
HEADERS_YANG_JSON variable is temporarily changed from
'application/yang.data+json' to 'application/json' to make
it compatible for both Bierman02 & RFC8040 - the former
is not accepted by RFC8040 URLs.
Add a step to break out of request loop in ScaleClient.py
if there are many request timeout exceptions (more than 10)
and a step to check if there is RuntimeException in the
controller log after checking NPE in WorflowsOpenFlow.robot
and WorflowsL2switch.robot - using RFC8040 triggered
RuntimeException because of the circuit breaker timeout
issue (CONTROLLER-2026) making overall test fail to complete
(or take too long).
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Signed-off-by: Sandhiya Selvaraj <sandhiya.selvaraj@verizon.com>
Change-Id: I25625598e5eb7aedac7d5a0b536af8ac26a9ebf7
Tomas Cere [Wed, 22 Sep 2021 09:26:10 +0000 (11:26 +0200)]
Migrate bgpcep suites restconf calls to rfc8040
Change-Id: I2e4e0929e300156cd6820ff8671f979d991d9834
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Richard Kosegi [Fri, 19 Nov 2021 05:05:07 +0000 (06:05 +0100)]
Remove references to prefix-shards module
Jira: CONTROLLER-1977
Change-Id: I7f7ebf923fdefd8b5ae3734d92fbe2aac55994c0
Signed-off-by: Richard Kosegi <richard.kosegi@gmail.com>
Sangwook Ha [Fri, 12 Nov 2021 22:23:07 +0000 (14:23 -0800)]
Make controller role checking more reliable
When there are two active OpenFlow channel connections configured,
the role of each connection keeps changing as the two connections
compete and keep reconnecting. So checking the controller role
every second is not a very reliable way to detect transient state.
Use OVSDB monitoring which streams updates in the database to
record all the changes of the controller role, instead of periodic
polling, to make the test results more reliable. This will help
to detect true failure cases.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: Ided77a53e4df7db1ef99d453cfd7aa0dcd062532
Sangwook Ha [Thu, 11 Nov 2021 03:57:11 +0000 (19:57 -0800)]
Make karaf logout more stable
Logging out from karaf session sometimes fails because it does not
detect written text. Use 'SSHLibrary.Write_Bare' which does not consume
anything to make it more reliable.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: Ic29c40715b171eef6a82dc99ca9b22d865fb39c1
Sangwook Ha [Thu, 11 Nov 2021 04:57:35 +0000 (20:57 -0800)]
Support OVSDB entity name format in Phosphorus
Retrieval of the OVSDB entity ownership is now supported
in Phosphorus/Sulfur (CONTROLLER-2009).
Update ClusterEntities.py to update entity name following
the OVSDB instance identifier name format to retrieve
the entity ownership information.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I9abe99f1e6bfbaabd3f9460df552f24bf8e996b9
Tomas Cere [Wed, 22 Sep 2021 09:31:44 +0000 (11:31 +0200)]
Cleanup 020_bgp_functional_multipath suite
This suite had some unused keywords leftover and
referenced a couple of unused variables.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I118919ea7b9c8c8366a5103b84095f4ba08a9ca6
Sangwook Ha [Fri, 29 Oct 2021 19:56:21 +0000 (12:56 -0700)]
Fix the JSONRPC read service issue
The steps to upgrade pip and install pyzmq & zmq were failing
because it's done with an old version of OS default pip.
Add a new keyword to support Python 3 virtual environment in
SSHKeywords.robot, and start the read service in a new Python 3
virtual environment created with the new keyword - a new keyword
was created, instead of updating the existing keyword, in order
not to interfere with other test cases.
Replace 'send' with 'send_string' in the odl-jsonrpc-test-read
Python script because the former cannot be used to send a unicode
string in Python 3.
And remove new lines & spaces from the configuration data when
creating the script command to make it a little simpler.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I70e694bb1a4fa21c2133b262e291791e6afe5ce8
Tomas Cere [Fri, 29 Oct 2021 09:29:28 +0000 (11:29 +0200)]
Fix bgpcep testtool deploy when running with snapshots.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: If792c7409bf279ae5ca11a80e329b0f9cb9888e4
Sangwook Ha [Thu, 28 Oct 2021 21:04:59 +0000 (14:04 -0700)]
Support OVSDB entity ownership ID format
Entity type 'ovsdb' has its own entity ID format, different from
the one for ServiceEntityType & AsyncServiceCloseEntityType.
Add entity ID template for for 'ovsdb' entity type.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I8d1383d1ce1e53e290dfd25c9473acb36738a576
Sangwook Ha [Tue, 26 Oct 2021 08:55:10 +0000 (01:55 -0700)]
Remove entity-ownership from shard list for Phosphorus or later
Entity ownership is not stored in operational data store any more
since Phosphorus. Remove entity-ownership from the operational
shard list if the controller version is at least Phosphorus.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I67a4eb2e2adcc95b5e1463e05ab7e65198271c0d
Sangwook Ha [Mon, 25 Oct 2021 08:11:41 +0000 (01:11 -0700)]
Fix incorrect BGP entity name & type pairs
Get_Owner_And_Successors_For_device requires Bgpcep as the entity type
when the BGP RIB name is given as the entity name.
Another option is to use the entity name with the '-service-group'
suffix, e.g. 'example-bgp-rib-service-group' instead of
'example-bgp-rib', with 'org.opendaylight.mdsal.ServiceEntityType'
as the entity type. In this case the initial attempt to get
the ownership information from
Get_Owner_And_Candidates_For_Device_Singleton will
fail and Get_Owner_And_Candidates_For_Device_Rpc will be used
as a fallback.
There are several test cases that incorrecly use the BGP RIB name with
'org.opendaylight.mdsal.ServiceEntityType'. Fix the errors with the
first option (use 'Bgpcep' as the type) to utilize the abstraction
provided by the keyword.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: Ic44cd0f35531cc22bc3e4627ba2edec56084e075
Sangwook Ha [Mon, 25 Oct 2021 04:08:47 +0000 (21:08 -0700)]
Merge device specific keywords to retrieve entity ownership data
Keywords 'Get_Owner_And_Candidates_For_Device_Singleton_{device_type}'
defined for netconf, bgpcep, sxp are the same except for prefix/suffix
added to the device name. Create a dictionary for the prefix/suffix
and share the same keyword Get_Owner_And_Candidates_For_Device_Singleton.
The keyword didn't support OpenFlow device type before, because there
was no keyword specific to the OpenFlow device type, but it is
supported now.
This change also removes the odl-general-entity prefix/suffix for
bgpcep & sxp because the entity name does not include the prefix
with the new entity owner RPC - netconf does not have it.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I5181e2f9f531835310714789ece8df9634ee118f
Sangwook Ha [Sun, 24 Oct 2021 23:56:45 +0000 (16:56 -0700)]
Support Silicon for retrieval of entity ownership information
ClusterEntities.py uses RPC introduced in Phosphorus to retrieve
entity ownership information, hence Silicon or earlier versions,
which store entity ownership information in the data store,
are not supported.
Fall back on the REST API calls to retrieve the information from
the operational data store, if the status code for the RPC call is
400 (bad request), to support Silicon and earlier versions.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I18c8d667554d25e5126770235ad33ff404cbe9fe
Luis Gomez [Wed, 20 Oct 2021 23:33:43 +0000 (16:33 -0700)]
Remove old script to push test stats
This is making builds unstable
Change-Id: I2a6e8d533140262e0cd9f7b6382c0a64b4f1fe16
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
marekzatko [Mon, 11 Oct 2021 07:14:01 +0000 (09:14 +0200)]
Add PCEP suite variables for sulfur
Change-Id: Ie25d294d4b82fbf2ec97bc778f3d634183180d2b
Signed-off-by: marekzatko <Marek.Zatko@pantheon.tech>
Sangwook Ha [Wed, 20 Oct 2021 05:48:10 +0000 (22:48 -0700)]
Update certificates for OpenFlow TLS connection
Certificate chains with intermediate CAs, currently used for
the OpenFlow channel TLS connection for testing, is not supported
by Open vSwitch.
Replace certificates/keystores for the switch & controller with
the ones signed directly by the root CA and create a new script,
gen-certs.sh, to make it easier to generate new certificates.
Also, fix an error in MininetKeywords in executing 'ovs-vsctl get-ssl'
command.
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: Ieb0c3c4f8285336a4ed4b48412c5d0e2fc7b27cb
Robert Varga [Tue, 28 Sep 2021 15:03:47 +0000 (17:03 +0200)]
Define sulfur version
bgpcep-csit-1node-gate-userfeatures-all-sulfur failed with:
Dictionary '${Stream_dict}' has no key 'sulfur'.
We obviously need to recognize it.
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Change-Id: Id2b923bf9fb9db7447b1967d25bfc300d7382443
Tomas Cere [Thu, 23 Sep 2021 11:30:48 +0000 (13:30 +0200)]
Fix no return value when deploying testtools
If the first attempt succeeds we need to return the filename
like before.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I133e5d8039bab7cbd1fa2350e8b9816b9331b956
Tomas Cere [Tue, 21 Sep 2021 09:12:44 +0000 (11:12 +0200)]
Fix netconf entity name creation during lookup
Looks like the prefix contained something that was no longer
in the name of netconf entities.
We need to remove this to have the lookups for netconf entities
succeed.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: Ia07e9500f72f1cc9a0221ee5744f4a01dc256b5a
Tomas Cere [Mon, 20 Sep 2021 10:20:08 +0000 (12:20 +0200)]
Fallback to release url during testtool deploy
Staged autorelease does not have to contain some testing
artifacts which are needed for csit.
In that case fallback to using the release repo.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: If6002e2080d791ce53571de68fd212879f75e0c2
Tomas Cere [Mon, 13 Sep 2021 11:35:38 +0000 (13:35 +0200)]
Rework old entity datastore lookups to new rpcs
New entity ownership service doesnt publish entity
information to the datastore. Instead new rpcs
for the same purpose were introduced.
Rework suites relying on the entity information
to use the new rpcs.
Change-Id: I8765394c574e73a1720249b65419b64815d2f40b
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Tomas Cere [Mon, 13 Sep 2021 08:04:55 +0000 (10:04 +0200)]
Fix netconf csit looking up nonexistant version
Due to the change of stream in netconf jobs from phosphorus to master
the test cases were looking up version which doesnt exist in the
test case values.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I2d2d74c2ba4cbc131cf5d87264cf55fa9b641f93
Robert Varga [Tue, 31 Aug 2021 10:58:41 +0000 (12:58 +0200)]
Fix a 'memeber' typo
The correct word is 'member'.
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Change-Id: Ie5f6b7805c81ca2fb6beba549d03bc28beba24bc
Robert Varga [Thu, 12 Aug 2021 20:21:56 +0000 (22:21 +0200)]
Add TopologyNetconfNodes.py library
Our current method of configuring netconf topology devices does not
really scale in terms of speed and memory footprint.
Add TopologyNetconfNodes.py, which provides a simple library to
configure and ascertain connection establishment in a scalable way --
from the perspective of RF, both actions are single keywords which do
not produce much in terms of output.
The configuration part relies on RFC8072 YANG Patch to introduce any
number of devices through a single request.
The keyword to await connection polls NETCONF topology for device status
and loops until the deadline passes or all requested devices are found
to have been connected.
// FIXME: pass down authentication
JIRA: INTTEST-125
Change-Id: I1661d84a6535abff45cbd346f54e996a4d757b33
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Tomas Cere [Wed, 18 Aug 2021 09:01:17 +0000 (11:01 +0200)]
Make sure we can use testtool from staging repo
While running jobs on staging artifacts the url for
testtool was incorrectly pointing to the opendaylight.release
repo, which obviously did not contain testtool.
Fix this up so we use the base path from the param
if its not pointing to release/snapshot repo.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: Ifd5f88b0d8da67bf30d2e6c0858c2cd03f3d4554
Tomas Cere [Tue, 10 Aug 2021 09:44:33 +0000 (11:44 +0200)]
Use proper netconf testtool artifact
When running tests with mri projects snapshot version
karaf distro, we need to point to proper testtool.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I564eccf4ecb1c5a56d75760ee14441f36729faf6
Robert Varga [Tue, 10 Aug 2021 12:18:51 +0000 (14:18 +0200)]
Fix netty-replicate test
This test suite is failing since upgrade to RF-4.1 due to
https://github.com/robotframework/robotframework/issues/4034.
Adjust argument declarations to not use list, but rather interpret the
argument as a list.
Change-Id: I2ccee5917738d4e4df844335542775512a1e20a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Tue, 10 Aug 2021 11:47:07 +0000 (13:47 +0200)]
Fix shoudl typo
The word is 'should'.
Change-Id: I1b72132c9dc8b69e65d34c4f67dcb7c173aaa806
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Luis Gomez [Wed, 14 Jul 2021 23:52:04 +0000 (16:52 -0700)]
Change opendaylight to karaf distro
Change-Id: Ie05485c0545a3eea69d7f4409c5c64014d270d5b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Robert Varga [Wed, 14 Jul 2021 10:11:29 +0000 (12:11 +0200)]
Add a missing keyword
Previous patch ended up referencing a non-existing keyword, leading
to a set of failures. Make sure we define
Run_Keyword_If_At_Most_Silicon.
Change-Id: Ib04c161dc80208c1c3df06227d7f867a999a86d5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Tue, 13 Jul 2021 13:47:24 +0000 (15:47 +0200)]
Hack away entity-ownership:operational on Phosphorus
This is a weird default list, which has changed, as we no longer
have EOS backed by a shard. Add a hack, which will cause it to be
ignored.
Change-Id: If4bb9df2103c74a54f5b38c73ec16b8ee40ecbec
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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
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
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>
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
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
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>
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
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
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>
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
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
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
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>
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
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>
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
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
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
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>
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
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>
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>
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
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>
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
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>
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>
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>
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
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
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>
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>
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
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
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>
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
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
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
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
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
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>
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>
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
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
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>
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
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
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
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
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
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
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>
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>