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

Test failure - test_legacy_api.TestLegacy.test_ensure_index_threaded/test_ensure_unique_index_threaded

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      Failures:

       [2019/01/31 10:28:49.406] FAIL [0.055s]: test_ensure_index_threaded (test_legacy_api.TestLegacy)
       [2019/01/31 10:28:49.406] ----------------------------------------------------------------------
       [2019/01/31 10:28:49.406] Traceback (most recent call last):
       [2019/01/31 10:28:49.406]   File "/data/mci/77aaf195cbba38e3dc6e0bc85d75054b/src/test/test_legacy_api.py", line 1291, in test_ensure_index_threaded
       [2019/01/31 10:28:49.406]     self.assertEqual(index_doc, first)
       [2019/01/31 10:28:49.406] AssertionError: {'_id[250 chars]ion'}, 'foo2_1': {'v': 2, 'key': [('foo2', 1)][43 chars]on'}} != {'_id[250 chars]ion'}}
       [2019/01/31 10:28:49.406]   {'_id_': {'key': [('_id', 1)],
       [2019/01/31 10:28:49.406]             'ns': 'pymongo_test.threaded_index_creation',
       [2019/01/31 10:28:49.406]             'v': 2},
       [2019/01/31 10:28:49.406]    'foo0_1': {'key': [('foo0', 1)],
       [2019/01/31 10:28:49.406]               'ns': 'pymongo_test.threaded_index_creation',
       [2019/01/31 10:28:49.406]               'v': 2},
       [2019/01/31 10:28:49.406]    'foo1_1': {'key': [('foo1', 1)],
       [2019/01/31 10:28:49.406]               'ns': 'pymongo_test.threaded_index_creation',
       [2019/01/31 10:28:49.406] -             'v': 2},
       [2019/01/31 10:28:49.406] -  'foo2_1': {'key': [('foo2', 1)],
       [2019/01/31 10:28:49.406] -             'ns': 'pymongo_test.threaded_index_creation',
       [2019/01/31 10:28:49.406]               'v': 2}}
       [2019/01/31 10:28:49.406]
      

      And:

       [2019/01/31 10:28:49.406] FAIL [0.429s]: test_ensure_unique_index_threaded (test_legacy_api.TestLegacy)
       [2019/01/31 10:28:49.406] ----------------------------------------------------------------------
       [2019/01/31 10:28:49.406] Traceback (most recent call last):
       [2019/01/31 10:28:49.406]   File "/data/mci/77aaf195cbba38e3dc6e0bc85d75054b/src/test/test_legacy_api.py", line 1351, in test_ensure_unique_index_threaded
       [2019/01/31 10:28:49.406]     self.assertEqual(10001, coll.count())
       [2019/01/31 10:28:49.406] AssertionError: 10001 != 10018
       

      Both are failing on 4.2-latest: https://evergreen.mongodb.com/task/mongo_python_driver_42dev_tests_python_version_requires_openssl_102_plus_test_ssl__auth_ssl~auth_ssl_python_version_requires_openssl_102_plus~3.7_test_latest_replica_set_patch_3242ebba9f0b2a7e24b070f7b96baee0d6d61072_5c533d253627e0217949fd03_19_01_31_18_24_03

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

              Created:
              Updated: