Commit Graph

14 Commits

Author SHA1 Message Date
Chandan Kumar 813295f8cf Remove the bundled intree neutron tempest plugin
The plugin has been split into its own repository[1] in accordance with
Queens Goal "Split Tempest Plugins into Separate Repos/Projects[2]".
This patch removes the local copy as well as the setuptools entry point.
We can also now remove the autodoc_tree_excludes pbr option since
there's no more plugin to exclude and it defaults to [setup.py].

The patch leaves still in-tree base classes and constants in order to
avoid breakage of projects depending on such code. In the future, we
will deprecate those and gradually move affected subprojects to the new
repo.

List of affected repositories:
 - neutron-vpnaas
 - openstack-ansible-os_neutron
 - tripleo-quickstart-extras
 - networking-midonet
 - networking-l2gw
 - neutron-dynamic-routing
 - networking-vsphere
 - networking-plumgrid
 - networking-zvm

[1] http://git.openstack.org/cgit/openstack/neutron-tempest-plugin
[2] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html

Depends-On: I371aa4d5f043f695df04b98b0f485c8f0548f2b3

Change-Id: Ia21aad29d0bbf779583964db6f1665c9b3b83161
2017-11-22 12:54:33 -08:00
Boden R 1b8664f8e1 use qos constants from neutron-lib
neutron-lib contains the QoS constants. This patch removes them from
neutron and replaces all such uses to lib's QoS constants.

NeutronLibImpact

Change-Id: I6ed379b178a2b79fd14385a1d1e87d87eb04bfb9
2017-10-26 19:57:19 +00:00
Ihar Hrachyshka 62c5afbd95 Switch to tempest.common.utils.requires_ext
The old (tempest.test.requires_ext) location is deprecated in Pike.

Change-Id: I79a9c3033fb38780808e02f34966280aa9591bc8
2017-09-13 16:31:14 -06:00
Brian Haley bd9fc827c6 Fix some tempest deprecation warnings
Saw this recently in a tempest test run:

    DeprecationWarning: Read-only property 'manager'
    has moved to 'os_primary' in version 'Pike' and
    will be removed in version 'Queens'

Tempest BaseTestCase class credential names have changed
from manager->os_primary, admin->os_admin, and
alt_manager->os_alt, so we should start using them.

Closes-bug: #1697588
Change-Id: I44de8046fc983bf6780c310e8db174a5902c2826
2017-06-21 15:46:30 +00:00
YAMAMOTO Takashi 8528ea2b0e Disable QoS scenario tests differently
The test was disabled due to some issues in the reference implementation.
CIs for other implementations might not want to disable it.

Closes-Bug: #1689238
Related-Bug: #1662109
Change-Id: I36357e2ef967db3a73c2341903cd18f5109a006b
2017-05-08 19:02:11 +09:00
Jakub Libosvar 1a3cd5bae5 tempest: Obey ssh_timeout config option
The patch creates a new in-tree class that overrides default value for
tempest ssh.Client to the one defined by ssh_timeout config option.

Change-Id: I418519866e3cbd486fe0ffec23e1553ea0891420
2017-05-03 09:17:02 +00:00
Sławek Kapłoński 04618af085 Switch to use idempotent_id decorator from tempest.lib
Decorator idempotent_id() in tempest.test is deprecated and
tempest.lib.decorators.idempotent_id() should be used instead.
This patch switch all tempest tests to use new decorator.

Change-Id: I2df9c13fbb44b8807da6805761ad30bfd010dc55
2017-02-25 14:24:15 +00:00
Jakub Libosvar e674034aa1 tempest: Skip QoS test until fixed
The test is failing intermittently. In order to reach a better stability
of the job running in-tree tempest tests, this patch skips the test
until we come up with a proper fix.

Change-Id: I37f1488db258f6a4d383fb472cb5433c65371ac5
Related-bug: 1662109
2017-02-22 11:19:50 -05:00
Miguel Angel Ajo b7213030fd Simplify the QoS bandwidth test to increase reliability
The initial implementation was measuring the bandwidth stability
over segments of time. But recent failures on high gate pressure
has shown that such stability can't be expected on the edge.

The test now checks the average bandwidth during the whole transmission.

Change-Id: Ic6a00f20ce76aba319ecdada79f68599c891cf29
Closes-Bug: #1662109
2017-02-07 16:59:04 +01:00
YAMAMOTO Takashi 60dc1a0ce0 tempest: Fix qos extension check
Fix issues introduced by the recent change. [1]

[1] I88e59cdbd79afb5337052ba3e5aecb96c7c8ea1c

Closes-Bug: #1649171
Change-Id: I2a2b627fd30ec564d8c8566fd3e46eb889e15dc9
2016-12-12 11:15:52 +09:00
Sławek Kapłoński 9f19b3e7e1 Tempest tests uses only supported QoS rule types
If rule type required for QoS tempest test is not supported by current
configuration of Neutron then such test will be skipped.
For example if neutron-server is running with ML2 plugin only with openvswitch
mechanism driver loaded then tests related to MINIMUM_BANDWIDTH rule type will
be skipped because openvswitch mechanism driver don't support this kind of rule.

Change-Id: I88e59cdbd79afb5337052ba3e5aecb96c7c8ea1c
Closes-Bug: 1644097
2016-12-08 11:45:32 +00:00
Itzik Brown cc92b426e8 Using a new security group in scenario tests
Instead of using the default security group - creating and
using a new security group in setup_network_and_server.
This should help when two tests are in the same class and have the
same tenant which can cause problems when one test is changing the
security group, adding rules etc.

Also adding resource cleanup in API tests base for security groups.

Change-Id: I4997bb48edf05402aa8135e3fd70e4c16cafb114
2016-11-21 19:51:56 +02:00
YAMAMOTO Takashi 6bb214871c QoSTest: skip if qos extension is not available
Closes-Bug: #1603311
Change-Id: I2ed4a5e68ef926e006e1b16da98efe993bbd537f
2016-07-15 15:01:45 +09:00
Itzik Brown f01f6d5f81 qos basic scenario
Adding a basic test to check enforcement of QoS policy with
bandwidth limit rule QoS

Spec:
http://specs.openstack.org/openstack/neutron-specs/specs/liberty/qos-api-extension.html

Change-Id: Ifb319aefeee27b3e5f1bbe16ebb99bf73f4465e7
2016-07-10 17:45:14 +03:00