integration/test.git
6 years agoAdd tcpdump filter 37/67037/9
Sam Hague [Wed, 10 Jan 2018 21:56:21 +0000 (16:56 -0500)]
Add tcpdump filter

Change-Id: I8d5c31098d9b31a42642a45d44cd5b15c10f20a5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd additional OVS logs 36/67036/3
Sam Hague [Wed, 10 Jan 2018 21:55:16 +0000 (16:55 -0500)]
Add additional OVS logs

Change-Id: I3b076102d0ad716d8cf1fa1184563c899ed97abf
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd bound-services-state-list to model dump 35/67035/2
Sam Hague [Wed, 10 Jan 2018 21:51:07 +0000 (16:51 -0500)]
Add bound-services-state-list to model dump

Change-Id: I537d9a896de37c8622c6de6c1136b5e9e808bf32
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoIncrease topology recover timeout 99/66999/2
Luis Gomez [Wed, 10 Jan 2018 01:33:16 +0000 (17:33 -0800)]
Increase topology recover timeout

In cluster setup, topology can take some time to recover.

Change-Id: Ia6a752e363d8d2e7718783a5e24f5f6dc9e34471
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoTcpmd5 password reconfig 10/67010/6
Tomas Markovic [Wed, 10 Jan 2018 12:44:06 +0000 (13:44 +0100)]
Tcpmd5 password reconfig

Additional password change on pcc-mock side.
Additional related tests.

Change-Id: I011b6acfe8165742878a6d794338f9aa3747945e
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agodisable ofp stats in netvirt csit 50/66950/10
Sam Hague [Mon, 8 Jan 2018 18:13:24 +0000 (13:13 -0500)]
disable ofp stats in netvirt csit

Change-Id: I8edfe13fafbe266e5a8ddd2721527b95ed857667
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPCEP Speaker Entity Identifier 37/66937/6
Tomas Markovic [Mon, 8 Jan 2018 13:04:15 +0000 (14:04 +0100)]
PCEP Speaker Entity Identifier

Additional configuration for PCEP Speaker.
PCEP Speaker can skip session sync.
Test Cases functionality doesn't change.

Change-Id: Ide482afcc44b6c2a569530cd635cbb5237373ed6
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agotcpmd5user test update 09/66309/78
Tomas Markovic [Thu, 7 Dec 2017 16:24:01 +0000 (17:24 +0100)]
tcpmd5user test update

Updated test to use new pcep MD5 authentication for oxygen.
Added backwards compability for carbon and nitrogen.
Basic tests specified for path-computation-client only
Oxygen tests include pcep-session-state comparison

Change-Id: I43066bec6ab835dec9b86bf04eed6b6256074ca8
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoUse Variables.robot instead of Variables.py 14/66914/2
Jamo Luhrsen [Sat, 6 Jan 2018 02:17:43 +0000 (18:17 -0800)]
Use Variables.robot instead of Variables.py

Change-Id: I97c08d12ac008c6904f06165b8e08cdafe71fb20
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoIPv6: refactor Collect VM IPv6 SLAAC Addresses 41/59941/29
Valentina Krasnobaeva [Tue, 4 Jul 2017 16:42:51 +0000 (18:42 +0200)]
IPv6: refactor Collect VM IPv6 SLAAC Addresses

Make Collect VM IPv6 SLAAC Addresses test more reliable: at first it
will take IPv6 address, which was saved for given VM in neutron
database, after that it will try to connect to VM at this address and
check an output of ip -6 a command.

Update arguments for 'Collect VM IPv6 SLAAC Addresses' call in
netvirt/vpnservice/vpn_basic_ipv6.robot test suite.

Change-Id: I4a1df2bd97372e60f361ffd5442b945a1cc528db
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
6 years agoImprove RCORS KW to return stdout, stderr or both 45/66845/4
Jamo Luhrsen [Tue, 2 Jan 2018 23:25:38 +0000 (15:25 -0800)]
Improve RCORS KW to return stdout, stderr or both

- adds two default arguments to "Run Command On Remote System"
  to control which output (or both) is returned from the keyword

This removes the duplicate code we ended up with when wanting to
have the keyword return stderr

Change-Id: Id1191538670bf73ce788893ac8b78abe16d0c176
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix cbench test 81/66681/8
Luis Gomez [Wed, 20 Dec 2017 21:09:57 +0000 (13:09 -0800)]
Fix cbench test

- Command requires -S option (not -s)
- Command results shows in stderr

Change-Id: I8a80dc772b5ca001e9a76fa14d85d77481a94a02
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoBasic clustering tests for daexim 15/66715/13
Sreekalyan Devaraj [Thu, 21 Dec 2017 18:47:19 +0000 (10:47 -0800)]
Basic clustering tests for daexim

  - Executing pre-existing tests on cluster
  - Adding basic export testcase to cluster
  - Adding a new kw and testsuite for localized export
  - Swapping out initial state with skipped and removed unwanted json
  - Modifying kw to verify files
  - Changing the order of test cases
  - Cleaning up the export files before export call
  - Adding basic import to a cluster
  - Correcting a typo
  - Modifying the kw as per comments

Change-Id: I06cc3570e413edfa527a87ac4944d916fa5bc39e
Signed-off-by: Sreekalyan Devaraj <kalyan.ds@gmail.com>
6 years agoFix Docker troubles in aaa keystone suite 87/66687/6
Jamo Luhrsen [Thu, 21 Dec 2017 00:19:52 +0000 (16:19 -0800)]
Fix Docker troubles in aaa keystone suite

- the main problem was that filesystem mounts were failing due to
  permission issues. Adding :Z to the end of each mount is the
  fix for that.

- a few doc format issues and a TODO were also added

Change-Id: Ia56b8cc2ab9be89b3ddbf54c4d5b6ee9d7415db8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoSet AUTH variable in natapp basic suite 11/66611/4
Itzik Brown [Tue, 19 Dec 2017 10:42:19 +0000 (12:42 +0200)]
Set AUTH variable in natapp basic suite

Using ODL_RESTCONF_USER and ODL_RESTCONF_PASSWORD
to set the AUTH variable

Change-Id: Ibfda4f3ed38abfe360042c2ef5b3c29412b56974
Signed-off-by: Itzik Brown <itzikb@redhat.com>
6 years agoExtract the shard name in full 80/66680/2
Stephen Kitt [Wed, 20 Dec 2017 20:27:32 +0000 (21:27 +0100)]
Extract the shard name in full

Drop the datastore type off the end of the shard name, to avoid issues
with shard names containing the datastore type
(“prefix-configuration-shard” for example).

Change-Id: I6d7af717b0bc6c7490b4e1334c8c380046b11b95
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoEnsure everything fits on screen 79/66679/2
Stephen Kitt [Wed, 20 Dec 2017 20:26:11 +0000 (21:26 +0100)]
Ensure everything fits on screen

Depending on the window size, the controller names and number and
names of shards, we might run off the end of the screen, which aborts
curses in a rather inelegant fashion. We reduce the column widths
until everything fits.

Change-Id: I2924c005646694368b2eaa220ae3b5f3313b5c6c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoFix bug in ip -> hypervisor retrieval 72/66672/2
Jamo Luhrsen [Wed, 20 Dec 2017 01:18:05 +0000 (17:18 -0800)]
Fix bug in ip -> hypervisor retrieval

the bug was being hit when the ip address of the compute node
in question matched the substring of the ip address of another
compute node in the hypervisor list output.

example:
10.30.170.5 was matching on 10.30.170.5 -and- 10.30.170.56.

This was probably not happening often, but it did happen here:
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon/245/log_full.html.gz#s1-s8-t7-k3-k3-k4

Change-Id: I89a8ae514db7b089ce337dcf6819a271f2b61562
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoReact quickly to quit requests 73/66673/2
Stephen Kitt [Wed, 20 Dec 2017 17:54:00 +0000 (18:54 +0100)]
React quickly to quit requests

This patch checks keypresses in both loops inside the main loop,
ensuring that the monitor quits soon after the user presses 'q'.

Change-Id: I5889d1958e6c3887cde715feac4bc3cb87b67f34
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoSupport starting up with a partial cluster 71/66671/2
Stephen Kitt [Wed, 20 Dec 2017 17:08:53 +0000 (18:08 +0100)]
Support starting up with a partial cluster

This patch reworks the monitor so that it can start without a working
cluster:
* controller and shard information retrieval is done in the main loop;
* unknown controllers are displayed using their IP address and port
  (and the “controller” column has its own size);
* whenever information becomes available (controller name, shards) it
  is added to the working set.

Change-Id: Ic50aac9b835e4aabeb5edccb588835d0823e2e47
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAvoid tracebacks on initial probe 12/66612/3
Stephen Kitt [Tue, 19 Dec 2017 11:06:02 +0000 (12:06 +0100)]
Avoid tracebacks on initial probe

rest_get is called to retrieve shard information twice, once without a
try block, and again in a try block. When a controller is down, the
first one fails, so the try block is useless (and the user ends up
with an obscure error message).

This patch removes the first, useless call.

Change-Id: I2f6753d71250e3911fbcbbdd31a8b2f595c663c9
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoTrack controller names in the main controller map 70/66670/2
Stephen Kitt [Wed, 20 Dec 2017 16:27:56 +0000 (17:27 +0100)]
Track controller names in the main controller map

Instead of building a separate array of controller names, track them
as an additional property in the map (this will simplify handling
controllers which are down at startup).

Change-Id: I97d19bb384ae6f816ff3a4dd97f49f33f659904f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agopcepuser update 26/66426/12
Tomas Markovic [Wed, 13 Dec 2017 15:32:26 +0000 (16:32 +0100)]
pcepuser update

On Oxygen there is new session-state output
Reworked Test Cases to compare more specific output

Change-Id: Id55de439a3d8ae657325bc02fcd0bdf4ab7c415e
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agobgp flowspec test fix 16/66616/3
Tomas Markovic [Tue, 19 Dec 2017 13:30:00 +0000 (14:30 +0100)]
bgp flowspec test fix

Unifying number of connection retries across tests
Reconfiguring exabgp config file

Change-Id: Ibfc511006634e28de368082f675503bca863e9be
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoIncrease json http timeout 14/66614/1
Sam Hague [Tue, 19 Dec 2017 13:14:22 +0000 (08:14 -0500)]
Increase json http timeout

Change-Id: If7afac84b6989aedaed235803b1454c854bca41c
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agos/CFEATURES/CONTROLLERFEATURES 95/66595/1
Jamo Luhrsen [Tue, 19 Dec 2017 05:06:50 +0000 (21:06 -0800)]
s/CFEATURES/CONTROLLERFEATURES

looks like this patch [0] is using CONTROLLERFEATURES on
the pybot command line. I don't see anywhere where it
gets copied to CFEATURES

[0] https://git.opendaylight.org/gerrit/#/c/66534

Change-Id: Idcd789dc754e274ae15dda0ba1a835669577b163
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoincrease template timeout 51/66551/8
Sam Hague [Sun, 17 Dec 2017 21:32:23 +0000 (16:32 -0500)]
increase template timeout

Change-Id: I90d670f41f9bd8146298241bfe3141a8c2d1a822
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agocleanup connections 45/66445/21
Sam Hague [Wed, 13 Dec 2017 23:26:53 +0000 (18:26 -0500)]
cleanup connections

Change-Id: I34ac6b55fcad6136a5f9ca51b87ba5ff662cded9
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoincrease tempest timeout 43/66543/1
Sam Hague [Sat, 16 Dec 2017 20:36:26 +0000 (15:36 -0500)]
increase tempest timeout

Change-Id: I31a930e99fe379ae0c14ae4291481d455f466926
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRefactor Is Feature Installed 29/66529/1
Sam Hague [Fri, 15 Dec 2017 23:34:50 +0000 (18:34 -0500)]
Refactor Is Feature Installed

Removed the need to query the odl system by
using the CONTROLLERFEATURES parameter.

Change-Id: If438f98fcdac249cd2dd37f2532423bbbc93250d
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCleanup unused netvirt suites 07/66507/2
Sam Hague [Fri, 15 Dec 2017 14:24:45 +0000 (09:24 -0500)]
Cleanup unused netvirt suites

Change-Id: I2e580418fa8f06100f03cdb0ed85ce5c04169a19
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoIncrease Get Vm IPs from 120s to 180s 22/66522/1
Sam Hague [Fri, 15 Dec 2017 19:02:53 +0000 (14:02 -0500)]
Increase Get Vm IPs from 120s to 180s

Change-Id: Ie59549670d4c64993e850fc29f6bb79a1ca0224b
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agobgp_functional_route_ref fix 16/66416/5
Tomas Markovic [Wed, 13 Dec 2017 10:40:37 +0000 (11:40 +0100)]
bgp_functional_route_ref fix

Addressing variety in order in cli output.
Devided template into multiple sections.

Change-Id: I9e2cde0dd82fe87d6f2ce6fa1ff349ce1644e90c
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoCopy dhcp files 57/66357/8
Sam Hague [Mon, 11 Dec 2017 21:25:55 +0000 (16:25 -0500)]
Copy dhcp files

Depends-on: https://git.opendaylight.org/gerrit/66364

Change-Id: Ib222fee32b0a53e4a6186cd0618c25d8a76b6e62
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd [Documentation] to openstack Suite Teardown kw 63/66363/1
Jamo Luhrsen [Mon, 11 Dec 2017 22:24:50 +0000 (14:24 -0800)]
Add [Documentation] to openstack Suite Teardown kw

Change-Id: Ia51ead455e733e821131c0705c6cf79d5668d00d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd OpenStack grenade 85/66185/16
Sam Hague [Sun, 3 Dec 2017 23:33:39 +0000 (18:33 -0500)]
Add OpenStack grenade

Change-Id: I19d64b38dacd99c2b98a60260a5a4ba102b6255a
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoadd project p4plugin system test job 88/66188/5
wsx25289 [Mon, 4 Dec 2017 07:41:02 +0000 (15:41 +0800)]
add project p4plugin system test job

Change-Id: Ie5218ed18350fdd76c878f791e0626914642a231
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
6 years agoMigrate Variables.py to Variables.robot 14/66214/2
Jamo Luhrsen [Mon, 4 Dec 2017 23:12:00 +0000 (15:12 -0800)]
Migrate Variables.py to Variables.robot

per our long lived task:
https://jira.opendaylight.org/projects/INTTEST/issues/INTTEST-31

Change-Id: I155e14a4db6d52d62504d17228b3c56dec95a5a7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoStabilize netconf test 10/66210/1
Luis Gomez [Mon, 4 Dec 2017 20:26:22 +0000 (12:26 -0800)]
Stabilize netconf test

Change-Id: Iebc324a26ecbd4e7d449c1a67dd24321e832384e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agobgp_functional_route test update 82/65782/65
Tomas Markovic [Tue, 21 Nov 2017 07:16:29 +0000 (08:16 +0100)]
bgp_functional_route test update

verify odl stats using restconf bgp operational-state
verify odl stats using odl-bgpcep-bgp-cli

Change-Id: I6d76b0cef0e832b7444b789906092ca6bc49e425
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoChange return code checker to be more clear 77/66077/2
Jamo Luhrsen [Thu, 30 Nov 2017 00:07:25 +0000 (16:07 -0800)]
Change return code checker to be more clear

Should Be True    '${rc}' == '0'

  is more clear (to me at least) than

Should Not Be True    ${rc}

Change-Id: Ie6196c269de0d22457b02a5590f9de6141df23f9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoDo not restart/cleanup OVS in init code 08/66108/2
Victor Pickard [Thu, 30 Nov 2017 18:58:49 +0000 (13:58 -0500)]
Do not restart/cleanup OVS in init code

Do not restart/cleanup OVS on compute node during
L2GW CSIT init.

Change-Id: Iab6c2dd93331d4b048e0e732f58a0ea8d66f613c
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agovpnservice-ipv6: fix calls in neutron port 41/66141/2
Philippe Guibert [Fri, 1 Dec 2017 09:09:30 +0000 (09:09 +0000)]
vpnservice-ipv6: fix calls in neutron port

When calling neutron port creation, the calls are internal and do not
refer to external libraries.

Change-Id: Ib8322a065cad3bd6682326d2a1e542b15a13b183
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
6 years agoAdd keyword for iptables cmd on remote system 14/66014/8
Jamo Luhrsen [Tue, 28 Nov 2017 17:45:16 +0000 (09:45 -0800)]
Add keyword for iptables cmd on remote system

this should make it easier to run any arbitrary iptables
command on a remote system

Change-Id: I3748689a70181d9b71f7adfa3b2f9148c361bcc2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd 'bug' tag so this TC can be easily excluded 22/66022/1
Luis Gomez [Tue, 28 Nov 2017 19:16:13 +0000 (11:16 -0800)]
Add 'bug' tag so this TC can be easily excluded

Single 'bug' tag is easy to exclude in case the suite is used
for any sanity or smoke test.

Change-Id: I3c3bba80779a9cd5064ae3a9304a23d32787a57b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoUse consistent names for variables 30/65930/3
Sam Hague [Mon, 27 Nov 2017 13:44:43 +0000 (08:44 -0500)]
Use consistent names for variables

Change-Id: I9d764f92cd49d20fbb963c8528f5fd54e3a2cf28
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in ha l3 suite 74/65774/22
Sam Hague [Tue, 21 Nov 2017 02:06:28 +0000 (21:06 -0500)]
Use consistent naming in ha l3 suite

Change-Id: I4adbd1f585b853cb88866eb10fdcab187afa1693
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRemove redundant Get OvsDebugInfo 16/65916/2
Sam Hague [Mon, 27 Nov 2017 02:18:31 +0000 (21:18 -0500)]
Remove redundant Get OvsDebugInfo

Change-Id: I91dfe75be27e31d3a562c5b6a28816ca78b5dcb3
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd back the ipv6 choice 15/65915/2
Sam Hague [Mon, 27 Nov 2017 00:15:33 +0000 (19:15 -0500)]
Add back the ipv6 choice

Change-Id: I272b549d99b57828d0e8125df62dc2ee0651bfe3
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing neutron cleanup 14/65914/3
Sam Hague [Sun, 26 Nov 2017 23:26:51 +0000 (18:26 -0500)]
Add missing neutron cleanup

Change-Id: I1213b046b0f4029eb85b1c84663c4df9b29b148f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in ha l2 suite 73/65773/16
Sam Hague [Tue, 21 Nov 2017 01:45:28 +0000 (20:45 -0500)]
Use consistent naming in ha l2 suite

Change-Id: Iba3a6282d4cc8b274d2a40845365a0332cf53d87
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing create sg in ha l3 11/65911/4
Sam Hague [Sun, 26 Nov 2017 02:48:22 +0000 (21:48 -0500)]
Add missing create sg in ha l3

Change-Id: I94771f2d2ee97dd97ee2e12069430b7886f94501
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse right name of suite for sg.robot 12/65912/1
Sam Hague [Sun, 26 Nov 2017 18:56:22 +0000 (13:56 -0500)]
Use right name of suite for sg.robot

Change-Id: Ibd712a654ee1bb3d7d6abda058298b6bc41890bd
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in sfc suite 28/65828/11
Sam Hague [Wed, 22 Nov 2017 01:43:42 +0000 (20:43 -0500)]
Use consistent naming in sfc suite

Change-Id: I66ad1a5e630c1d28e3598531e823d6723807f1b7
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in vpn bgp suite 27/65827/13
Sam Hague [Wed, 22 Nov 2017 01:41:10 +0000 (20:41 -0500)]
Use consistent naming in vpn bgp suite

Change-Id: Id37e1c6a36ed01e1bca37129b478f9934212091c
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in vpn v6 suite 26/65826/13
Sam Hague [Wed, 22 Nov 2017 01:40:54 +0000 (20:40 -0500)]
Use consistent naming in vpn v6 suite

Change-Id: I8c7c52ce01dabd4b5f6271fe6706d8b4ebb7ee10
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in vpn suite 25/65825/11
Sam Hague [Wed, 22 Nov 2017 01:40:43 +0000 (20:40 -0500)]
Use consistent naming in vpn suite

Change-Id: I59c80658bd75d5f50eba4d6ff5411b18e9008b31
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in arp suite 24/65824/11
Sam Hague [Tue, 21 Nov 2017 22:40:39 +0000 (17:40 -0500)]
Use consistent naming in arp suite

Change-Id: I1c989fca5377c8e4046a06591fb71c8959fd404f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in elan suite 76/65776/19
Sam Hague [Tue, 21 Nov 2017 02:23:24 +0000 (21:23 -0500)]
Use consistent naming in elan suite

Change-Id: Ia0e404471f50525c57fad0b743623f66c048bfe4
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in tempest suite 29/65829/9
Sam Hague [Wed, 22 Nov 2017 01:44:11 +0000 (20:44 -0500)]
Use consistent naming in tempest suite

Change-Id: I49f22fb96e18412a5dfb9b6acc0912544a861368
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in sgs suite 75/65775/11
Sam Hague [Tue, 21 Nov 2017 02:17:40 +0000 (21:17 -0500)]
Use consistent naming in sgs suite

Change-Id: I80af4940e7f98bd5c44b2196983134e86d739c3d
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in sg suite 64/65764/12
Sam Hague [Mon, 20 Nov 2017 23:09:53 +0000 (18:09 -0500)]
Use consistent naming in sg suite

Change-Id: I502acda323cab483ccf155855f5eff126a8aa1b1
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in external suite 63/65763/12
Sam Hague [Mon, 20 Nov 2017 23:09:37 +0000 (18:09 -0500)]
Use consistent naming in external suite

Change-Id: I9ff856d16eae5ec4e43425f27bc8a268ab96ecf5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in l3 suite 62/65762/12
Sam Hague [Mon, 20 Nov 2017 21:55:21 +0000 (16:55 -0500)]
Use consistent naming in l3 suite

Change-Id: Iabf7b246ee3ee65310456ff9ee5438d17f93850f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse consistent naming in l2 suite 61/65761/12
Sam Hague [Fri, 17 Nov 2017 13:28:02 +0000 (08:28 -0500)]
Use consistent naming in l2 suite

Change-Id: I5e19f53d2137469df2826a0d026f1fe6dcf7232c
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd more time in version test 54/65854/2
Luis Gomez [Wed, 22 Nov 2017 23:09:45 +0000 (15:09 -0800)]
Add more time in version test

Change-Id: Ia4f98a1bf28fd21a29b8f3afc843ab0fd141910e
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
6 years agoMake the ha suite names unique 75/65875/1
Sam Hague [Thu, 23 Nov 2017 17:21:11 +0000 (12:21 -0500)]
Make the ha suite names unique

Change-Id: I68c659f346f642042b612b08b8167f108ce50902
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMake sure ip forward is enabled on SFC full deploy 07/65807/3
Jaime Caamaño Ruiz [Tue, 21 Nov 2017 16:39:03 +0000 (17:39 +0100)]
Make sure ip forward is enabled on SFC full deploy

So that OVS instances running in docker containers can talk to ODL
controller.

Change-Id: I24fa65c2956b0474328658132277f251b746d8d3
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoUse full path to netvirt tests 2 99/65799/1
Sam Hague [Tue, 21 Nov 2017 13:54:32 +0000 (08:54 -0500)]
Use full path to netvirt tests 2

Change-Id: I93969f5799f6c389eb4eec13de0b11b67aa2c600
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoRemove legacy script and test plans 50/65750/3
Jamo Luhrsen [Mon, 20 Nov 2017 17:59:40 +0000 (09:59 -0800)]
Remove legacy script and test plans

netvirt legacy is no longer consumed by any projects. Boron
was the last release this was the case and Boron jobs no
longer exist

Change-Id: Ib58ba44cb74d402829fd152fe75743d5b4416bc3
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse full path to netvirt tests 78/65778/1
Sam Hague [Tue, 21 Nov 2017 02:38:01 +0000 (21:38 -0500)]
Use full path to netvirt tests

Change-Id: Iee93f187f6cc568aa18a21ec6fc7fc1d1834d734
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoWorkarounds for containers 24/65724/3
Tomas Jamrisko [Mon, 20 Nov 2017 14:10:45 +0000 (15:10 +0100)]
Workarounds for containers

Adding NODE_KARAF_COUNT_COMMAND as all the other operations on
nodes can be overwritten on command line and this is useful when
running from a container.

Also changing the start function to check for "docker" as we don't
want to add those options when using docker.

This is just a temporary fix that makes it usable, but it could be
limiting and require more work later

Change-Id: I5e90cefcb52dec9b9666813824a6a42721db173d
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoname netvirt suites consistently 71/65671/3
Sam Hague [Fri, 17 Nov 2017 14:30:09 +0000 (09:30 -0500)]
name netvirt suites consistently

Change-Id: Iadfd417aead7bd8fae53f468931ba181e3f5832c
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoFix sfc variable VP_IPS -> NET1_VM_IPS 59/65759/1
Jamo Luhrsen [Mon, 20 Nov 2017 21:57:32 +0000 (13:57 -0800)]
Fix sfc variable VP_IPS -> NET1_VM_IPS

this was overlooked in the refactor here:
https://git.opendaylight.org/gerrit/#/c/65589/4/csit/suites/openstack/extensions/sfc.robot

Change-Id: Ife8823eef4be6846ce8a783e71cfdb4c961012b7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoUse iproute instead of nameserver to get gw 97/65697/3
Sam Hague [Sat, 18 Nov 2017 20:29:11 +0000 (15:29 -0500)]
Use iproute instead of nameserver to get gw

The nameserver line is only included when a vm fails
to ping the gw and you see the below messages in the
console log:

=== pinging gateway failed, debugging connection ===

The iproute line is always included:

ip-route:169.254.169.254 via 10.20.20.2 dev eth0

The old code worked because at least one of the vms
in the list would hit the gateway failed block and
get the gw from the nameserver line. The old code
also would only copy the gw address once for all
the vms because it kept a list with size 1 for
the address. The new Get VM IPs tries to get the
gw for each vm and not just one for the whole list
of vms. Timing differences might end up not getting
the nameserver line, so instead use the metadata
line which is always present.

Change-Id: I72637575b5171d3eaad6110ed2e8bc2cefed25ed
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd router and sg listings to Show Debugs keyword 77/65577/3
Jamo Luhrsen [Wed, 15 Nov 2017 19:51:42 +0000 (11:51 -0800)]
Add router and sg listings to Show Debugs keyword

- also refactored List Router to List Routers because it makes
  more sense to be plural

Change-Id: I83df8a7d7fdfd238dacda138f069bb0b74e2e176
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoMove arp learning to use Get VM IPs 85/65585/8
Sam Hague [Wed, 15 Nov 2017 23:34:31 +0000 (18:34 -0500)]
Move arp learning to use Get VM IPs

Change-Id: I48ac351469f66875335763119081c503a12d2841
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCreate and delete security groups 83/65483/5
Tomas Jamrisko [Mon, 13 Nov 2017 13:04:33 +0000 (14:04 +0100)]
Create and delete security groups

The connectivity test suites are creating and deleting most resources
as they require, except for allowing SSH, which gets created during
l2 tests and is reused by l3, which creates a dependency. It would be
great, if l3 test suite worked independently

Change-Id: Icdf47ceaaf3b1fb0353cca454eb039795137e7c1
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoFix SFC OVS NSH installation regression 14/64214/6
ebrjohn [Thu, 12 Oct 2017 21:05:59 +0000 (16:05 -0500)]
Fix SFC OVS NSH installation regression

- It was still tring to install OVS 2.5.90 from Yi Yang's
  branch, but that no longer works and OVS 2.6.1 should now
  be installed.

Change-Id: Ide9697e821c9136e053ef6a4b3bc3a866a135840
Signed-off-by: Brady Johnson <bjohnson@inocybe.com>
6 years agoINTTEST-33: ipv6 neighboring displayed from VM 07/65507/3
Philippe Guibert [Tue, 14 Nov 2017 14:18:33 +0000 (14:18 +0000)]
INTTEST-33: ipv6 neighboring displayed from VM

The fix is fixing the syntax of the ip command to use when being a
busybox instance.

Change-Id: I1eb3cf4e0e162437671f1f0fa7e7cdf117d9ebd2
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
6 years agoMove sfc to use Get VM IPs 89/65589/7
Sam Hague [Wed, 15 Nov 2017 23:41:57 +0000 (18:41 -0500)]
Move sfc to use Get VM IPs

Change-Id: I0bcbfbea01c94f7cd9ca23a9b0e56e500fecd8e5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMove l2gw to use Get VM IPs 86/65586/7
Sam Hague [Wed, 15 Nov 2017 23:41:12 +0000 (18:41 -0500)]
Move l2gw to use Get VM IPs

Change-Id: Ic182f770e5a499b5dcaedacdd03448464e9fc0da
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMove l3 clustering to use Get VM IPs 88/65588/5
Sam Hague [Wed, 15 Nov 2017 23:41:43 +0000 (18:41 -0500)]
Move l3 clustering to use Get VM IPs

Change-Id: I870b455a916ac951580cb89b4ba37e0379b5e00f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMove l2 clustering to use Get VM IPs 87/65587/5
Sam Hague [Wed, 15 Nov 2017 23:41:30 +0000 (18:41 -0500)]
Move l2 clustering to use Get VM IPs

Change-Id: If40be3121e7fd6b4a55237f702a95d989ec45c98
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMove bgp vpn to use Get VM IPs 84/65584/3
Sam Hague [Wed, 15 Nov 2017 23:31:01 +0000 (18:31 -0500)]
Move bgp vpn to use Get VM IPs

Change-Id: I2db9208037690f274923b9a2c5839f3b4e671e3a
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoMove basic vpn suite to use Get VM IPs 83/65583/4
Sam Hague [Wed, 15 Nov 2017 23:23:03 +0000 (18:23 -0500)]
Move basic vpn suite to use Get VM IPs

Change-Id: Ic2bf29fa8c54c7362dbdb26fa12730fb69a9aec9
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoChange Get VM IPs [Documentation] for accuracy 39/65639/2
Jamo Luhrsen [Thu, 16 Nov 2017 20:15:21 +0000 (12:15 -0800)]
Change Get VM IPs [Documentation] for accuracy

Change-Id: I26a677fe93b806ced9bc13611a658f5a6d479402
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoMove elan suite to use Get VM IPs 13/65513/3
Sam Hague [Tue, 14 Nov 2017 22:26:03 +0000 (17:26 -0500)]
Move elan suite to use Get VM IPs

Change-Id: Idc1d35e7fba07ee44daf3114bc3b98b22dcde64a
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse Run Keywords for multiple keywords in teardown 91/65591/2
Jamo Luhrsen [Thu, 16 Nov 2017 00:02:06 +0000 (16:02 -0800)]
Use Run Keywords for multiple keywords in teardown

this was broken recently, when wanting to split out
the amount of data models we collect in our non-sfc
suite.

Change-Id: I5d4bf4751a27b00c01a7bd375c49013d66a6aebd
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd parens around "${status}" - fix invalid syntax 24/65624/1
Jamo Luhrsen [Thu, 16 Nov 2017 16:21:23 +0000 (08:21 -0800)]
Add parens around "${status}" - fix invalid syntax

Change-Id: I7a34148a7a2ba8f6b308fa3226dceca3b80b7d92
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoHandle case when Get VM IP is status FAIL 29/65529/5
Jamo Luhrsen [Wed, 15 Nov 2017 05:24:46 +0000 (21:24 -0800)]
Handle case when Get VM IP is status FAIL

When a keyword is supposed to return some values (a list in
this case) but hits a failure before the [Return] statement,
we actually only get a status of FAIL and some error message.
Need to handle that.

Change-Id: Ic8e7f9bccfc81bb18f34ede28f4b50277d1c802e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoRemove Lithium keyword from packetcable csit 89/65389/3
Jamo Luhrsen [Thu, 9 Nov 2017 20:29:07 +0000 (12:29 -0800)]
Remove Lithium keyword from packetcable csit

There is no more lithium to worry about, so no need to keep that
keyword

Change-Id: Ib6f811f13a94efd52a818bc1ec0a6c62edc560e2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoRework variables to keep scope limited to keyword 91/65491/8
Jamo Luhrsen [Mon, 13 Nov 2017 19:08:19 +0000 (11:08 -0800)]
Rework variables to keep scope limited to keyword

- remove the need to share variables across keywords
- return console log so it can be printed just once after
  the collect ip WUKS is done polling

Change-Id: I10847f064ca38d6504e2715b51ad02792e0d3811
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoFix tox problem 92/65492/1
Sam Hague [Mon, 13 Nov 2017 21:41:52 +0000 (16:41 -0500)]
Fix tox problem

Change-Id: Ie473e848c60af10cac8e838e3d3e532ad376e4f3
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoReduce logging in collect ips 54/65454/16
Sam Hague [Sun, 12 Nov 2017 01:02:51 +0000 (20:02 -0500)]
Reduce logging in collect ips

Created a new VM Collect IP keyword that reduces the
amount of logging and works faster.

Problems in old keyword:
- logged the whole console multiple times, per vm check and per
operation
- ran Verify Active extra times
- different suites replicated using code

This patch:
- moves all the common wrapping code to a single keyword
- reduces the extra Active calls
- reduces the console to a single time per vm check
- removed console log on error since the log is always captured
during the attempt to get the addresses already

This looks to have reduced the time in half for retrieving the
addresses as well as reducing the multiple loggin of long
console logs.

Only converted the connectivity suite and left the old keyword
in place. The next patches will convert the other suites.

Change-Id: I042c137165eae95946fa5197fbb52b1b85312a00
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoFix for multiple keywords found in Utils.robot 73/65473/2
Tomas Cechvala [Mon, 13 Nov 2017 10:07:52 +0000 (11:07 +0100)]
Fix for multiple keywords found in Utils.robot

By specifying OperatingSystem library for 'Get file' call.

Change-Id: I0a4e8a362033b381cf88ac303b931880f419a3de
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoReduce the number of polling iterations in WUKS 85/65385/2
Jamo Luhrsen [Thu, 9 Nov 2017 18:15:07 +0000 (10:15 -0800)]
Reduce the number of polling iterations in WUKS

This has the potential to reduce some logs that end up in
the output.xml. We do use --removewuks when we generate the
html reports, but that is post processing. All the iterations
are still being logged in output.xml. Hopefully this will
help reduce the final log size of output.xml

Change-Id: If84c43ac659750e53efe2b2c18c6e81bab801ad7
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoadd cleanup for con sg suites 90/65390/9
Sam Hague [Fri, 10 Nov 2017 02:24:59 +0000 (21:24 -0500)]
add cleanup for con sg suites

Change-Id: I7bfe76c89c6f4c90384fd9a5f8ab59a756d870c5
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCleanup on neutron sg suite 46/65346/12
Sam Hague [Thu, 9 Nov 2017 01:08:43 +0000 (20:08 -0500)]
Cleanup on neutron sg suite

Change-Id: Ife25300241bb415fc881c14e3bfb8beb5d85f63b
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoReduce logging in vpnservice 44/65344/5
Sam Hague [Thu, 9 Nov 2017 00:41:23 +0000 (19:41 -0500)]
Reduce logging in vpnservice

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