tox is not working as works in other projects

Bug #1690091 reported by Surya Prakash Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-kubernetes
Fix Released
Undecided
Unassigned

Bug Description

tox -e cover

https://www.irccloud.com/pastebin/jxBQuHXF/

tox -e py35

https://www.irccloud.com/pastebin/WK4jgcfc/

Bug easily reproducible by following below steps :-

clone the new kolla-kubernetes repo and run the above commands.

==========================================================================
Traceback (most recent call last):
  File "/home/spsingh/workplace/kolla-kubernetes/kolla_kubernetes/tests/test_templates.py", line 189, in test_validate_templates
    on_each_template(func)
  File "/home/spsingh/workplace/kolla-kubernetes/kolla_kubernetes/tests/test_templates.py", line 72, in on_each_template
    '', 'resource-template')
  File "/home/spsingh/workplace/kolla-kubernetes/.tox/py35/lib/python3.5/site-packages/cliff/command.py", line 46, in __init__
    self._load_hooks()
  File "/home/spsingh/workplace/kolla-kubernetes/.tox/py35/lib/python3.5/site-packages/cliff/command.py", line 52, in _load_hooks
    self.app.command_manager.namespace,
AttributeError: 'str' object has no attribute 'command_manager'
Ran 22 tests in 27.891s (-0.114s)
FAILED (id=2, failures=1)
error: testr failed (1)
ERROR: InvocationError: "/bin/bash -c tools/test.sh ''"
______________________________________________________________ summary _______________________________________________________________
ERROR: py35: commands failed
===========================================================================

description: updated
description: updated
description: updated
description: updated
Revision history for this message
Surya Prakash Singh (confisurya) wrote :

Fix released in https://review.openstack.org/#/c/483097/1 but not been associated with bug id

Changed in kolla-kubernetes:
status: New → Fix Committed
status: Fix Committed → Fix Released
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.