116 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
0adb29f0f0 Updated from global requirements
Change-Id: Ie8727686892488a9bc603b039d34d763b5be7b5c
2017-08-03 00:34:17 +00:00
Armando Migliaccio
bd4c2c9760 Add bandit target to tox
Change-Id: I3ca2f77e026167bf6828072ccd02872e7c504c1c
2017-07-28 17:49:28 -07:00
OpenStack Proposal Bot
016e9a2bf8 Updated from global requirements
Change-Id: Ia3d2664396defe1646828baf89c66a01aa0f1b37
2017-07-28 01:15:52 +00:00
jeremy.zhang
3e4cb0817d Replace test.attr() with decorators.attr()
Function 'tempest.test.attr()' has been moved to'tempest.lib.decorators.attr()'
in Pike and will be removed in a future version [1]. This patch is to replace
'tempest.test.attr()' with 'tempest.lib.decorators.attr()'.

[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2

Depends-On: I50b823b049d0e391ac517f7ec72380a12fa81176
Change-Id: I1e511166a114a79504404c88579f6cb0c4caaebe
2017-07-13 03:31:15 +00:00
Jenkins
3a894d0b9e Merge "Updated from global requirements" 2017-07-06 02:07:50 +00:00
OpenStack Proposal Bot
7108948823 Updated from global requirements
Change-Id: Ia2976638308a98fdf42218034aab296b9a0a98a3
2017-07-05 13:15:02 +00:00
Akihiro Motoki
f64110f652 Use flake8-import-order plugin
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
It enforces loose checking so it sounds good to use it.
This flake8 plugin is already used in tempest.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Setup for unit tests of hacking rules is tweaked to disable
flake8-import-order checks. This extension assumes an actual file exists
and causes hacking rule unit tests.

Change-Id: Ib51bd97dc4394ef2b46d4dbb7fb36a9aa9f8fe3d
2017-07-05 03:15:27 +00:00
OpenStack Proposal Bot
8856a761a2 Updated from global requirements
Change-Id: I218dbc85d829e96fb94cf840c910980c764ed454
2017-06-20 11:47:04 +00:00
Akihiro Motoki
2a1b0b0523 docs: switch to openstackdocstheme
The docs reorganization proposed in the docs-specs [1],
we will migrate our sphinx theme to openstackdocsthems.
This commit switches our docs theme to it,

Also ajust title levels. openstackdocstheme assume one title (first
level) per page.  Second or later first-level titles are not shown.
This changes title levels to match openstackdocsthem requirements.

Note that oslosphinx is used by releasenotes build,
so it is not dropped from test-requirements.txt.

[1] https://review.openstack.org/#/c/472275/

Change-Id: I72d55c26401ae9bfd06626d1b1584a368bbd9f86
2017-06-16 08:20:54 +09:00
OpenStack Proposal Bot
8d9fcb2d30 Updated from global requirements
Change-Id: Ie8979725f50c7d6fd8d1101bc344c7b46bfe029b
2017-06-08 06:03:54 +00:00
OpenStack Proposal Bot
7c33804ef2 Updated from global requirements
Change-Id: Ia887d89a60a96ede04460dc06135c9c016b232d8
2017-05-17 03:51:56 +00:00
OpenStack Proposal Bot
a3c84de5d8 Updated from global requirements
Change-Id: I6af8fc82ff7dce731f7f7baae88160af31a214ad
2017-03-04 11:19:58 +00:00
ricolin
c3dda72181 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Ie0a2cef329e2820ffe60c512a4870c0c3053574a
2017-03-02 17:52:11 +00:00
Victor Morales
a14439549f Add bashate support
Bashate is a style checker program for bash scripts.  This addition
improves the quality of the current bash scripts and ensures that
any future change will follow the same standards.

Change-Id: Ia346f77632d4ac7beb288fa3aacea221d7969c87
2017-02-25 06:29:55 +00:00
OpenStack Proposal Bot
72e9f60ca6 Updated from global requirements
Change-Id: I847eb889cae34b49130cdb2d5b1b50faf773b460
2017-02-13 15:15:21 +00:00
OpenStack Proposal Bot
8754b9c2a1 Updated from global requirements
Change-Id: Ib2c3bd4ef0d953b35e7472ef053f7004afa2cdb5
2016-12-28 09:11:12 +00:00
Ihar Hrachyshka
605df9cb94 Moving pyroute and oslo.privsep deps into requirements.txt
It is true that the code using the modules is still utilized in tests
only; but it's also true that those deps are now needed for example for
oslo-config-generator to work, so in the end, it's not only about tests.

Change-Id: I9e27aca32be03130057e00c727d29cb26532e860
Related-Bug: #1492714
2016-12-17 07:39:59 +00:00
Omer Anson
9183da7c96 Adopt privsep and read routing table with pyroute2
Make use of oslo.privsep to support namespaces. This includes all
relevant code necessary for oslo.privsep to work.

Change ip_lib's get_routing_table method to use pyroute2, rather than
parsing the output of 'ip route'.

Change-Id: I89bfa3dbf1776da973cfca389b2841019a520f75
Partial-Bug: 1492714
Co-Authored-By: Angus Lees <gus@inodes.org>
2016-12-21 17:52:58 +02:00
OpenStack Proposal Bot
427a960d68 Updated from global requirements
Change-Id: Ie4e90456ba686a8e7a74625df659bef100c7031c
2016-11-22 13:56:13 +00:00
Ihar Hrachyshka
4e25ba840a Switch to new hacking 0.12
The release includes its own check for delayed string interpolation for
log messages, so we can now remove our own check for the same thing. The
check is off-by-default, so we need to explicitly enable it. Sadly,
select= directive in tox.ini is broken [1] so we need to enable the
check with flake8 argument instead.

[1] https://github.com/PyCQA/pycodestyle/issues/390

Change-Id: Idc6b8e5b1cb594e130d4cc0cbcfffd362f9ab86a
2016-11-08 03:36:00 +00:00
OpenStack Proposal Bot
ac2b7b0592 Updated from global requirements
Change-Id: I24f6b2ef22df782b24741020c77ee416f4b591f7
2016-11-04 14:10:47 +00:00
OpenStack Proposal Bot
a44543ff68 Updated from global requirements
Change-Id: Ib28315e083cb7c96f78c4423246b59dae4b3d456
2016-10-22 01:22:09 +00:00
OpenStack Proposal Bot
f1099f1212 Updated from global requirements
Change-Id: I46f0ff10c62040a705d984940f839de1c8954bdd
2016-10-07 19:40:57 +00:00
OpenStack Proposal Bot
ddc2367a94 Updated from global requirements
Change-Id: I61477af8822a0f623b7bebef6b53f8e833b6293a
2016-09-27 22:34:47 +00:00
Henry Gessau
e17d8eca22 Remove requests-mock from test-requirements
It should have been removed when vpnaas was decomposed.

Change-Id: I24efaa5e775bcb25ca6f9a2abc5b602ceaaa09b4
2016-09-26 00:31:59 -04:00
OpenStack Proposal Bot
114dc49510 Updated from global requirements
Change-Id: I804fe75a8b54152ec206344c420b69dc2b1a6a46
2016-09-01 04:58:44 +00:00
Ken'ichi Ohmichi
54b2efe29d Use tempest.lib tenants_client
Tempest 12.1.0 has been released for new library interfaces.
These interfaces are stable[1] and we need to switch using them
instead of current using unstable interfaces.
This will be helpful to avoid breaking gate jobs.

[1]: https://github.com/openstack/tempest/blob/master/doc/source/library.rst#stability

Change-Id: I74a5d5ed43f758b88a22ded293d85d046005d41f
2016-07-01 15:57:03 -07:00
OpenStack Proposal Bot
6914c7751a Updated from global requirements
Change-Id: I0990756b0d133e51cbde1f85cab8c8d3891b72a3
2016-06-24 17:07:49 +00:00
OpenStack Proposal Bot
2dd7344869 Updated from global requirements
Change-Id: I037bfe39806b22e8ecc79552547a254e401dd719
2016-06-22 19:59:09 +00:00
OpenStack Proposal Bot
4874af3904 Updated from global requirements
Change-Id: I3923798bea15fbd75138482af3bbe094079d4349
2016-06-13 21:52:14 +00:00
Miguel Angel Ajo
40e10a3150 Add sanity check for idempotent id's in tempest tests
Idempotent id's for tempest tests must be unique, as it's used to trace
tests even in the event of refactors [1].

This patch adds a new check using check-uuid tool from tempest to
validate id uniqueness. This adds a new test-only dependency to pull in
tempest from PyPI to make pep8 tox target work.

Also, the duplicate idempotent id's in our tests have been fixed.

[1]
http://docs.openstack.org/developer/tempest/HACKING.html#test-identification-with-idempotent-id

Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
Change-Id: Ie92e4576d9ce6c26f19bdd668426c71a62409e7a
2016-06-08 23:51:15 +02:00
OpenStack Proposal Bot
93eeaf669b Updated from global requirements
Change-Id: I0a80cee947037f511f19ac648c6e26cee2128743
2016-06-02 04:06:04 +00:00
Jenkins
e0c2122222 Merge "Use unittest2 uniformly across Neutron" 2016-06-01 16:18:53 +00:00
OpenStack Proposal Bot
5fc3fbe7ae Updated from global requirements
Change-Id: I210a60dbd4f1eaf339858188e46a2bb2c24f0730
2016-05-31 18:53:18 +00:00
OpenStack Proposal Bot
2592b39df1 Updated from global requirements
Change-Id: I23b9bcbc2d94e8b03ba5fca885ebd94ca51c295b
2016-05-28 00:36:03 +00:00
Martin Hickey
afaad48aa3 Use unittest2 uniformly across Neutron
unittest2 contains bug fixes to unittest for all versions of Python<3.5.
Move unittest references to unittest2.

Bumped hacking requirement to reflect the version in
openstack/requirements that is the minimal version that supports
off_by_default checks.

Change-Id: I2d26534230ffe5d01aa0aab6ec902f81cfba774d
Depends-On: I883223962426ed8e9cdf4e304dfed17ef0946c8a
2016-05-23 13:13:17 +00:00
liusheng
8ada9cd197 Remove cliff requirement in test-requirements.txt
Neutron tests don't depend on cliff.

Change-Id: I5f62947505e4f1a216307a6df8dbcdf9de7cf5af
2016-05-16 01:23:23 +00:00
Armando Migliaccio
965e1d18a7 Move away from invoking api tests explicitly
Since adoption of the Tempest plugin framework, this
extra plumbing is no longer necessary in tree.

Related-bug: 1555356

Depends-on: If5f7ea82c45494953452f728fabb7403d0b6e14e
Change-Id: I5377f33c5a7b29f97f00878e048d154378a4fe34
2016-04-15 17:13:59 +00:00
OpenStack Proposal Bot
8e983aad03 Updated from global requirements
Change-Id: I0524752926e5fd084ffee073def311bc2bb25667
2016-04-13 03:42:01 +00:00
Armando Migliaccio
a6513175b5 Tempest 11.0.0 is released
Move the requirement to test-requirements so that we can pick up
bot proposals. Let's also match the global-requirement pin.

https://pypi.python.org/pypi/Tempest/11.0.0

Depends-on: Id2c7e09611c1f8b06e6d272589b4ea3435b8de86
Change-Id: I91d6432eabe3de1620fa1ab07ea715e29de62296
2016-04-08 16:36:34 +00:00
OpenStack Proposal Bot
1858fca7df Updated from global requirements
Change-Id: I00574395a3eae0520b94248418915e2923ce8b9f
2016-03-17 21:21:18 +00:00
Armando Migliaccio
e3210bc880 Switch to using in-tree tempest lib
As a result of change db9672e3473cd, tempest_lib is no
longer a thing we should be using.

Change-Id: I47f368fdce477d7419cc8fc23eb17264df42932d
2016-02-26 14:00:11 +00:00
OpenStack Proposal Bot
a953b53c65 Updated from global requirements
Change-Id: I459dde6aa704cc2b160004bd33b51cab7096c550
2016-02-14 23:09:06 +00:00
OpenStack Proposal Bot
bc7f4a65be Updated from global requirements
Change-Id: Ide4b3bac4b271499269f3e03429d202b5f7b81f1
2016-02-08 02:40:46 +00:00
OpenStack Proposal Bot
caf1297c17 Updated from global requirements
Change-Id: Ia4001c53f4c2c3d1076fa7533dfd095245ef8082
2016-01-16 03:28:47 +00:00
OpenStack Proposal Bot
bb29121fa6 Updated from global requirements
Change-Id: I96df4154c7f1305fbf15974a2e6b4eef7eae78af
2016-01-14 13:48:21 +00:00
OpenStack Proposal Bot
e1115a7de7 Updated from global requirements
Change-Id: I3782e12d497174fa30394f7d0e70d944f992d45f
2015-12-23 00:34:19 +00:00
OpenStack Proposal Bot
f5a2c20dd0 Updated from global requirements
Change-Id: I8a67bd6ce1dfd0872ab2b50ab8a4d43fe48e308b
2015-12-09 21:57:52 +00:00
OpenStack Proposal Bot
bedd13cb1d Updated from global requirements
Change-Id: I86877c2e483d8fbce66ef7338d9a0f353c45c9dd
2015-12-07 09:11:45 +00:00
OpenStack Proposal Bot
d9248a9bd8 Updated from global requirements
Change-Id: I3362794f691e12081a4f5cef97b4e830dc44cbb1
2015-12-03 15:05:02 +00:00