integration/test.git
6 years agoMove remaining tcpdump users to use wrapper 90/67690/2
Sam Hague [Mon, 29 Jan 2018 20:37:06 +0000 (15:37 -0500)]
Move remaining tcpdump users to use wrapper

Change-Id: I9bf3e79f7927abe40c626cb2151c734bbfb12957
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing itm tunnel-list URL to teardowns 16/67716/2
Faseela K [Tue, 30 Jan 2018 10:16:37 +0000 (15:46 +0530)]
Add missing itm tunnel-list URL to teardowns

Change-Id: I69ae863dac972fdb37cedd5b9e1d08f5f809e5ff
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoCheck service function types are removed 32/67732/3
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 18:47:59 +0000 (19:47 +0100)]
Check service function types are removed

Check service function types are removed at suite/test teardown before
continuing with the nex test/suite. This prevents service funtion types
being removed during the nex test/suite making it to fail.

Change-Id: Ie6f2bc82b0933c70c99b8e83f44ffe36f48704d7
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFixes in Openstack Keywords 31/67531/16
gvrangan [Thu, 25 Jan 2018 01:12:21 +0000 (06:42 +0530)]
Fixes in Openstack Keywords

- Fixed the list access in
  Is Feature Installed

- Fixed the Clean All Keyword
  Made it work for features that does not
  support L3, by ignoring the listing failure

Change-Id: I06f6aa797d0cc3887d610349a7fc0bb90b7a193f
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoRemove dualstack from basic testplan 85/67785/1
Sam Hague [Wed, 31 Jan 2018 14:18:19 +0000 (09:18 -0500)]
Remove dualstack from basic testplan

Change-Id: I87df7c1493a018453ffd660307df4ea66e92673f
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoAdd missing folder in dualstack csit suite path 68/67768/2
Jamo Luhrsen [Wed, 31 Jan 2018 04:37:10 +0000 (20:37 -0800)]
Add missing folder in dualstack csit suite path

Change-Id: Ia7fa436d72ffaf7371470506a75c509716199ddc
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd multiple routers to SNAT scenario 34/67134/6
Itzik Brown [Sun, 14 Jan 2018 09:51:10 +0000 (11:51 +0200)]
Add multiple routers to SNAT scenario

Creating another internal network and another router
connected to the new internal network, then launch an instance without
Floating IP and check connectivity from this instance.

Change-Id: I47fd916e61c7c09d1fd3caa3d9eb57109f5af5d6
Signed-off-by: Itzik Brown <itzikb@redhat.com>
6 years agoUse OpenStack CLI for nova cli commands 94/67394/4
Jamo Luhrsen [Sun, 21 Jan 2018 05:25:56 +0000 (21:25 -0800)]
Use OpenStack CLI for nova cli commands

- covers hypervisor list and console show
- also deletes deprecated and unused keyword
  "Collect VM Ip Addresses", as we now use a
  newer/better one "Get VM IP"

Change-Id: Ia80771594a9bb8e0d9226c3ebf47357ccb96f7a8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd dualstack csit suite to tdd-wip job's testplan 38/67738/2
Jamo Luhrsen [Tue, 30 Jan 2018 20:10:30 +0000 (12:10 -0800)]
Add dualstack csit suite to tdd-wip job's testplan

Change-Id: I1379c5c8d8ead26d66b40047ea63a2554e0a0413
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoCSIT: add dualstack test for one-router solution 50/63050/60
Valentina Krasnobaeva [Tue, 12 Sep 2017 15:24:13 +0000 (17:24 +0200)]
CSIT: add dualstack test for one-router solution

Introduce new basic dualstack vpnservice test-suite to check
support of dualstack VMs inside L3 BGPVPN. Implemented
neutron network config includes one dualstack router.
It allows to test one-router solution, defined in
l3vpn-dual-stack-vm.rst specification: commit
07ef3e3db56610a878e0a00ada175fa70f05ffe6 "Spec to support
dualstack VMs in L3VPN"

Change-Id: Ie9b048c1ce7329680a064d6fca572b6930244d71
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
6 years agoAdd testplan for tdd-wip netvirt job. 08/67708/2
Jamo Luhrsen [Tue, 30 Jan 2018 05:41:29 +0000 (21:41 -0800)]
Add testplan for tdd-wip netvirt job.

see this patch for more details:
  https://git.opendaylight.org/gerrit/c/67707/

Change-Id: If101a3833f44173947560f0491696cc99d538bbe
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAllow isolation of specific ports 80/67580/3
Tomas Jamrisko [Thu, 25 Jan 2018 16:00:03 +0000 (17:00 +0100)]
Allow isolation of specific ports

Adding arguments to isolate and rejoin to allow specifying protocol
and port. Useful for testing behaviour of cluster when the only
loss of connectivity happens between the nodes.

Change-Id: I9e06a967393a0b5d6e3150a648148693aeee0b83
Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
6 years agoGive time for reboot in sfc persistency test 18/67718/2
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 12:26:44 +0000 (13:26 +0100)]
Give time for reboot in sfc persistency test

Change-Id: I6797dd0489df403b32d7eade9062ac48abd6e8b8
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoCheck service function types are present (II) 12/67712/4
Jaime Caamaño Ruiz [Tue, 30 Jan 2018 09:35:22 +0000 (10:35 +0100)]
Check service function types are present (II)

Similar to commit [1], but that one only took care of the SFC full
deploy suite, this one takes care of the SFC basic suite.

Check service function types are present before attempting to create any
RSP making use of them. Otherwise RSP creation will fail if attempted
before the service function types exist. Service funtion types are
created by SFC as soon as the first SF of that type is added.

[1] a77477cfcab80d3060e796cf255b3323b9bb003d

Change-Id: I7bebba9a4b634a54a75b1cd6066de77cc515d3a3
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoClean up SFC CSIT 88/67688/5
Jamo Luhrsen [Mon, 29 Jan 2018 19:50:52 +0000 (11:50 -0800)]
Clean up SFC CSIT

- move to Variables.robot from Variables.py
- use args for Check Service Function Types so the keyword
  can be commonly used across suites
- moves some seemingly useful keywords from a suite to
  the new SfcKeywords lib

Change-Id: I981aa4d015d77aabc7f2f9225291274696ddec74
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoMove remaining tcpdump users to use wrapper 24/67524/7
Sam Hague [Mon, 29 Jan 2018 20:37:06 +0000 (15:37 -0500)]
Move remaining tcpdump users to use wrapper

Change-Id: Ief3bfd12f1fb46f49e575cc63edd37aef0f88eea
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoCheck service function types are present 44/67544/7
Jaime Caamaño Ruiz [Wed, 24 Jan 2018 17:52:11 +0000 (18:52 +0100)]
Check service function types are present

Check service function types are present before attempting to create any
RSP making use of them. Otherwise RSP creation will fail if attempted
before the service function types exist. Service funtion types are
created by SFC as soon as the first SF of that type is added.

Change-Id: Iaa5d0bc966d0bb190e64ef8084b2243078d10fc6
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoFix ip forwarding in sfc full deploy suite 39/67539/3
Jaime Caamaño Ruiz [Wed, 24 Jan 2018 14:34:43 +0000 (15:34 +0100)]
Fix ip forwarding in sfc full deploy suite

Another docker update, another default change ;) This time ACCEPT is no
longer setup as the default target of the FORWARD chain, so do it
ourselves.

Change-Id: Iab2e875183f6adc20864797d06bdd51e446f01d4
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
6 years agoPcep HA tests 41/66941/34
Tomas Markovic [Mon, 8 Jan 2018 15:06:17 +0000 (16:06 +0100)]
Pcep HA tests

Using Pcep-Pcc-Mock tool on cluster

Similar to bgp-ha, and bmp-ha

Stopping karaf, waiting for tool to reconnect
Killing karaf, waiting for tool to reconnect

Reworked finding owner with singleton.
Add test templates for pcep-topology with volatiles.

Change-Id: I5c79533aa4fdb270c7258b4a6443dcde6456f688
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoMove variable definitions 87/67587/2
Sai Sindhur Malleni [Thu, 25 Jan 2018 20:01:23 +0000 (15:01 -0500)]
Move variable definitions

Move variable definitions from Variables.py to Variables.robot

Change-Id: Ie1c66425ca83801bd38ff2b65b3c487b4f09333a
Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com>
6 years agoCreate OpenStack wrapper for tcpdump 22/67522/4
Sam Hague [Tue, 23 Jan 2018 23:21:12 +0000 (18:21 -0500)]
Create OpenStack wrapper for tcpdump

Change-Id: I26981b5c3c5f3daa5b1ad2df09e7fb29c4786e6a
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoUse intended security group in instance create 20/67520/2
Jamo Luhrsen [Tue, 23 Jan 2018 22:51:38 +0000 (14:51 -0800)]
Use intended security group in instance create

there is some environment problem where we end
up with multiple "default" security groups and
if we don't use the unique sg defined for
that suite, we get a failure to create the
instance

Change-Id: Iade91312d639c789e143b68ba6c3d596b82d675b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd BUG tag to Loop of 3 test under l2switch 21/67521/2
Chethana Lakshmanappa [Tue, 23 Jan 2018 22:58:16 +0000 (14:58 -0800)]
Add BUG tag to Loop of 3 test under l2switch

Change-Id: I2b264d5520245a9b92cc07a9edd7289b4f2fbb1f
Signed-off-by: Chethana Lakshmanappa <chethana@luminanetworks.com>
6 years agoRemove the 2>/dev/null workaround 17/67517/1
Sam Hague [Tue, 23 Jan 2018 19:58:02 +0000 (14:58 -0500)]
Remove the 2>/dev/null workaround

Change-Id: Ia7b47791fbddd2bd8595d75ae5f2e72dad5e49ad
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPop VM from list after deleting it 14/67514/2
Sam Hague [Tue, 23 Jan 2018 17:09:11 +0000 (12:09 -0500)]
Pop VM from list after deleting it

Change-Id: Ib75b5632e530a858ed32d0eb4630a542e4d78de2
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPop VM from list after deleting it 13/67513/1
Jamo Luhrsen [Tue, 23 Jan 2018 16:56:15 +0000 (08:56 -0800)]
Pop VM from list after deleting it

now that we are checking nova commands for proper return
codes, we cannot just happily delete things that are already
deleted. So, for the test case where we delete a single
instance to make sure ping traffic fails, we also need to
remove that instance from the list and let further cleanup
skip it.

Change-Id: Id0578e2c187e4b6703f76a11e369ffb92f6e17af
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoCorrect Genius idmanager test suite name 71/67371/2
Faseela K [Sat, 20 Jan 2018 03:23:21 +0000 (08:53 +0530)]
Correct Genius idmanager test suite name

Change-Id: I7a06c98dfcf7f5e6e1538225e16cfd2f1dce548f
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoEnhance genius CSIT Teardown dumps 81/67281/7
Faseela K [Fri, 19 Jan 2018 07:57:42 +0000 (13:27 +0530)]
Enhance genius CSIT Teardown dumps

The teardown dumps were missing some of the critical
REST URLs for debugging

Change-Id: I80a0f539db9aefb7cf3dba4398e01e08a855741d
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoRedirect openstack cli stderr > /dev/null 23/67323/3
Jamo Luhrsen [Fri, 19 Jan 2018 01:26:44 +0000 (17:26 -0800)]
Redirect openstack cli stderr > /dev/null

Something is slightly broken with our current setup of using
latest openstackclient 13.0.0 with one version back of
novaclient 9.0.0 such that when doing calls like "server
list" we are gettins some stderr output that looks like
some of the debug output when using -v or --debug.

this will supress it for now. Probably a bug should be
raised with openstackclient that it's not handling the
older novaclient properly. Not sure if they are supposed
to work nicely or not.

Change-Id: I0036976be7a907287452aa3b3a91228b820b3c1b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoAdd debug logging 73/67373/3
Sam Hague [Sat, 20 Jan 2018 05:10:08 +0000 (00:10 -0500)]
Add debug logging

Change-Id: I27b2e74487dd6eaab57e859a8093df33e0314a07
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoChange Karaf prompt to root 25/67225/9
Luis Gomez [Wed, 17 Jan 2018 04:53:15 +0000 (20:53 -0800)]
Change Karaf prompt to root

This should fix bump delay issues in CSIT while working with
old distribution provided the overlap between prompts is minimal:

[36mopendaylight-user[0m[1m@[0m[34mroot[0m>
[?1l>[?2004l[?1h=[?2004hopendaylight-user@root>

- We can use string 'opendaylight-user' for session login
- We can use regexp 'opendaylight-user.*root.*>' for read until prompt

Change-Id: Id1d9161025d4d0910d21cbbf2cea358ce9258684
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoChange the Genius Test Suite Name 82/67282/1
Faseela K [Thu, 18 Jan 2018 11:33:56 +0000 (17:03 +0530)]
Change the Genius Test Suite Name

Change-Id: I0a436e8fec2653dd4185860a032a98d6ef261084
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoBMP HA test 71/65471/170
Tomas Markovic [Mon, 13 Nov 2017 08:10:45 +0000 (09:10 +0100)]
BMP HA test

bmp_ha_karaf_stop
Simulate HA with BMP Mock tool
Stopping karaf on one node and verifying reconnection.
Restarting karaf, verifying its presence.

bmp_ha_karaf_restart
Killing karaf on one node and verifying reconnection.
Restarting karaf, verifying its presence.

Reconfiguring timers for HA tests

Removed Isolation tests, because right now they are failing.

Change-Id: If79b2289850ade1c87864340a2b839c53bc729f3
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoFix L2GW CSIT 75/67175/1
Victor Pickard [Mon, 15 Jan 2018 21:42:49 +0000 (16:42 -0500)]
Fix L2GW CSIT

Some recent changes to OpenStackOperations require adjustments
in this suite.

Change-Id: Ia5c1fc68f83d547f7c29e52fc7c61bf4c38590b3
Signed-off-by: Victor Pickard <vpickard@redhat.com>
6 years agoExpand HN to HOSTNAME 33/67133/2
Sam Hague [Sat, 13 Jan 2018 13:51:51 +0000 (08:51 -0500)]
Expand HN to HOSTNAME

Change-Id: I4b2d398ee02e2e13291c1c57ac915e9753fd0f71
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoPlace VMs deterministically 32/67132/3
Sam Hague [Fri, 12 Jan 2018 23:18:13 +0000 (18:18 -0500)]
Place VMs deterministically

Change-Id: I8e3f117f76a4446cedae62287560ddd17a0ac469
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoBGP Peer Reset Session Test 83/65783/48
Tomas Markovic [Tue, 21 Nov 2017 07:45:51 +0000 (08:45 +0100)]
BGP Peer Reset Session Test

Using new reset-session command on oxygen

Change-Id: Ibd8347d8bd3cbcfb69c75801c0251a96a5370109
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
6 years agoAdd ability/flag to clean OS in suite setup 46/67046/2
Jamo Luhrsen [Thu, 11 Jan 2018 06:05:06 +0000 (22:05 -0800)]
Add ability/flag to clean OS in suite setup

it will make it easier for other environments to adopt our
upstream CSIT if we can also easily provide the ability to
clean up the environment from any left overs that their
previous tests may have left over.

Change-Id: I0b8347b98f864c70298647049836d128997fb7c4
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoFix list typo in tcpdump keyword 64/67064/2
Sam Hague [Thu, 11 Jan 2018 14:42:58 +0000 (09:42 -0500)]
Fix list typo in tcpdump keyword

Change-Id: I73982f0559a6fe621f047e6e1e6b587acb339aa6
Signed-off-by: Sam Hague <shague@redhat.com>
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>