update for python3 train jobs
Change-Id: Ic104e1a67e69a2e06fb47db23896a14cacf9ca24
This commit is contained in:
parent
89549d48d1
commit
c3bf87fd05
26
.zuul.yaml
26
.zuul.yaml
@ -3,7 +3,7 @@
|
|||||||
- build-openstack-docs-pti
|
- build-openstack-docs-pti
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- openstack-python-jobs-neutron
|
- openstack-python-jobs-neutron
|
||||||
- openstack-python36-jobs
|
- openstack-python3-train-jobs
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- vmware-tox-lower-constraints
|
- vmware-tox-lower-constraints
|
||||||
@ -42,6 +42,18 @@
|
|||||||
- openstack/neutron-vpnaas
|
- openstack/neutron-vpnaas
|
||||||
- x/tap-as-a-service
|
- x/tap-as-a-service
|
||||||
- openstack/octavia
|
- openstack/octavia
|
||||||
|
- openstack-tox-py37:
|
||||||
|
timeout: 5400
|
||||||
|
required-projects:
|
||||||
|
- openstack/neutron
|
||||||
|
- openstack/networking-l2gw
|
||||||
|
- openstack/networking-sfc
|
||||||
|
- x/vmware-nsxlib
|
||||||
|
- openstack/neutron-fwaas
|
||||||
|
- openstack/neutron-dynamic-routing
|
||||||
|
- openstack/neutron-vpnaas
|
||||||
|
- x/tap-as-a-service
|
||||||
|
- openstack/octavia
|
||||||
gate:
|
gate:
|
||||||
queue: vmware-nsx
|
queue: vmware-nsx
|
||||||
jobs:
|
jobs:
|
||||||
@ -81,6 +93,18 @@
|
|||||||
- openstack/neutron-vpnaas
|
- openstack/neutron-vpnaas
|
||||||
- x/tap-as-a-service
|
- x/tap-as-a-service
|
||||||
- openstack/octavia
|
- openstack/octavia
|
||||||
|
- openstack-tox-py37:
|
||||||
|
timeout: 5400
|
||||||
|
required-projects:
|
||||||
|
- openstack/neutron
|
||||||
|
- openstack/networking-l2gw
|
||||||
|
- openstack/networking-sfc
|
||||||
|
- x/vmware-nsxlib
|
||||||
|
- openstack/neutron-fwaas
|
||||||
|
- openstack/neutron-dynamic-routing
|
||||||
|
- openstack/neutron-vpnaas
|
||||||
|
- x/tap-as-a-service
|
||||||
|
- openstack/octavia
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: vmware-tox-lower-constraints
|
name: vmware-tox-lower-constraints
|
||||||
|
@ -18,6 +18,7 @@ mysql [platform:rpm test]
|
|||||||
mysql-client [platform:dpkg test]
|
mysql-client [platform:dpkg test]
|
||||||
mysql-devel [platform:rpm test]
|
mysql-devel [platform:rpm test]
|
||||||
mysql-server [test]
|
mysql-server [test]
|
||||||
|
postgresql-server-dev-all [platform:dpkg]
|
||||||
postgresql [test]
|
postgresql [test]
|
||||||
postgresql-client [platform:dpkg test]
|
postgresql-client [platform:dpkg test]
|
||||||
postgresql-devel [platform:rpm test]
|
postgresql-devel [platform:rpm test]
|
||||||
|
@ -17,6 +17,7 @@ classifier =
|
|||||||
Programming Language :: Python :: 2.7
|
Programming Language :: Python :: 2.7
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages =
|
packages =
|
||||||
|
9
tox.ini
9
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py36,py27,pep8,docs
|
envlist = py27,py37,pep8
|
||||||
minversion = 2.0
|
minversion = 2.0
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
@ -77,7 +77,12 @@ setenv = OS_FAIL_ON_MISSING_DEPS=1
|
|||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
setenv = OS_FAIL_ON_MISSING_DEPS=1
|
setenv = OS_FAIL_ON_MISSING_DEPS=1
|
||||||
|
|
||||||
|
[testenv:py37]
|
||||||
|
basepython = python3.7
|
||||||
|
setenv = OS_FAIL_ON_MISSING_DEPS=1
|
||||||
|
|
||||||
[testenv:py27-dev]
|
[testenv:py27-dev]
|
||||||
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
{[testenv:dev]commands}
|
{[testenv:dev]commands}
|
||||||
pip freeze
|
pip freeze
|
||||||
@ -86,7 +91,7 @@ whitelist_externals =
|
|||||||
stestr
|
stestr
|
||||||
|
|
||||||
[testenv:py3-dev]
|
[testenv:py3-dev]
|
||||||
basepython = python3.5
|
basepython = python3.7
|
||||||
commands =
|
commands =
|
||||||
{[testenv:dev]commands}
|
{[testenv:dev]commands}
|
||||||
pip freeze
|
pip freeze
|
||||||
|
@ -1796,12 +1796,12 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
|||||||
set_len = len(ip_addresses)
|
set_len = len(ip_addresses)
|
||||||
ip_addresses.add(ap['ip_address'])
|
ip_addresses.add(ap['ip_address'])
|
||||||
if len(ip_addresses) == set_len:
|
if len(ip_addresses) == set_len:
|
||||||
msg = _('IP address %s is allowed '
|
msg = _('IP address %(ip)s is allowed '
|
||||||
'by more than 1 logical port. '
|
'by more than 1 logical port. '
|
||||||
'This is not supported by the '
|
'This is not supported by the '
|
||||||
'backend. Port security cannot '
|
'backend. Port security cannot '
|
||||||
'be enabled for network '
|
'be enabled for network %(net)s') % {
|
||||||
'%s') % (ap['ip_address'], id)
|
'ip': ap['ip_address'], 'net': id}
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
raise n_exc.BadRequest(
|
raise n_exc.BadRequest(
|
||||||
resource='networks',
|
resource='networks',
|
||||||
|
Loading…
Reference in New Issue
Block a user