Commit Graph

16 Commits

Author SHA1 Message Date
Sara Nierodzik 1603f200d7
Functional Job fix
This patch includes various changes in order to get the functional
job gate for the neutron-classifier to work as expected.

Previous patch includes changes made to openstack tox py36 and py37
jobs. Link to merged patch: https://review.opendev.org/#/c/672725/
Due to the dependency on neutron-lib the patch had to remove
the failing functional job from the gate in order to get merged.

Changes Include:
 - removes files that were used by the Zuul v2 functional test
and are not needed anymore.
 - adds dsvm-functional tox.ini changes as carried out by
 https://review.opendev.org/#/c/674336/ patch.
- remove unneeded extra job variables, the defaults are just fine
  and include these settings
- make test_path overridable in .stestr.conf
- make job voting

Change-Id: I180ac6df807864a4fd2b129ab525c7e78bca67c0
Co-Authored-By: Andreas Jaeger <aj@suse.com>
2019-08-08 15:21:56 +02:00
Boden R 7e3ae0075a Update Neutron Classifier for Zuulv3
This patch updates the testing of the neutron classifier
repository to be zuulv3 compliant. Changes include:
 - Added lower-constraints.txt file.
 - Added clarifying comments to requirements.txt including
   neutron-lib-current update.
 - Removed playbooks/legacy yaml files.
 - Modified coverage package version.
 - Added to testenv, testenv:dev in tox.ini

 This patch is part of the neutron-sibling-setup
 as documented in [1]. Changes were also based on zuulv3
 opencontrail patch [2] as well as updates made to
 x/vmware-nsx project.[3]

[1] https://etherpad.openstack.org/p/neutron-sibling-setup
[2] https://review.opendev.org/#/c/624782/
[3] https://review.opendev.org/#/c/670134/

Change-Id: I46ac45d97a5af24ae234f11952d6883cd3088ff7
2019-07-18 11:02:21 -06:00
Sara Nierodzik 30906ec3ff Neutron Classifier bug fixes
Changes include:
 -Replace openstack.org link with opendev.org
 -Delete pylint
 -Change way of adding neutron in the requirements.
 -Replace common_db_mixin with 'object'. [Reference:] 957eca96f4
 -Update Sphinx requirement version

Change-Id: Ie4eaa32819e04ec8c486e71430b29912e06fab29
Signed-off-by: Sara Nierodzik <sara.nierodzik@intel.com>
2019-07-05 15:51:46 +00:00
98k 4b56ba9525 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5fa0535ba31933233998cafeccabca9077e44cb3
2019-04-06 05:39:20 +00:00
Zuul a0446759a8 Merge "Updates to Openstack CLI to reflect Database." 2019-01-30 10:25:27 +00:00
David Shaughnessy 30b9277229 Updates to Openstack CLI to reflect Database.
Updates to Openstack Client to reflect current
state of Neutron Classiifier classifications
and comply with pep8 standards. Tests included but incomplete
until further changes to core code takes place.

Change-Id: I33165dcf3519912cdbb975366cdc5324d91f3fd7
Co-Authored-By: Nakul Dahiwade <nakul.dahiwade@intel.com>
2019-01-29 19:08:36 +00:00
Zuul 71446c348b Merge "Removed older version of python added 3.5" 2018-11-05 16:42:06 +00:00
98k e1b8b7b922 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I12da130a87f9dd6688ce21812e4c628ad4f0ae0e
2018-10-09 21:22:32 +00:00
qingszhao 6f59f9eec0 Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: Ibe5a2e3db791d87cfa3546f9e7b22876c67bf52a
2018-09-29 17:24:01 +08:00
Thaynara Silva 133d5be638 Version 0 Patch
- All classification types expressed in a single
   resource.
 - Classifications can be grouped inside classification
   groups resource which can be consumed by other
   neutron resources.
 - A list of supported classifications exists through
   classification type list resource.
 - Switch to stestr

Change-Id: I05acaf6419c294692ff270ad4a488a5e68749d67
Co-Authored-By: David Shaughnessy <david.shaughnessy@intel.com>
Co-Authored-By: Nakul Dahiwade <nakul.dahiwade@intel.com>
2018-08-21 17:37:40 +00:00
Andreas Jaeger c9eb004689
Avoid tools/tox_install
We do not need to install neutron anymore, this repo only uses
neutron-lib.

Remove tools/tox_install.sh and adjust tox.ini for using it.

Change-Id: I3a91fc221f2103a66f20ff2387974c88f8bd8a23
2018-03-12 11:10:07 +01:00
david shaughnessy 61b187d768 Functional Tests and Gate stub
- Adds modifications to tox.ini to enable functional testing
- adds the functional sub directory to the tests folder
- adds .zuul file to enable the Gate to start functional testing.

Change-Id: Id40c0feba1741328027bd285e10aa8899b4a12b9
2018-01-09 16:59:10 +00:00
Igor Duarte Cardoso cf18edfa63 Add tox wrapper to fetch neutron
This is a clone of networking-sfc's tools/tox_install.sh
that allows the optimal version of neutron to be installed
when running tox.

Related commit: 10cecb9837d5f8563b5a2f0de6d1081cbde05bdb

Change-Id: I28230acb499c8aa04033fa552da660ec80c4fd03
2017-08-15 15:05:39 +00:00
Igor Duarte Cardoso b945ada11f Update the neutron-classifier repo
This is essentially a maintenance patch to make the neutron-classifier
repo pass the gate again, and add a few bits and pieces before the
Common Classification Framework starts to be applied.

Change-Id: I6f075363aeb06820c3ba3262454c5820b1c16bef
2017-07-04 14:06:19 +00:00
Henry Gessau 6a48760faf 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: I5084e0ee77f9d84c3110974343b823cb5c78d98f
2016-08-09 20:02:06 -04:00
Sean M. Collins ffeaec7540 Initial Cookiecutter Commit. 2015-10-30 14:38:48 +09:00