Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-72

timeout_test fails in Tornado 3

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.5
    • Affects Version/s: None
    • Component/s: None
    • None

      Need to diagnose:

      ======================================================================
      ERROR: test_timeout (test_motor_client.MotorClientTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/testing.py", line 427, in wrapper
          functools.partial(f, self), timeout=timeout)
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/ioloop.py", line 389, in run_sync
          return future_cell[0].result()
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/concurrent.py", line 129, in result
          raise_exc_info(self.__exc_info)
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/gen.py", line 206, in handle_exception
          if runner is not None and runner.handle_exception(typ, value, tb):
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/gen.py", line 580, in handle_exception
          self.run()
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/gen.py", line 529, in run
          yielded = self.gen.throw(*exc_info)
        File "/Users/emptysquare/.virtualenvs/motor/motor/test/test_motor_client.py", line 120, in test_timeout
          yield [timeout_fut, notimeout_fut]
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/stack_context.py", line 343, in _handle_exception
          if tail.exit(*exc):
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/stack_context.py", line 186, in exit
          return self.exception_handler(type, value, traceback)
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/gen.py", line 210, in handle_exception
          future.set_exc_info((typ, value, tb))
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/concurrent.py", line 125, in set_exc_info
          self.set_exception(exc_info[1])
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/concurrent.py", line 87, in set_exception
          self._set_done()
        File "/Users/emptysquare/.virtualenvs/motor/motor/.tox/tornado3-py26/lib/python2.6/site-packages/tornado/concurrent.py", line 95, in _set_done
          for cb in self._callbacks:
      TypeError: 'NoneType' object is not iterable
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: