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

Test Failure - test.test_auth.TestGSSAPI.test_gssapi_threaded

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: None
    • Component/s: None
    • None

      "RuntimeError: IOLoop is already running" would seem to indicate a problem with synchro, rather than the driver.

       [2017/03/31 14:18:45.906] test_gssapi_threaded (test.test_auth.TestGSSAPI) ... Exception in thread Thread-23:
       [2017/03/31 14:18:45.906] Traceback (most recent call last):
       [2017/03/31 14:18:45.906]   File "/opt/python/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
       [2017/03/31 14:18:45.906]     self.run()
       [2017/03/31 14:18:45.906]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/tmp/mongo-python-driver/test/test_auth.py", line 69, in run
       [2017/03/31 14:18:45.907]     assert self.collection.find_one({'$where': delay(1)}) is not None
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 114, in _wrap_synchro
       [2017/03/31 14:18:45.907]     motor_obj = fn(*args, **kwargs)
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 104, in _unwrap_synchro
       [2017/03/31 14:18:45.907]     return fn(*args, **kwargs)
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 275, in synchronized_method
       [2017/03/31 14:18:45.907]     return IOLoop.current().run_sync(partial)
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 452, in run_sync
       [2017/03/31 14:18:45.907]     self.start()
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 752, in start
       [2017/03/31 14:18:45.907]     raise RuntimeError("IOLoop is already running")
       [2017/03/31 14:18:45.907] RuntimeError: IOLoop is already running
       [2017/03/31 14:18:45.907] Exception in thread Thread-24:
       [2017/03/31 14:18:45.907] Traceback (most recent call last):
       [2017/03/31 14:18:45.907]   File "/opt/python/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
       [2017/03/31 14:18:45.907]     self.run()
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/tmp/mongo-python-driver/test/test_auth.py", line 69, in run
       [2017/03/31 14:18:45.907]     assert self.collection.find_one({'$where': delay(1)}) is not None
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 114, in _wrap_synchro
       [2017/03/31 14:18:45.907]     motor_obj = fn(*args, **kwargs)
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 104, in _unwrap_synchro
       [2017/03/31 14:18:45.907]     return fn(*args, **kwargs)
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 275, in synchronized_method
       [2017/03/31 14:18:45.907]     return IOLoop.current().run_sync(partial)
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 452, in run_sync
       [2017/03/31 14:18:45.907]     self.start()
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 752, in start
       [2017/03/31 14:18:45.907]     raise RuntimeError("IOLoop is already running")
       [2017/03/31 14:18:45.907] RuntimeError: IOLoop is already running
       [2017/03/31 14:18:45.907] Exception in thread Thread-22:
       [2017/03/31 14:18:45.907] Traceback (most recent call last):
       [2017/03/31 14:18:45.907]   File "/opt/python/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
       [2017/03/31 14:18:45.907]     self.run()
       [2017/03/31 14:18:45.907]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/tmp/mongo-python-driver/test/test_auth.py", line 69, in run
       [2017/03/31 14:18:45.907]     assert self.collection.find_one({'$where': delay(1)}) is not None
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 114, in _wrap_synchro
       [2017/03/31 14:18:45.907]     motor_obj = fn(*args, **kwargs)
       [2017/03/31 14:18:45.907]   File "synchro/__init__.py", line 104, in _unwrap_synchro
       [2017/03/31 14:18:45.907]     return fn(*args, **kwargs)
       [2017/03/31 14:18:45.908]   File "synchro/__init__.py", line 275, in synchronized_method
       [2017/03/31 14:18:45.908]     return IOLoop.current().run_sync(partial)
       [2017/03/31 14:18:45.908]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 452, in run_sync
       [2017/03/31 14:18:45.908]     self.start()
       [2017/03/31 14:18:45.908]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 752, in start
       [2017/03/31 14:18:45.908]     raise RuntimeError("IOLoop is already running")
       [2017/03/31 14:18:45.908] RuntimeError: IOLoop is already running
       [2017/03/31 14:18:46.884] FAIL
       [2017/03/31 14:18:46.889] ======================================================================
       [2017/03/31 14:18:46.889] FAIL: test_gssapi_threaded (test.test_auth.TestGSSAPI)
       [2017/03/31 14:18:46.889] ----------------------------------------------------------------------
       [2017/03/31 14:18:46.889] Traceback (most recent call last):
       [2017/03/31 14:18:46.889]   File "/data/mci/37e4c65019c913452b4d22a09ab618cb/src/.tox/synchro/tmp/mongo-python-driver/test/test_auth.py", line 212, in test_gssapi_threaded
       [2017/03/31 14:18:46.889]     self.assertTrue(thread.success)
       [2017/03/31 14:18:46.889] AssertionError: False is not true
      

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

              Created:
              Updated:
              Resolved: