Recent gate jobs are showing that event simulators monkey-patches time lib in incorrect way

Bug #1410360 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Triaged
Low
Unassigned

Bug Description

Recent gate jobs are showing that event simulators monkey-patches time lib in incorrect way

2015-01-13 14:51:20.384 | py27 runtests: commands[2] | /home/jenkins/workspace/gate-trove-python27/.tox/py27/bin/python generate_examples.py
2015-01-13 14:51:20.384 | /home/jenkins/workspace/gate-trove-python27$ /home/jenkins/workspace/gate-trove-python27/.tox/py27/bin/python generate_examples.py
2015-01-13 14:51:22.051 | Traceback (most recent call last):
2015-01-13 14:51:22.051 | File "/home/jenkins/workspace/gate-trove-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
2015-01-13 14:51:22.051 | timer()
2015-01-13 14:51:22.051 | File "/home/jenkins/workspace/gate-trove-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
2015-01-13 14:51:22.052 | cb(*args, **kw)
2015-01-13 14:51:22.052 | File "/home/jenkins/workspace/gate-trove-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
2015-01-13 14:51:22.052 | result = function(*args, **kwargs)
2015-01-13 14:51:22.052 | File "/home/jenkins/workspace/gate-trove-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 112, in inner_func
2015-01-13 14:51:22.053 | time.sleep(1)
2015-01-13 14:51:22.053 | File "/home/jenkins/workspace/gate-trove-python27/trove/tests/util/event_simulator.py", line 138, in fake_sleep
2015-01-13 14:51:22.053 | raise RuntimeError("Sleeping for no reason.")

Changed in trove:
status: New → Triaged
importance: Undecided → Low
milestone: none → ongoing
Amrith Kumar (amrith)
Changed in trove:
assignee: nobody → Amrith (amrith)
Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith Kumar (amrith) → nobody
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.