integration/test.git
6 years agoAdd log messages to karaf.log 38/57338/2
Peter Gubka [Thu, 18 May 2017 10:10:51 +0000 (12:10 +0200)]
Add log messages to karaf.log

Logged are events od node isolation/rejoin for cluster singleton
longevity job and leader movement for explicit leader movemnet
longevity job.

Change-Id: I076494363d6958629db434bbea9dcf9811289029
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoBug 8493 - add sleep after start transactions 41/57341/1
Peter Gubka [Thu, 18 May 2017 10:35:18 +0000 (12:35 +0200)]
Bug 8493 - add sleep after start transactions

Sleep of 5s is added not to hit the initial
burst transaction but the next updates.

Change-Id: I49ac3065ee2584cc3874ee04c9639834f8010165
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoChange hard_timout to 120s 28/57128/2
Peter Gubka [Tue, 16 May 2017 09:20:46 +0000 (11:20 +0200)]
Change hard_timout to 120s

This change is based on:
https://bugs.opendaylight.org/show_bug.cgi?id=8422
https://git.opendaylight.org/gerrit/56874

Change-Id: Id868fe7695ec897ed4b8c853122e12f05a3c78e2
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd new rpc from ClusterAdmin to sanity 75/57275/5
Peter Gubka [Wed, 17 May 2017 12:12:56 +0000 (14:12 +0200)]
Add new rpc from ClusterAdmin to sanity

Change-Id: I68dee742717d7670759f5ea5665783c1941dcfdf
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd new rpcs to ClusterAdmin.robot 74/57274/4
Peter Gubka [Wed, 17 May 2017 11:52:21 +0000 (13:52 +0200)]
Add new rpcs to ClusterAdmin.robot

Change-Id: I4dda08b245dc6496436bf16359bf002527457c8a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoFix logic in prefbasedshard creation after restart 23/57323/1
Peter Gubka [Thu, 18 May 2017 04:43:06 +0000 (06:43 +0200)]
Fix logic in prefbasedshard creation after restart

Change-Id: Ib043fd5cf0d1bb3fcf1b583df151d49aa9170243
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoExplicitly use OperatingSystem Library 10/57110/3
Jamo Luhrsen [Mon, 15 May 2017 22:58:35 +0000 (15:58 -0700)]
Explicitly use OperatingSystem Library

Change-Id: I282b23c655403869db467feddd576d6d28f16a81
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd tcpdump in ElanService VM reboot test 95/57095/5
Jamo Luhrsen [Mon, 15 May 2017 18:24:47 +0000 (11:24 -0700)]
Add tcpdump in ElanService VM reboot test

Change-Id: I549a5155dade340f30e8872f68a7a380dacfda9e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoTolerate timeout when accessing isolated member 90/57290/2
Vratko Polak [Wed, 17 May 2017 15:09:01 +0000 (17:09 +0200)]
Tolerate timeout when accessing isolated member

Change-Id: I8e8a61773c3a52a7ac693bd6ae80ee0088c7a7d2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoUse ACTUAL_BUNDLE_URL instead of ACTUALBUNDLEURL 33/57233/2
Jamo Luhrsen [Wed, 17 May 2017 05:31:06 +0000 (22:31 -0700)]
Use ACTUAL_BUNDLE_URL instead of ACTUALBUNDLEURL

Change-Id: Ic1fe11eeb83eb61c4657ba83d1876d03967e6e81
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd shard stability monitoring 88/57288/3
Peter Gubka [Wed, 17 May 2017 14:44:32 +0000 (16:44 +0200)]
Add shard stability monitoring

Change-Id: I088ef23e3fa1fb3c61c9390ffd1196b846d3ff61
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd log messages for isolation and rejoin 62/57162/2
Peter Gubka [Tue, 16 May 2017 15:50:43 +0000 (17:50 +0200)]
Add log messages for isolation and rejoin

Change-Id: Ic6b8d1c3b0a2490c18166f0963d971e435c42648
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd commnet to logs to see test start 54/57254/2
Peter Gubka [Wed, 17 May 2017 09:55:39 +0000 (11:55 +0200)]
Add commnet to logs to see test start

Change-Id: I3e21dadcee5764d6d789d0fd9a2b86ef98870f60
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoRemove restconf verify in ddb elm tests 56/57256/2
Peter Gubka [Wed, 17 May 2017 10:35:45 +0000 (12:35 +0200)]
Remove restconf verify in ddb elm tests

Change-Id: I360a15290581fef99019f171830d158c873cccfd
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd restart tests for remaining ddb suites 59/57259/1
Peter Gubka [Wed, 17 May 2017 10:51:57 +0000 (12:51 +0200)]
Add restart tests for remaining ddb suites

Change-Id: I6f60a2c3cf3e3e769d5fa0ab364062851a403a1f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd restart test case to ddb suites 93/57193/6
Peter Gubka [Tue, 16 May 2017 16:39:43 +0000 (18:39 +0200)]
Add restart test case to ddb suites

Change-Id: I4fa6d95e9049b2f42ff4c06069222c773f97c36a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoIncrease http timout inMdsalLowLevelPy 23/57123/3
Peter Gubka [Tue, 16 May 2017 08:29:18 +0000 (10:29 +0200)]
Increase http timout inMdsalLowLevelPy

Increased robot/client side http timout for
write-transactions and produce-transactions rpcs.

Change-Id: Id9469a812096f6b904178d7adcedfce420ac8687
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoCorrect Login lib from Builtin to SSHLibrary 29/57229/1
Jamo Luhrsen [Wed, 17 May 2017 03:50:59 +0000 (20:50 -0700)]
Correct Login lib from Builtin to SSHLibrary

Change-Id: I0ef2a6a55c8fada1ce66ccd432e462928a1b0a5f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd missing suite in OF cluster gate test 06/57206/1
Luis Gomez [Tue, 16 May 2017 18:41:33 +0000 (11:41 -0700)]
Add missing suite in OF cluster gate test

Change-Id: Ieadcd3be831084c8555ae1908d122527a0872004
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoIgnore stderr from git commands in YangCollection 91/57191/2
Vratko Polak [Tue, 16 May 2017 16:12:48 +0000 (18:12 +0200)]
Ignore stderr from git commands in YangCollection

Change-Id: I773f1cb6d48da0ef4e78609bfcbb4f752e86746d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoRemove leader moving ask-based protocol suites 50/57150/2
Vratko Polak [Tue, 16 May 2017 13:39:39 +0000 (15:39 +0200)]
Remove leader moving ask-based protocol suites

This is a continuation of I47dd074fd50b3965a34c4568b1dbcc9baa292725.

The suites pass sometimes, but they might fail with AskTimeoutException,
which is a known limitation of ask-based protocol.

Also reordered BGP cluster suites,
putting tell-based protocol first to simplify karaf.log reading.

Change-Id: I428460fe8851168276de918b6b25d6224d0abf0c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoAdd verify_restconf check for odl restart suites 57/57157/1
Peter Gubka [Tue, 16 May 2017 14:59:07 +0000 (16:59 +0200)]
Add verify_restconf check for odl restart suites

Change-Id: I109ced47838be06a242b91f286c188420104a637
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd suite for extensive SG testing 63/54263/34
Alon Kochba [Mon, 3 Apr 2017 12:12:59 +0000 (15:12 +0300)]
Add suite for extensive SG testing

Adds testing for remote security group functionalities,
including positive and negative tests

Change-Id: I61cc0a2536b9d07c38ed4c08b5a53fc66d115f08
Signed-off-by: Alon Kochba <alonko@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoUpdate ddb module shards sanity suite 52/57052/5
Peter Gubka [Mon, 15 May 2017 11:33:25 +0000 (13:33 +0200)]
Update ddb module shards sanity suite

Change-Id: I4356d5e3128bf4a62e382b1bc9376ae90ab519a9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoUpdate ddb prefix shards sanity suite 54/57054/2
Peter Gubka [Mon, 15 May 2017 12:20:00 +0000 (14:20 +0200)]
Update ddb prefix shards sanity suite

Change-Id: Ie603781577e15f0bd03bbd097fbbe082f920ce09
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoMove repeated Keywords from BGP suites 37/56937/10
Andrej Kilvady [Fri, 12 May 2017 11:09:55 +0000 (13:09 +0200)]
Move repeated Keywords from BGP suites

Change-Id: Ic72fcd017e62b46a5501ba31de8ed4307af6baa7
Signed-off-by: Andrej Kilvady <akilvady@cisco.com>
6 years agoGive some life to AAA CSIT suite 24/56624/5
Jamo Luhrsen [Fri, 5 May 2017 23:16:47 +0000 (16:16 -0700)]
Give some life to AAA CSIT suite

I have no idea if/how/when this suite and it's library ever
worked. I am not trying to do anything here but make it work.
Locally, these changes give 13 pass, 4 failures. I think the
4 failures may be valid bugs, and will follow up with that.
Currently, upstream this suite is failing every test case and
has for as long as I know.

The python AAAJsonUtils.py library is not used by any other
suites so the changes will not affect anyone else.

Again, I was not looking to be pretty/nice/refactor/etc. I
just wanted to see this stuff start to work.

Change-Id: I3438e7e197d673b2afc37033cf446dfa57c5f9ff
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBUG 8382: domain create should reject domainid 60/56560/5
Jamo Luhrsen [Thu, 4 May 2017 21:32:32 +0000 (14:32 -0700)]
BUG 8382: domain create should reject domainid

Change-Id: Ib004d8c1a6a193392d358d456fd25d242abb0e62
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd debugs and robot karaf logs to elan test case 82/56982/2
Jamo Luhrsen [Fri, 12 May 2017 17:56:39 +0000 (10:56 -0700)]
Add debugs and robot karaf logs to elan test case

Change-Id: I8de7074f57981138995b66c50bd368439ec04650
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd Configuration Management cases 55/48655/17
Celestino Martinez Lopez [Thu, 24 Nov 2016 10:06:52 +0000 (11:06 +0100)]
Add Configuration Management cases

  Add Service Function ACL Test cases

    - Add ACL
    - Delete All ACLs
    - Get one ACL
    - Get A Non-existing ACL
    - Delete an ACL

  Add Service Function Classifiers Test cases

    - Add Service Function Classifier
    - Delete All Classifiers
    - Get one Classifier
    - Get A Non-existing Classifier
    - Delete a Classifier

Change-Id: Ida72275700143be7fa63b2ea65b75a9caf753d96
Signed-off-by: Celestino Martinez Lopez <celestino.martinez.lopez@ericsson.com>
Signed-off-by: ejisfza <jose.luis.franco.arza@ericsson.com>
6 years agoAdd initial set of gbp-sxp test cases 21/48921/49
Michal Rehak [Tue, 22 Nov 2016 17:43:54 +0000 (18:43 +0100)]
Add initial set of gbp-sxp test cases

    TESTCASE 010 - ise adapter
    - check ise harvest status
    - add json parse keywords - string, file
    - check ep-templates and endpoint-groups for ise-harvest
    - manage ise mock-server by robot
    - move ise mock-server management to separate robot lib

    TESTCASE 020 - ep provider
    TESTCASE 030 - sgt provider
    - with 2 netconf devices

    - camelcase for Json Parse * keywords
    - fixed wrong ExecutionError package
    - fixed service-functions.json according to yang in sfc
    - moved general and reused variables into GbpSxp.robot

    .. tox,tidy

Change-Id: I95b70d54d10c17ab25a3e861d46a78f7a640460a
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
6 years agoBackup-Restore support library + tests 65/55165/15
Diego Granados [Tue, 18 Apr 2017 15:04:18 +0000 (17:04 +0200)]
Backup-Restore support library + tests

The purpose of this library is to support the generic verification
of feature correctness in backup + restore scenarios.

A library is correct from a backup+restore standpoint when,
at any provisioning point, a controller backup, followed by
a restore, can be performed, and the execution of that
procedure will not have any impact on traffic tests or
datastore state check in respect to the expected behaviour
when no backup + restore procedures are performed.

For doing so, the library provides:

- A new keyword (BackupRestoreCheck), which:
  1) Performs a complete datastore export (using Daexim export rpc)
  2) Performs a backup, then a restore (not actual script here,
     since backup&restore mechanisms are deployment - dependant; a
     placeholder is provided for this step)
  3) Performs a new datastore export
  4) Compares both config & operational datastores for differences
     (that is, pre-backup and post-restore exports for both datastores),
     optionally prefiltering those exports using pre-filter files
  5) Fails when pre-backup and post-restore exports are different
     even after removing the specified filtered parts

- A new keyword (ConditionalBackupRestoreCheck), which performs
  the same steps than BackupRestoreCheck only when a command-line flag
  ("-v BR_TESTING_ENABLED:true") is present. This allows to easily
  add backup-restore verification on existing tests, allowing to
  toggle the execution of that verification

- Some unit tests for the library

jsonpatch library (https://pypi.python.org/pypi/jsonpatch) is expected to
be installed in order for this library to work

Note: for additional details regarding this lib, please check the
README.txt file included in the commit

Change-Id: Iad758ddc362cec319c7e843c1a6e4fcf728dad10
Signed-off-by: Diego Granados <diego.jesus.granados.lopez@ericsson.com>
6 years agoIPv6: don't check access to metadata for IPv6 VM 77/56977/4
Valentina Krasnobaeva [Fri, 12 May 2017 16:14:57 +0000 (18:14 +0200)]
IPv6: don't check access to metadata for IPv6 VM

If VM has only IPv6 address, don't check its access to neutron-metadata
service, because actually there is no any IPv6 support, see [0] for any
details.

[0] https://review.openstack.org/#/c/315604/

Change-Id: I4c69d71994179f8ded91fba141659cc86d279b62
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoUse email in user create request 29/55029/5
Jamo Luhrsen [Thu, 13 Apr 2017 22:15:27 +0000 (15:15 -0700)]
Use email in user create request

Change-Id: Ie54a61bef31aae2e184c40dcc94bae1ca95ee7a2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoIPv6: support ping6 in Check Ping keyword 76/56976/4
Valentina Krasnobaeva [Fri, 12 May 2017 16:14:42 +0000 (18:14 +0200)]
IPv6: support ping6 in Check Ping keyword

Due to IPv6 support introduced in commit
0d71e928a58944d2cd4391e407b8eb0d598b6029 "IPv6: support in basic
vpn_service tests", if a value of ${ip_address} doesn't match IPv4
address regexp, use ping6 instead of ping in Check Ping keyword.

Change-Id: I9ab68779c5c0b05ae74339610788188b7371f02c
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoBFD tunnel monitoring test cases suite. 49/53649/21
Nazeerahamed [Wed, 22 Mar 2017 14:47:51 +0000 (07:47 -0700)]
BFD tunnel monitoring test cases suite.

New library added and Moved Datastore dump to this
common genius library file

Adding BFD file to testplan file of genius
Added __init__.robot to executed before BFD suite

Incorporate the review comments given by JamO like
implemented local keyword for repatative code,
removed sleeps, and defined a array to log required
datastore.

Removed single file execution which was there in genius
test plan file.

Update of review comment of patch 18 and rename of variable
in "Get Model Dump" keyword of common library

Review update on patch 19.
1. Add comment line for converting hex to decimal
2. Delete unwanted logs
3. Have a keyword for repeat lines

Change-Id: I0b6cff1c53b725c8f852ef0b063e37a73fce761a
Signed-off-by: Nazeerahamed <nazeerahamed.hunshyal@tcs.com>
6 years agoTolerate karaf console refusal 40/56940/4
Vratko Polak [Fri, 12 May 2017 11:04:36 +0000 (13:04 +0200)]
Tolerate karaf console refusal

Sometimes a suite breaks ODL so hard it starts rejecting SSH connections
to karaf console. We need this for a suite to reset ODL.

Change-Id: Ib81653aaaa058f91204f22e2ccd35732e4d6fbd8
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoIPv6: add regexp for IP addresses and URL schemas 75/56975/3
Valentina Krasnobaeva [Fri, 12 May 2017 12:33:41 +0000 (14:33 +0200)]
IPv6: add regexp for IP addresses and URL schemas

Add ${IP_REGEX}, ${IP6_REGEX} and also regexp to describe url schemas
for routers, fibEntries, vpn-interfaces, neutron-vpn-portip-port-data
object configs.

Change-Id: If80ebcaf0dc018de493aea0b9c81ecb461e188aa
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoMake style more consistent in KarafKeywords 39/56939/3
Vratko Polak [Fri, 12 May 2017 10:43:35 +0000 (12:43 +0200)]
Make style more consistent in KarafKeywords

Change-Id: I9a3df364c1d63066561ba53997846e5fe2020044
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoDo not verify restconf in some controller suites. 72/56872/2
Vratko Polak [Thu, 11 May 2017 16:58:36 +0000 (18:58 +0200)]
Do not verify restconf in some controller suites.

There are sporadic failures such as [0].
Very probably the failures will be there also for jolokia,
this is just to make sure /restconf/modules is not guilty.

[0] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/674/archives/log.html.gz#s1-s44-t5-k2-k2-k1-k2-k1-k2-k1-k6-k3-k1-k2-k1-k1-k3-k1

Change-Id: I611864b2b18907b2a72b8f84e858a696c708e7d7
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoFilter and reorder clustering suites 47/56947/1
Vratko Polak [Fri, 12 May 2017 12:57:02 +0000 (14:57 +0200)]
Filter and reorder clustering suites

Prefix-based shards always use tell-based protocol,
so remove suites which test them with ask-based global configuration.

Ask-based protocol is known to produce AskTimeoutException
when isolating a member when transactions are in flight.
Singleton and Rpc tests are kept in for now,
will update when developers confirm
ask-based protocol is unreliable there too.

Otherwise make order correspond to the report document.

Change-Id: I47dd074fd50b3965a34c4568b1dbcc9baa292725
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoChange <isolated-transactions> to False 20/56920/2
Peter Gubka [Fri, 12 May 2017 08:54:09 +0000 (10:54 +0200)]
Change <isolated-transactions> to False

Change-Id: I2927abdc7585fa784a67b1f4c75dcb2b16fa586d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoMinor changes in ddb sanity 61/56861/2
Peter Gubka [Thu, 11 May 2017 13:43:30 +0000 (15:43 +0200)]
Minor changes in ddb sanity

Change-Id: If5a5290420f0aa8ff877ac8d0341983c22355bdc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoSet 5s http timeout in car_outage_corners 35/56835/3
Peter Gubka [Thu, 11 May 2017 08:24:54 +0000 (10:24 +0200)]
Set 5s http timeout in car_outage_corners

Change-Id: I7060db51a7893ae9f21c2bf250860fea4cffe8c1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd fail if leader's election take much time 89/56789/3
Peter Gubka [Wed, 10 May 2017 13:06:17 +0000 (15:06 +0200)]
Add fail if leader's election take much time

After the leader isolation, remaining nodes elect new leader.
If new leader election verification takes more time than
transaction timout, the suite will not be able to test
a case with cluster healing within transaction timeout. In this case
a fail is added.

Change-Id: I36cfabf2969b6f51f82eeb8032d6365bcb61a165
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix dom data broker remote lister scenarion 77/56777/3
Peter Gubka [Wed, 10 May 2017 10:11:36 +0000 (12:11 +0200)]
Fix dom data broker remote lister scenarion

Final assert if data match was missing.

Change-Id: I23b750ed6f0ee036c310c67f354224476dc30d5a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix bulkomatic cluster suite 64/56764/2
Luis Gomez [Wed, 10 May 2017 07:46:29 +0000 (00:46 -0700)]
Fix bulkomatic cluster suite

WUKS after node restart is added to avoid operations on node
when it is not ready.

Change-Id: I40831cb4ea97c3c3375684cf8619ab6e2a030a97
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAdd http_timout in Get_Raft_State_Of_Shard_At_M... 57/56757/3
Peter Gubka [Wed, 10 May 2017 06:13:53 +0000 (08:13 +0200)]
Add http_timout in Get_Raft_State_Of_Shard_At_M...

Change-Id: Iaba1d83cc77141d2e5eb53f998c4d2dcda0147c9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix dom rpc broker suites 21/56721/4
Peter Gubka [Tue, 9 May 2017 12:26:50 +0000 (14:26 +0200)]
Fix dom rpc broker suites

- add comments
- change test setup - rpc (de)registration has to be
  performed only once at the start/end of the suite
- removed checking isolated node

Change-Id: I6553a27da323cba9fe0a13a1d8cfc964e4f91fc3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd http_timeout to TempletedRequests library 32/56732/4
Peter Gubka [Tue, 9 May 2017 15:48:38 +0000 (17:48 +0200)]
Add http_timeout to TempletedRequests library

Change-Id: I86e87694fb6ad83a2f26585e1d73065cb9ca6def
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUse AAP on port create to allow extra NW 35/56735/1
Jamo Luhrsen [Tue, 9 May 2017 17:06:18 +0000 (10:06 -0700)]
Use AAP on port create to allow extra NW

Change-Id: I666d0f0149ee075b2629816758ad91690fcaa57d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoUpdate documentation tags in WaitUtils.robot 17/56717/2
Peter Gubka [Tue, 9 May 2017 12:01:56 +0000 (14:01 +0200)]
Update documentation tags in WaitUtils.robot

Change-Id: Ibc5c0262b45de4595567831b85f8fda916cef637
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUpdate client isolation tests for prefix shards 80/56680/5
Peter Gubka [Mon, 8 May 2017 17:20:47 +0000 (19:20 +0200)]
Update client isolation tests for prefix shards

Change-Id: Ifa5a6fd73bfafdfd6f38dcb127200a02864b1c56
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoExplicitly give ip address for vsctl show device 16/56616/2
Jamo Luhrsen [Fri, 5 May 2017 18:59:43 +0000 (11:59 -0700)]
Explicitly give ip address for vsctl show device

Change-Id: Ie8bd256f4eaae8aca59f4be5ae9105eaa75b1670
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix sed command to set tell-based setting 77/56677/1
Peter Gubka [Mon, 8 May 2017 15:59:20 +0000 (17:59 +0200)]
Fix sed command to set tell-based setting

Change-Id: I7ba538ce1ac07d8f6cf11f5914e0ec4565cca1ea
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd reset_globals flag 51/56651/3
Peter Gubka [Sun, 7 May 2017 23:51:38 +0000 (01:51 +0200)]
Add reset_globals flag

The potential problem is that if the test fail before
wait_for_transactions is called, the response may remain
in the queue and is used in the next test case when the
method is called.

Change-Id: Iab54321e64369844211f071fcb6c8502cdedc078
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix typo in DdbCommons.robot 49/56649/1
Peter Gubka [Sun, 7 May 2017 21:34:05 +0000 (23:34 +0200)]
Fix typo in DdbCommons.robot

Change-Id: I3edc03db50153723a736e88e457c0c2d01e0f682
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix documentation tag 48/56648/2
Peter Gubka [Sun, 7 May 2017 16:15:23 +0000 (18:15 +0200)]
Fix documentation tag

Change-Id: Ibe8c7de07e7d4ff2c8e7d99526be2ca956e5df5d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoMake tests critical by removing no_tags var 47/56647/2
Peter Gubka [Sun, 7 May 2017 15:36:50 +0000 (17:36 +0200)]
Make tests critical by removing no_tags var

Change-Id: I5d43a90b433251987388f92826f9ad5e5c7a1cf1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove invalid test case 46/56646/2
Peter Gubka [Sun, 7 May 2017 14:37:47 +0000 (16:37 +0200)]
Remove invalid test case

Invoking rpc hots several problems including aaa even local
implementations is present. See comments 8207, 8214.

Change-Id: Iee50c9a94bac6104f4d1b2aa0594b9754fa58790
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd critical default tags to ddb restart suites 28/56628/2
Peter Gubka [Sat, 6 May 2017 08:22:10 +0000 (10:22 +0200)]
Add critical default tags to ddb restart suites

Change-Id: I23227368615125adda5a11d380d878e5812c8d3c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoChange transactions type to chained 42/56642/2
Peter Gubka [Sun, 7 May 2017 09:27:31 +0000 (11:27 +0200)]
Change transactions type to chained

Change-Id: Ifeada1d254fbe1b80c4907dc62b3aa83ad4db47e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix bugs in DdbCommons.robot 26/56626/4
Peter Gubka [Sat, 6 May 2017 07:05:54 +0000 (09:05 +0200)]
Fix bugs in DdbCommons.robot

Change-Id: I93c0b5320514cda27cdd80db9cd68ed59cf5467e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd verify shards after isolated node rejoin 06/56606/5
Peter Gubka [Fri, 5 May 2017 16:32:45 +0000 (18:32 +0200)]
Add verify shards after isolated node rejoin

Change-Id: I1181b141b6b1488c313e0059d2c0be61c2602957
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoSet http_timeout=30 for several controller suites 94/56594/8
Peter Gubka [Fri, 5 May 2017 11:02:24 +0000 (13:02 +0200)]
Set http_timeout=30 for several controller suites

Change-Id: Ibaec937c5f13986b3919fdfac1485fd97c7a9147
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd info logs into MdsalLowlevelPy.py lib 19/56619/2
Peter Gubka [Fri, 5 May 2017 20:00:48 +0000 (22:00 +0200)]
Add info logs into MdsalLowlevelPy.py lib

Change-Id: I272d9476e3f55b9a68ea503e38714226dfe56dd0
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd odl restart after before each suite 43/56643/1
Peter Gubka [Sun, 7 May 2017 11:04:13 +0000 (13:04 +0200)]
Add odl restart after before each suite

Change-Id: Ideb6796a5d543dc30d57fffdf554d6b8faae1300
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoIPv6: add ${IPV6_TABLE} with pipeline number 02/54802/5
Valentina Krasnobaeva [Tue, 11 Apr 2017 13:09:30 +0000 (15:09 +0200)]
IPv6: add ${IPV6_TABLE} with pipeline number

Add ${IPV6_TABLE} variable, which is using by
basic_ipv6_vpnservice.robot to check OVS pipelines.

Change-Id: I7afc9c40f3c6187c2ffba234548ddbde31744546
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Acked-by: Philippe Guibert <philippe.guibert@6wind.com>
7 years agoIPv6: add keywords to work with IPv6 addresses 01/54801/7
Valentina Krasnobaeva [Tue, 11 Apr 2017 13:09:08 +0000 (15:09 +0200)]
IPv6: add keywords to work with IPv6 addresses

* Add keyword "Collect VM IPv6 SLAAC Addresses"
  to obtain IPv6 addresses from nova
  console-log output.

* Add keyword "Test Operations From Vm Instance
  with IPv6 GUA" to perform some commands like
  "route" and "ip" with arguments list related
  to IPv6.

Change-Id: Ibdc0cf0445e05caddd6bb26b468a15793cc7203e
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Acked-by: Philippe Guibert <philippe.guibert@6wind.com>
7 years agoVerify routes are learnt through GARP requests 30/54930/8
rahul.agarwal [Thu, 13 Apr 2017 13:49:43 +0000 (19:19 +0530)]
Verify routes are learnt through GARP requests

Gratuitous ARP or GARP advertise the source IP
address to other nodes in the broadcast group.

Change-Id: Ieb4ba59d1ce204e12368b4acf9adbd3aef63b5e7
Signed-off-by: rahul.agarwal <rahul.agarwal3@tcs.com>
7 years agoAdd wuks for new leader after replica removed 24/56524/5
Peter Gubka [Thu, 4 May 2017 12:54:41 +0000 (14:54 +0200)]
Add wuks for new leader after replica removed

Change-Id: I377d4b7fb2f084960f5e0261a51e9089e20a6974
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd http_timeout=10 for ddb suites 68/56568/2
Peter Gubka [Fri, 5 May 2017 06:48:43 +0000 (08:48 +0200)]
Add http_timeout=10 for ddb suites

When checking the shard leadership, the default 1s timeout
is not enough.

Change-Id: Ia7ea4c2c4b62cc4552d4be343df6e9b51371873c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd bgp suites with explicit shard leader location 97/56497/7
Peter Gubka [Thu, 4 May 2017 04:21:21 +0000 (06:21 +0200)]
Add bgp suites with explicit shard leader location

Suites add 300k prefixes when rib owner is on the same/different
odl node as default/topology (config and operational) shard
leader.

In PrefixcountKeywords.robot the http sessions are created with
timeout=40. It is due to a big size of the http response when
all 300k or 1M prefixes are requested for counting.

Change-Id: I2e816df917402af71f51fe093553a072cc44e2a9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoBUG 8280: CSIT reproduction 39/56339/4
Jamo Luhrsen [Mon, 1 May 2017 23:54:21 +0000 (16:54 -0700)]
BUG 8280: CSIT reproduction

Change-Id: I2d10aab725ff43c487c4ecfd185c76ab70c6d821
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd another test case to clustered reconciliation 83/56483/9
lgiersch [Wed, 3 May 2017 18:15:05 +0000 (11:15 -0700)]
Add another test case to clustered reconciliation

Change-Id: Idf35de62db7e3197b8ccadf8cdae9f9d66af1af5
Signed-off-by: lgiersch <lgiersch@brocade.com>
7 years agoModify suites to stop checking isolated node 23/56523/4
Peter Gubka [Thu, 4 May 2017 12:33:17 +0000 (14:33 +0200)]
Modify suites to stop checking isolated node

Change-Id: I3d4442dd7a674a9e2a48d5eb501b9cab0c379119
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoClean data when switching tell-base protocol. 74/56474/8
Vratko Polak [Thu, 4 May 2017 13:03:38 +0000 (15:03 +0200)]
Clean data when switching tell-base protocol.

That is to make sure persisted data does not create failures.
That can be reverted when suite results are stable enough.

SSHKeywords.Run_Keyword_With_Ssh added to be more defensive
against situation when inner failure prevents session restore.

ClusterManagement.Check_Bash_Command_On_List_Or_All added
to rely on this defensivenes when running bash commands
with logging and checks.

Change-Id: I9ac004324f06646aec582987cd4665a61db88b4f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoAdd prefix shards ddb suites for tell-based=false 02/56502/2
Peter Gubka [Thu, 4 May 2017 06:27:12 +0000 (08:27 +0200)]
Add prefix shards ddb suites for tell-based=false

into the controlloer-clustering testplan.

Change-Id: Idf1b79eba1412272af4349cea835fe64d0ade2a3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix wrong keyword names 65/56465/3
Peter Gubka [Wed, 3 May 2017 12:37:29 +0000 (14:37 +0200)]
Fix wrong keyword names

Change-Id: Ie564176bcfdf0cfb7df48d4404adc7f8a70ea270
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd prefix based shard dom-data-broker suites 29/55729/41
Peter Gubka [Thu, 20 Apr 2017 13:14:58 +0000 (15:14 +0200)]
Add prefix based shard dom-data-broker suites

Change-Id: I54326b1aefa5e9beacaab5b8a418d9ab93a9c7e7
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix suites based on bug 8207 93/56393/2
Peter Gubka [Tue, 2 May 2017 14:33:33 +0000 (16:33 +0200)]
Fix suites based on bug 8207

There is a time for akka to remove the node from the cluster. This time
is usually longer than the time when remaining/unisolated nodes elect
a new owner. The node which was and is follower still keeps a reference
to the isolated node until akka notification.
Wait is needed, WUSK were added to wait longer for cluster to work as
expected.

Change-Id: Ifda89ca6e4370282ef98c11ec5a837485c72279b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd tests to clustered reconciliation 26/56026/17
Len Giersch [Tue, 25 Apr 2017 17:56:08 +0000 (10:56 -0700)]
Add tests to clustered reconciliation

Change-Id: Ic765b269ab9e74ac1e62dc41e1b2a28ce1b477a5
Signed-off-by: Len Giersch <lgiersch@brocade.com>
7 years agoCSIT Genius ITM TC-IPv4/v6 datastaore validation 89/56389/2
Nazeerahamed Hunshyal [Tue, 2 May 2017 22:18:06 +0000 (15:18 -0700)]
CSIT Genius ITM TC-IPv4/v6 datastaore validation

Change-Id: I43fb6c491777d2129107e65fad2fcfc8bb518c34
Signed-off-by: Nazeerahamed Hunshyal <nazeerahamed.hunshyal@tcs.com>
7 years agoFix for Test Failure in VTN Openstack Integration 89/56189/3
gvrangan [Thu, 27 Apr 2017 17:17:17 +0000 (22:47 +0530)]
Fix for Test Failure in VTN Openstack Integration

The test for verifying flow entry is not intended for VTN.
This patch validates the feature tested and skips the test case of VTN
is installed.

Change-Id: Ic389c9e4ec63e24466ea51628f65d9ef23855251
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoTweak http connection parameters 81/56181/4
Vratko Polak [Thu, 27 Apr 2017 15:34:55 +0000 (17:34 +0200)]
Tweak http connection parameters

Add default arguments to TemplatedRequests and ClusterManagement.

Change-Id: Ib2954f974dbb836726f2f19a035d936575455d3e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoRemove VLAN from external network 61/53861/6
Alon Kochba [Sun, 26 Mar 2017 12:36:22 +0000 (15:36 +0300)]
Remove VLAN from external network

Depends-On: https://git.opendaylight.org/gerrit/53688
Depends-On: https://git.opendaylight.org/gerrit/53860
Change-Id: Ic77bd09fb09c3a0166d7dff7405ffe4ae828e3b2
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoCreate longevity suite for bgp ingest scenario 97/56197/10
Peter Gubka [Thu, 27 Apr 2017 18:52:27 +0000 (20:52 +0200)]
Create longevity suite for bgp ingest scenario

Change-Id: I1645b299635e1064dcb499712fc8df10f1696f59
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRun shard related suites on both protocols 49/56249/1
Peter Gubka [Fri, 28 Apr 2017 12:31:09 +0000 (14:31 +0200)]
Run shard related suites on both protocols

Change-Id: I3c0ef2ac4797400dcc1be76f39dc82419b3cf5bd
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd explicit leader movement longevity suite 96/54996/5
Peter Gubka [Thu, 13 Apr 2017 17:27:51 +0000 (19:27 +0200)]
Add explicit leader movement longevity suite

Change-Id: I6139cc3075cbaa2cc0d36dedaf0573eaed0b70d5
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoMinimize connection time in new BGP cluster suites 80/56180/3
Vratko Polak [Thu, 27 Apr 2017 15:52:16 +0000 (17:52 +0200)]
Minimize connection time in new BGP cluster suites

Change-Id: I5a5fa3623c9f8aa3e5a1cd19184a983078a6f321
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoModify bgp clustering testplan 73/56173/2
Peter Gubka [Thu, 27 Apr 2017 14:02:42 +0000 (16:02 +0200)]
Modify bgp clustering testplan

At start 300k and 1M prefixes will be tested with default
configuration (tell-based=false)
and after restart again with 300k and 1M with tell-based=true

Change-Id: I8e6d426c8af6ad391196cd3b1df547046453e279
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd logging of operational port status 67/56067/3
Josh [Wed, 26 Apr 2017 12:50:00 +0000 (15:50 +0300)]
Add logging of operational port status

See: https://git.opendaylight.org/gerrit/#/c/51554/

Change-Id: Ieec3c7d911020d3091a49274ae3677cfec7c4629
Signed-off-by: Josh <jhershbe@redhat.com>
7 years agoTC for network,subnet and port update usecase 95/53795/11
Suvitha.balu [Fri, 24 Mar 2017 11:50:11 +0000 (17:20 +0530)]
TC for network,subnet and port update usecase

Change-Id: I14a2c2974005e52201f3473dd2aef7dd0c5d8349
Signed-off-by: Suvitha.balu <suvitha.balu@tcs.com>
7 years agoAdd restart_odl_with_tell_based_false suite 74/56174/2
Peter Gubka [Thu, 27 Apr 2017 14:13:11 +0000 (16:13 +0200)]
Add restart_odl_with_tell_based_false suite

After dom-data-broker tests a which to tell-based=false
settings is done.

Change-Id: I9e6687073f19da40cd6a5e393691661a407d023f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd testing with tell-based=true 68/56168/2
Peter Gubka [Thu, 27 Apr 2017 13:34:22 +0000 (15:34 +0200)]
Add testing with tell-based=true

Same suites are addded into the testplan when odl is restarted
with flag use-tell-based-protocol=true.
B abd Be testplans has to be created because they dont have such a flag.

Change-Id: Ia678edd0308f8b8d805015187f635d8099a84173
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix suite path in testplan 63/56163/2
Peter Gubka [Thu, 27 Apr 2017 13:26:30 +0000 (15:26 +0200)]
Fix suite path in testplan

Change-Id: I2f6149e4d7d24bda7e81153f8ce7993a0f22234e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoReorder controller-clustering suites 59/56159/1
Peter Gubka [Thu, 27 Apr 2017 13:05:27 +0000 (15:05 +0200)]
Reorder controller-clustering suites

Change-Id: I0eef99c79f0d6ef3faa70397bd16228f142cee45
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd suite for prefixcounting and shard monitoring 22/51622/15
Peter Gubka [Thu, 9 Feb 2017 13:09:25 +0000 (14:09 +0100)]
Add suite for prefixcounting and shard monitoring

Change-Id: I512eb830c0c9e7deeae62ec1748255ec276cbef2
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRefactor Copy File To Remote System keyword 66/54066/10
Jamo Luhrsen [Wed, 29 Mar 2017 18:59:00 +0000 (11:59 -0700)]
Refactor Copy File To Remote System keyword

- this is per comments here:
  https://git.opendaylight.org/gerrit/#/c/53812/6/csit/libraries/SSHKeywords.robot@194

Change-Id: I13794fe7e975d7a1e0ab16e90a90624f1464d636
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoBGP validation with Vpnservice 37/54537/12
Suvitha.balu [Fri, 7 Apr 2017 20:43:38 +0000 (02:13 +0530)]
BGP validation with Vpnservice

Change-Id: I964f2e254c4d7d68f83d7781e3a18ffaf178b036
Signed-off-by: Suvitha.balu <suvitha.balu@tcs.com>