integration/test.git
5 years agoSkip some tests to help speed up gate job 80/76580/2
Jamo Luhrsen [Tue, 2 Oct 2018 18:10:48 +0000 (11:10 -0700)]
Skip some tests to help speed up gate job

Change-Id: I46638bed4e2ac71ad7e36cfa4f6f75b9a5149733
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd basic odltools csit 38/76938/7
Sam Hague [Fri, 12 Oct 2018 14:14:37 +0000 (10:14 -0400)]
Add basic odltools csit

Change-Id: Iddf3c146ae630b859fd7357377dfd85b087086c5
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix netconf scale suite 12/76912/3
Luis Gomez [Thu, 11 Oct 2018 20:02:47 +0000 (13:02 -0700)]
Fix netconf scale suite

- Increase test tool REST timeout
- Reduce REST request #. Reduces test duration and perf results are
proven to be the same.

Change-Id: I79a9c40947ef99cb5bc796383f8eaddc7499e823
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoLISP: adapt to Neon directory changes 06/76806/3
Lorand Jakab [Wed, 10 Oct 2018 06:29:27 +0000 (08:29 +0200)]
LISP: adapt to Neon directory changes

Some YANG models from the mdsal project that we download for CSIT tests
have had their artifact names and also their directories renamed. This
patch adapts our download script to those changes.

Change-Id: I7fd1850e2e8476a64f2df3a9409e4df40c262a39
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
5 years agoSXP: Fix parameters for Add Bindings 76/76876/1
Ivan Hrasko [Thu, 11 Oct 2018 13:34:44 +0000 (15:34 +0200)]
SXP: Fix parameters for Add Bindings

Change-Id: I82c8ff06061d586e4689aff87c4f52adbcab89fc
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Do not parse missing connections list 74/76874/1
Ivan Hrasko [Thu, 11 Oct 2018 12:36:20 +0000 (14:36 +0200)]
SXP: Do not parse missing connections list

- after upgrade to Neon platform empty lists
are removed from datastore
- this is also case for connections list -
do not try to parse it if its missing

Change-Id: I04a3695ecd76d3a13b1abee7e5b36738433dd759
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSubnet Routing Support hidden IPv4/IPv6 address 75/75375/13
rssaravana [Wed, 22 Aug 2018 12:00:43 +0000 (17:30 +0530)]
Subnet Routing Support hidden IPv4/IPv6 address

Change-Id: I348bc5eda53a8a9956cddc10c3e1dfaa427fa481
Signed-off-by: rssaravana <saravanakumar.somaskandan@gmail.com>
5 years agoFix teardowns for netvirt/ha tests 77/76777/2
Vishal Thapar [Tue, 9 Oct 2018 06:33:19 +0000 (12:03 +0530)]
Fix teardowns for netvirt/ha tests

Some of Netvirt HA Tests are not collecting
all the dumps, only OVS debugs. This makes them
impossible to debug. Bug is due to using the wrong
teardown method. This fixes them by using correct
one.

Change-Id: I126fd30f2ff92b3890f0c581a70f7c8c4f63f917
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoAdd console arg back to keyword 66/76766/7
Jamo Luhrsen [Mon, 8 Oct 2018 18:00:15 +0000 (11:00 -0700)]
Add console arg back to keyword

https://git.opendaylight.org/gerrit/#/c/72108 removed this argument
and 3rd party/downstream CI using csit code is failing with the
hardcoded value of jenkins

Change-Id: I84e9e7ef1e341c1b935ca0e6e9eb8befe4a0f3f5
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix netconf callhome suite 07/76807/5
Luis Gomez [Tue, 9 Oct 2018 18:28:35 +0000 (11:28 -0700)]
Fix netconf callhome suite

Comment failing test and link jira NETCONF-574

Change-Id: Ia70a4eb009197abe049a49fd4337ed2d8d72469d
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix netconf ready suite 76/76776/1
Luis Gomez [Tue, 9 Oct 2018 02:19:47 +0000 (19:19 -0700)]
Fix netconf ready suite

CSS Netconf (port 1830) is replaced by MD-SAL Netconf (port 2830)

Change-Id: I834111c0c8e8c28916d7eb14b66ffec9ff8bc4ce
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: download SXP bundle on tools node 41/76641/9
Ivan Hrasko [Thu, 4 Oct 2018 10:34:43 +0000 (12:34 +0200)]
SXP: download SXP bundle on tools node

- SXP already installs ODL on tools node,
but managed distribution only
- This patch downloads actual SXP karaf
distribution, installs basic SXP features
and run it

Change-Id: Ie32c49713e6fe0fc1079622284a98833fd42ed14
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd basic routing functionality to vpn suite. 71/76471/4
mpany [Thu, 27 Sep 2018 09:11:08 +0000 (14:41 +0530)]
Add basic routing functionality to vpn suite.

Change-Id: I042befa7d3cf7532c8a3f8ba404f27cdc622e44e
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd -o MACs-hmac-sha1 to openstack ssh calls 67/76567/1
Jamo Luhrsen [Tue, 2 Oct 2018 16:02:52 +0000 (09:02 -0700)]
Add -o MACs-hmac-sha1 to openstack ssh calls

just like what was needed here:
  https://git.opendaylight.org/gerrit/#/c/76360/

Change-Id: I5464b0d2c67f10034cb2347055cb2966117baa9a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoadd stable/rocky vars 59/76559/1
Waldemar Znoinski [Tue, 2 Oct 2018 11:56:11 +0000 (12:56 +0100)]
add stable/rocky vars

Change-Id: I0c3710079015cd3e1a2c9724b67a35fbb5b2a73a
Signed-off-by: Waldemar Znoinski <wznoinsk@redhat.com>
5 years agoIgnore any non gerrit lines 39/76539/5
Sam Hague [Mon, 1 Oct 2018 17:04:59 +0000 (13:04 -0400)]
Ignore any non gerrit lines

The latest ssh infra changes are now returning output like:
"Warning: Permanently added the RSA host key for IP address" to the
output and that is being parsed incorrectly. So drop any lines that
are not gerrit lines. Those lines will have "grantedOn" in them.

Also added a testcase to test the condition.

Change-Id: Iefc109f28eed491aad9fac7bd9093685cba2348d
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd ITM Auto Tunnel suite 25/73225/30
shankar rajappa [Wed, 20 Jun 2018 09:43:47 +0000 (15:13 +0530)]
Add ITM Auto Tunnel suite

Change-Id: I001c233b3645b708b93679300171ba2b44fc4616
Signed-off-by: shankar rajappa <srajappa@outlook.com>
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoEdit verification that two hex messages are equal 46/76446/4
Dasa Simkova [Tue, 25 Sep 2018 15:10:57 +0000 (17:10 +0200)]
Edit verification that two hex messages are equal

- this verification considers two hex messages equal
  even if their arguments are misplaced. It compares
  the length of two hex messages and then converts each
  argument into integer and sums these arguments up for
  each hex message and compares the results.

Change-Id: Ia85ef0ab49e5ddf7939a9a7583715c414552c29d
Signed-off-by: Dasa Simkova <dasa.simkova@pantheon.tech>
5 years agoupdate code comments 21/76421/3
Dibya Prakash Das [Fri, 21 Sep 2018 14:04:55 +0000 (19:34 +0530)]
update code comments

Change-Id: I0e4e43ed8b799452dc759beb0e9ffbbd045a37b3
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoUse -o MACs=hmac-sha1 for instance ssh connections 60/76360/12
Jamo Luhrsen [Fri, 21 Sep 2018 22:27:56 +0000 (15:27 -0700)]
Use -o MACs=hmac-sha1 for instance ssh connections

It's not clear (to me) why we need this hmac-sha1 option,
but our new APEX images need it to make our connectivity
csit test cases work.

Also, while debugging this I tweaked the timeout numbers
to 5s for the initial ssh connection (from 10s) and 10s
to get the prompt (from 30s). In the case of failures,
having smaller values here will speed up the tests, and
5s/10s seem reasonable enough anyway.

Change-Id: Ib3505d3dc6fd8cfc6774e2d3605d4b28b3cc52b9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoFix Netvirt SFC Oxygen Jobs 22/76422/3
gvrangan [Mon, 24 Sep 2018 16:13:37 +0000 (21:43 +0530)]
Fix Netvirt SFC Oxygen Jobs

- OVS 2.6.1 does not support ct_clear
  so the tests do not use SG for Oxygen
  jobs only.

Change-Id: I1a70c364db3e7bda939716fef4f397411bfd8882
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agokeyword change for ITM Auto Tunnel 05/76205/5
srajappa [Tue, 18 Sep 2018 09:06:00 +0000 (14:36 +0530)]
keyword change for ITM Auto Tunnel

Another change amended in keyword to avoid csit failure for new change
in ITM auto tunnle feature

Change-Id: I707379532c5dc346c64f6d3937c32e0c8f0e2b92
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agovalidator now shows missing keys 73/76073/2
Dibya Prakash Das [Thu, 13 Sep 2018 21:17:13 +0000 (02:47 +0530)]
validator now shows missing keys

Change-Id: I68acc59c56683290ec940e3380287c9a4a1716a5
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoSkip ELK update for jobs running in sandbox 16/76316/2
Luis Gomez [Thu, 20 Sep 2018 20:46:20 +0000 (13:46 -0700)]
Skip ELK update for jobs running in sandbox

Change-Id: If79512c3045ca6561691e4576cdc9a93966de3c6
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSFC tests with 2 compute nodes 62/75962/4
gvrangan [Tue, 11 Sep 2018 20:14:43 +0000 (01:44 +0530)]
SFC tests with 2 compute nodes

- SF Instance will be creaetd in Compute2 if
  2 compute nodes are used for testing

- Oxygen tests will still use one compute node
  only

Change-Id: I87e8512a654671b8e88445e5fe13c51d161874c1
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agoSeparate test data vs dashboard script 87/76287/20
Luis Gomez [Thu, 20 Sep 2018 01:16:44 +0000 (18:16 -0700)]
Separate test data vs dashboard script

Also use configured series value to sort series.

Change-Id: Idf09eb04c905e0f75c07fbf1123170c684a9df7a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix OFP cluster test after OF code change 02/76302/2
Luis Gomez [Thu, 20 Sep 2018 11:31:19 +0000 (04:31 -0700)]
Fix OFP cluster test after OF code change

Change-Id: I7820e67d2ac46fd8bc955f353c0ad4d9a87a5b42
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoSXP: Fix localhost nodes start checks 97/76297/2
Ivan Hrasko [Thu, 20 Sep 2018 08:18:19 +0000 (10:18 +0200)]
SXP: Fix localhost nodes start checks

- localhost nodes 127.0.0.1, 127.0.0.2 etc.
are created on ${ODL_SYSTEM_IP} maschine

- but in general node with some ip should be
created on system with that ip, thus default:
${system}=${node}

Change-Id: I62489b87563c9b5b84f61c4f853a2787af2e6c8f
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoIgnore error when not expecting sync 52/76052/3
Tomas Jamrisko [Thu, 13 Sep 2018 07:55:38 +0000 (09:55 +0200)]
Ignore error when not expecting sync

Cluster is not expected to be in sync on the node that remains
isolated

Change-Id: If8426003228a73ea646e488f29469a73a785ff19
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
5 years agoRemove nitrogen test workarounds 79/76279/1
Sam Hague [Wed, 19 Sep 2018 15:55:39 +0000 (11:55 -0400)]
Remove nitrogen test workarounds

Change-Id: I28827a734c01cb2c5ef224d34b54abced66f34e6
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRemove pike test workarounds 78/76278/1
Sam Hague [Wed, 19 Sep 2018 15:50:55 +0000 (11:50 -0400)]
Remove pike test workarounds

Change-Id: I1d063e0b0cc9455f2d490477b31efd6c4e86772e
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoChange pass-fail priority 29/76229/5
Luis Gomez [Tue, 18 Sep 2018 16:55:07 +0000 (09:55 -0700)]
Change pass-fail priority

Change-Id: Ia42fb318373388f27d5b1209d5f625612e1f9126
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoFix wrong uri 41/76241/1
tomas.markovic [Wed, 19 Sep 2018 08:39:16 +0000 (10:39 +0200)]
Fix wrong uri

Due to changes in different test,
this is not working, and has to be
changed as a result.

Change-Id: I2aefab12da26e5e6b6b56321f08b0eb31fa703d9
Signed-off-by: tomas.markovic <tomas.markovic@pantheon.tech>
5 years agoFix dashboard data generate 19/76119/9
Luis Gomez [Sun, 16 Sep 2018 20:21:01 +0000 (13:21 -0700)]
Fix dashboard data generate

Change-Id: I8a40dcbf8c87afd5e964dbe2790fc13751a5ab16
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoreplace () with _ 13/76113/2
Sam Hague [Sun, 16 Sep 2018 01:00:45 +0000 (21:00 -0400)]
replace () with _

The below error is coming out because the ()'s are  not valid in the
python shell  call. The path is composed of the test name and some
tests have  ()'s in the name.

18:39:17 Ping Vm Instance1 In net_2 From net_1 (vxlan to vlan) :: Check rea... sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools show eos -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'
18:39:23 sh: -c: line 0: syntax error near unexpected token `('
18:39:23 sh: -c: line 0: `odltools analyze tunnels -i 10.30.170.33 -t 8181 -u admin -w admin --path /tmp/02_l3_Ping_Vm_Instance1_In_net_2_From_net_1_(vxlan_to_vlan) 2>&1'

Change-Id: I82b28a713f0c007af74cdcba23a16a758e805929
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agofix support for multiple dashboards 08/76108/4
Dibya Prakash Das [Sat, 15 Sep 2018 10:33:39 +0000 (16:03 +0530)]
fix support for multiple dashboards

Change-Id: I7d8f9f2403ff1c0bfbc22cf16ce6a8e214c99fec
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoUse graceful start and stop 69/76069/12
Sam Hague [Fri, 14 Sep 2018 21:55:44 +0000 (17:55 -0400)]
Use graceful start and stop

Change-Id: I231ccaf155fd182d27f2b72e7532df7594de88c0
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAllow adding msg log for start/stop odl 02/76102/2
Sam Hague [Fri, 14 Sep 2018 21:55:28 +0000 (17:55 -0400)]
Allow adding msg log for start/stop odl

Change-Id: Ieb6ad194c664dd098b8f5ee8637ae3d2ddbf93ad
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoAdd dashboard for BGPCEP 07/76107/1
Luis Gomez [Sat, 15 Sep 2018 00:16:51 +0000 (17:16 -0700)]
Add dashboard for BGPCEP

Change-Id: Ic8d2c2ef932f93f5bffd4c2ca41aa50f0fd273ef
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agoOrganize OpenFlow dashboard 06/76106/2
Luis Gomez [Fri, 14 Sep 2018 22:58:02 +0000 (15:58 -0700)]
Organize OpenFlow dashboard

Change-Id: I20e3a415cc88abb04ae4f7daaac891f2cb161ed8
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
5 years agorun tell based in separate job 92/74692/9
Vishal Thapar [Tue, 31 Jul 2018 12:31:02 +0000 (18:01 +0530)]
run tell based in separate job

Change-Id: I199b7dafe05b4bc811d97b77c6b2a9f56ad5f577
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoIgnore ssh errors on closed connections 99/76099/2
Sam Hague [Fri, 14 Sep 2018 19:12:34 +0000 (15:12 -0400)]
Ignore ssh errors on closed connections

Commit I7bb0f566eef9c4e5526272a2af567d0180db8e09 brought in a
change to logout from ssh connections, but in some cases the
connection is gone, such as during stop and start of ODL nodes
in clustering tests. This then fails the keyword and exits
so the later part of the keyword doesn't execute. And that is
the important part which opens a new connection. This ends up
leaving the old connection which is closed and unusable.

Change-Id: I3512686e7df117c453789608bc5c3b2121e7c7b8
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agosuite change for ITM Auto Tunnel 80/76080/2
srajappa [Fri, 14 Sep 2018 05:53:24 +0000 (11:23 +0530)]
suite change for ITM Auto Tunnel

Change-Id: I0b2230f915eb082013648a9c52d3cbac6dd83946
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoSXP: Make cluster routing suite more readable 21/75721/17
Ivan Hrasko [Thu, 23 Aug 2018 15:02:58 +0000 (17:02 +0200)]
SXP: Make cluster routing suite more readable

Change-Id: I3472bdd10d7538485533709b5b2a815c95387691
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Cluster suite fixes 64/75964/8
Ivan Hrasko [Tue, 11 Sep 2018 08:47:15 +0000 (10:47 +0200)]
SXP: Cluster suite fixes

Change-Id: I3297a1899c5e199966232ad9d56668fb835bf339
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoShow instance details before deleting 05/76005/2
Jamo Luhrsen [Tue, 11 Sep 2018 20:25:49 +0000 (13:25 -0700)]
Show instance details before deleting

when the suite setup fails to create instances the
only output we get in our robot logs is the single
line matching the state of the instance as "error"
Those are the cases we want to see more output,
like server show.

Change-Id: I8474638785193727b6c61851dd715356ee245561
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd SNAT DNAT suite. 33/74233/35
mpany [Thu, 19 Jul 2018 20:43:14 +0000 (02:13 +0530)]
Add SNAT DNAT suite.

Change-Id: I15a7f76892e7fe56596e557613db8d97029d820d
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoSXP: Add missing tags to binding origins tests 08/75908/3
Ivan Hrasko [Mon, 10 Sep 2018 07:13:19 +0000 (09:13 +0200)]
SXP: Add missing tags to binding origins tests

Change-Id: If81f329d245569ff4f4f66751272b952e6504c12
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix clustering tests 17/75817/7
Ivan Hrasko [Thu, 6 Sep 2018 14:52:25 +0000 (16:52 +0200)]
SXP: Fix clustering tests

Change-Id: I520fff58ad1838fdccea6421b692ccdfbeeb2e95
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoUpdate whtielist 00/75900/1
Sam Hague [Sun, 9 Sep 2018 21:47:15 +0000 (17:47 -0400)]
Update whtielist

Change-Id: I9a78963428bab346b4eb91890c251e9d8e70dbd7
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agochanges amend as per ITM Auto tunnel feature 50/75750/22
srajappa [Wed, 5 Sep 2018 10:04:53 +0000 (15:34 +0530)]
changes amend as per ITM Auto tunnel feature

Change-Id: Ic3f466ab81f5419a46d150ba4ba1afd93295fbc5
Signed-off-by: srajappa <srajappa@outlook.com>
5 years agoSXP: Improve parameter ${node_range} 27/75827/9
Ivan Hrasko [Fri, 7 Sep 2018 07:58:05 +0000 (09:58 +0200)]
SXP: Improve parameter ${node_range}

- improve parameter ${node_range} to
represent exact number of created/cleaned nodes

- afterwards there is no need to ask to
create/clean wanted number of nodes + 1

Adapted KWs:
- Setup SXP Environment KW
- Clean SXP Environment KW

Change-Id: Ia5863e8f6cf04b71325303558ccec76a11758133
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix session creating in test suites 26/75826/3
Ivan Hrasko [Fri, 7 Sep 2018 07:46:30 +0000 (09:46 +0200)]
SXP: Fix session creating in test suites

Change-Id: I45d02ee9e4b9561c6382fcd90e7dd0bc5b7d48ba
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Fix 020_Sxp_Node_Switching.robot 24/75424/18
Ivan Hrasko [Thu, 23 Aug 2018 15:02:58 +0000 (17:02 +0200)]
SXP: Fix 020_Sxp_Node_Switching.robot

Change-Id: If3d2df7e0dde8499489b527ebfc142a7f5423da4
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Improve Clean SXP Cluster Session KW 49/75749/5
Ivan Hrasko [Wed, 5 Sep 2018 10:09:09 +0000 (12:09 +0200)]
SXP: Improve Clean SXP Cluster Session KW

Change-Id: I0eeb8d61a58d433165f1622f426ec61813381930
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoL3vpn test update 29/75529/23
Tomas Markovic [Mon, 27 Aug 2018 07:19:50 +0000 (09:19 +0200)]
L3vpn test update

Additional configuration is necessary due
to policy changes in bgpcep implementation.

BGP policies require route target argument in
order for application peer to distribute routes
back to internal bgp peer. So we have to first
send route containg route-target argument from
ibgp, and then we can send l3vpn route to app
peer so it can identify ibgp as appropriate
for advertizement of such route.

Switched from using exabgp to play.py for sending
route from internal peer to application peer in
odl versions fluorine and further.

Change-Id: Id3570b421491a8c906f3e848fef6922d6812e07c
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoFix for OPNFLWPLUG-1022 requires Topology Manager 93/75593/3
Anil Vishnoi [Thu, 30 Aug 2018 20:48:13 +0000 (13:48 -0700)]
Fix for OPNFLWPLUG-1022 requires Topology Manager

module to register for singleton clustering service.
That introduces application entity in the EOS output.
In the current cluster tests, after disconnecting all
the OpenFlow devices, test checks that no openflow
 device should have owner, by grepping the "member"
string, and expect that it should be 0. After
introducing topology manager entity, EOS output
will always have one entity with all the 3 controllers
as a candidates, so greppign the "member" string
will always return 3. This patch take care of this
change."

Change-Id: Id2d3c0905ec3cd02c2098c1c1aee61c081dfe629
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
5 years agoAdd SFC Tests 08/72108/64
gvrangan [Mon, 21 May 2018 20:29:08 +0000 (01:59 +0530)]
Add SFC Tests

- Tests the SFC Functionality
- Creates the configuration with one Service Function
  and ensures packet traverses via the SF
- Creates the symmeteric Chain configuration
  and tests the functionality

Change-Id: I74fbbd0f3c64f7676dbc50ff372493a71c84fc6b
Signed-off-by: gvrangan <venkatrangang@hcl.com>
5 years agoSXP: Use KWs from ClusterManagement 03/75503/10
Ivan Hrasko [Mon, 27 Aug 2018 12:19:53 +0000 (14:19 +0200)]
SXP: Use KWs from ClusterManagement

- use keyword from ClusterManagement to get
cluster owner

- use keyword from ClusterManagement to get
all cluster sessions

- remove usage of cluster owner when it is
not needed - instead use ${CONTROLLER_SESSION}

Change-Id: I189fcc42c8eaff370fefbedef8cef0ea22974fe9
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Get leader only from running members 69/75369/10
Ivan Hrasko [Wed, 22 Aug 2018 08:50:39 +0000 (10:50 +0200)]
SXP: Get leader only from running members

- after leader isolation look for new leader only
from currently running cluster members

- removed duplicated variables
- removed SAMPLES variable with constant value 1
from FOR loops

Change-Id: I1ef6fa9dd22729f1960ce948489fb7ee230393f6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoAdd support for filter 20/75520/5
Dibya Prakash Das [Tue, 28 Aug 2018 00:15:14 +0000 (05:45 +0530)]
Add support for filter

The data in the visualization can now be filtered
by field name and value

Change-Id: I630912547ec9777895b20086a0c99e7a9c0af40f
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoAdd bgp isolation clustering test 66/72866/15
Tomas Markovic [Tue, 19 Jun 2018 05:13:36 +0000 (07:13 +0200)]
Add bgp isolation clustering test

Now that we are going to look at clustering
tests with more focus, we want even this one
to work, so adding it back to releng.

Change-Id: I1c6603783cc236c7e2d309cfd30b3b4ba3e89fa8
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoadd support for colors in plots 88/75388/2
Dibya Prakash Das [Wed, 22 Aug 2018 20:14:14 +0000 (01:44 +0530)]
add support for colors in plots

Change-Id: I87be96f0f807109e28e94af8642a40239dc4620f
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoRevert "Add Acl enhancement" 53/75653/2
Jamo Luhrsen [Sat, 1 Sep 2018 03:52:44 +0000 (03:52 +0000)]
Revert "Add Acl enhancement"

This reverts commit de41221e7fda59bc5ead54ce812d1d3bffe866ab.

This broke our normal tests in the security group rule create.
we forgot to run those in the sandbox too. please fix.

Change-Id: I7bf12b07e24f73d29bc90f1cff0bd90253e17915
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
5 years agoAdd Acl enhancement 38/73638/30
TabassumSharieff [Mon, 2 Jul 2018 09:50:32 +0000 (15:20 +0530)]
Add Acl enhancement

Change-Id: I7f174d02cf007382fad434812a90a55481a360cc
Signed-off-by: TabassumSharieff <shariefftabassum14@gmail.com>
5 years agoSpecify ODL IP for ODLTools 50/75350/5
Vishal Thapar [Tue, 21 Aug 2018 09:43:42 +0000 (15:13 +0530)]
Specify ODL IP for ODLTools

ODLTools currently uses HA_PROXY_IP, which Genius
doesn't currently support. Change ODLTools method
signatures to get ip form caller and set default
to ODL_SYSTEM_IP.

Change-Id: Ia5f48a96b0a883e9dad504e5291cf7541e99df8d
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoRemove optional argument from vpn dualstack suite. 64/75464/2
mpany [Fri, 24 Aug 2018 10:19:19 +0000 (15:49 +0530)]
Remove optional argument from vpn dualstack suite.

Change-Id: I13ade897da5a28df38bc6e296840fe7f9457abc9
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRemove optional argument from vpn ipv6 suite. 61/75461/3
mpany [Fri, 24 Aug 2018 08:35:25 +0000 (14:05 +0530)]
Remove optional argument from vpn ipv6 suite.

Change-Id: I1228890a2d7dff43a17cf80478261f6985b50922
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRemove optional parameter from suite. 58/75458/3
mpany [Fri, 24 Aug 2018 06:24:59 +0000 (11:54 +0530)]
Remove optional parameter from suite.

Change-Id: Ic6e55b065354cd7128f29929ec5d809e67d5ac87
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd optional parameter in Openstack lib. 67/75367/2
mpany [Wed, 22 Aug 2018 05:59:03 +0000 (11:29 +0530)]
Add optional parameter in Openstack lib.

Change-Id: I80d8e0b31358bde26acd976b370fc0a2c96a22c7
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd host route suite for host route handling. 05/72105/36
Arunkumar Murukesan [Sun, 20 May 2018 08:50:55 +0000 (14:20 +0530)]
Add host route suite for host route handling.

Change-Id: I8c1e28d7272f940274cd1b9464a7fd6fbc35c2ab
Signed-off-by: Arunkumar Murukesan <arunkumar.murukesan@gmail.com>
5 years agoModify parameter in Utils library. 24/75324/3
mpany [Mon, 20 Aug 2018 12:27:32 +0000 (17:57 +0530)]
Modify parameter in Utils library.

Change-Id: I7e9dd927c8cb87ff097508095bd153794b5637ec
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoModify command in OVSDB library. 49/75349/2
mpany [Tue, 21 Aug 2018 09:35:54 +0000 (15:05 +0530)]
Modify command in OVSDB library.

Change-Id: I8363175bce1efe1bfa917f7fd4f0571d7c286a20
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoSXP: format cluster suite 46/75346/7
Ivan Hrasko [Tue, 21 Aug 2018 07:09:41 +0000 (09:09 +0200)]
SXP: format cluster suite

Change-Id: Ib0331cce454d9cfd3ff53a430a996e4bb7340faa
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP cluster tests: declare variables in one place 44/75344/14
Ivan Hrasko [Tue, 21 Aug 2018 07:09:41 +0000 (09:09 +0200)]
SXP cluster tests: declare variables in one place

- declare variables in common parent
- remove SAMPLES variable with constant value 1
which makes no sense for FOR loops

Change-Id: I4cdfd3c5fb62b2c5245736e83099c4c48f50b162
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP clustering: create virtual interface 34/75234/12
Ivan Hrasko [Thu, 16 Aug 2018 14:36:27 +0000 (16:36 +0200)]
SXP clustering: create virtual interface

- create virtual interface used for assigning
cluster routing VIRTUAL_IP

Change-Id: I06851fca8beb9c541720a53233a699311d19d0ca
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Do not configure TOOLS_SYSTEM_IP machine 26/75326/5
Ivan Hrasko [Mon, 20 Aug 2018 12:41:42 +0000 (14:41 +0200)]
SXP: Do not configure TOOLS_SYSTEM_IP machine

- TOOLS_SYSTEM_IP machine is not running SXP,
do not configure it

Change-Id: I9d5eae0892be400745aff8b2aa47503b7009d230
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoSXP: Format cluster-routing suite 69/75269/8
Ivan Hrasko [Fri, 17 Aug 2018 12:35:38 +0000 (14:35 +0200)]
SXP: Format cluster-routing suite

Change-Id: I3e839826e200f5f4c022e1909e7969fee24d0c85
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
5 years agoFix odltools pathname 28/75328/2
Vishal Thapar [Mon, 20 Aug 2018 13:57:49 +0000 (19:27 +0530)]
Fix odltools pathname

ODLTools --path variable requires path to
a folder. It uses test suite/case name for
folder which has spaces. This change replaces
space etc. with underscores '_'

Change-Id: Iee66883d3bb92d0f35c232ee927fb6d62cde3997
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoRevert Add optional parameter in Openstack lib. 37/75337/3
Sam Hague [Mon, 20 Aug 2018 17:27:15 +0000 (17:27 +0000)]
Revert Add optional parameter in Openstack lib.

This reverts commit 701ba708851f12021159a08b4b50ad263ebdc33a.

Change-Id: I0b9b72eecebc161f3abb83ef9a5447c5e25550e9
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoSet test_name for suite or test 10/75310/2
Sam Hague [Sun, 19 Aug 2018 14:20:12 +0000 (10:20 -0400)]
Set test_name for suite or test

Change-Id: I1b52f4f7fbb955db648a6b8b96436384d7b908b3
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRemove redundant logging of neutron config 78/75278/2
Josh [Fri, 17 Aug 2018 17:44:35 +0000 (10:44 -0700)]
Remove redundant logging of neutron config

The line immediately above the removed lines
already logs the entirety of neutron configuration.

Change-Id: I28c57d7ddff32fb4a28998743a49136c08f30db0
Signed-off-by: Josh <jhershbe@redhat.com>
5 years agoGet all ODLTools results 59/75259/4
Vishal Thapar [Fri, 17 Aug 2018 07:19:33 +0000 (12:49 +0530)]
Get all ODLTools results

This adds following ODLTools results to
Test Teardonws:
1. Get Cluster Info
2. Get EOS
3. Analyze Tunnels

Change-Id: I98dc09aa4f9e3674db7249857b47fa3a751917eb
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoAdd optional parameter in Openstack library. 41/75241/5
mpany [Thu, 16 Aug 2018 16:36:24 +0000 (22:06 +0530)]
Add optional parameter in Openstack library.

Change-Id: I29546fe275b5cdef328bd6362a3303e68ed3fade
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoRemove basic test suites 42/75242/4
Sam Hague [Thu, 16 Aug 2018 18:40:55 +0000 (14:40 -0400)]
Remove basic test suites

These suites were never meant to be kept and were templates
for projects to get started. From there the projects were
to add real tests. As they are now, they do not test anything
related to the project and simply use resources.

Long-term new projects should use the templates in the sandbox
to gain experience with robot and csit and then update to a real
test before merged in production.

Some of the removals below depend on the corresponding
releng/builder patch listed below.

Depends-On: I7962ffe5839a2680bae6fa7041e0be596155a9c1
Change-Id: I7e097f30d118428cf468e4e61d7e9b33e25c3d86
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agorefactor the data generation code 46/75146/5
Dibya Prakash Das [Sun, 12 Aug 2018 09:39:04 +0000 (15:09 +0530)]
refactor the data generation code

The users should be able to write their own script to
generate the data to be pushed to kibana.

Change-Id: I33f64d0c61e6c29dcbc17d7db7c428d359b39c32
Signed-off-by: Dibya Prakash Das <dibyadascool@gmail.com>
5 years agoBGP - route-target-constrain family tests 70/73470/15
Tomas Markovic [Wed, 27 Jun 2018 10:02:43 +0000 (12:02 +0200)]
BGP - route-target-constrain family tests

Add new tests for rt_constrain family.
Testing all types of routes.

Add Fluorine tests into Neon.
Refactor mvpn and l3vpn_mcast tests.

Change-Id: Ic706c6963acc1d260da80a4a1d98b8057109d137
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
5 years agoUse OS_CMP in place of OS_COMPUTE 13/75213/9
Sam Hague [Thu, 16 Aug 2018 01:22:29 +0000 (21:22 -0400)]
Use OS_CMP in place of OS_COMPUTE

Change-Id: I3cbfb6946676aa8731821cf5d35f4a82de7269ab
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRemove shard-info dump 08/75208/1
Faseela K [Wed, 15 Aug 2018 17:48:22 +0000 (23:18 +0530)]
Remove shard-info dump

This is already covered by ODLTools.Get Cluster Info

Change-Id: Ic434b0332d5d64491ec459e0a7d942f3029435a4
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agodump cluster-info from ODLTools 59/75159/5
Faseela K [Mon, 13 Aug 2018 08:46:31 +0000 (14:16 +0530)]
dump cluster-info from ODLTools

Depends on : https://git.opendaylight.org/gerrit/#/c/74955/

Change-Id: Ic2f3304af4ebeb20f0419ae4533c5e4bad527346
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoSubnet Broadcast Tests added. 75/74275/34
Shivanand [Fri, 20 Jul 2018 12:31:28 +0000 (05:31 -0700)]
Subnet Broadcast Tests added.

Change-Id: Ib7cb7bb379042bc2bb143d5083613832d9c85e5c
Signed-off-by: Shivanand <shivanand.nandargi@gmail.com>
5 years agoFix Get EOS documentation 86/75186/2
Faseela K [Tue, 14 Aug 2018 07:59:22 +0000 (13:29 +0530)]
Fix Get EOS documentation

Change-Id: I657195b1ce8d792602b64395e45ebb3445b974a7
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoAdd suite exception debugs 76/75176/1
Sam Hague [Mon, 13 Aug 2018 19:05:10 +0000 (15:05 -0400)]
Add suite exception debugs

Ie931c64747114df1887fdf70dc6da502ff9fe865 added the exceptions
checker in the Genius Test Teardown, but that causes the
service_recovery.robot tests to fail in suite setup and teardown
because the TESTNAME is not in that scope.

Change-Id: I2b505930b096db591d44145c4c52823180f78d4f
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoModify parameter in Vpnservice robot. 63/74763/4
mpany [Thu, 2 Aug 2018 11:09:17 +0000 (16:39 +0530)]
Modify parameter in Vpnservice robot.

Change-Id: Ie905262fb8c12d2ab852d2ef18f8493f194dac40
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
5 years agoAdd karaf log exceptions check to Genius 83/74783/4
Vishal Thapar [Fri, 3 Aug 2018 03:16:51 +0000 (08:46 +0530)]
Add karaf log exceptions check to Genius

JIRA: GENIUS-200
Change-Id: Ie931c64747114df1887fdf70dc6da502ff9fe865
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoAdd neon to ODL Streams 64/75164/4
Vishal Thapar [Mon, 13 Aug 2018 09:55:11 +0000 (15:25 +0530)]
Add neon to ODL Streams

Change-Id: I682f2250b8f8f7f478710f2d59d338679161da35
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoFix for 74616 and 74646 43/74743/14
Srinivas Rachakonda [Wed, 1 Aug 2018 15:27:34 +0000 (20:57 +0530)]
Fix for 74616 and 74646
Added libraries for vnibased suites

Change-Id: Ie7dc606f2393770807db514ff2cd84782b1e2c50
Signed-off-by: Srinivas Rachakonda <srinivas.rachakonda@gmail.com>
5 years agoUse Process lib for openstack cli 49/75149/2
Sam Hague [Sun, 12 Aug 2018 19:38:13 +0000 (15:38 -0400)]
Use Process lib for openstack cli

Change-Id: Ib21107a2dae58a0bf7874cf6f430f7ef73fff3bf
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoRevert "Fix stderr parse into JSON for OS List opers" 48/75148/1
Sam Hague [Sun, 12 Aug 2018 18:38:37 +0000 (18:38 +0000)]
Revert "Fix stderr parse into JSON for OS List opers"

This reverts commit d4c6fec2b380bc57467283569cad12152aa60972.

Change-Id: Iac66f1cac0f57b390b65b0ad38baf52d0ca4c7cb
Signed-off-by: Sam Hague <shague@redhat.com>
5 years agoFix stderr parse into JSON for OS List opers 08/75108/3
Tim Rozet [Fri, 10 Aug 2018 16:02:19 +0000 (12:02 -0400)]
Fix stderr parse into JSON for OS List opers

The list operation is looking to parse json, however stderr will include
warnings from the openstack client, like this one:
https://storyboard.openstack.org/#!/story/2003132

Therefore parsing to json will fail. This patch changes the List
operations to only parse stdout as json.

Change-Id: Ib6dc6b99f13b3288effc5e9c2e6c5cda4636d5a7
Signed-off-by: Tim Rozet <trozet@redhat.com>