tox -efunctional fails when tox picks python 3.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
melanie witt |
Bug Description
Currently, the functional tests can't be run with python 3.x and fail with a trace like this:
Failed to import test module: nova.tests.
Traceback (most recent call last):
File "/home/
module = self._get_
File "/home/
__import_
File "/home/
from nova.tests.
File "/home/
class ServersSampleBa
File "/home/
user_data = base64.
File "/home/
encoded = binascii.
TypeError: a bytes-like object is required, not 'str'
The test run didn't actually run any tests
ERROR: InvocationError: '/bin/bash tools/pretty_tox.sh nova.tests.
_______
ERROR: functional: commands failed
Fix proposed to branch: master /review. openstack. org/385207
Review: https:/