yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36084
[Bug 1474266] Re: py34 unit test starts to fail after Routes 2.1 is excluded in global requirements
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1474266
Title:
py34 unit test starts to fail after Routes 2.1 is excluded in global
requirements
Status in networking-midonet:
Fix Committed
Status in neutron:
Fix Released
Bug description:
Routes 2.1 was recently excluded in global-requirements as Nova requests it.
As a result, we have no version of Routes which is compatible with Python 3.
We need to excluded affected tests until we have python3 compat Routes.
This bug is now blocking requirements update by the cron job.
http://logs.openstack.org/46/182746/73/check/gate-neutron-
python34/be0d939/console.html
2015-07-13 22:23:32.840 | ======================================================================
2015-07-13 22:23:32.840 | ERROR: neutron.tests.unit.extensions.test_portsecurity.TestPortSecurity.test_update_port_remove_port_security_security_group_read
2015-07-13 22:23:32.840 | ----------------------------------------------------------------------
2015-07-13 22:23:32.840 | Empty attachments:
2015-07-13 22:23:32.840 | pythonlogging:'neutron.api.extensions'
2015-07-13 22:23:32.840 |
2015-07-13 22:23:32.840 | pythonlogging:'': {{{2015-07-13 22:23:25,263 INFO [neutron.manager] Loading core plugin: neutron.tests.unit.extensions.test_portsecurity.PortSecurityTestPlugin}}}
2015-07-13 22:23:32.840 |
2015-07-13 22:23:32.840 | Traceback (most recent call last):
2015-07-13 22:23:32.840 | File "/home/jenkins/workspace/gate-neutron-python34/neutron/tests/unit/extensions/test_portsecurity.py", line 171, in setUp
2015-07-13 22:23:32.841 | super(PortSecurityDBTestCase, self).setUp(plugin)
2015-07-13 22:23:32.841 | File "/home/jenkins/workspace/gate-neutron-python34/neutron/tests/unit/extensions/test_portsecurity.py", line 40, in setUp
2015-07-13 22:23:32.841 | super(PortSecurityTestCase, self).setUp(plugin=plugin, ext_mgr=ext_mgr)
2015-07-13 22:23:32.841 | File "/home/jenkins/workspace/gate-neutron-python34/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 121, in setUp
2015-07-13 22:23:32.841 | self.api = router.APIRouter()
2015-07-13 22:23:32.841 | File "/home/jenkins/workspace/gate-neutron-python34/neutron/api/v2/router.py", line 104, in __init__
2015-07-13 22:23:32.841 | mapper.connect('index', '/', controller=Index(RESOURCES))
2015-07-13 22:23:32.841 | File "/home/jenkins/workspace/gate-neutron-python34/.tox/py34/lib/python3.4/site-packages/routes/mapper.py", line 487, in connect
2015-07-13 22:23:32.841 | route = Route(*args, **kargs)
2015-07-13 22:23:32.841 | File "/home/jenkins/workspace/gate-neutron-python34/.tox/py34/lib/python3.4/site-packages/routes/route.py", line 85, in __init__
2015-07-13 22:23:32.841 | self._setup_route()
2015-07-13 22:23:32.842 | File "/home/jenkins/workspace/gate-neutron-python34/.tox/py34/lib/python3.4/site-packages/routes/route.py", line 101, in _setup_route
2015-07-13 22:23:32.842 | for key, val in self.reqs.iteritems():
2015-07-13 22:23:32.842 | AttributeError: 'dict' object has no attribute 'iteritems'
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1474266/+subscriptions
References