integration/test.git
6 years agoRework to use ClusterManagement's sessions 38/58038/11
Peter Gubka [Wed, 31 May 2017 10:18:46 +0000 (12:18 +0200)]
Rework to use ClusterManagement's sessions

Change-Id: I3504c4ae9b89c0235d6e401f9fb18cb25c9914a0
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoIPv6: move "Wait For Routes To Propogate" to lib 44/58044/4
Valentina Krasnobaeva [Mon, 29 May 2017 09:49:17 +0000 (11:49 +0200)]
IPv6: move "Wait For Routes To Propogate" to lib

Make keyword "Wait For Routes To Propogate" more general, so it can
support IPv6 and IPv4 at same time. This allows to move it in
OpenstackOperations.robot lib and reuse it in future IPv6 L3VPN and
OpenStack test suites.

Change-Id: I695baefca7229ef6773e943752a2f5e65477bbf5
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoIPv6: VpnOperations: add checks, common for tests 45/58045/4
Valentina Krasnobaeva [Mon, 29 May 2017 09:49:42 +0000 (11:49 +0200)]
IPv6: VpnOperations: add checks, common for tests

Add some keywords and checks, which are common for IPv4 and future IPv6
L3VPN basic tests.

Change-Id: I507b8a94cc00ab3de577f4b4e9ad0f799f737505
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoIPv6: add variables, common for L3VPN basic tests 46/58046/3
Valentina Krasnobaeva [Mon, 29 May 2017 09:50:51 +0000 (11:50 +0200)]
IPv6: add variables, common for L3VPN basic tests

Add some variables, which are common for IPv4 L3VPN basic tests and
future IPv6 tests.

Change-Id: Iaa56cbb9d16dcf9491ccaacdcf5dc47cca4d07fa
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoMigrate to Openstack CLI 08/56308/41
gvrangan [Mon, 1 May 2017 05:17:45 +0000 (10:47 +0530)]
Migrate to Openstack CLI

The neutron/nova cli commands have
been deprecated. This patch repalces those
commands with the openstack cli commands.

Change-Id: I21f2217bcee8a321c7a7f93acf218dd04016b684
Signed-off-by: gvrangan <venkatrangang@hcl.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoRemove SXP beryllium resources 43/56943/2
Martin Mihálek [Fri, 12 May 2017 11:53:31 +0000 (13:53 +0200)]
Remove SXP beryllium resources

Change-Id: I260d7eccf66343be7d33e986e1fd3428b9c91b90
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
6 years agoLink genius upstream/gate jobs to testplan file 21/57721/3
Jamo Luhrsen [Tue, 23 May 2017 17:41:51 +0000 (10:41 -0700)]
Link genius upstream/gate jobs to testplan file

Change-Id: Ib25e39f8d1226afd6f243f94e30132667fd1da4e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix bug 8562 - remaining suites 11/58311/1
Peter Gubka [Tue, 6 Jun 2017 09:24:28 +0000 (11:24 +0200)]
Fix bug 8562 - remaining suites

Change-Id: I350cdd1334f8874ccdda5c0fc197da1b0e2954dc
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoFix bug 8562 10/58310/1
Peter Gubka [Tue, 6 Jun 2017 09:13:09 +0000 (11:13 +0200)]
Fix bug 8562

and set http timeout to 125s

Change-Id: I5631318709a20e3a7af685cd921423319660e4a8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoUse different prefix for restarted producer 44/58244/1
Peter Gubka [Mon, 5 Jun 2017 13:12:16 +0000 (15:12 +0200)]
Use different prefix for restarted producer

Change-Id: I9a3dda87bc890b8b7582e05729bc41688fb7adff
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoIncrease http timeout for shard stability to 2m 56/57956/4
Peter Gubka [Mon, 29 May 2017 10:34:12 +0000 (12:34 +0200)]
Increase http timeout for shard stability to 2m

Change-Id: I0db5a818b543389c727ec16fb525f4ab74d088e8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoRemove beryllium specific tests and testplans 37/58037/2
Peter Gubka [Wed, 31 May 2017 10:14:10 +0000 (12:14 +0200)]
Remove beryllium specific tests and testplans

Change-Id: Id34a84e2591f5dbf57888b20c14c28c79bd14899
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoFix exabgp flowspec config 78/57778/6
Claudio D. Gasparini [Wed, 24 May 2017 15:25:05 +0000 (17:25 +0200)]
Fix exabgp flowspec config

Change-Id: I3a732b1cfdd671d35c826bfdee94bceab04cd3ff
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoSet WARN log level in OF perf jobs 16/58016/1
Luis Gomez [Tue, 30 May 2017 17:56:38 +0000 (10:56 -0700)]
Set WARN log level in OF perf jobs

Change-Id: Ib1a4d10d89d51248808e37f6fb6c589891d19451
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoPin requests==2.15.1 for tox coala 61/57961/1
Vratko Polak [Mon, 29 May 2017 11:26:50 +0000 (13:26 +0200)]
Pin requests==2.15.1 for tox coala

Otherwise there is a conflict on chardet version.

Change-Id: Id2e2ada4fc95ad92ce90c355d8ff56ac0508d9db
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoFix time format for RequestsLibrary 22/57922/2
Peter Gubka [Fri, 26 May 2017 19:14:46 +0000 (21:14 +0200)]
Fix time format for RequestsLibrary

Change-Id: I68a3d295ebefeccb0da32f66943c60bc5a4e4b5d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoRefactor action proveder suites 15/57915/4
Peter Gubka [Fri, 26 May 2017 15:48:37 +0000 (17:48 +0200)]
Refactor action proveder suites

Change-Id: I739f121c4a9bded6bc52b0152dd5fa09bde5b856
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoUse 125s timout for shard leader deatails 00/57900/2
Peter Gubka [Fri, 26 May 2017 12:19:03 +0000 (14:19 +0200)]
Use 125s timout for shard leader deatails

For more details https://bugs.opendaylight.org/show_bug.cgi?id=8434#c6

Change-Id: Ic2f051c86cc516210dff6c030782c5fc0055b3ac
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd http_timeout as parameter 12/57912/2
Peter Gubka [Fri, 26 May 2017 15:28:13 +0000 (17:28 +0200)]
Add http_timeout as parameter

into ShardStability.Verify_Shard_Leader_Located_As_Expected

Change-Id: I835a52ffbd2f9a40b2d1e4e84089e9ea317e923d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoUpdate suites with better described timeouts 97/57897/4
Peter Gubka [Fri, 26 May 2017 10:44:41 +0000 (12:44 +0200)]
Update suites with better described timeouts

Change-Id: Ic0a5c30386c82b816c4463cb1334a3e0a2406e26
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoSet bgp longevity to run on rib owner node 96/57896/1
Peter Gubka [Fri, 26 May 2017 10:07:18 +0000 (12:07 +0200)]
Set bgp longevity to run on rib owner node

Change-Id: I7fe6eab42835da24ba52b10c4d86a09df580773f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoIncrease waiting in case of leader election 93/57893/1
Peter Gubka [Fri, 26 May 2017 08:48:54 +0000 (10:48 +0200)]
Increase waiting in case of leader election

Change-Id: I6a8c92c6533377aec9f0d604d244bef08dfbe5c0
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoEnable GC logging on karaf start 26/57426/7 release/carbon
Vratko Polak [Thu, 25 May 2017 12:36:26 +0000 (14:36 +0200)]
Enable GC logging on karaf start

As GC logging cannot append, filename contains date (epoch).
Logging is unconditional for now but target directory is configurable.

Change-Id: I99554b97b400c1a4c69618dc5ba130625be6709c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoFix the CSIT bug 93/57393/5
Quan Xiong [Fri, 19 May 2017 05:54:56 +0000 (13:54 +0800)]
Fix the CSIT bug

Change-Id: I00e7521a90336cabcfc3534c1d13fb7214aaf8d2
Signed-off-by: Quan Xiong <xiong.quan@zte.com.cn>
6 years agoAdd 125s timout to get singleton device owner 10/57810/5
Peter Gubka [Thu, 25 May 2017 12:31:32 +0000 (14:31 +0200)]
Add 125s timout to get singleton device owner

Change-Id: Ifba1dcb5651bf351a73d3a827b472f9948843747
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd default critical tag to bgpclustering 77/57777/5
Peter Gubka [Wed, 24 May 2017 15:14:59 +0000 (17:14 +0200)]
Add default critical tag to bgpclustering

longevity stest suite.

Change-Id: I8c4e763d8502e3778b16fc74cb7b0e3ed488fea9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd entity-ownership:operational to stability list 06/57806/1
Peter Gubka [Thu, 25 May 2017 09:56:37 +0000 (11:56 +0200)]
Add entity-ownership:operational to stability list

Change-Id: I6f78b0877c9b9c8bd5741538be2d1d3b2b31241e
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdd Yangman modules loading testing robot suite 72/54772/8
Daša Šimková [Wed, 12 Apr 2017 09:56:56 +0000 (11:56 +0200)]
Add Yangman modules loading testing robot suite

Add navigate to yangman url test step to 502 yangman test suite to
secure that yangman submenu url is navigated to when yangman is not
the only dluxapps feature installed.

Change-Id: I08e98b5665462c275400f19cc3162fd04c181e5c
Signed-off-by: Daša Šimková <dasa.simkova@pantheon.tech>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoBUG 8529: validate vlan tag in operational 54/57654/5
Jamo Luhrsen [Tue, 23 May 2017 00:09:35 +0000 (17:09 -0700)]
BUG 8529: validate vlan tag in operational

Change-Id: Ie2b5e74060f62b3ae7d30e7113fad045030db963
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd flow stat test to clustered reconciliation 84/57384/12
lgiersch [Thu, 18 May 2017 18:50:46 +0000 (11:50 -0700)]
Add flow stat test to clustered reconciliation

Change-Id: I5000073feaf7ed98d2991a93b70b218e9a16ea00
Signed-off-by: lgiersch <lgiersch@brocade.com>
6 years agoIncrease WUKS timeout in SXP filtering tests 19/56919/2
Martin Mihálek [Fri, 12 May 2017 07:28:47 +0000 (09:28 +0200)]
Increase WUKS timeout in SXP filtering tests

- Increased retry interval to 2s as on CSIT-ALL tests checked states
  are quite often updated after last WUKS tick

Change-Id: Ia87f793917c73693d5150f0a6a29404d4c49606d
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
6 years agoSFC: Implement boron and carbon scope 34/54034/7
Ursicio Martin [Wed, 29 Mar 2017 12:59:21 +0000 (14:59 +0200)]
SFC: Implement boron and carbon scope

Change-Id: I17e85c5d00c2d2060bfb527a4e77e3477758ebda
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
6 years agoPin coala to 0.11 39/57739/2
Thanh Ha [Wed, 24 May 2017 01:09:16 +0000 (21:09 -0400)]
Pin coala to 0.11

coala-bears 0.11 just released 5 hrs from this patch author date. It
breaks the build because we were pinning coala. It seems coala and
coala-bears versions must match exactly so pin both versions for good
measure.

Change-Id: If16e2c0dcccee46e674e34aefb03fbe6b6b1a8f2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoIncreate default timout to 2s for netconf CRUD 37/57637/4
Peter Gubka [Mon, 22 May 2017 15:53:38 +0000 (17:53 +0200)]
Increate default timout to 2s for netconf CRUD

Change-Id: I4af2bcc8a6767143c1c65d952e7baf14acae41a8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoBug 8534 - fix the leader asssert 87/57687/3
Peter Gubka [Tue, 23 May 2017 12:40:13 +0000 (14:40 +0200)]
Bug 8534 - fix the leader asssert

Change-Id: Ifa9b410f3293a489c6916d498297b58b24b2fa9a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
6 years agoAdjust OF scalability test 60/57660/2
Luis Gomez [Tue, 23 May 2017 07:49:49 +0000 (00:49 -0700)]
Adjust OF scalability test

Add table miss flows using REST instead of application.

Change-Id: Ie945b78378a6399c3184211f1a6a5ebe52442e2e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoDynamically create tags based off of jobs $SG_MODE 52/57652/1
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>
6 years agoPin coala version to <0.11 47/57647/1
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>
6 years agoIncrease http timeouton robot side to 260s 01/57601/3
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>
6 years agoIncrease http session timeout for shard stability 37/57437/5
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>
6 years agoTest cases reorder in ddb sanity suites 14/57614/2
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>
6 years agoRemove leader replica in remote listener scenario 03/57603/2
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>
7 years agoAdd check of received response 65/57565/3
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>
7 years agoDisable stale marking feature test 19/57319/6
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>
7 years agoMake sg suite ping success ok for transparent mode 88/57388/5
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>
7 years agoUse different prefix for become-shard-leader rpc 35/57435/1
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>
7 years agoReorder suite test cases 06/57406/2
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>
7 years agoIncrease transaction producer time 20/57420/1
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>
7 years agoRemove unneeded line 15/57415/2
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>
7 years agoReplace shard moving to replica removal 55/57355/4
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>
7 years agoMake bug link a tag when reporting due to failure 96/57196/4
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>
7 years agoUse right path for Variables.robot 22/57322/2
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>
7 years agoFix documentation tag 64/57364/1
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>
7 years agoAdd missing specific test setup and teardown 59/57359/1
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>
7 years agoSwitch longevity jobs to use tell-based=True 51/57351/1
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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
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>