[oslo][neutron] Neutron Functional Test Failures with oslo.privsep 1.31.0

Ben Nemec openstack at nemebean.com
Tue Jan 15 17:51:19 UTC 2019

On 1/15/19 11:16 AM, Ben Nemec wrote:
> On 1/15/19 6:49 AM, Doug Hellmann wrote:
>> Ben Nemec <openstack at nemebean.com> writes:
>>> I tried to set up a test environment for this, but I'm having some
>>> issues. My local environment is defaulting to python 3, while the gate
>>> job appears to have been running under python 2. I'm not sure why it's
>>> doing that since the tox env definition doesn't specify python 3 (maybe
>>> something to do with https://review.openstack.org/#/c/622415/ ?), but
>>> either way I keep running into import issues.
>>> I'll take another look tomorrow, but in the meantime I'm afraid I
>>> haven't made any meaningful progress. :-(
>> If no version is specified in the tox.ini then tox defaults to the
>> version of python used to install it.
> Ah, good to know. I think I installed tox as just "tox" instead of 
> "python-tox", which means I got the py3 version.
> Unfortunately I'm still having trouble running the failing test (and not 
> for the expected reason ;-). The daemon is failing to start with:
> ImportError: No module named tests.functional.utils
> I'm not seeing any log output from the daemon either for some reason so 
> it's hard to debug. There must be some difference between this and the 
> neutron test environment because in neutron I was getting daemon log 
> output in /opt/stack/logs.

Figured this part out. tox.ini wasn't inheriting some values in the same 
way as neutron. Fix proposed in https://review.openstack.org/#/c/631035/

Now hopefully I can make progress on the rest of it.

> I'll keep poking at it but I'm open to suggestions.

More information about the openstack-discuss mailing list