integration/test.git
7 years agoBug 7791: Add test cases to Netconf Mdsal suite 64/51964/9
Vratko Polak [Fri, 17 Feb 2017 13:33:39 +0000 (14:33 +0100)]
Bug 7791: Add test cases to Netconf Mdsal suite

Change-Id: Ie5576193f4e10fa6d735535a7bb65f94f1d13067
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoMoving DHCP check from suite setup to test case 86/51886/5
rahul.agarwal [Wed, 15 Feb 2017 13:49:16 +0000 (19:19 +0530)]
Moving DHCP check from suite setup to test case

so that all test cases get exectuted.
Also adding 2 more testcases.

Change-Id: If0773039c3e3fbf74bb70969c8b9bfc1431ceb73
Signed-off-by: rahul.agarwal <rahul.agarwal3@tcs.com>
7 years agoAdd MdsalLowlevel.robot library 59/51859/8
Peter Gubka [Tue, 14 Feb 2017 12:24:18 +0000 (13:24 +0100)]
Add MdsalLowlevel.robot library

Change-Id: I7b4ac834f05242ce7717aa203d377e44c64b0331
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoReorder netvirt suites, start with connectivity 15/51815/2
Alon Kochba [Mon, 13 Feb 2017 16:08:28 +0000 (18:08 +0200)]
Reorder netvirt suites, start with connectivity

Move connectivity suite to beginning, as we know
exactly what is done. Tempest running first uses
various API calls that may hide issues tested by
connectivity suite, such as auto tunnels.

Change-Id: Ic56db7beb83ac5ad24a5997404bd46b599e88118
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd missing teardown debugs to vpnservice CSIT suite 59/51759/5
Alon Kochba [Sun, 12 Feb 2017 08:41:26 +0000 (10:41 +0200)]
Add missing teardown debugs to vpnservice CSIT suite

Change-Id: Ia5835d26b421f16cf2ef3a222de51c68719ce406
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoFix OpenFlow library KW 95/51695/1
Luis Gomez [Fri, 10 Feb 2017 16:24:02 +0000 (08:24 -0800)]
Fix OpenFlow library KW

Clean up ${base_mac} variable.
Also add REST content log.

Change-Id: I28ae68440c0de6426d4eab4b9614bea23a6ac249
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAdd remote-url command line argument 36/51536/3
Jamo Luhrsen [Tue, 7 Feb 2017 22:45:07 +0000 (14:45 -0800)]
Add remote-url command line argument

Change-Id: Ib8050bc991b3b8f007662c6d3ec1aad4085d2878
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdding comparison script to list patches added to one distro compared to another 52/51052/14
Jamo Luhrsen [Thu, 26 Jan 2017 01:21:21 +0000 (17:21 -0800)]
Adding comparison script to list patches added to one distro compared to another

Change-Id: Iae9028304bf3407a0075b026ae22b3fd21997c76
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoconfigure allowed address pairs on port create 83/51483/5
Jamo Luhrsen [Mon, 6 Feb 2017 21:21:24 +0000 (13:21 -0800)]
configure allowed address pairs on port create

Change-Id: I0da3594b15433d16879abf2c760b36aa62a45c7f
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix for requesting the eos on isolated node 63/51463/1
Peter Gubka [Mon, 6 Feb 2017 11:51:15 +0000 (12:51 +0100)]
Fix for requesting the eos on isolated node

Getting eos details on isolated node returned 404 and the tc failed.
This caused not even calling the tested rpc.
https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-all-carbon/219/archives/log.html.gz#s1-s9
On isolated memner the Get From Uri failure will be ignored

Change-Id: I8f2a6de3fb87096959fef7fc5aa01475702a8d41
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agodon't use known hosts file for netvirt CSIT VMs 29/51429/1
Alon Kochba [Sun, 5 Feb 2017 10:04:15 +0000 (12:04 +0200)]
don't use known hosts file for netvirt CSIT VMs

Change-Id: Ic5891aec0b6b38a2cfb2ab1fbbe7a0b8f3b35f18
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoRemove setting of TRACE to entire netvirt in vpnservice 17/50917/3
Alon Kochba [Tue, 24 Jan 2017 06:40:25 +0000 (08:40 +0200)]
Remove setting of TRACE to entire netvirt in vpnservice

Change-Id: I9b4f34fe916e17697f25b5f38512b031601607aa
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoGENIUS - CSIT - : Replaced RequestLibrary session output from XML to JSON to have... 36/51336/8
--add [Thu, 2 Feb 2017 15:57:00 +0000 (21:27 +0530)]
GENIUS - CSIT - : Replaced RequestLibrary session output from XML to JSON to have uniformity

Change-Id: I0234ae61c16c81808ff623f4a807b44b23a6ec48
Signed-off-by: <nazeerahamed.hunshyal@tcs.com>
7 years agoFix DHCP checks in netvirt CSIT, fail and log 09/49809/46
Mor Zvi [Mon, 26 Dec 2016 14:26:36 +0000 (16:26 +0200)]
Fix DHCP checks in netvirt CSIT, fail and log

Change-Id: I507d035053f982c4786d24df303d4764b6e489d1
Signed-off-by: Mor Zvi <mor.zvi@hpe.com>
7 years agoprint date in utc format rather than epoch 13/51013/6
Sam Hague [Wed, 25 Jan 2017 17:43:36 +0000 (12:43 -0500)]
print date in utc format rather than epoch

Change-Id: I17218f02e71b3d6408e1c0eced3e4c1c7c9579ca
Signed-off-by: Sam Hague <shague@redhat.com>
wip

Change-Id: I90a579afb4cb88f20f1efda3e144980ce01bd9e0
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd protections around changes pretty_print 21/51021/3
Sam Hague [Wed, 25 Jan 2017 15:51:00 +0000 (10:51 -0500)]
Add protections around changes pretty_print

Change-Id: I569b7044cb2255173b39916774c4a33b79812502
Signed-off-by: Sam Hague <shague@redhat.com>
tox

Change-Id: I9bb90d9f88ed09630c25e9493f75bc6b62a53848
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd suite for global singleton rpc testing 32/50932/37
Peter Gubka [Tue, 24 Jan 2017 10:23:49 +0000 (11:23 +0100)]
Add suite for global singleton rpc testing

Change-Id: I7f3d198e0806b12c21fb75261d6da53025417869
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoTwo more test cases for Tunnel monitoring added 99/50599/13
rahul.agarwal [Wed, 18 Jan 2017 13:42:56 +0000 (19:12 +0530)]
Two more test cases for Tunnel monitoring added

Change-Id: I8f4dd4c415bacb443e42a758264f1034b90bcb0b
Signed-off-by: rahul.agarwal <rahul.agarwal3@tcs.com>
7 years agoadd federation rabbit 09/50109/7
Sandra Biton [Sat, 7 Jan 2017 21:06:41 +0000 (23:06 +0200)]
add federation rabbit

Change-Id: I237093bf1a2bdbeb31600abf56ca3e4645857d91
Signed-off-by: Sandra Biton <sandra.biton@hpe.com>
7 years agoUpdate the scriptplan name to match new job names. 94/51094/3
Hideyuki Tai [Thu, 26 Jan 2017 23:22:33 +0000 (23:22 +0000)]
Update the scriptplan name to match new job names.

The job names for legacy netvirt were changed. However, the file names of
corresponding scriptlan were not updated correctly.

Change-Id: Ic62191732b9bb321725b01066a0f53c45e23e3be
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoAdd .editorconfig file 75/49375/7
Umesh Singla [Wed, 14 Dec 2016 18:03:44 +0000 (23:33 +0530)]
Add .editorconfig file

Different file formats have separate sections.
Add rules as you see gaps.

Link to style-guide followed, present before each section

Change-Id: I4101e6bcd27f16bc554d70ade177089f9572db6d
Signed-off-by: Umesh Singla <umeshksingla@gmail.com>
7 years agodistchanges fix for messages with () in them 55/51155/1
Sam Hague [Fri, 27 Jan 2017 22:01:07 +0000 (17:01 -0500)]
distchanges fix for messages with () in them

Change-Id: Ia35c24bf77d476adb7c4a60ef127d95464b18adf
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoRemove ODL_STREAM variable from libraries/ChangeCounter.robot 11/50811/4
Peter Gubka [Mon, 23 Jan 2017 12:43:01 +0000 (13:43 +0100)]
Remove ODL_STREAM variable from libraries/ChangeCounter.robot

Change-Id: Ibeacf103b4c6bb68c04d78e548647544c78b8256
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUpdate snat model list to match latest code usage 25/51025/1
Sam Hague [Wed, 25 Jan 2017 20:19:21 +0000 (15:19 -0500)]
Update snat model list to match latest code usage

Change-Id: I35f699190b9b46eb89682fc55f5ae766c90bf7ea
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoRemove ODL_STREAM variable usage in if statement from 010_SM_add_upd_del_flows.robot 20/50820/4
Peter Gubka [Mon, 23 Jan 2017 14:37:49 +0000 (15:37 +0100)]
Remove ODL_STREAM variable usage in if statement from 010_SM_add_upd_del_flows.robot

Change-Id: Iccc2480d1e6ea89584e04df2b4677a7004eba4aa
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove ODL_STREAM usage from notifications/notifications_basic.robot 12/50812/3
Peter Gubka [Mon, 23 Jan 2017 12:58:49 +0000 (13:58 +0100)]
Remove ODL_STREAM usage from notifications/notifications_basic.robot

Change-Id: I26abffe70d021e02bed867e2a013ff10cad65747
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agofix argument processing for projects 95/50695/4
Jamo Luhrsen [Thu, 19 Jan 2017 22:29:11 +0000 (14:29 -0800)]
fix argument processing for projects

Change-Id: I5226bed49263e935e9afc8800d4e405cc8748836
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoSFC_Basic with Logical SFF 99/48899/10
Ursicio Martin [Thu, 1 Dec 2016 16:07:21 +0000 (17:07 +0100)]
SFC_Basic with Logical SFF

Change-Id: Ia5cb79f8d1ce1676b1ac5388ff26261d99b7d6bb
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
7 years agoSkip working on gerrits if the includes list is empty 71/50971/1
Jamo Luhrsen [Tue, 24 Jan 2017 18:08:51 +0000 (10:08 -0800)]
Skip working on gerrits if the includes list is empty

this could happen when the firt gerrit found is not "merged" as would
be the case when this tool is triggered with a patch test gate job.

this will actually stop parsing gerrits for the project that has an
unmerged change in the distro.

this is a quick fix to get the tool working again. a better fix needs
to come next where it can handle unmerged gerrits and then continue
to print all the merged patches that still made it in to that relevant
project

Change-Id: I96c683cf07e7ed43c5eab42a48a8a0c8627d04e6
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix up model dumps collection to reflect latest datastores 84/50684/2
Vivekanandan Narasimhan [Thu, 19 Jan 2017 18:29:49 +0000 (23:59 +0530)]
Fix up model dumps collection to reflect latest datastores

Change-Id: Id0340224db5020538054f85bc9212be8399c46eb
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
7 years agoBug fix on the Keywords, SSHLibrary write command takes the older values. 50/50650/2
abbas [Thu, 19 Jan 2017 08:20:16 +0000 (00:20 -0800)]
Bug fix on the Keywords, SSHLibrary write command takes the older values.

Change-Id: If4e064b0b1cf87f00faacd0e58c49fb9645aed20
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
7 years agoSXP performance test filter change 19/50619/3
Martin Mihálek [Fri, 20 Jan 2017 11:21:06 +0000 (12:21 +0100)]
SXP performance test filter change

Updated filter prefix to adapt to change https://git.opendaylight.org/gerrit/#/c/49270/
as old prefix was out of scope.

Change-Id: Id1bfc93af712b2683cc2532b7220d83990a15a2b
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoFix integration tests for iotdm project 72/50172/34
miroslav.kovac [Wed, 4 Jan 2017 14:05:29 +0000 (15:05 +0100)]
Fix integration tests for iotdm project

Change-Id: Id6530d66a2066802b219d1608af3d7179ff6846d
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
7 years agoAdd tests for symmetric paths using bidirectional flag in SF type 93/50393/5
eabasan [Fri, 13 Jan 2017 08:32:53 +0000 (09:32 +0100)]
Add tests for symmetric paths using bidirectional flag in SF type

Change-Id: I33d39ce4fec52c5242e03751ab2cfea6dfff5acc
Signed-off-by: eabasan <santiago.abascal@ericsson.com>
7 years agoAdding netvirt to list of netvirt projects 10/50910/1
Jamo Luhrsen [Mon, 23 Jan 2017 22:12:54 +0000 (14:12 -0800)]
Adding netvirt to list of netvirt projects

Change-Id: I0e9b2981742e38f275030365835f989c80b6f876
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoEnlarge nc timeout used for netvirt SNAT test 63/50663/8
Alon Kochba [Thu, 19 Jan 2017 12:26:33 +0000 (14:26 +0200)]
Enlarge nc timeout used for netvirt SNAT test

Change-Id: I94724ef655a4974ca4887ef5369df94622333d5c
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoRemove ODL_STREAM variable from Netvirt_Vpnservice/BFD_Monitoring.robot 98/50798/3
Peter Gubka [Mon, 23 Jan 2017 10:52:33 +0000 (11:52 +0100)]
Remove ODL_STREAM variable from Netvirt_Vpnservice/BFD_Monitoring.robot

Change-Id: Ie3b3161cb91d36fcdef3ebcec406ecc0bbbd8205
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove lithium testplans for bgpcep and tsdr 15/50815/2
Peter Gubka [Mon, 23 Jan 2017 13:26:19 +0000 (14:26 +0100)]
Remove lithium testplans for bgpcep and tsdr

Change-Id: Ic6aa89334696dd8ddd6ce8727af49497a9748736
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoCreate boron specific bgpcep-bgpclustering-ha-boron.txt tesplan file 13/50813/1
Peter Gubka [Mon, 23 Jan 2017 13:11:31 +0000 (14:11 +0100)]
Create boron specific bgpcep-bgpclustering-ha-boron.txt tesplan file

Netconf feature is going to be removed from bootfeatures in carbon in
https://git.opendaylight.org/gerrit/#/c/50711/ and netconf readyness suite
is not needed in carbon because of that. In boron it remains.

Change-Id: I497f9fa254146e7dd6e69e7fddeb948573de9d8d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove ODL_STREAM variable from usage in SxpLib.robot 71/50571/18
Peter Gubka [Tue, 17 Jan 2017 18:16:01 +0000 (19:16 +0100)]
Remove ODL_STREAM variable from usage in SxpLib.robot

Change-Id: I35d9794ca3db5a9a0c2ff3cbfd1af1a324b05159
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove ODL_STREAM from VtnCoKeywords.robot 14/50614/5
Peter Gubka [Wed, 18 Jan 2017 12:17:37 +0000 (13:17 +0100)]
Remove ODL_STREAM from VtnCoKeywords.robot

Contains also an additional kw in CompareStream to run kw for a certain stream

Change-Id: I92f70902cdb706c88a80e3e5d3105aa5e22a3239
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoadding ability to download a distro from url and show patches from that distro 81/50581/7
Jamo Luhrsen [Tue, 17 Jan 2017 22:44:20 +0000 (14:44 -0800)]
adding ability to download a distro from url and show patches from that distro

Change-Id: I2bb12f6b989af23ed82b48859fbb114ee124847c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoRemove ODL_STREAM variable from usage in libraries/TopoprocessingKeywords.robot 75/50675/1
Peter Gubka [Thu, 19 Jan 2017 15:03:01 +0000 (16:03 +0100)]
Remove ODL_STREAM variable from usage in libraries/TopoprocessingKeywords.robot

Change-Id: Ie202479ec81edb765e37bb4fa8a82ec7b8c78620
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd SNAT test to netvirt CSIT 17/49217/32
Alon Kochba [Sun, 11 Dec 2016 12:07:35 +0000 (14:07 +0200)]
Add SNAT test to netvirt CSIT

Change-Id: I8caba0858a9cf85c0cda8e22cf22ea8c998ca500
Signed-off-by: Alon Kochba <alonko@hpe.com>
Signed-off-by: Koby Aizer <koby.aizer@hpe.com>
7 years agoUpdate tcpmd5 suite with installation of netconf connector if needed 50/50350/15
Peter Gubka [Thu, 12 Jan 2017 11:29:51 +0000 (12:29 +0100)]
Update tcpmd5 suite with installation of netconf connector if needed

Change-Id: Ie8629d51d55dd381d99d9be3f663bd6e7386778c
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove unused resource file ConfigViaRestconf 12/50612/1
Peter Gubka [Wed, 18 Jan 2017 10:43:21 +0000 (11:43 +0100)]
Remove unused resource file ConfigViaRestconf

Change-Id: Ib2a06bfccce149eb0b20aaab246ea0b4af4fada7
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoTunnel monitoring test cases 71/49771/18
rahul.agarwal [Fri, 23 Dec 2016 17:04:28 +0000 (22:34 +0530)]
Tunnel monitoring test cases

Change-Id: I7135fd9115c83debf7b8b8880fae8935340534e2
Signed-off-by: rahul.agarwal <rahul.agarwal3@tcs.com>
7 years agoFix typo in OpenFlow library 95/50595/2
Luis Gomez [Wed, 18 Jan 2017 03:06:52 +0000 (19:06 -0800)]
Fix typo in OpenFlow library

Change-Id: I0fc42b320f1eba7930918a634dc4c00012e160bf
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoincreasing loop count for karaf ssh as a workaround for ssh connection rejections 90/50590/2
Jamo Luhrsen [Wed, 18 Jan 2017 00:30:09 +0000 (16:30 -0800)]
increasing loop count for karaf ssh as a workaround for ssh connection rejections

Change-Id: I7e4d359241d9309fc8d2407635d08802483a0bc1
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoIncrease Karaf SSH timeout 94/50594/5
Luis Gomez [Wed, 18 Jan 2017 02:29:08 +0000 (18:29 -0800)]
Increase Karaf SSH timeout

After few tests, this seems to stabilize the failure:

SSHException: No existing session

Change-Id: I2a13fd66bd422df2becae81229eea664e7d6121f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoadding a few tweaks and fixes/workarounds 28/50528/14
Jamo Luhrsen [Mon, 16 Jan 2017 22:49:35 +0000 (14:49 -0800)]
adding a few tweaks and fixes/workarounds

- looks like the ssh url for gerrit is not working from the releng VMs
  so trying with https now

- the CommandFailed class was broken and it appears to be that there
  was a missing docstring for that class, so self.__doc__ was None
  and doing a return with something None + something else was crashing.
  So, I added a basic docstring there. I know this is code similar to
  another project (e.g. git-review), so I'm not so confident it's
  the right thing, but its working for me. It was noticed because the
  ssh url to gerrit was being rejected so that class was getting
  excercised

- I did a few modifications based on what my IDE told me was good
  python

- I removed one and added one print output to make it more clear
  what's going on (to me, at least)

- fixed one variable naming typo

- defining the ssh URL in a single location

- verbose cmdline arg was overriding VERBOSE to 0 even if it was modified inline

Change-Id: I623e67ffb71660b3d9c5a55b0b31bc93dab4df55
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd stop test validation 38/50538/4
Peter Gubka [Tue, 17 Jan 2017 10:27:28 +0000 (11:27 +0100)]
Add stop test validation

Change-Id: Ief8681e0e8aef34abecc52b25e23788aa4eb7ebe
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoSXP filtering policy update 59/49959/10
Martin Mihálek [Tue, 3 Jan 2017 09:31:46 +0000 (10:31 +0100)]
SXP filtering policy update

Change-Id: I486316a3342044ccd0b7e78a8c1ae967645d435b
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoFirst pass at tool to list gerrits included in a karaf distribution 59/50459/4
Sam Hague [Fri, 13 Jan 2017 22:43:10 +0000 (17:43 -0500)]
First pass at tool to list gerrits included in a karaf distribution

The usage is shown below. The tool will use the following defaults:
Using these options: branch: master, limit: 10, qlimit: 50
remote_url: ssh://git.opendaylight.org:29418
distro_path: /tmp/distribution-karaf
projects: ['genius', 'mdsal', 'netvirt', 'neutron', 'openflowjava', 'openflowplugin', 'ovsdb', 'yangtools']

This can only be used on master right now because it relies on having a git.properties
file in the jar's.

usage: changes.py [-h] [-b BRANCH] [-d DISTRO_PATH] [-l LIMIT] [-p PROJECTS]
                  [-q QLIMIT] [-r REMOTE_URL] [-v] [--license] [-V]

optional arguments:
  -h, --help            show this help message and exit
  -b BRANCH, --branch BRANCH
                        git branch for patch under test
  -d DISTRO_PATH, --distro-path DISTRO_PATH
                        path to the expanded distribution, i.e. /tmp
                        /distribution-karaf
  -l LIMIT, --limit LIMIT
                        number of gerrits to return
  -p PROJECTS, --projects PROJECTS
                        list of projects to include in output
  -q QLIMIT, --query-limit QLIMIT
                        number of gerrits to search
  -r REMOTE_URL, --remote REMOTE_URL
                        git remote url to use for gerrit
  -v, --verbose         Output more information about what's going on
  --license             Print the license and exit
  -V, --version         show program's version number and exit

Change-Id: Id2500eae47a1550f60ba07ae9eca92a6ae5b0439
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd karaf logging to controller-clustering.txt suites 34/50434/4
Peter Gubka [Fri, 13 Jan 2017 13:36:47 +0000 (14:36 +0100)]
Add karaf logging to controller-clustering.txt suites

Change-Id: I764b451dca4a49feac62ec3e290be47ace81b625
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd new suite to test bgp md5 using exabgp 81/50181/16
Peter Gubka [Tue, 10 Jan 2017 13:25:12 +0000 (14:25 +0100)]
Add new suite to test bgp md5 using exabgp

Change-Id: Ib2b67354adbe67427c2d88a781e4290f540505ee
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoRemove ODL_VERSION variable, it is not needed 21/50421/1
Peter Gubka [Fri, 13 Jan 2017 11:22:01 +0000 (12:22 +0100)]
Remove ODL_VERSION variable, it is not needed

Change-Id: Ib15d49dfa5bea7bb5eef2bdf5477689f963c9749
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoFix up CSIT such that extra-route is cleared correctly. 39/50339/5
Vivekanandan Narasimhan [Thu, 12 Jan 2017 08:59:00 +0000 (14:29 +0530)]
Fix up CSIT such that extra-route is cleared correctly.

Extra routes should be cleared from a router before an
attempt is made to remove subnets which are the
targets of extra-routes from router.

Also it is better to have Should Contain as the last
line of test scripts as any cleanup after a failure of
Should Contain never gets triggered.

Change-Id: I2987b60afab3d78e8ef3cb84118e72ea44b087b0
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd a keyword to WaitForFailure Resource 11/50311/2
Vratko Polak [Wed, 11 Jan 2017 17:31:06 +0000 (18:31 +0100)]
Add a keyword to WaitForFailure Resource

+ Verify_Keyword_Never_Passes_Within_Timeout
+ Documentation updated.

Change-Id: Ie5fc5b45ca082216280f7b8e59d1d3edbd578781
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoFix for NonExistentRouter delete TC for Newton 16/50116/5
suvitha.balu [Mon, 9 Jan 2017 05:27:57 +0000 (10:57 +0530)]
Fix for NonExistentRouter delete TC for Newton

Change-Id: Ib645cee7c23b811e6affefc5e980d3be95d3b829
Signed-off-by: suvitha.balu <suvitha.balu@tcs.com>
7 years agoUpdate version.robot to reflect netconf connector usage 95/50195/1
Peter Gubka [Tue, 10 Jan 2017 14:47:24 +0000 (15:47 +0100)]
Update version.robot to reflect netconf connector usage

Change-Id: I1b206601879b067026052fa0625e23d9723f39fb
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoStabilize OF Reconciliation test 55/50155/3
Luis Gomez [Tue, 10 Jan 2017 03:37:13 +0000 (19:37 -0800)]
Stabilize OF Reconciliation test

- Remove ssh karaf from the suite setup. This is to avoid the ssh karaf
failure we see lately in CI.

- Kill controller if it does not stop after 2 minutes. This is required when
test runs in the -all- mode (many features loaded).

Change-Id: I2a9be15890d7f3f8f4e6680139e0ba4aceb69df2
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoSystem test for Yangtools 21/49421/42
Vratko Polak [Mon, 9 Jan 2017 18:59:30 +0000 (19:59 +0100)]
System test for Yangtools

+ Yang file preparation Resource introduced.
+ Suite binding-parent refactored to use that Resource.
+ The robot suite suite.
+ The testplan.
+ Artifact downloading now supports multipatch job.
*- Only as a suite keyword, probably should be moved to NexusKeywords.
+ RemoteBash.robot Resource introduced to host operations common for multiple tools.
+ Changes to existing libraries:
*+ Added TODOs to de-duplicate with respect to RemoteBash.
*+ NexusKeywords:
**+ NexusKeywords__Get_Items_To_Look_At knows yang-system-test.
**+ Deploy_From_Url to skip URL construction.
**+ Install_And_Start_Java_Artifact
**+ ${explicit_url}=${EMPTY} option added where needed
*+ TemplatedRequests:
**+ ${accept} argument no longer mandatory for Get_From_Uri
*+ New Copyright year.

Change-Id: Iea6ef141838daac7d23c29dbef455907cd937070
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoNew OF reconciliation suite + other fixes 12/49412/14
Luis Gomez [Thu, 15 Dec 2016 09:25:59 +0000 (01:25 -0800)]
New OF reconciliation suite + other fixes

- New reconciliation suite for groups and flows.
- Consolidate OpenFlow KWs in FlowLib.robot
- Consolidate Mininet KWs in MininetKeywords.robot
- Adjust existing test to the above changes.
- Fix Delete flow check in cluster test.
- Use org.apache.karaf vs karaf to find karaf instances.
(this allows to run pybot command in controller VM)

Change-Id: Ifee126a812f0cf25b29113db5f1543b5b15fabec
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoVPNservice Datapath TC and added additional validation 03/49403/10
suvitha.balu [Thu, 15 Dec 2016 05:06:51 +0000 (10:36 +0530)]
VPNservice Datapath TC and added additional validation

Change-Id: Ibd2c344ec867536b861e42d111af937422852ce6
Signed-off-by: suvitha.balu <suvitha.balu@tcs.com>
7 years agoEliminate getting model dumps when 2 ODL nodes are down 40/50040/2
gvrangan [Thu, 5 Jan 2017 01:14:26 +0000 (01:14 +0000)]
Eliminate getting model dumps when 2 ODL nodes are down

This will reduce the delay in CSIT

Change-Id: Ifb944b8cf8cfad7a0b79a223d19e636ed646a0d6
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoExpand documentation of SetupUtils 57/50057/3
Vratko Polak [Thu, 5 Jan 2017 12:41:16 +0000 (13:41 +0100)]
Expand documentation of SetupUtils

Change-Id: Ie1916bb0e765207be18c93892f79bb8c60a474ff
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoRework of Restperfclient__Invoke_With_Timeout kw to avoid broken ssh session 68/49468/15
Peter Gubka [Fri, 16 Dec 2016 10:39:55 +0000 (11:39 +0100)]
Rework of Restperfclient__Invoke_With_Timeout kw to avoid broken ssh session

In the jobs netconf-csit-1node-periodic-scale-only-<strem> it took too long
to handle 65k requests via netconf connector and ssh session became broken.
To avoid this execute command kw was replced with write and read until kws.

Minor changes to support debugging in libraries/SSHKeywords.robot and restperfclient/mdsal.robot

Change-Id: I080edb518acfe2e955fbe249e6e7bb33d8099eda
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUpdate bgp ingest manypeer changecount suite not to use netconf connector in carbon 12/50012/3
Peter Gubka [Wed, 4 Jan 2017 11:07:37 +0000 (12:07 +0100)]
Update bgp ingest manypeer changecount suite not to use netconf connector in carbon

Change-Id: I27aa3f749e4208bb531864b846f18f00ed732b0a
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoDo not abort logging to karaf if one member is down 66/49666/2
Vratko Polak [Tue, 3 Jan 2017 15:52:38 +0000 (16:52 +0100)]
Do not abort logging to karaf if one member is down

Change-Id: I9b516d2228e701fc9a5b1051b9655dc03705b2fe
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoUpdate netconf readiness suite for carbon stream 69/49969/2
Peter Gubka [Tue, 3 Jan 2017 12:16:15 +0000 (13:16 +0100)]
Update netconf readiness suite for carbon stream

Change-Id: I8ebaf2779b3dcffabde6dd53c5eb4a3f9564328b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoUpdate RequestsLibrary deprecated calls 87/49787/2
srisankethu [Sun, 25 Dec 2016 08:29:31 +0000 (13:59 +0530)]
Update RequestsLibrary deprecated calls

Change-Id: I348939a2888a791311cb29d3cdeae87cd888d1ff
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
7 years agoAdd netvirt testplans for minimal and tempest 88/49788/3
Alon Kochba [Sun, 25 Dec 2016 09:48:40 +0000 (11:48 +0200)]
Add netvirt testplans for minimal and tempest

Change-Id: Ibfd38bac405b3cb1f1ab7059ddf504a030abe702
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd elan-dpn-interfaces to model dumps 41/49841/2
Alon Kochba [Wed, 28 Dec 2016 08:31:45 +0000 (10:31 +0200)]
Add elan-dpn-interfaces to model dumps

Change-Id: I2d37f739de8b68117a8ebb8ef779f876ec441d34
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoUpdates to reflect removed SF data model fields 35/49735/4
Brady Johnson [Thu, 22 Dec 2016 09:43:21 +0000 (10:43 +0100)]
Updates to reflect removed SF data model fields

- SFC SF Data model changed in this patch: https://git.opendaylight.org/gerrit/#/c/49687
- PatchSet 2: fixed a few missed commas
- PatchSet 3: also fixed files from GBP

Change-Id: I947d29af49344c9e797625a71b3f061d830e5eb9
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
7 years agoFix karaf log grep at test teardown 34/49834/2
Alon Kochba [Tue, 27 Dec 2016 12:32:24 +0000 (14:32 +0200)]
Fix karaf log grep at test teardown

Refactor karaf logs grep at teardown of test cases.
Currently the first ODL is always grepped twice, remove
the duplicate logic and refactor into its own function.

Change-Id: I62b5b82ffb180874480a6d5a041d94534273c7cd
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoFix Teardown in clustering Tests 17/49717/5
gvrangan [Wed, 21 Dec 2016 19:50:54 +0000 (19:50 +0000)]
Fix Teardown in clustering Tests

Change-Id: I7d6b57cfb7e8035c834810b5b862ab2fb1f32449
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agomove module list to a python variable file for better readability/maintainability 01/49501/4
Jamo Luhrsen [Fri, 16 Dec 2016 23:29:02 +0000 (15:29 -0800)]
move module list to a python variable file for better readability/maintainability

Change-Id: I9357dd3c792e74d54c3908ac5a12f67646b967c6
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoSearch for errors/warnings in karaf log for test teardown 48/49048/17
Alon Kochba [Tue, 6 Dec 2016 18:01:24 +0000 (20:01 +0200)]
Search for errors/warnings in karaf log for test teardown

Change-Id: I478690ce40abbdb000062fc059623ff9368ccb36
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoAdd netconf device for runs without netconf connector. 75/49475/4
Peter Gubka [Fri, 16 Dec 2016 13:29:47 +0000 (14:29 +0100)]
Add netconf device for runs without netconf connector.

Change-Id: I2f83c695be6382c4bb26caf46143b58d34319cc4
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoadd reproduction test case for bug 7160 01/49401/5 release/boron-sr2
Jamo Luhrsen [Thu, 15 Dec 2016 01:07:10 +0000 (17:07 -0800)]
add reproduction test case for bug 7160

this should be merged after https://git.opendaylight.org/gerrit/#/c/49387/

Change-Id: Ifaf4e254736dc174333787fd82f677b46b728827
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoChanged the model dumps to collect right information 38/49438/4
Vivekanandan Narasimhan [Thu, 15 Dec 2016 15:13:53 +0000 (20:43 +0530)]
Changed the model dumps to collect right information

Fixed subnetmap, and added collection for
neutron-vpn-portip-port-data and learnt-vpn-vip-to-port-data.

Change-Id: I2bb02c25048c081a2671c2bb86f857f6848cf580
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
Author: Sam Hague <shague@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoFixed OVSDB queue/qos related CSIT testcases 87/49387/2
Anil Vishnoi [Wed, 14 Dec 2016 22:09:36 +0000 (14:09 -0800)]
Fixed OVSDB queue/qos related CSIT testcases

Change-Id: I8c8fcc163960175908f8b3acf69e54fa53573dbc
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoUpdate RequestsLibrary.<action> deprecated calls 22/49422/3
srisankethu [Thu, 15 Dec 2016 11:18:44 +0000 (16:48 +0530)]
Update RequestsLibrary.<action> deprecated calls

Change-Id: Ibb793d7076f61eb8441df560a52d1e3e601b8773
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
7 years agoadding default value of ${USE_NETCONF_CONNECTOR} 13/49413/2
Peter Gubka [Thu, 15 Dec 2016 09:38:42 +0000 (10:38 +0100)]
adding default value of ${USE_NETCONF_CONNECTOR}

Change-Id: I47f7e8b24314ca107a6cedc960882faacea6ae0d
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoupdating netconf-scale suite not to use netconf connector in carbon 66/48866/7
Peter Gubka [Thu, 1 Dec 2016 11:29:35 +0000 (12:29 +0100)]
updating netconf-scale suite not to use netconf connector in carbon

works together with https://git.opendaylight.org/gerrit/#/c/49301/

Change-Id: I462cf11fcab126bd54bb39c917f2e90f33767936
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoMake Utils.robot work with more than one session. 58/49258/3
ejisfza [Mon, 12 Dec 2016 13:25:11 +0000 (14:25 +0100)]
Make Utils.robot work with more than one session.

Most of the Utils.robot functions were implemented
to use a fixed session variable named 'session'.
This is a problem when having a cluster configured
in which you might want to use some of the tools
with a different controller.
The solution is adding a new argument ${session}
initialized to 'session' to avoid changing the
default behavior of the function.

Change-Id: I8a7341893c77a4d3789522cfe100304ce5658aa5
Signed-off-by: ejisfza <jose.luis.franco.arza@ericsson.com>
7 years agoFix typo in Sxp library 70/49270/2
Martin Mihálek [Mon, 12 Dec 2016 20:17:28 +0000 (21:17 +0100)]
Fix typo in Sxp library

Fixes prefix range initial values to match intentions of tests.

Change-Id: Iebbe3986e9c9ab3eeb091b4c174829b9ec8b685a
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
7 years agoFix CSIT VPNService suite for Unique RD per VPN 25/49225/3
Vivekanandan Narasimhan [Mon, 12 Dec 2016 04:57:43 +0000 (10:27 +0530)]
Fix CSIT VPNService suite for Unique RD per VPN

Fix the CSIT VPNService suites such that we
use unique route-distinguishers (RDs) per
unique VPN.

Change-Id: I0a17edc4e585bbb67cc343361141b3efcdded335
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
7 years agoupdating netconf CRUD suite not to use netconf connector for device configuration 98/49298/4
Peter Gubka [Tue, 13 Dec 2016 12:58:05 +0000 (13:58 +0100)]
updating netconf CRUD suite not to use netconf connector for device configuration

Change-Id: I2fd4b24ded3f5f70fda8677b390aed0a6f3aeb9f
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd test for bug 7349 validation 74/49274/1
Luis Gomez [Mon, 12 Dec 2016 21:08:23 +0000 (13:08 -0800)]
Add test for bug 7349 validation

This issue shows in Beryllium (old plugin).
BTW small retouch on other bug validations.

Change-Id: Ife28cf65ad3c15390468cdea7c114e66658bf1dc
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agouse different method for floating IP creation for Newton 28/49128/8
Alon Kochba [Thu, 8 Dec 2016 07:38:32 +0000 (09:38 +0200)]
use different method for floating IP creation for Newton

Change-Id: Iaca2775db7cfc176f015adde9ecc7baef7d17893
Signed-off-by: Alon Kochba <alonko@hpe.com>
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoAdd bugs 7258 and 7335 validation 26/49226/2
Luis Gomez [Mon, 12 Dec 2016 05:11:59 +0000 (21:11 -0800)]
Add bugs 7258 and 7335 validation

7258 should fail in Carbon
7335 should fail in Beryllium

Change-Id: I597a60b45d843514a6aa300ce9b4667b6dbb1384
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoupdating netconf readiness suite to support odl-netconf-(clustered-)topology 89/48889/12
Peter Gubka [Thu, 1 Dec 2016 15:05:25 +0000 (16:05 +0100)]
updating netconf readiness suite to support odl-netconf-(clustered-)topology

With this change netconf-connector and netconf-topology can be
tested to netconf readiness.
For everything to work properly, it requires to be merged after
with https://git.opendaylight.org/gerrit/48893.

The main change is the USE_NETCONF_CONNECTOR set to False

Change-Id: I3830618d83f8fea66ad7cea78b4966f725bb3099
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd additional model dumps and cleanup some (for troubleshooting) 85/49085/5
Vivekanandan Narasimhan [Wed, 7 Dec 2016 12:15:03 +0000 (17:45 +0530)]
Add additional model dumps and cleanup some (for troubleshooting)

Change-Id: I72dff05f84f919e0af6ba514465ec3cef05b745c
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
7 years agoinserting None to the ip_list if no ip was found in console-log 55/49055/2
Jamo Luhrsen [Tue, 6 Dec 2016 22:10:40 +0000 (14:10 -0800)]
inserting None to the ip_list if no ip was found in console-log

also added some keyword doc improvements

Change-Id: I701c0568b5fcff0f9106497c20fa9dfb9da18827
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoVpnservice Folder movement to netvirt 15/48815/2
suvitha.balu [Wed, 30 Nov 2016 06:57:20 +0000 (12:27 +0530)]
Vpnservice Folder movement to netvirt

Change-Id: Iae86ef4f869ce22a686026af62631950cf1ec16f
Signed-off-by: suvitha.balu <suvitha.balu@tcs.com>
7 years agoModify Clustering Tests in line with the KW changes 00/48500/34
gvrangan [Fri, 18 Nov 2016 23:51:49 +0000 (23:51 +0000)]
Modify Clustering Tests in line with the KW changes

- Getting IP Address was made dynamic recently
- This patch makes these changes to the 3no job tests.

Change-Id: I0907fd13bf982177f813a5403e7b1d5bbd3e9da4
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoImport Cases and refactoring 12/48912/9
sdevaraj [Fri, 2 Dec 2016 08:40:34 +0000 (00:40 -0800)]
Import Cases and refactoring

     - Fixed tidy script issues
     - Added requestslibrary, made jsons pretty under variables/daexim/daexim folder,replaced tabs with spaces.
     - Added a controller restart for the import test cases
     - Increased the loop of querying netconf device
     - Added a looping mechanism to check netconf mount status
     - Added new test case for import
     - Added a case for export with a netconf mount. Netconf endpoint is the controller itself mounted
     - Replace backup with export and restore with Import as these terms are more relevant to the project
     - Added new test suites into the testplan

Change-Id: I28b6c56f9ed88eac8a76837379f4e8d636eeff23
Signed-off-by: sdevaraj <kalyan.ds@gmail.com>
7 years agoEnable counter prints in log for netvirt CSIT 39/49039/2
Alon Kochba [Tue, 6 Dec 2016 15:08:19 +0000 (17:08 +0200)]
Enable counter prints in log for netvirt CSIT

Enables the infrautils counter log prints in netvirt
CSIT runs, by modifying the configuration file before
ODL is run using a configplan.

Change-Id: Icda639fa6f698a4391bec4e7b26e206e944f681b
Signed-off-by: Alon Kochba <alonko@hpe.com>