unit test failure for privsep/pyroute2

Bug #1652051 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

after I89bfa3dbf1776da973cfca389b2841019a520f75
neutron/tests/base.py imports oslo_privsep, which breaks subprojects which use the base.py.

eg. http://logs.openstack.org/52/412352/14/gate/gate-networking-midonet-python27-db-ubuntu-xenial/ee324d8/console.html

2016-12-22 12:13:34.031270 | Failed to import test module: midonet.neutron.tests.unit.test_uplink_type_driver
2016-12-22 12:13:34.031284 | Traceback (most recent call last):
2016-12-22 12:13:34.031354 | File "/home/jenkins/workspace/gate-networking-midonet-python27-db-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
2016-12-22 12:13:34.031370 | module = self._get_module_from_name(name)
2016-12-22 12:13:34.031429 | File "/home/jenkins/workspace/gate-networking-midonet-python27-db-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
2016-12-22 12:13:34.031443 | __import__(name)
2016-12-22 12:13:34.031468 | File "midonet/neutron/tests/unit/test_uplink_type_driver.py", line 18, in <module>
2016-12-22 12:13:34.031503 | from midonet.neutron.tests.unit import test_midonet_type_driver as test_midonet
2016-12-22 12:13:34.031531 | File "midonet/neutron/tests/unit/test_midonet_type_driver.py", line 22, in <module>
2016-12-22 12:13:34.031546 | from neutron.tests import base
2016-12-22 12:13:34.031569 | File "/tmp/openstack/neutron/neutron/tests/base.py", line 45, in <module>
2016-12-22 12:13:34.031587 | from neutron.agent.linux import external_process
2016-12-22 12:13:34.031618 | File "/tmp/openstack/neutron/neutron/agent/linux/external_process.py", line 27, in <module>
2016-12-22 12:13:34.031638 | from neutron.agent.common import config as agent_cfg
2016-12-22 12:13:34.031663 | File "/tmp/openstack/neutron/neutron/agent/common/config.py", line 20, in <module>
2016-12-22 12:13:34.031678 | from oslo_privsep import priv_context
2016-12-22 12:13:34.031694 | ImportError: No module named oslo_privsep
2016-12-22 12:13:34.031710 | The test run didn't actually run any tests

Tags: gate-failure
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
importance: Undecided → Critical
assignee: nobody → YAMAMOTO Takashi (yamamoto)
milestone: none → 4.0.0
status: New → In Progress
summary: - unit test failure for privsep
+ unit test failure for privsep/pyroute2
description: updated
description: updated
tags: added: gate-failure
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

fixed by I9e27aca32be03130057e00c727d29cb26532e860

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-midonet (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/414107
Reason: no longer necessary after I9e27aca32be03130057e00c727d29cb26532e860

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.