b2f6b4cae45a51ba55fe9daa4dddd0bb24cfbf37
Commit Graph

27 Commits

Author SHA1 Message Date
Luong Anh Tuan
b060b655b5 Indicating the location tests directory in oslo_debug_helper
According to [1], we can passing a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solves ImportError exception.
[1] https://docs.openstack.org/developer/oslotest/features.html
Change-Id: I0e4b2707a4f9bd6b1449624ba585ece5dab7c451
Closes-Bug: #1666560 
2017年03月15日 01:16:14 +00:00
Cao Xuan Hoang
5e4cc13bd6 Advertise support for python 3 and drop py34 jobs
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
This patch add support python 3 to classifier and drop py34 environment
from tox
Change-Id: I69c1c724990aadb7aecabd264382ffd661eb632a
2017年02月08日 08:49:28 +00:00
Bob Melander
be8a13003f Adds Tempest scenario test for networking-bgpvpn
This patch adds a scenario test that creates an l3 VPN and
assigns two neutron networks/subnets to it. Two nova VMs are
spun up on each network. To verify that the VPN is functional,
i.e., forwards traffic between the two subnets, one of the
VM pings the other one.
Change-Id: Ic38aab48fa364ad53ef061566fe5ebc1a46fec33
Closes-Bug: #1637489 
2016年12月01日 14:01:24 +01:00
Thomas Morin
52fcabab1d Use temporary directory for neutron and horizon install
This change applies to tools/tox_install.sh equivalent
fixes that the ones applied in I54d400dea4efdf9ac9b580ff7f0a2bbcceb4df5e
for neutron-lbaas, in particular to use a temporary directory for
zuul-cloner installs.
More details are in the commit message for
I54d400dea4efdf9ac9b580ff7f0a2bbcceb4df5e.
Change-Id: I0c700511e5a63cd66144ad334eb18aa60afb544a
Co-Authored-By: Andreas Jaeger <aj@suse.com>
2016年11月09日 17:05:25 +00:00
Thomas Morin
7fe4874eb8 Fix tox cover target
Mimic what is done in neutron-lbaas to have a working cover target.
Change-Id: I20fb1bbd9fa8e04155c94263beba4444cbc38963
2016年11月04日 09:15:14 +01:00
Luong Anh Tuan
496a3243e1 Don't include openstack/common in flake8 exclude list
There is no this directory openstack/common which was used to keep codes from
oslo-incubator, we have retired oslo-incubator. Removing openstack/commonfrom
all OpenStack code in favor of the Oslo libraries is a project wide goal
for the Ocata release. So don't use this directory any more. We should drop it
for improving searching efficiency.
Change-Id: I3b719139a143ed497ddcef29c54c2dcdf343cf64
2016年10月31日 11:17:44 +07:00
Pierre Crégut
2840d82fbb Support infrastructure for functional tests.
- Modified tox.ini with functional and dsvm-functional entries.
- Added a folder functional with an empty file for added requirements and a
 placeholder test so that the infrastructure does not complain.
- No rootwrap at this stage.
Change-Id: Iabb47feb5dc05c671aeb0d4b91b8835e7ee66427
Related-Bug: 1632212
2016年10月12日 16:31:04 +02:00
Daniel Mellado
bca7d4b393 Use os-testr instead of testr
This commit switches the use of plain testr for os-testr in the tox
venvs.
Change-Id: I285f820b7de3109665dd7a38da389b7fd42acf80
2016年09月29日 17:53:31 +02:00
Thomas Morin
5aa1598469 Use constrained pip install for all jobs
Similarly as in I02b28d3b354c3b175147c5be36eea4dc7e05f2a3 .
Change-Id: Ia8fd880e6a4dda080befedc4a85a9fa7b55f7772
2016年08月30日 14:09:38 +02:00
Henry Gessau
a044cf722b Enable DeprecationWarning in test environments
Many deprecations are triggered early (on imports, for example)
before the warnings are enabled by the WarningsFixture in the
base test class.
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.
Change-Id: Id88216090ea0ebdf9c1353eb713ccfed72c84630
2016年08月09日 18:38:11 -04:00
qinchunhua
67e6e9f5e2 Delete execute permission of two files
This two files were given execution permission
by mistake. This patch removes the error permission.
Change-Id: Iba2f54ab1fd7ec36011dc1873322859322d6c001
2016年08月04日 03:10:25 +00:00
qinchunhua
bd538d5ffe Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I2e656f961b1f29d1aa64ae6e06ac0598186c4144
2016年08月01日 22:25:03 -04:00
Jenkins
83773a8e5d Merge "Bring models in sync with migrations, add test" 2016年07月28日 15:13:16 +00:00
Henry Gessau
cc1cf23ee7 Bring models in sync with migrations, add test
Bring the sqlalchemy models in sync with the alembic migrations.
Add the neutron standard model-migration sync test. The test is
added to the unit test env since bgpvpn does not have a
functional job yet. This requires that bgpvpn uses the
python-db-jobs template in the gate.
The neutron HasTenant model mixin includes an index for the
tenant_id column, but bgpvpn's alembic migrations never created
those indexes. So here we include a migration to add them.
(Also clean up some unused parameters and __init__ files.)
Closes-Bug: #1605608
Partial-Bug: #1604803
Depends-On: I3a8ea02b86846e9a8a7d7f2aee9700ca952b0248
Change-Id: I24d35f7dccab611143f4b0a7428ba7074f2adcc2
2016年07月26日 00:07:44 +00:00
Thomas Monguillon
ca7f0b35d7 Update API usage with Python and a sample code
Change-Id: I4abc3fa972e08e21098596cff7b957acec463949
2016年07月12日 09:29:42 +00:00
Cedric Savignan
c93da24ec4 Horizon plugin to let the admin handle BGPVPN
Add a new panel BGPVPN in Admin section to display BGPVPN created. The
page allow actions as create, delete or modify BGPVPN resources.
Add an API file bgpvpn to handle the bgpvpn Python API via
neutronclient.
Change-Id: Iee2de53c8cb9d61f80033ab63485bdcf0e742abb
Implements: blueprint horizon-admin-workflow
2016年06月22日 16:41:50 +02:00
Thomas Morin
e8c379efd7 Make test jobs constrained
This change updates tox.ini and tools/tox_install.sh so that
we impose upper constraints on dependencies.
This is done by reusing what was done in neutron-lbaas.
(we also update our tools/tox_install to benefit from
a few improvements that have been brought to the one in
neutron-lbaas)
This change also declare our test dependency on pylint
in test-requirements.txt, rather than in tox.ini, so that
we don't endup with a pylint version that is inconsistent
with the one global-requirements would draw.
Change-Id: I904286860a5b8471f5da9312ee23bdf49004f1b0
Suggested-By: Ihar Hrachyshka <ihrachys@redhat.com>
2016年06月03日 18:01:56 +00:00
Doug Hellmann
9315d41f81 fix release notes build
Add the missing file to show changes from the "current" branch, allowing
reviewers to see how release notes file render before approving the
patches.
Remove the stray reference to README.rst in the toctree, since there is
no such file.
Add the -W option to the build so that bad notes that break sphinx fail
the release notes job.
Change-Id: I756ec20f85b7ba9f1e5cf713f480611bf8c94bc1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016年04月20日 12:12:34 -04:00
Mathieu Rohon
cc76311cc5 Add support for reno release-notes manager
Change-Id: I5328d724695d1a51d4670e6f9861d0c89706c31e
2016年04月18日 11:41:38 +00:00
Nikolas Hermanns
401a043792 Fixing pylint upgrade issues
Change-Id: Ie085e2f2e1c03ccbf0f95405c6f6a53d73e1db38
2016年02月17日 15:59:30 +01:00
janonymous
7683a00a96 py26/py33 are no longer supported by Infra's CI
Python 3.3/2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.
Change-Id: Icb7ce22ad95a508c1b04554a74ec3144685abc1e
2015年12月26日 14:15:20 +05:30
Thomas Morin
9db191c370 pylint fixes + pylint downgrade
This change corrects a few issue reported by pylint 1.5.
Since pylint 1.5 since to also introduces false positive on imports,
this change also forces the use of a pylint <1.5 (to be revisited later).
Change-Id: Ic7bbf152c835983ddb055ba36bb559576a2a137d
2015年11月30日 14:50:25 +01:00
Thomas Morin
5959bbfbbf add pylint in tox pep8 task
This change updates tox.ini so that the pep8 jobs
does a pylint check of the source code.
This the same as done in many other projects, in particular
.pylintrc is based on the one in neutron.
Change-Id: Ib46cb485345896c4f5eabd3b1d705200b0640963
Depends-On: I0cab12f2775f4f803d2eeee4cc6d6f06da5d4b7a
2015年10月06日 14:37:40 +02:00
Thomas Morin
d985550e8b Alembic migration update/cleanup
This change updates and cleans up our alembic migration code:
- we now use an alembic migration entry point, instead of shipping
 our own db management tool
- use expand/contract alembic branches
- downgrade is not supported anymore, drop it
Change-Id: I8eb68075c720cd7252bd178c1bf08ef0947cd0d0
Closes-Bug: 1489876
2015年10月02日 15:03:29 +02:00
Thomas Morin
7071225128 Avoid cloning neutron on test jobs
Mimic what neutron-lbaas is doing to avoid cloning
neutron repo on each test job, following guidance by
fungi.
Change-Id: I4c3bbaf568ba7ac96caf7534ec4294e18d6c7cee
2015年07月06日 15:15:00 +02:00
mathieu-rohon
289477f9d5 Adding initial unit tests
This change adds an initial framework to run unit tests with tox.
A first set of unit tests is provided to test the extension part.
Change-Id: Ib914bcf3e06ede5218926dedde2ab83ab70b8485
2015年05月18日 16:01:40 +02:00
mathieu-rohon
8cf13efde8 Initial Cookiecutter Commit.
Change-Id: I071b6feffb5843b6aa5fd85fba8b4f385812144d
2015年02月25日 16:29:32 +01:00