integration/test.git
8 years agoNexusKeywords: Make Compose_*_Java_Command also work on Ubuntu 99/36199/4
Vratko Polak [Tue, 15 Mar 2016 11:13:03 +0000 (12:13 +0100)]
NexusKeywords: Make Compose_*_Java_Command also work on Ubuntu

Active SSH connection is now required,
but all suites had that satisfied already.

Change-Id: Ib0222ce50358e122c288bc4d74ac2026059bf714
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoTidy new and updated test suites 64/36064/3
Jozef Behran [Thu, 10 Mar 2016 17:10:34 +0000 (18:10 +0100)]
Tidy new and updated test suites

Change-Id: I1290e2eff4977de37bd8375c380ca7cd1161c190
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTopoprocessing Basic tests - Link computation 03/36003/4
Samuel Kontriš [Wed, 9 Mar 2016 15:15:29 +0000 (16:15 +0100)]
Topoprocessing Basic tests - Link computation

Change-Id: I660acae83a253fd18aad6731f9c18e18db2816e6
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
8 years agoAdd Map-Register LISP SB performance test 59/35959/3
Lorand Jakab [Tue, 8 Mar 2016 23:10:58 +0000 (15:10 -0800)]
Add Map-Register LISP SB performance test

Change-Id: I1c0a4a599733d3e3b5c24756fcfcf116e8db5dcd
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoCycling device and checking that the data survived. 67/29667/6
Jozef Behran [Fri, 13 Nov 2015 09:30:30 +0000 (10:30 +0100)]
Cycling device and checking that the data survived.

After the device data modification step the test suite
deconfigures the device, configures it back and checks that
the data is still there as they were when it was last
modified. Then the suite tries to modify the data again
just to make sure the deconfigure/configure cycle did not
mysteriously make them read-only.

Change-Id: I403357d85b80f28060775e57bb6192de90a6114e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoClear known bug ID in SetupUtils.Teardown_Test_Show_Bugs_... 72/35772/2
Jozef Behran [Fri, 4 Mar 2016 10:46:12 +0000 (11:46 +0100)]
Clear known bug ID in SetupUtils.Teardown_Test_Show_Bugs_...

When a known bug ID is set to e.g. 1234 and the test steps
after that will catch the bug 1234, the bug ID 1234 is
reported (correctly). But then the rest of the test case is
skipped and the next one is started. This means that the
next test case will have the bug ID set to 1234 and if
it fails, it will also report it found bug 1234 while in
reality it was supposed to report a bug search link instead.
Fix the problem by clearing the bug ID after reporting the
bug.

Change-Id: I44d9c17bd9e22dc4792529dea0425a7f6d06940e
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTopoprocessing - tests correction 66/35466/7
Samuel Kontriš [Fri, 26 Feb 2016 12:30:26 +0000 (13:30 +0100)]
Topoprocessing - tests correction

 - reworked aggregation with filtration tests
 - reworked Filtration termination points tests
 - removed unnecessary files
 - corrected some other tests

Change-Id: I8fc28154433517f22965d5eb93a52f218f2401ed
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
8 years agoFix for VTN Manager CSIT test failures for Beryllium. 48/36048/2
Karthik.S [Thu, 10 Mar 2016 19:13:04 +0000 (00:43 +0530)]
Fix for VTN Manager CSIT test failures for Beryllium.

    * Removed "Stop Suite" Keyword from Stop SuiteVtnMa function. Since, "Stop Miniet" Keyword used at the end of the VTN suite
      which is used again in suite "TearDown function" which makes Test suite fails.

Change-Id: I1e5cf84ba7a76bb19bf4d7dc8f11bcdd12a58d56
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
8 years agoFix more error message problems 59/36059/2
Jozef Behran [Thu, 10 Mar 2016 16:17:41 +0000 (17:17 +0100)]
Fix more error message problems

It turns out there is much more code duplication regarding
error message reporting. Fix that so the error message
strings appear in the code only once and are reused for
both, the exception and the log file. As a result the new
code is more readable and less confusing.

Change-Id: Ib72b7de11648b718e2db41ee1d576ad1993cbc10
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoDo not emit raw binary data after unconfirmed open 57/36057/2
Jozef Behran [Thu, 10 Mar 2016 15:56:10 +0000 (16:56 +0100)]
Do not emit raw binary data after unconfirmed open

When the OPEN message generated by the player is rejected,
the original code emitted raw binary data in the resulting
exception. Change that so it emits the hexlified version of
the raw binary data. The fix was done by removing the
duplicated code that generates the two error messages (one
for the log file, the other for the exception), taking the
correct code only.

Change-Id: If1ac202ba0d3c8720c8c442da1d533143dcddb7c
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTopoprocessing - bugfix for bug5156 96/35396/3
Samuel Kontriš [Thu, 25 Feb 2016 13:20:27 +0000 (14:20 +0100)]
Topoprocessing - bugfix for bug5156

Change-Id: Iaf9e7aadbc05bc49400286fe5c37f814ecc7650c
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
8 years agoFix logic in updater.py with respect to Counter class 88/35988/4
Vratko Polak [Wed, 9 Mar 2016 13:02:21 +0000 (14:02 +0100)]
Fix logic in updater.py with respect to Counter class

Previously, it worked for Counter.py but not for collections.

Change-Id: I0fff144b0c261b47ce40a03766281f9df642f277
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoAdd WUKS after conneting OVS instance to controller 24/36024/1
Luis Gomez [Thu, 10 Mar 2016 05:28:10 +0000 (21:28 -0800)]
Add WUKS after conneting OVS instance to controller

Change-Id: Ie2fdeee11b851fa2237f6c752ead0d6aa4266484
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoThroughpcep: Download pcc-mock log to current working directory 96/35996/2
Vratko Polak [Wed, 9 Mar 2016 14:38:38 +0000 (15:38 +0100)]
Throughpcep: Download pcc-mock log to current working directory

Change-Id: I9d5657fab8b831e9e6bafd51775d3950a4801b34
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoFix typo in throughpcep suite. 75/35975/2
Vratko Polak [Wed, 9 Mar 2016 10:51:07 +0000 (11:51 +0100)]
Fix typo in throughpcep suite.

Change-Id: Ia5152cd9c5c6f04d4c2c9b95a35a8991c9a8a2ad
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoadding onos benchmarking scripts 36/35936/1
Peter Gubka [Tue, 8 Mar 2016 14:44:01 +0000 (15:44 +0100)]
adding onos benchmarking scripts

Change-Id: I505ba2f1085392fa5031816c6fc1c7e2f50a0fd2
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoadding more configuration around shard names and restconf port 02/35902/1
Jamo Luhrsen [Tue, 8 Mar 2016 00:31:41 +0000 (16:31 -0800)]
adding more configuration around shard names and restconf port

- added ability to provide specific port numbers for each controllers
  restconf endpoint

- added ability to selectively ignore some shards.  specifically, I
  didn't want to look at the toaster shard when giving a demo

Change-Id: Ia7186193d186e34ba7963741ac54902d9619d34f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoFixed flow_config_blaster Floodlight edition 59/35859/3
Jan Medved [Mon, 7 Mar 2016 00:13:27 +0000 (16:13 -0800)]
Fixed flow_config_blaster Floodlight edition
Fixed measurements of time for stats collection in flow_add_delete_test
Fixed PIP-8 violations (at least the fixable ones)

Change-Id: I01a361a7245fe479fbb65eea95bea93808d787a8
Signed-off-by: Jan Medved <jmedved@cisco.com>
8 years agoRemove exclude cleaning from OVSDB cluster test case 57/35857/1
Luis Gomez [Sun, 6 Mar 2016 21:19:53 +0000 (13:19 -0800)]
Remove exclude cleaning from OVSDB cluster test case

Change-Id: I5aaa4551d8a470aff115a0dd42f1504deffe1bd6
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoMake pep8 more picky 90/35690/4
Jozef Behran [Thu, 3 Mar 2016 14:30:27 +0000 (15:30 +0100)]
Make pep8 more picky

Several guidelines were disabled and as a result I was
slipping into my old coding style, incompatible with the
Python sources here. Enabling them turned out to uncover I
was not the only one slipping. As a matter of fact all
checks are enabled now except E133 which is not compatible
with E123.

Change-Id: I754c740f49a213360df5b187897e776266e6653f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix and clean OVSDB cluster suite 29/35529/4
Luis Gomez [Mon, 29 Feb 2016 05:45:30 +0000 (21:45 -0800)]
Fix and clean OVSDB cluster suite

- Simplify OVSDB cluster keywords.
- Modify Entity Owner KW to support uuid.
- Restore OVSDB clean environment.

Change-Id: I2c3034c5d09a4fce4e0b96f40bced30fff3204dd
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoModified HBase scripts to run in Lithium Branch. 43/35543/12
premnath [Mon, 29 Feb 2016 11:40:05 +0000 (17:10 +0530)]
Modified HBase scripts to run in Lithium Branch.
Added Testplan to source.

Change-Id: I7fe969340d95c4bdf15f2ea836498096f3de58aa
Signed-off-by: premnath <prem.annauniv@gmail.com>
8 years agoAdd keyword needed by guidelines 59/35459/4
Jozef Behran [Fri, 26 Feb 2016 11:00:49 +0000 (12:00 +0100)]
Add keyword needed by guidelines

The new variable naming guidelines [1] specify the use of a
new keyword named Utils.Set_User_Configurable_Variable_Default
when the default value for an user configurable variable
needs to be computed at the suite setup, either using
BuiltIn.Evaluate or even invoking other, more complex
keywords (that look around in the environment or do other
stuff like that).

[1] https://wiki.opendaylight.org/view/Integration/Test/Test_Code_Guidelines#User_configurable_variables

Change-Id: I08982748380c54b483383fbcd07a1b6ce617d1fb
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTidied updated test suite 85/35685/1
Jozef Behran [Thu, 3 Mar 2016 13:10:06 +0000 (14:10 +0100)]
Tidied updated test suite

Change-Id: I9ca8ba1794dc4f6117d4f46ff1553ed7a9b1f45a
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdd odl-cluster-rpc back to akka conf template 72/35572/1
Vratko Polak [Tue, 1 Mar 2016 12:21:19 +0000 (13:21 +0100)]
Add odl-cluster-rpc back to akka conf template

This section does not affect Beryllium+,
but fixes Lithium clustering.

As repeatedly stated, this is just a temporary solution,
we need better way of choosing proper template.

Change-Id: Idd1d92be27e500aa85e55db36576efc1d7971ba7
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoFix variable naming for some immutable variables 60/35460/2
Jozef Behran [Fri, 26 Feb 2016 10:38:26 +0000 (11:38 +0100)]
Fix variable naming for some immutable variables

A bunch of immutable but not user configurable variables now
need to use snake_case instead of ALL_CAPS due to new
variable naming guidelines [1].

[1] https://wiki.opendaylight.org/view/Integration/Test/Test_Code_Guidelines#Variable_naming

Change-Id: I45f4e3c684c2b2f1905a9ad91afe2cf2fbbb6569
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix timeouts for Install/Uninstall Karaf Feature 15/35415/4
Jozef Behran [Thu, 25 Feb 2016 14:51:31 +0000 (15:51 +0100)]
Fix timeouts for Install/Uninstall Karaf Feature

15 seconds is not enough for some of the features. Even one
minute may be insufficient. Increase thus the default
timeout for these keywords to 3 minutes.

Change-Id: If79ece224becea091d3c42c2ecdac84be2b95861
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agofixing syntax for chaning odl_version in devstack setup 74/35374/2
Jamo Luhrsen [Thu, 25 Feb 2016 05:43:48 +0000 (21:43 -0800)]
fixing syntax for chaning odl_version in devstack setup

Change-Id: I46db6702957d4b3404cee556255909a2c88a7ff6
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoAdd topology check in OpenFlow cluster test 05/35305/3
Luis Gomez [Wed, 24 Feb 2016 05:34:12 +0000 (21:34 -0800)]
Add topology check in OpenFlow cluster test

Add 2 more switches connecting to first switch candidate instance.
Verify new inventory and topology during owner instance failure and recover.
verify topology when link between switches goes down and up.

Change-Id: I153a24599ce9478bc8e57cd161d46c606aa26bad
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoComment out Netconf (netopeer) suite from userfeatures testplan 12/35412/2
Vratko Polak [Thu, 25 Feb 2016 17:29:42 +0000 (18:29 +0100)]
Comment out Netconf (netopeer) suite from userfeatures testplan

Change-Id: I511606ca3d4f17d11518ccefa727af220fbf9c75
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoAdd ability to report exact bugs into the new bug reporting 80/35380/5
Jozef Behran [Wed, 24 Feb 2016 15:52:34 +0000 (16:52 +0100)]
Add ability to report exact bugs into the new bug reporting

Use SetupUtils.Set_Known_Bug_Id with the bug ID before
checking for the bug and then use SetupUtils.Set_Unknown_Bug
when the checks for the concrete bug are over.

Change-Id: I954f801ff7351b16b9978e5e77652d9a2cce3562
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdd test case to wait for MDSAL to become ready 42/35242/8
Jozef Behran [Tue, 23 Feb 2016 09:07:21 +0000 (10:07 +0100)]
Add test case to wait for MDSAL to become ready

The Netconf Readiness suite got another testcase which waits
for the Netconf MD-SAL to become ready. This testcase first
checks if that feature is installed and skips with a message
if not.

Change-Id: If763e6fba6639536bb5360dcd6fcc4ce922261e7
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix Netconf scaling suites not reporting test cases to karaf.log 52/35252/6
Jozef Behran [Tue, 23 Feb 2016 12:04:05 +0000 (13:04 +0100)]
Fix Netconf scaling suites not reporting test cases to karaf.log

Change-Id: Ia797313aeeb85ab9d0e3780699570e027294e5ed
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoUse the "external references" field as the source of bug links 79/35379/5
Jozef Behran [Wed, 24 Feb 2016 14:46:15 +0000 (15:46 +0100)]
Use the "external references" field as the source of bug links

The Report_Failure_And_Point_To_Linked_Bugs keyword now uses
the "external references" field to search for linked bugs.

Change-Id: Ic62550889e8cb9911201ab373f4b315ef0bfb85b
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoTidy new and updated test suites. 11/35411/1
Jozef Behran [Thu, 25 Feb 2016 16:21:45 +0000 (17:21 +0100)]
Tidy new and updated test suites.

Change-Id: I46fd19561a150a74db3e1de413f5db71a25baf64
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix crash in tidytool.py when processing non-ASCII Robot file 03/35403/4
Jozef Behran [Thu, 25 Feb 2016 13:55:56 +0000 (14:55 +0100)]
Fix crash in tidytool.py when processing non-ASCII Robot file

Change-Id: Ie28116c94db9a03129aca7ac4c0416719847743f
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoUpdate iotdm library and tests. 21/26921/9
wucangji [Mon, 14 Sep 2015 17:19:18 +0000 (13:19 -0400)]
Update iotdm library and tests.
Support latest resource format.(Feb 22)

Change-Id: I38cdb8053f51161b2cdd518b4a32ea831d7fe733
Signed-off-by: wucangji <wucangji@gmail.com>
8 years agoAdd ability to compose java command according to version 80/35280/7
Vratko Polak [Wed, 24 Feb 2016 15:35:58 +0000 (16:35 +0100)]
Add ability to compose java command according to version

This fixes Boron csit jobs which download Java tools from Nexus.
UscUtils not edited, as their jar presumably does not depend on {stream}.

Change-Id: I1e61ad44b810838d333fde56cfe5edca906fda9f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoAdd check for missing candidates in entity owner Keyword 36/35236/4
Luis Gomez [Tue, 23 Feb 2016 05:29:47 +0000 (21:29 -0800)]
Add check for missing candidates in entity owner Keyword

Change-Id: I6a47cffddb739b9d2be78abc7b7e746f9b7d4921
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoFix netconf port variables 92/35192/2
Jozef Behran [Mon, 22 Feb 2016 13:38:07 +0000 (14:38 +0100)]
Fix netconf port variables

There are two netconf ports in ODL, one is MDSAL and the
other one is the config subsystem. However there was only
one Netconf port variable, confusingly named ODL_NETCONF_PORT
which pointed to the MDSAL port. Fix that by putting the
name of the subsystem behind the port into the name of the
variable and also create the other variable which for some
reason was still missing.

Change-Id: I526f1a314a7a3b1414f333f9b161f146e5e88d87
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoRemove superfluous call to NexusKeywords.Initialize_Artifact ... 98/35198/2
Jozef Behran [Mon, 22 Feb 2016 14:01:41 +0000 (15:01 +0100)]
Remove superfluous call to NexusKeywords.Initialize_Artifact ...

The NexusKeywords.Initialize_Artifact_Deployment_And_Usage is
already called by NetconfKeywords.Setup_Netconf_Keywords so
it is not needed to call it again explicitly.

Change-Id: I2fb804ac378916d512541d8d676c5d0eaca29204
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix outdated FailFast teardown usage 97/35197/2
Jozef Behran [Mon, 22 Feb 2016 13:55:59 +0000 (14:55 +0100)]
Fix outdated FailFast teardown usage

Change-Id: I6708bbe023654a7d3ec49f30874e244801e796c7
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix copyright year 96/35196/2
Jozef Behran [Mon, 22 Feb 2016 13:46:42 +0000 (14:46 +0100)]
Fix copyright year

Change-Id: I2a5a12650ea1d401a262f63928212e2451769637
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix insufficient check for failed requests 91/35191/2
Jozef Behran [Mon, 22 Feb 2016 13:36:35 +0000 (14:36 +0100)]
Fix insufficient check for failed requests

Some request failures are reported with "Status code: XYZ"
where "XYZ" is some error status code. This is not caught by
the failed requests checking test case, leading to a spurious
test pass.

Change-Id: Icbc32036590fcff86ca025deef4dcc1e1a3226b4
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdd more configurability to Netconf device configurator 90/35190/2
Jozef Behran [Mon, 22 Feb 2016 11:47:11 +0000 (12:47 +0100)]
Add more configurability to Netconf device configurator

The Configure_Device_On_Netconf now got "address", "port",
"user" and "password" arguments that specify these
configuration options for the device. This is needed to be
able to connect to non-testtool devices which have real
authentication and live on different address:port than
the testtool ones live.

Change-Id: I22c541302bfc2c9d78eee18358654aaaa1baf052
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in csit/suites/ (2) 42/34642/3
Junaid Zulfiqar [Sun, 14 Feb 2016 23:03:01 +0000 (15:03 -0800)]
Moved calls to "RequestLibrary.<action> Request" in csit/suites/ (2)

+ RequestsLibrary.Get Request
+ RequestsLibrary.Delete Request
+ RequestsLibrary.Put Request
+ RequestsLibrary.Post Request

Updated RequestLibrary calls in following directories

  csit/suites/iotdm/
  csit/suites/l2switch/
  csit/suites/lacp/
  csit/suites/lispflowmapping/
  csit/suites/messaging4transport/ (removed due to failure)
  csit/suites/nemo/
  csit/suites/netconf/
  csit/suites/netide/
  csit/suites/nic/

Change-Id: I8a513c6bf3cc05825158b484c1d25fbe30e96ec8
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in csit/suites/ (3) 48/34648/4
Junaid Zulfiqar [Mon, 15 Feb 2016 00:19:56 +0000 (16:19 -0800)]
Moved calls to "RequestLibrary.<action> Request" in csit/suites/ (3)

+ RequestsLibrary.Get Request
+ RequestsLibrary.Delete Request
+ RequestsLibrary.Put Request
+ RequestsLibrary.Post Request

Updated RequestLibrary calls in following directories

  csit/suites/sdninterfaceapp/
  csit/suites/sxp/
  csit/suites/topoprocessing/
  csit/suites/ttp/
  csit/suites/unimgr/
  csit/suites/usc/ (Removed due to failure)
  csit/suites/usecplugin/

Change-Id: I81a8f366835d31a3d70ea52bd99d8afd345aba1b
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in csit/suites/ (1) 39/34639/3
Junaid Zulfiqar [Sun, 14 Feb 2016 22:35:56 +0000 (14:35 -0800)]
Moved calls to "RequestLibrary.<action> Request" in csit/suites/ (1)

+ RequestsLibrary.Get Request
+ RequestsLibrary.Delete Request

Updated RequestLibrary calls in following directories

  csit/suites/armoury/ (removed due to failure)
  csit/suites/bgpcep/
  csit/suites/capwap/
  csit/suites/centinel/
  csit/suites/controller/
  csit/suites/didm/

Change-Id: I5efd4fe53330022809e2ffcf4592b547c21d77a0
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoBUG 5343: Fix CSIT test case to verify dataflow in VTN Manager 35/34735/17
Karthik.S [Tue, 16 Feb 2016 12:35:27 +0000 (18:05 +0530)]
BUG 5343: Fix CSIT test case to verify dataflow in VTN Manager

    * Modified dataflow URL in verify dataflow function VtnMaKeyword.robot file

Change-Id: Ie814583667d93fa3b3113d16c6e16abb1e42ae31
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
8 years agoTopoprocessing - reworked test Unification Termination Point Inside 22/34922/2
Samuel Kontriš [Thu, 18 Feb 2016 17:37:09 +0000 (18:37 +0100)]
Topoprocessing - reworked test Unification Termination Point Inside

Change-Id: I6c05a7ebc2f59d7efa4c95c1f00daf2ae7dfd067
Signed-off-by: Samuel Kontriš <samuel.kontris@pantheon.tech>
8 years agoRemoved unnecessary "operational" alias for RequestKeywords 94/35094/3
Jozef Behran [Fri, 19 Feb 2016 13:33:18 +0000 (14:33 +0100)]
Removed unnecessary "operational" alias for RequestKeywords

The removed line was copied from the CRUD suite but it turns
out it is not used for anything in the

Change-Id: Ib0cdb652a5ebca6c63abf3922c750e29c4d20e54
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix hardcoded nexus URL in NexusKeywords 93/35093/3
Jozef Behran [Fri, 19 Feb 2016 13:41:42 +0000 (14:41 +0100)]
Fix hardcoded nexus URL in NexusKeywords

Use ${NEXUSURL_PREFIX} instead of hardcoding
http://nexus.opendaylight.org/some/random/location in the
NexusKeywords resource. Not everyone wants or can go
downloading artifacts directly from ODL Nexus.

Change-Id: I4b75370077930e548e5d86f0e045912b924c1f4a
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoRemove unused keyword left behind after refactoring 72/35072/4
Jozef Behran [Fri, 19 Feb 2016 12:44:17 +0000 (13:44 +0100)]
Remove unused keyword left behind after refactoring

The "Wait_Until_Prompt" was used in the early versions of
the suite but it turned out to be not necessary - similar
functionality already exists in SSHLibrary. But the keyword
was left behind, unused.

Change-Id: I1baa000bf044de5045d9643ac38ccc6352250ab0
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in suites/ovsdb/ 46/34646/3
Junaid Zulfiqar [Sun, 14 Feb 2016 23:51:23 +0000 (15:51 -0800)]
Moved calls to "RequestLibrary.<action> Request" in suites/ovsdb/

+ RequestsLibrary.Get Request
+ RequestsLibrary.Post Request
+ RequestsLibrary.Put Request
+ RequestsLibrary.Delete Request

Change-Id: I937339d5474e4ffb72d65e002879eac8f6976e5f
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoAdd testplan for USC TCP test suite 27/35127/1
A H [Sat, 20 Feb 2016 01:58:25 +0000 (17:58 -0800)]
Add testplan for USC TCP test suite

Change-Id: I4ef825e5820116e361aa13364ad1d2fafd5be392
Signed-off-by: A H <an.ho@huawei.com>
8 years agoRestPerfClient performance test suite 84/30484/17
Jozef Behran [Wed, 2 Dec 2015 09:35:42 +0000 (10:35 +0100)]
RestPerfClient performance test suite

Deploy restperfclient and ask it to bombard one testtool
device mounted on a netconf connector with configuration
update requests. The count of these requests is configurable
via a Robot variable.

Change-Id: I4550a9ce4f6ac2e3233097c0c1246fee4861b14c
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdded more thorough CRUD testing 15/33915/8
Jozef Behran [Tue, 2 Feb 2016 11:40:59 +0000 (12:40 +0100)]
Added more thorough CRUD testing

Added a bunch of test cases that create a list of cars and
add cars into this list. One car is added using XML, the
other is added using JSON.

Change-Id: I22ef64f58095ba9316cd4087dbd536e44f9f5929
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdd suite name to the testtool log file name 14/34914/3
Jozef Behran [Thu, 18 Feb 2016 16:03:29 +0000 (17:03 +0100)]
Add suite name to the testtool log file name

To prevent suites using the test tool overwriting the log
file of the test tool(s) they use, add the name of the
suite to the name of the log file produced by the test
tool. This currently affects suites using the "testtool"
tool (CRUD and scaling suites). The core code in this change
was packaged into the keyword Utils.Get_Log_File_Name because
the functionality is going to be needed in the RestPerfClient
suite as well.

Change-Id: Idf5fbed8baf4b150d66e91c95c2bcaa6dbeab90b
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoReplace "Get" with "Get Request" in netconf readiness suite. 57/35057/1
Jozef Behran [Fri, 19 Feb 2016 10:42:43 +0000 (11:42 +0100)]
Replace "Get" with "Get Request" in netconf readiness suite.

To avoid a deprecation warning and a possible breakage of the
suite in the future change it to use "Get Request" instead of
"Get" to do its checks.

Change-Id: I6c68f9d9df6d9bf921f64dbda061daa23d7e841a
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix for NIC CSIT in beryllium 54/34554/3 release/beryllium
vinoth [Fri, 12 Feb 2016 19:50:49 +0000 (01:20 +0530)]
Fix for NIC CSIT in beryllium

Change-Id: I809233559a4382a062c2b02af6faa541c65dc9c2
Signed-off-by: vinoth <m.vinoth@hcl.com>
8 years agoMove calls to "RequestsLibrary.<action> Request" in suites/lispflowmapping 43/34743/2
Lorand Jakab [Tue, 16 Feb 2016 09:38:52 +0000 (11:38 +0200)]
Move calls to "RequestsLibrary.<action> Request" in suites/lispflowmapping

Change-Id: I9660c1ced0575f073d57eebdb2826c9827ec74cf
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in suites/vpnservice/ 47/34647/2
Junaid Zulfiqar [Mon, 15 Feb 2016 00:06:18 +0000 (16:06 -0800)]
Moved calls to "RequestLibrary.<action> Request" in suites/vpnservice/

+ RequestsLibrary.Get Request
+ RequestsLibrary.Post Request
+ RequestsLibrary.get Request
+ RequestsLibrary.Delete Request

Change-Id: Ifd0154d3e22bbd507d6fef7577b3ec595a99f2c7
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in suites/sfc/ 43/34643/2
Junaid Zulfiqar [Sun, 14 Feb 2016 23:18:57 +0000 (15:18 -0800)]
Moved calls to "RequestLibrary.<action> Request" in suites/sfc/

+ RequestsLibrary.Get Request
+ RequestsLibrary.Post Request

Change-Id: I300d6c6a3ef0b8f05b8a8647831ab9eb194a3f86
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agorobot lib to catch network traffic 81/31581/4
Peter Gubka [Fri, 18 Dec 2015 08:11:45 +0000 (09:11 +0100)]
robot lib to catch network traffic

this library is primarily to be used in sandbox for debug
purposes, because the job config must be modified to save
additional files

typical usage would be
*** Test Cases ***
Catch Test
    Start Tcpdumping
    <more keywords>
    Stop Tcpdumping And Download  [filaname.pcap]

Change-Id: I263cda801d9b2266fad9594073f19ba825e3ffcb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agomarking failing SNMP test case with relevant bug 5360 67/34867/2
Jamo Luhrsen [Thu, 18 Feb 2016 00:04:53 +0000 (16:04 -0800)]
marking failing SNMP test case with relevant bug 5360

Change-Id: I834441d8daadfe844c6b8699ae8c7feac62deb51
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoEditing rest calls in GBP demos 61/34761/4
Tomas Cechvala [Tue, 16 Feb 2016 14:47:04 +0000 (15:47 +0100)]
Editing rest calls in GBP demos

 - added verification
 - depricated methods replaced

Change-Id: I74d4de26f7bce54201afdc1edff0979f80497788
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoAdd TemplatedRequests.robot Resource 87/33987/62
Vratko Polak [Thu, 18 Feb 2016 11:04:46 +0000 (12:04 +0100)]
Add TemplatedRequests.robot Resource

+ Resource to simplify handling Restconf requests using data from files.
+ Suite with basic 1-node car/people tests, for library verification.
+ Data for the suite, not suitable for more thorough car/people tests.
+ The suite added to test-libraries testplan.
+ Add mising Utils dependency to SetupUtils.

Change-Id: I851376426132669b9d344a19118cfe06b38d6b97
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoAdded Syslog Scripts to run in Cassandra,HBase and HSQLDB 36/34436/36
premnath [Thu, 11 Feb 2016 07:23:29 +0000 (12:53 +0530)]
Added Syslog Scripts to run in Cassandra,HBase and HSQLDB
Debugging Syslog Failures

Change-Id: I243d89cf3260e4b1d90cb8bce10db74dd10ada0b
Signed-off-by: premnath <prem.annauniv@gmail.com>
8 years agoTidied updated tests. 02/34902/1
Jozef Behran [Thu, 18 Feb 2016 13:32:32 +0000 (14:32 +0100)]
Tidied updated tests.

Change-Id: I6b22374cb3d232ac1eb19907db840cf3d03e453b
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdd links to bug 4455 to "commit no transaction" test cases 81/34881/1
Jozef Behran [Thu, 18 Feb 2016 09:10:11 +0000 (10:10 +0100)]
Add links to bug 4455 to "commit no transaction" test cases

These links shall be never removed as when a regression
happens, we might want to reopen the bug.

Change-Id: I67b0b1dc18996934b5388537226aadf3355a8a45
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoFix "SyntaxError: EOL while scanning string literal" 80/34880/1
Jozef Behran [Thu, 18 Feb 2016 08:52:16 +0000 (09:52 +0100)]
Fix "SyntaxError: EOL while scanning string literal"

Change-Id: Ib4bc03e5edc2221274cde3a278c986317ac4e732
Signed-off-by: Jozef Behran <jbehran@cisco.com>
8 years agoAdding test cases for GBP-SFC integration demo 43/29843/14
Tomas Cechvala [Tue, 16 Feb 2016 14:13:39 +0000 (15:13 +0100)]
Adding test cases for GBP-SFC integration demo

Symmetric test scenario.

Change-Id: I5b6487246d5da2904f585db4d6e80ca806eda294
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoAdding intgration test for unimgr project 62/34362/11
Mohamed El-Serngawy [Tue, 9 Feb 2016 22:50:18 +0000 (17:50 -0500)]
Adding intgration test for unimgr project

Change-Id: Iadab5a4ec8c19f4b754fdfc8f301128ff27f861c
Signed-off-by: Mohamed El-Serngawy <melserngawy@inocybe.com>
8 years agoRemove OVSDB disconnect from the cluster test 52/34652/5
Luis Gomez [Mon, 15 Feb 2016 02:24:57 +0000 (18:24 -0800)]
Remove OVSDB disconnect from the cluster test

Current Get Cluster Entity Owner For Ovsdb keyword does not work
when there is more than one ovs instance connected or the same
instance reconnects (ovs uses a different uuid).

This is a short term fix, real fix is to get the ovs uuid
just after ovs connects to controller and use this uuid to
interrogate a new implementation of the entity owner keyword.

Also changing Connect Remote System -> Connet Mininet when applies.

Change-Id: I39fcfc062e4135afd821e56a40c142c6b2f61542
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoAdd test suites for usc project 30/31730/8
victorxu [Wed, 27 Jan 2016 00:15:18 +0000 (16:15 -0800)]
Add test suites for usc project

Change-Id: I048dd01efa75c19294b678c40017eda70160916f
Signed-off-by: victorxu <s.xu@huawei.com>
8 years agoChange modified flow in cluster test 53/34653/3
Luis Gomez [Mon, 15 Feb 2016 04:07:26 +0000 (20:07 -0800)]
Change modified flow in cluster test

Per OF spec, flow modification occurs when action changes.

Change-Id: Ia6bce22c0e87f0654c6d7942fa053f518ca6e1a0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoSeparating SFC JSON files for Lithium and Master 39/34539/5
Brady Johnson [Fri, 12 Feb 2016 10:02:26 +0000 (11:02 +0100)]
Separating SFC JSON files for Lithium and Master

- The Lithium JSON have a different format than for Master
- PatchSet 2 : minor fix from Jamo comments, and calling Install a feature
- PatchSet 3 : Now the lithium/master features will be set in releng yamls
- PatchSet 4 : Correcting Suite Setup

Change-Id: I3535cf0303b2ab7d684481fe11bc6d8061ad5ea2
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
8 years agocar people performace suite for 3 node controller 58/34258/12
Peter Gubka [Mon, 8 Feb 2016 13:03:10 +0000 (14:03 +0100)]
car people performace suite for 3 node controller

the robot is basically taken from
suites/controller/OneNode_Datastore/010_crud_mdsal_perf.robot
and adapted for 3 nodes setup

the perf script is adapted to use more controller ip addresses

Change-Id: I085ae94b0b920cb171ec48d9328abd5d988fc1d8
Signed-off-by: Peter Gubka <pgubka@cisco.com>
8 years agoOvsdb 3 node Cluster Extension 96/33896/10
priya.ramasubbu [Tue, 2 Feb 2016 18:32:20 +0000 (00:02 +0530)]
Ovsdb 3 node Cluster Extension

      * As per requirement run the test cases one more time
      * Add test cases in Old Owner Instance
      * Add test cases for Non Owner Instance down

Change-Id: Iebd9c92c7b0e9d3893a4cf62e6ec50d14eba9096
Signed-off-by: priya.ramasubbu <priya.ramasubbu@hcl.com>
8 years agoMoved calls to "RequestLibrary.<action> Request" in suites/groupbasedpolicy/ 24/34224/2
Junaid Zulfiqar [Mon, 8 Feb 2016 05:16:56 +0000 (21:16 -0800)]
Moved calls to "RequestLibrary.<action> Request" in suites/groupbasedpolicy/

+ RequestsLibrary.Get Request
+ RequestsLibrary.Put Request

Change-Id: I38fa5f899da3336c545837ffa6ee2fb12b296a60
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
8 years agoAdd test cases for VTN Mananger Flowfilter functionality 86/32486/16
Karthik.S [Wed, 13 Jan 2016 15:40:07 +0000 (21:10 +0530)]
Add test cases for VTN Mananger Flowfilter functionality

    * Add additional test cases flowfilter actions and to verify flowentries.
    * Add wait until keyword to verify flowentries in mininet.

Change-Id: Ibbe2b4eca1d7b1e8b0db897cd53896e6043f2b6f
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
8 years agoFix cluster test headers 25/34625/2
Luis Gomez [Sun, 14 Feb 2016 06:55:39 +0000 (22:55 -0800)]
Fix cluster test headers

Change-Id: Iea58bad867bbb4a7a358aacb3762f487c8c75d00
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoManypeers BGP rrc peers suite update 88/34488/4
Radovan Sajben [Thu, 11 Feb 2016 18:14:06 +0000 (19:14 +0100)]
Manypeers BGP rrc peers suite update

- suite parameters clean-up
- prefix count deadlock detection

Change-Id: Ib1cf3b01b5eb514f0a5b4ff2db14fb57edee9f3e
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
8 years agoadding yang+json headers to PUT request 89/34489/4
Jamo Luhrsen [Thu, 11 Feb 2016 18:22:16 +0000 (10:22 -0800)]
adding yang+json headers to PUT request

- also added a third test case to check third node in cluster

Change-Id: I19ca68599ecc894553f1aacf8740718c0711b17b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoAdd integration tests for ALTO project. 81/32581/14
Xiao [Thu, 14 Jan 2016 13:48:22 +0000 (21:48 +0800)]
Add integration tests for ALTO project.

Change-Id: Ic927f9c32b96fdbbca63cdc9caba0d2991fc5e5e
Signed-off-by: Xiao Lin <linxiao9292@outlook.com>
8 years agoUpdate integration cluster templates 32/34432/3
Luis Gomez [Thu, 11 Feb 2016 03:02:25 +0000 (19:02 -0800)]
Update integration cluster templates

This is a short term fix.
The right thing to do is to use distribution packaged templates.

Change-Id: Iecaf7395b9a888543a1b6679f6a0498af7dc50ad
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoAdd bug references to bgp-ingest suites 98/33898/21
Radovan Sajben [Tue, 2 Feb 2016 13:16:59 +0000 (14:16 +0100)]
Add bug references to bgp-ingest suites

- implement Report_Failure_And_Point_To_Linked_Bugs to Utils
- update SetupUtils library to use the keyword
- update BGP ingest suites to use such feature
- CHECK tests not to be skipped after WAIT test failures

Change-Id: I3a8598b08fb4c4d850f506cfd21860fe3c93fedf
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
8 years agoAdded Netflow Scripts for TSDR. 20/34320/9
premnath [Tue, 9 Feb 2016 13:25:48 +0000 (18:55 +0530)]
Added Netflow Scripts for TSDR.
Fixed TSDR Query for polling openflow interval.

Change-Id: Ia07bc62b3b593384c1f9cdafcd8b049c84f26611
Signed-off-by: premnath <prem.annauniv@gmail.com>
8 years agoadding steps to delete bridges in suite cleanup. 67/34367/2
Jamo Luhrsen [Wed, 10 Feb 2016 06:21:31 +0000 (22:21 -0800)]
adding steps to delete bridges in suite cleanup.

-  suite was deleting root ovsdb nodes as part of cleanup
   but the bridges created during the test were left over
   and causing a false failure in the following suite

Change-Id: I1ad9ce5f63706f22cab685379e6ae06de50986f8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agomarking three failing tests with bug id (5221) 69/34369/1
Jamo Luhrsen [Wed, 10 Feb 2016 06:58:12 +0000 (22:58 -0800)]
marking three failing tests with bug id (5221)

Change-Id: If683e4670a538c5083315afdc9f5e7c86732ed3b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoUse fallback URL for deploying tools for custom-built .zip 19/34319/4
Vratko Polak [Tue, 9 Feb 2016 12:14:51 +0000 (13:14 +0100)]
Use fallback URL for deploying tools for custom-built .zip

NexusKeywords.Deploy_Artifact was assuming that ${BUNDLE_URL}
points to a full Nexus installation.
But if the bundle under test comes from another source
(most notably patch test job on Jenkins, either RelEng or Sandbox)
there are no test tools on similar URLs.

In that case, fall back to default ODL Nexus (snapshot repository).

Change-Id: Icdd09da8ca219d26b42ca60e6aee0520220e9c31
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoConvert bgpcep/throughpcep suite to use NexusKeywords 65/34265/7
Vratko Polak [Tue, 9 Feb 2016 11:09:34 +0000 (12:09 +0100)]
Convert bgpcep/throughpcep suite to use NexusKeywords

Change-Id: I1e9928d2bef7b510286f58b9ea5b35833b8f4533
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoChanges to fix SFC clustering tests 17/34317/6
Brady Johnson [Tue, 9 Feb 2016 11:45:14 +0000 (12:45 +0100)]
Changes to fix SFC clustering tests

- updates to SFC yang files to reflect changed model
- Patch Set 2 : rebase
- Patch Set 3 : Fixed SFF config after manually testing
                all the changed JSONs locally.
- Patch Set 4 : rebase
- Patch Set 5 : Fixed other erroneous SFC JSON files

Change-Id: Ibba9a310c159735c54c0952639d5370a13912000
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
8 years agoAdding ovsdb-deletebridge functionality to ovsdbconfigblaster 43/31943/13
Praveen Mala [Tue, 29 Dec 2015 22:57:36 +0000 (17:57 -0500)]
Adding ovsdb-deletebridge functionality to ovsdbconfigblaster

Change-Id: I901752bcef488ea2297656526af1e915c2f241bb
Signed-off-by: Praveen Mala <praveen.mala@intel.com>
8 years agoTidy robot files. 13/34313/3
Vratko Polak [Tue, 9 Feb 2016 11:10:06 +0000 (12:10 +0100)]
Tidy robot files.

robotframework==3.0

Change-Id: I92d7cb221c5864e570bf607e098e6b68b6ac349c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoiBGP functional suite check for updates 75/34275/2
Radovan Sajben [Mon, 8 Feb 2016 17:37:02 +0000 (18:37 +0100)]
iBGP functional suite check for updates

- correct timing of checks for no updates

Change-Id: I3d56ef8f11eb6ac95fe3b598cfd488b08f317cfb
Signed-off-by: Radovan Sajben <rsajben@cisco.com>
8 years agoAdd more time for CPqD switch in openflow suites 96/34296/1
Luis Gomez [Tue, 9 Feb 2016 01:54:34 +0000 (17:54 -0800)]
Add more time for CPqD switch in openflow suites

Fix in https://bugs.opendaylight.org/show_bug.cgi?id=4614
produces delays in CPqD switch connection (CPqD bug).

Change-Id: Ib81901ca522b34136bec898d189aeed8e337a879
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoBug 4922 Disable out of date test 85/34285/2
Ryan Goulding [Mon, 8 Feb 2016 21:47:59 +0000 (16:47 -0500)]
Bug 4922 Disable out of date test

This test fails due to change in the way authentication is disabled in
the Beryllium release.  In prior releases, authentication could be disabled
by adding "authEnabled=false" to "etc/org.opendaylight.aaa.authn.cfg". Now,
authentication is disabled by editing shiro.ini and changing:
"/** = authcBasic" to "/** = anon".

Because Shiro properties are not currently tracked through the config admin
service, disabling AAA requires a controller restart.  This test is removed
as it is out of date and no longer reflects how to disable authentication.
A new test is not added to this suite, as controller restart is required.

Change-Id: Ia745c6d722d6a843eac69f8f3998766a8ce48c5d
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoComment non implemented features test 03/34103/4
Luis Gomez [Thu, 4 Feb 2016 22:47:10 +0000 (14:47 -0800)]
Comment non implemented features test

Also make ping test more robust

Change-Id: I0d9d9ff3f17273f9ccdc5f50437d524751bf53ee
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
8 years agoAdded BUG ID for failed cases. 56/34256/2
premnath [Mon, 8 Feb 2016 12:45:21 +0000 (18:15 +0530)]
Added BUG ID for failed cases.

Change-Id: I51bbf73c82ca63192101ff0f74b3816ef4febe2a
Signed-off-by: premnath <prem.annauniv@gmail.com>