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

Test failure - test_spec_missingKey_Insert_with_encryption_on_a_missing_key

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.10
    • Affects Version/s: None
    • Component/s: Resyncing Spec Tests
    • None

      Caused by CDRIVER-3125 and fixed by SPEC-1445. We need to resync the encryption spec tests:

      2019/09/13 15:23:40.646] ======================================================================
       [2019/09/13 15:23:40.646] FAIL: test_spec_malformedCiphertext_Malformed_data (test_encryption.TestSpec)
       [2019/09/13 15:23:40.646] ----------------------------------------------------------------------
       [2019/09/13 15:23:40.646] Traceback (most recent call last):
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/__init__.py", line 432, in wrap
       [2019/09/13 15:23:40.646]     return f(*args, **kwargs)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/__init__.py", line 432, in wrap
       [2019/09/13 15:23:40.646]     return f(*args, **kwargs)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/test_encryption.py", line 537, in run_scenario
       [2019/09/13 15:23:40.646]     self.run_scenario(scenario_def, test)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 527, in run_scenario
       [2019/09/13 15:23:40.646]     self.run_test_ops(sessions, collection, test)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 444, in run_test_ops
       [2019/09/13 15:23:40.646]     self.run_operations(sessions, collection, test['operations'])
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 332, in run_operations
       [2019/09/13 15:23:40.646]     str(context.exception).lower())
       [2019/09/13 15:23:40.646] AssertionError: u'did not provide all keys' not found in 'not all keys requested were satisfied'
       [2019/09/13 15:23:40.646] ======================================================================
       [2019/09/13 15:23:40.646] FAIL: test_spec_missingKey_Insert_with_encryption_on_a_missing_key (test_encryption.TestSpec)
       [2019/09/13 15:23:40.646] ----------------------------------------------------------------------
       [2019/09/13 15:23:40.646] Traceback (most recent call last):
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/__init__.py", line 432, in wrap
       [2019/09/13 15:23:40.646]     return f(*args, **kwargs)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/__init__.py", line 432, in wrap
       [2019/09/13 15:23:40.646]     return f(*args, **kwargs)
       [2019/09/13 15:23:40.646]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/test_encryption.py", line 537, in run_scenario
       [2019/09/13 15:23:40.646]     self.run_scenario(scenario_def, test)
       [2019/09/13 15:23:40.647]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 527, in run_scenario
       [2019/09/13 15:23:40.647]     self.run_test_ops(sessions, collection, test)
       [2019/09/13 15:23:40.647]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 444, in run_test_ops
       [2019/09/13 15:23:40.647]     self.run_operations(sessions, collection, test['operations'])
       [2019/09/13 15:23:40.647]   File "/data/mci/5dbfa95b38067b1aa6700fc8f77e543a/src/test/utils_spec_runner.py", line 332, in run_operations
       [2019/09/13 15:23:40.647]     str(context.exception).lower())
       [2019/09/13 15:23:40.647] AssertionError: u'did not provide all keys' not found in 'not all keys requested were satisfied'
      

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

              Created:
              Updated:
              Resolved: