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

Test Failure - test_aggregate_raw_transaction on sharded clusters

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

       [2021/07/12 21:05:23.531] FAIL [0.483s]: test_aggregate_raw_transaction (test_cursor.TestRawBatchCommandCursor)
       [2021/07/12 21:05:23.531] ----------------------------------------------------------------------
       [2021/07/12 21:05:23.531] Traceback (most recent call last):
       [2021/07/12 21:05:23.531]   File "/data/mci/0003e268b07aa97da56ad18432a3b0f9/src/test/__init__.py", line 503, in wrap
       [2021/07/12 21:05:23.531]     return f(*args, **kwargs)
       [2021/07/12 21:05:23.531]   File "/data/mci/0003e268b07aa97da56ad18432a3b0f9/src/test/test_cursor.py", line 1691, in test_aggregate_raw_transaction
       [2021/07/12 21:05:23.531]     self.assertEqual(cmd.command['$clusterTime'], session.cluster_time)
       [2021/07/12 21:05:23.531] AssertionError: {u'clusterTime': Timestamp(1626123533, 287), u'signature': {u'keyId': 0L, u'hash': Binary('\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 0)}} != RawBSONDocument('X\x00\x00\x00\x11clusterTime\x009\x01\x00\x00\r\xad\xec`\x03signature\x003\x00\x00\x00\x05hash\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12keyId\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', codec_options=CodecOptions(document_class=<class 'bson.raw_bson.RawBSONDocument'>, tz_aware=False, uuid_representation=UuidRepresentation.PYTHON_LEGACY, unicode_decode_error_handler='strict', tzinfo=None, type_registry=TypeRegistry(type_codecs=[], fallback_encoder=None)))
      

      https://spruce.mongodb.com/task/mongo_python_driver_3.12_tests_python_version_amazon1_test_ssl__platform~awslinux_auth~noauth_ssl~nossl_python_version~2.7_coverage~coverage_test_5.0_sharded_cluster_patch_4d531d170d9092532ab9267718f3caa4933148aa_60ecab1ce3c3310f2ef4d4f1_21_07_12_20_50_37/logs?execution=0

            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: