Jamo Luhrsen [Mon, 22 May 2017 22:46:59 +0000 (15:46 -0700)]
Dynamically create tags based off of jobs $SG_MODE
Change-Id: I481688da7b7666356f484c33573bc8b84b23ac07
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Luis Gomez [Mon, 22 May 2017 20:40:48 +0000 (13:40 -0700)]
Pin coala version to <0.11
I seems the new 0.11 version breaks us due to dependency conflicts.
Let's pin the version and migrate when we have time to troubleshoot.
Change-Id: I9ebabb1dab3097e17860fab895798984b44e042c
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Peter Gubka [Mon, 22 May 2017 08:29:40 +0000 (10:29 +0200)]
Increase http timeouton robot side to 260s
for produce-transactions and write-transactions rpcs.
120s is a hard timeout for transactions and there is
a need to be sure what is going on, so 260s is chosen.
Change-Id: I8eb337012ed8cd3154291f948df4977699901965
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Fri, 19 May 2017 15:27:37 +0000 (17:27 +0200)]
Increase http session timeout for shard stability
Change-Id: I161e767245cdbf89378530d3766ab9450cb67b5e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Mon, 22 May 2017 10:50:48 +0000 (12:50 +0200)]
Test cases reorder in ddb sanity suites
Change-Id: I693d7c6da5d23d8d20f9985450393bea99b6b4e5
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Mon, 22 May 2017 09:58:39 +0000 (11:58 +0200)]
Remove leader replica in remote listener scenario
Change-Id: Idf010f8792b1ec3f2a87eddca761fe87ccf5ef0f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Fri, 19 May 2017 17:16:30 +0000 (19:16 +0200)]
Add check of received response
It happened that the response was not received
https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/698/archives/log.html.gz#s1-s28-t3-k2-k26-k1-k2
Change-Id: I84009bc4b89b3a499a78038415e09f7e1d0af52c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Luis Gomez [Thu, 18 May 2017 00:09:52 +0000 (17:09 -0700)]
Disable stale marking feature test
The feature activation is being moved from REST to config
file and during this transition the test should be disabled.
BTW stabilize the test suite and organize KWs.
Change-Id: Ib808332575fb3e068311a46c1360961e4d6b0d1e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Jamo Luhrsen [Thu, 18 May 2017 22:03:49 +0000 (15:03 -0700)]
Make sg suite ping success ok for transparent mode
Change-Id: I788138e4ad7802ac4f0f6b1d13be68f1e00ee237
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Peter Gubka [Fri, 19 May 2017 14:29:56 +0000 (16:29 +0200)]
Use different prefix for become-shard-leader rpc
than are used for produce-transactions rpc.
Change-Id: I988103eba5ac7ec0444e0f9d1d816abfa7ef0bb1
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Fri, 19 May 2017 09:44:39 +0000 (11:44 +0200)]
Reorder suite test cases
For add shard replica a retry is added
Change-Id: I09fdbeddc33cabc25e14673f4082eed96bda62a6
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Fri, 19 May 2017 11:49:25 +0000 (13:49 +0200)]
Increase transaction producer time
Change-Id: I69175b42a90f19f0928ebb5203addee4e7028e4b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Fri, 19 May 2017 10:49:08 +0000 (12:49 +0200)]
Remove unneeded line
Fix bug 8512.
Change-Id: I11e4c4777ce5e88c122892cf02c9ae4462a1c5b6
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Thu, 18 May 2017 13:58:33 +0000 (15:58 +0200)]
Replace shard moving to replica removal
Change-Id: Iab44c57ed9ece09f47172e268524af4b2d7c0b6e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Jamo Luhrsen [Tue, 16 May 2017 17:14:41 +0000 (10:14 -0700)]
Make bug link a tag when reporting due to failure
this will dynamically add the bug link as a tag when a
test case fails and reports the bug due to failure.
it will make it easier to see at the top of the report
html files how many failures were due to bugs or not
Change-Id: I0a5449318385fd0909ce64fb542eb471313c142b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Thu, 18 May 2017 04:42:54 +0000 (21:42 -0700)]
Use right path for Variables.robot
Change-Id: I5868a1d86bc25845e666b98c34aad282b3ef2181
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Peter Gubka [Thu, 18 May 2017 15:05:20 +0000 (17:05 +0200)]
Fix documentation tag
Change-Id: I18af0b4bd712029df47aa12f90bcdbf481394bfc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Thu, 18 May 2017 14:11:50 +0000 (16:11 +0200)]
Add missing specific test setup and teardown
Change-Id: I980e9a33081c91168119afbea14fd276ea478afb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
Peter Gubka [Thu, 18 May 2017 12:28:37 +0000 (14:28 +0200)]
Switch longevity jobs to use tell-based=True
Change-Id: If94c8b8f4c06475a56d82f1097116048ff9a5f60
Signed-off-by: Peter Gubka <pgubka@cisco.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>