integration/test.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoAdd shard leader verification after odl restart 51/56051/3
Peter Gubka [Wed, 26 Apr 2017 10:08:58 +0000 (12:08 +0200)]
Add shard leader verification after odl restart

Change-Id: Icf24cead43f1dd12a2c0a6267c8f5d57a3266c02
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd dom-data-broker suites to controller testplan 40/56040/1
Peter Gubka [Wed, 26 Apr 2017 07:49:25 +0000 (09:49 +0200)]
Add dom-data-broker suites to controller testplan

Change-Id: I6b81453b8b28be5898ade9b7beafa5d9fcb70368
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoMove car_outage_corners to its previous possition 22/55822/15
Peter Gubka [Fri, 21 Apr 2017 16:28:26 +0000 (18:28 +0200)]
Move car_outage_corners to its previous possition

Removes the suite restart_odl_with_tell_based_false because
this configuration is not needed any longer as no suites
will follow. Dom data broker suites will be added after
restart_odl_with_tell_based_true and the the job may end.

Change-Id: I2339a7dc2a9d2ddfd622f1c55a047314d1eba97c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoSecond Network Addition For Suite1 69/55869/5
abbas [Mon, 24 Apr 2017 07:13:55 +0000 (00:13 -0700)]
Second Network Addition For Suite1

Change-Id: I928016d62df8b5d3c725216fb8efb71aebe432eb
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
7 years agoAdd initial files for dom data broker testing 00/53600/77
Peter Gubka [Tue, 21 Mar 2017 11:32:08 +0000 (12:32 +0100)]
Add initial files for dom data broker testing

Change-Id: Ib45527e7a565ab8283c0d5f2fffd023274e6e20f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUn-comment ELANservice suite with additional TC 65/53965/14
Suvitha.balu [Tue, 28 Mar 2017 09:05:01 +0000 (14:35 +0530)]
Un-comment ELANservice suite with additional TC

Change-Id: Id6a9191e437c7efff1388477a5b2dd10a7c45027
Signed-off-by: Suvitha.balu <suvitha.balu@tcs.com>
7 years agoAdd bindingv1 component nickname to NexusKeywords 08/55908/2
Vratko Polak [Mon, 24 Apr 2017 14:53:59 +0000 (16:53 +0200)]
Add bindingv1 component nickname to NexusKeywords

+ Edit the suite to use new shorter nickname.

Change-Id: Ia0fc577dc2a520847f4c255e1f68cc5500c9ce20
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBUG-8266: Add simple test for apidoc apis URL 36/55836/8
Luis Gomez [Fri, 21 Apr 2017 23:41:04 +0000 (16:41 -0700)]
BUG-8266: Add simple test for apidoc apis URL

Change-Id: I7e2e8eefee866ad6c18ef1eb907fef9cf087c201
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoFix subscription create sanity test 06/55906/2
Tomas Janciga [Mon, 24 Apr 2017 12:41:26 +0000 (05:41 -0700)]
Fix subscription create sanity test

Change-Id: Ice0bfbaa68a7c79b4edf127b5b40c62630119439
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoEliminate CONTROLLER and MININET in BGPCEP suites 25/55725/7
Andrej Kilvady [Thu, 20 Apr 2017 11:43:07 +0000 (13:43 +0200)]
Eliminate CONTROLLER and MININET in BGPCEP suites

Change-Id: I67743506aa1236fa16260f563b0282bd1a82cfcb
Signed-off-by: Andrej Kilvady <akilvady@cisco.com>
7 years agoAdd definitions of TCs for plugin loaders 71/55871/4
Tomas Janciga [Mon, 24 Apr 2017 07:49:54 +0000 (00:49 -0700)]
Add definitions of TCs for plugin loaders

Change-Id: I5d73f9043758ae814d53a7e7e2421a36e78eed38
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoRemove auto reply verification for subscriptions 72/55872/1
Tomas Janciga [Mon, 24 Apr 2017 07:52:37 +0000 (00:52 -0700)]
Remove auto reply verification for subscriptions

Change-Id: I36d82c3255067e688d8376c975a59573f51fcf2b
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoSkip flows verification until bugfix 57/55857/2
Alon Kochba [Sun, 23 Apr 2017 10:54:05 +0000 (13:54 +0300)]
Skip flows verification until bugfix

Change-Id: I10686f7a39d79a86f54fa2e951382bf731dd0c97
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoBug 8149: Do not use async in 1node restperfclient 07/55707/3
Vratko Polak [Thu, 20 Apr 2017 15:26:00 +0000 (17:26 +0200)]
Bug 8149: Do not use async in 1node restperfclient

+ Increase timeout to match the cluster suite one.

Change-Id: Ibae3f0208b9804c4fba6f55133f56d42ed195cb4
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBug 8138: Do not clean journal and snapshots 64/54264/6
Vratko Polak [Fri, 21 Apr 2017 09:44:46 +0000 (11:44 +0200)]
Bug 8138: Do not clean journal and snapshots

Change-Id: If50aa4ebda02f9155296ff870c50c98b48173701
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoAdd cluster singleton longevity test suites 21/53121/16
Peter Gubka [Wed, 12 Apr 2017 11:34:35 +0000 (13:34 +0200)]
Add cluster singleton longevity test suites

Implements partition and heal scenario.
Implements chasing the leader scenario.
Testplans included.

Signed-off-by: Peter Gubka <pgubka@cisco.com>
Change-Id: I6b6975b24ba1486ee46d30e690945bae2688383a

7 years agoAdd suites to restart odl with tell-based protocol 01/55701/15
Peter Gubka [Thu, 20 Apr 2017 07:01:35 +0000 (09:01 +0200)]
Add suites to restart odl with tell-based protocol

Change-Id: I2b78e90d1804db9a70968f71c3ab6dde692ee129
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRename suite variables 09/54609/2
Peter Gubka [Mon, 10 Apr 2017 15:33:51 +0000 (17:33 +0200)]
Rename suite variables

Variable all_indices is too common. Created lib dependent suite
variables.

Change-Id: I42f2388e889e873d7108a2915bdc1fef5c76eb88
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoPrepare tempest to support ocata 09/55709/2
Alon Kochba [Wed, 19 Apr 2017 16:46:07 +0000 (19:46 +0300)]
Prepare tempest to support ocata

Change-Id: If04ebcb15a60f7181fbcdf4af0d2948546543bbd
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoUse the right .robot files for DataModels.robot 74/55674/2
Sam Hague [Wed, 19 Apr 2017 21:36:34 +0000 (17:36 -0400)]
Use the right .robot files for DataModels.robot

Change-Id: Ie01bbadc47622c507ed044ba07259a2ea8326593
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd script to configure SNAT mode 40/55140/8
Alon Kochba [Tue, 18 Apr 2017 09:04:18 +0000 (12:04 +0300)]
Add script to configure SNAT mode

Allow configuration of the SNAT mode to prepare
for transitioning to conntrack based SNAT.

Change-Id: Ia10c391fdca35b5cb3115ec15695db6de903f68b
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoFixes to openstack-sfc CSIT 43/55143/7
Alon Kochba [Tue, 18 Apr 2017 09:25:14 +0000 (12:25 +0300)]
Fixes to openstack-sfc CSIT

* Delete neutron ports to properly cleanup suite
* Add model dumps for SFC to verify translator

Change-Id: I8cbf74dfc9442d3aed21f65c47aab46efbbff5c4
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoVerify dispatcher flows are cleaned at suite end 08/54208/8
Alon Kochba [Sun, 2 Apr 2017 06:47:40 +0000 (09:47 +0300)]
Verify dispatcher flows are cleaned at suite end

These tests will possibly fail until this bug is resolved:
https://bugs.opendaylight.org/show_bug.cgi?id=7451

Change-Id: I9195e0af0422bb89a6481374cd79075343b219b7
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoRemove installation of netcat in suite 61/55161/1
Alon Kochba [Tue, 18 Apr 2017 14:53:40 +0000 (17:53 +0300)]
Remove installation of netcat in suite

Remove installation of netcat inside the suite itself,
as it is already pre-installed in the image by packer scripts.

Change-Id: Ic9479f24cdcf976fb479a1b8f32d060baa22a785
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoCallHome Tests First draft. 82/52982/37
ajaychhabria [Mon, 17 Apr 2017 23:45:23 +0000 (23:45 +0000)]
CallHome Tests First draft.

Change-Id: I5fae3a5dfff79ff61657bf02933f1f9933b47329
Signed-off-by: ajaychhabria <ajay1005@gmail.com>
7 years agoAdd tests to Clustered Reconciliation 97/54997/9
Len Giersch [Thu, 13 Apr 2017 17:30:09 +0000 (10:30 -0700)]
Add tests to Clustered Reconciliation

Change-Id: Ia3b07938b171426a44c6d5cddff748c40b0a7cc5
Signed-off-by: Len Giersch <lgiersch@brocade.com>
7 years agoAdd flow table metrics test for Elastic Search TSDR 50/52250/12
lbeles [Fri, 24 Feb 2017 13:25:24 +0000 (14:25 +0100)]
Add flow table metrics test for Elastic Search TSDR

Change-Id: I8dc51a59e327d82f4533b4e17a9806edab7f71de
Signed-off-by: lbeles <lbeles@frinx.io>