yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60854
[Bug 1659655] [NEW] test fails with a bogus message: 'WaitTimeout' object has no attribute 'seconds'
Public bug reported:
On some timeouts, the following is seen in test logs (e.g. [1]):
Traceback (most recent call last):
File "neutron/tests/base.py", line 117, in func
self.fail('Execution of this test timed out: %s' % e)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/eventlet/timeout.py", line 108, in __str__
if self.seconds is None:
AttributeError: 'WaitTimeout' object has no attribute 'seconds'
This seems to be due to WaitTimeout inheriting from eventlet.timeout.Timeout but not using its constructor [2] which initiates self.seconds.
[1] http://logs.openstack.org/56/425756/1/check/gate-neutron-dsvm-functional-ubuntu-xenial/c6bb644/console.html#_2017-01-26_15_57_28_297978
[2] https://github.com/eventlet/eventlet/blob/master/eventlet/timeout.py#L51
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1659655
Title:
test fails with a bogus message: 'WaitTimeout' object has no attribute
'seconds'
Status in neutron:
New
Bug description:
On some timeouts, the following is seen in test logs (e.g. [1]):
Traceback (most recent call last):
File "neutron/tests/base.py", line 117, in func
self.fail('Execution of this test timed out: %s' % e)
File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/eventlet/timeout.py", line 108, in __str__
if self.seconds is None:
AttributeError: 'WaitTimeout' object has no attribute 'seconds'
This seems to be due to WaitTimeout inheriting from eventlet.timeout.Timeout but not using its constructor [2] which initiates self.seconds.
[1] http://logs.openstack.org/56/425756/1/check/gate-neutron-dsvm-functional-ubuntu-xenial/c6bb644/console.html#_2017-01-26_15_57_28_297978
[2] https://github.com/eventlet/eventlet/blob/master/eventlet/timeout.py#L51
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1659655/+subscriptions
Follow ups