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

Test Failure - test_validation_with_system_ca_certs Windows server selection timeout too low in tests

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

       [2023/04/14 21:24:24.562] ERROR [0.670s]: test_validation_with_system_ca_certs (test_ssl.TestSSL)
       [2023/04/14 21:24:24.562] ----------------------------------------------------------------------
       [2023/04/14 21:24:24.562] Traceback (most recent call last):
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\test\__init__.py", line 604, in wrap
       [2023/04/14 21:24:24.562]     return f(*args, **kwargs)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\test\__init__.py", line 604, in wrap
       [2023/04/14 21:24:24.562]     return f(*args, **kwargs)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\test\utils.py", line 847, in wrapper
       [2023/04/14 21:24:24.562]     return wrapped(*args, **kwargs)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\test\test_ssl.py", line 432, in test_validation_with_system_ca_certs
       [2023/04/14 21:24:24.562]     connected(
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\test\utils.py", line 773, in connected
       [2023/04/14 21:24:24.562]     client.admin.command("ping")  # Force connection.
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\_csot.py", line 106, in csot_wrapper
       [2023/04/14 21:24:24.562]     return func(self, *args, **kwargs)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\database.py", line 819, in command
       [2023/04/14 21:24:24.562]     with self.__client._socket_for_reads(read_preference, session) as (
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\mongo_client.py", line 1306, in _socket_for_reads
       [2023/04/14 21:24:24.562]     server = self._select_server(read_preference, session)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\mongo_client.py", line 1267, in _select_server
       [2023/04/14 21:24:24.562]     server = topology.select_server(server_selector)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\topology.py", line 272, in select_server
       [2023/04/14 21:24:24.562]     server = self._select_server(selector, server_selection_timeout, address)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\topology.py", line 261, in _select_server
       [2023/04/14 21:24:24.562]     servers = self.select_servers(selector, server_selection_timeout, address)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\topology.py", line 223, in select_servers
       [2023/04/14 21:24:24.562]     server_descriptions = self._select_servers_loop(selector, server_timeout, address)
       [2023/04/14 21:24:24.562]   File "C:\data\mci\4b0f001761b48f6d571bc1c72a292fb3\src\pymongo\topology.py", line 238, in _select_servers_loop
       [2023/04/14 21:24:24.562]     raise ServerSelectionTimeoutError(
       [2023/04/14 21:24:24.562] pymongo.errors.ServerSelectionTimeoutError: No replica set members match selector "Primary()", Timeout: 0.1s, Topology Description: <TopologyDescription id: 6439c40eae3051f83f002874, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None>, <ServerDescription ('localhost', 27018) server_type: Unknown, rtt: None>, <ServerDescription ('localhost', 27019) server_type: RSArbiter, rtt: 0.016000000000076398>]>
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_windows_python_version_32_bit__platform~windows_64_vsMulti_small_auth_ssl~auth_ssl_python_version_windows_32~3.8_test_latest_replica_set_patch_be355e2bea995ad72c8d1fde6dedf9ec7a637352_6439be54306615789fa5c080_23_04_14_20_57_57/logs?execution=0&sortBy=STATUS&sortDir=ASC

            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: