Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1179

Test failure - various pool tests with pypy(3)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None
    • Fully Compatible

      ======================================================================
      FAIL: test_no_wait_queue_timeout (test_pooling.TestPooling)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/mnt/jenkins/workspace/mongo-python-driver/extensions/without-extensions/label/linux64/mongodb_configuration/replica_set/mongodb_option/noauth/mongodb_server/master-release/python_language_version/pypy/test/test_pooling.py", line 329, in test_no_wait_queue_timeout
          self.assertEqual(t.sock, s1)
      AssertionError: SocketInfo(<socket._socketobject object at 0x0000000001e89478>) at 32019632 != SocketInfo(<socket._socketobject object at 0x0000000006c9a950>) CLOSED at 113879264
      
      ======================================================================
      FAIL: test_pool_reuses_open_socket (test_pooling.TestPooling)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/mnt/jenkins/workspace/mongo-python-driver/extensions/without-extensions/label/linux64/mongodb_configuration/replica_set/mongodb_option/noauth/mongodb_server/master-release/python_language_version/pypy/test/test_pooling.py", line 202, in test_pool_reuses_open_socket
          self.assertEqual(sock_info, new_sock_info)
      AssertionError: SocketInfo(<socket._socketobject object at 0x000000000217b750>) CLOSED at 35108744 != SocketInfo(<socket._socketobject object at 0x000000000217b910>) at 35109192
      
      ======================================================================
      FAIL: test_socket_closed (test_pooling.TestPooling)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/mnt/jenkins/workspace/mongo-python-driver/extensions/without-extensions/label/linux64/mongodb_configuration/replica_set/mongodb_option/noauth/mongodb_server/master-release/python_language_version/pypy/test/test_pooling.py", line 254, in test_socket_closed
          self.assertFalse(socket_closed(s))
      AssertionError: True is not false
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: