neutron_lbaas.tests.unit.agent.test_agent.TestLbaasService.test_main failure in Python 3.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
Undecided
|
Unassigned |
Bug Description
While building the neutron-lbaas package in Debian Sid with Python 3.6, I get the below failure. As this looks like a broken test rather than a software bug, I've disabled running the unit test at package build time, however, it'd be nice to have it fixed.
My wet finger double guess without looking too much, is that there's a string type issue in this test that Python 3.6 doesn't like.
FAIL: neutron_
neutron_
-------
_StringException: Traceback (most recent call last):
File "/usr/lib/
return f(self, *args, **kwargs)
File "/home/
agent.main()
File "/home/
common_
File "/usr/lib/
**kwargs)
File "/usr/lib/
default_
File "/usr/lib/
prog = os.path.
File "/usr/lib/
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MagicMock
neutron-lbaas is now maintained by the octavia team. I forward this to octavia launchpad but it is now frozen. More recommended way is to file a bug on octavia storyboard (neutron-lbaas project).