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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sam Hague [Wed, 8 Nov 2017 18:51:14 +0000 (13:51 -0500)]
Don't process the prompt line
The Write Commands Until Expected Prompt Keyword
executes a command and then reads output until it sees
the prompt. It then returns all that read output. This
output is then split into lines - which means you get
the prompt line also.
This patch instructs Split To Lines to ignore the last
line (-1).
Change-Id: Ifea842f5b0fa0c45818be4e9cbaa2f0b33774af6
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Wed, 8 Nov 2017 17:13:22 +0000 (12:13 -0500)]
Don't dump the err/warn/exception
No need to collect this information as
it is also collected by the builder at the end of the test run.
Change-Id: I5c89cf7717f30ec72619bc2c05bc7e78b1e19bac
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Wed, 8 Nov 2017 17:06:34 +0000 (12:06 -0500)]
Reduce logging in model dumps
Change-Id: I19fa3df630344d3ed2990986bb6f1e5fac3df53e
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Wed, 8 Nov 2017 16:25:25 +0000 (11:25 -0500)]
Reduce logging in SG suite
Change-Id: I54d4f3382f2360cb7e7f96bb231f8c84a43a0b13
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Wed, 8 Nov 2017 15:59:22 +0000 (10:59 -0500)]
Reduce logging in OpenStackOperations
Change-Id: I07097ebe328c8823b841448ed3f25fa80ffcfd3e
Signed-off-by: Sam Hague <shague@redhat.com>
Jamo Luhrsen [Tue, 7 Nov 2017 01:01:12 +0000 (17:01 -0800)]
Redirect ostestr stderr output to /dev/null
comments in the code, but for completeness here is the reason:
There are tons of deprecation error messages when we use
ostestr in our CSIT environment (openstack via devstack)
The robot log files are very large and one culprit is all
these deprecation warnings. If we redirect stderr to /dev/null
we should be able to ignore them. We will miss any other
errors, however.
Change-Id: Ic533493cf3f271e4004c0eaf9f0cb2d52e2be8c9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Tue, 7 Nov 2017 00:01:50 +0000 (16:01 -0800)]
Remove extra Logging in VPNService suites
this is an ongoing effort to reduce our log sizes,
specifically the output.xml file which can grow
very large and takes a lot of resources to parse.
Change-Id: I2f1b603f977d2804f8c992fe40ffcfb521de91a2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Fri, 20 Oct 2017 22:00:30 +0000 (15:00 -0700)]
Collect debugs before tempest teardown
- the tempest.api.network bucket is still run with ostestr so it
can take advantage of the parallel execution and will not pause
on teardown.
- all scenario tests are broken out to be run one at a time and
will collect debugs on teardown.
Change-Id: I2e30d543c61ddbc726a7d409e2444dbd46ae488c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Fri, 3 Nov 2017 17:35:32 +0000 (10:35 -0700)]
Remove logging of ${output} of tempest run
The robot keyword to Read Until Prompt is also giving the
full output so it's unnecessary and duplicate to also Log
it. This will help reduce our log sizes
Change-Id: I2b8a7af7758b3358209b862d4ce6ded6cf1d6342
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Luis Gomez [Thu, 2 Nov 2017 01:59:38 +0000 (18:59 -0700)]
Add verification for OPNFLWPLUG-930
Change-Id: Ib049ec910b839faf6226e4b7ff182b76c075922f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Jamo Luhrsen [Wed, 1 Nov 2017 23:41:32 +0000 (16:41 -0700)]
Add floating_network_name to tempest.conf
in pike, the tempest tests need to know the name of the
external network to use for floating ips. This will
resolve one of the failures we have had since bringing
in the pike jobs
Change-Id: I7d8d84e95648ebbbf9fda2e368ce3b62382ebb5c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Fri, 20 Oct 2017 18:18:28 +0000 (11:18 -0700)]
Migrate AAA CSIT to use Variables.robot from .py
Also removing unused, empty suite.
Change-Id: I1ad9c2951c73373dda4dc38f4bf77a33eba0822e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Valentina Krasnobaeva [Mon, 10 Jul 2017 14:01:58 +0000 (16:01 +0200)]
IPv6: get IPV6_ADDR_POOL values from Variables
Get values for NET1_IPV6_ADDR_POOL and NET2_IPV6_ADDR_POOL from
netvirt/Variables.robot, instead of declare them at the beginning.
Change-Id: Idac6f6df96e95e7193bb756c3d5f657dd8e74034
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
Valentina Krasnobaeva [Wed, 28 Jun 2017 16:15:52 +0000 (18:15 +0200)]
CSIT: move NET1_IPV6_ADDR_POOL in Variables
Change-Id: If49d1179cdab507c351cbfab39afd4732a1ed75e
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
ananth [Fri, 27 Oct 2017 01:57:30 +0000 (21:57 -0400)]
Fix VTN Coordinator Oxygen Job Failure
VTN Coordinator Oxygen fails to install VTN Coordinator.
* Path added to the test file to be able to download and install
VTN Coordinator.
* Patch also modifies the image path/name for Nitrogen/Carbon also.
Change-Id: I4882a1d6d7dfd837bf4e507b764802cfe6c54de4
Signed-off-by: ananth <ananth.y@hcl.com>
Victor Pickard [Tue, 24 Oct 2017 17:27:41 +0000 (13:27 -0400)]
Remove VPN service and BGP VPN service
VPN service suite is already being run in
netvirt job, so don't run it again in the
l2gw job.
A new job will be created for BGP VPN
test suite.
Change-Id: Ia84de3da41c8e9155b217aeccd032c719bc06d6c
Signed-off-by: Victor Pickard <vpickard@redhat.com>
Jamo Luhrsen [Wed, 18 Oct 2017 21:46:52 +0000 (14:46 -0700)]
Remove unused BFD suite
this suite is not in use. Email discussion here:
https://lists.opendaylight.org/pipermail/genius-dev/2017-October/001929.html
Change-Id: Ibb121029e19a8ac5333895265217c742db69f613
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Thu, 26 Oct 2017 20:49:52 +0000 (13:49 -0700)]
Ignore pep8 E722
Existing code has started to fail on this error and causing
verify jobs to fail that have nothing to do with said existing
code. For now, we can ignore this to let work continue in
the int/test repo.
A jira ticket will be opened for someone to fix those related
erorrs (example below) and then remove this ignore = E722
statement.
Example:
./csit/libraries/AAAJsonUtils.py:208:13: E722 do not use bare except'
except:
^
Change-Id: Iee989ea6f2bcc3149988eb2e430fc7246c2d97e2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Tue, 17 Oct 2017 19:08:22 +0000 (12:08 -0700)]
Add a snippet about using jjb-deploy keyword
Change-Id: Ia3c1a602a7c629943c906ca3bbb57152bd66e98c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Thu, 19 Oct 2017 23:53:47 +0000 (16:53 -0700)]
Remove robot tags for skipping irrelevant things
we used to skip things if the openstack was mitaka or
if odl sg mode was transparent or learn. All of those
things no longer exist in our CSIT, so no need to
have them
Change-Id: I9b51d1c1317ef4352fff897a5713d86edcc2e49c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Luis Gomez [Thu, 19 Oct 2017 18:06:24 +0000 (11:06 -0700)]
Fix script typo. Argument is not used.
Change-Id: I5d8f9f0413d214ed3771ba833d67e7a82bea0442
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Luis Gomez [Thu, 19 Oct 2017 07:10:43 +0000 (00:10 -0700)]
Add AKKA debug in OF cluster test
Change-Id: I1c8657564785bcc3a156cd06d3167009f09eff2f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Sam Hague [Thu, 28 Sep 2017 21:12:22 +0000 (17:12 -0400)]
common tempest in DevstackUtils
Moved the tempest-specific functions from the test.robot
file over to the othr tempest functions in DevstackUtils.
This is in prep to add a single tempest test suite later.
Change-Id: I90041a5300b7749216eddd6cfa72166567bbbefc
Signed-off-by: Sam Hague <shague@redhat.com>
Yrineu Rodrigues [Wed, 18 Oct 2017 19:38:19 +0000 (16:38 -0300)]
Revert "Bug 9294:"
This reverts commit
4c84f63737c9e2ff189a28d1f59b5a88b7a17059.
Change-Id: I735033c33ae8facca4c1f24969e2e2a630ab6c10
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@serro.com>
Yrineu Rodrigues [Wed, 18 Oct 2017 18:06:48 +0000 (15:06 -0300)]
Fix BGPCEP TCPMD5 tests
Change-Id: Id21ec4fe2a4debf9b5d1ea2111e6126388a11869
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@serro.com>
Yrineu Rodrigues [Tue, 17 Oct 2017 21:45:24 +0000 (18:45 -0300)]
Bug 9294:
Well known mandatory attribute missing: ORIGIN
Change-Id: I4ca1a6ade0c46dd6ccdb499173aa8300490c9888
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@serro.com>
Jamo Luhrsen [Mon, 16 Oct 2017 17:22:23 +0000 (10:22 -0700)]
Remove Beryllium specific test code
specifically this commit is targeted at removing the compare
stream keyword calls that refer to Beryllium
also removed a few bits that referred to initializing variables
based on Lithium, which is also no longer relevant
Change-Id: I618e844c50ed6bf2e99ab454f1071f78669fa09e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Luis Gomez [Fri, 13 Oct 2017 04:23:03 +0000 (21:23 -0700)]
Clean up and rename OF CSIT jobs
Change-Id: I395c68ee3cc8cb12a3f9f46953042bc5175000e4
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Jamo Luhrsen [Wed, 4 Oct 2017 16:54:17 +0000 (09:54 -0700)]
Remove all test references to boron
There are still references to boron in some comments and
docs sections, but the intent here is to remove all test
code (lots of conditional stuff like IF boron do this or
that...).
Change-Id: Ib7aa9d755d7c2a28b0270e218dd5676f146a936a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>