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

[Build Failure] test_timeoutMS_applies_to_whole_operation,_not_individual_attempts_-_listDatabaseNames_on_client

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

       [2023/04/25 22:41:46.193] ======================================================================
       [2023/04/25 22:41:46.193] FAIL: test_timeoutMS_applies_to_whole_operation,_not_individual_attempts_-_listDatabaseNames_on_client (test_csot.TestCsotRetryabilityTimeoutMS)
       [2023/04/25 22:41:46.193] ----------------------------------------------------------------------
       [2023/04/25 22:41:46.193] Traceback (most recent call last):
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1282, in run_entity_operation
       [2023/04/25 22:41:46.193]     result = cmd(**dict(arguments))
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/mongo_client.py", line 1883, in list_database_names
       [2023/04/25 22:41:46.193]     return [doc["name"] for doc in self.list_databases(session, nameOnly=True, comment=comment)]
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/mongo_client.py", line 1856, in list_databases
       [2023/04/25 22:41:46.193]     res = admin._retryable_read_command(cmd, session=session)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/database.py", line 863, in _retryable_read_command
       [2023/04/25 22:41:46.193]     return self.__client._retryable_read(_cmd, read_preference, session)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/_csot.py", line 105, in csot_wrapper
       [2023/04/25 22:41:46.193]     return func(self, *args, **kwargs)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/mongo_client.py", line 1455, in _retryable_read
       [2023/04/25 22:41:46.193]     raise last_error
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/mongo_client.py", line 1464, in _retryable_read
       [2023/04/25 22:41:46.193]     return func(session, server, sock_info, read_pref)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/database.py", line 851, in _cmd
       [2023/04/25 22:41:46.193]     return self._command(
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/database.py", line 702, in _command
       [2023/04/25 22:41:46.193]     return sock_info.command(
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/pool.py", line 767, in command
       [2023/04/25 22:41:46.193]     return command(
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/network.py", line 166, in command
       [2023/04/25 22:41:46.193]     helpers._check_command_response(
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/pymongo/helpers.py", line 191, in _check_command_response
       [2023/04/25 22:41:46.193]     raise OperationFailure(errmsg, code, response, max_wire_version)
       [2023/04/25 22:41:46.193] pymongo.errors.OperationFailure: Failing command due to 'failCommand' failpoint, full error: {'errorLabels': ['RetryableWriteError'], 'operationTime': Timestamp(1682462104, 2), 'ok': 0.0, 'errmsg': "Failing command due to 'failCommand' failpoint", 'code': 7, 'codeName': 'HostNotFound', '$clusterTime': {'clusterTime': Timestamp(1682462104, 2), 'signature': {'hash': b'h%\xd8\xad\x7f*\xfc\x05\xe1\tKt\xc0B\xe0\x00\xbe\x97&\x00', 'keyId': 7226118562388115460}}}
       [2023/04/25 22:41:46.193] During handling of the above exception, another exception occurred:
       [2023/04/25 22:41:46.193] Traceback (most recent call last):
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1653, in test_case
       [2023/04/25 22:41:46.193]     self.run_scenario(spec)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1594, in run_scenario
       [2023/04/25 22:41:46.193]     return self._run_scenario(spec, uri)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1630, in _run_scenario
       [2023/04/25 22:41:46.193]     self.run_operations(spec["operations"])
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1541, in run_operations
       [2023/04/25 22:41:46.193]     self.run_entity_operation(op)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1289, in run_entity_operation
       [2023/04/25 22:41:46.193]     return self.process_error(exc, expect_error)
       [2023/04/25 22:41:46.193]   File "/data/mci/8e795ee018483e4c3ce3f604d4aea35e/src/test/unified_format.py", line 1019, in process_error
       [2023/04/25 22:41:46.193]     self.assertTrue(exception.timeout, msg=exception)
       [2023/04/25 22:41:46.193] AssertionError: False is not true : Failing command due to 'failCommand' failpoint, full error: {'errorLabels': ['RetryableWriteError'], 'operationTime': Timestamp(1682462104, 2), 'ok': 0.0, 'errmsg': "Failing command due to 'failCommand' failpoint", 'code': 7, 'codeName': 'HostNotFound', '$clusterTime': {'clusterTime': Timestamp(1682462104, 2), 'signature': {'hash': b'h%\xd8\xad\x7f*\xfc\x05\xe1\tKt\xc0B\xe0\x00\xbe\x97&\x00', 'keyId': 7226118562388115460}}}
       [2023/04/25 22:41:46.193] ----------------------------------------------------------------------
      

      https://spruce.mongodb.com/task/mongo_python_driver_test_macos__platform~macos_1014_auth~auth_ssl~nossl_test_4.4_replica_set_dfd82d2375bd641f9d7c70ae34751c1db3fc673d_23_04_25_22_28_10/logs?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: