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

Test Failure - no-server test_typeddict_find_notrequired

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

       [2022/11/14 22:08:25.515] ERROR [30.075s]: test_typeddict_find_notrequired (test_mypy.TestDocumentType)
       [2022/11/14 22:08:25.515] ----------------------------------------------------------------------
       [2022/11/14 22:08:25.515] Traceback (most recent call last):
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/test/test_mypy.py", line 438, in test_typeddict_find_notrequired
       [2022/11/14 22:08:25.515]     coll.insert_one(ImplicitMovie(name="THX-1138", year=1971))
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/collection.py", line 635, in insert_one
       [2022/11/14 22:08:25.515]     comment=comment,
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/collection.py", line 569, in _insert_one
       [2022/11/14 22:08:25.515]     self.__database.client._retryable_write(acknowledged, _insert_command, session)
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/mongo_client.py", line 1475, in _retryable_write
       [2022/11/14 22:08:25.515]     with self._tmp_session(session) as s:
       [2022/11/14 22:08:25.515]   File "/opt/python/3.7/lib/python3.7/contextlib.py", line 112, in __enter__
       [2022/11/14 22:08:25.515]     return next(self.gen)
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/mongo_client.py", line 1757, in _tmp_session
       [2022/11/14 22:08:25.515]     s = self._ensure_session(session)
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/mongo_client.py", line 1740, in _ensure_session
       [2022/11/14 22:08:25.515]     return self.__start_session(True, causal_consistency=False)
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/mongo_client.py", line 1685, in __start_session
       [2022/11/14 22:08:25.515]     self._topology._check_implicit_session_support()
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/topology.py", line 538, in _check_implicit_session_support
       [2022/11/14 22:08:25.515]     self._check_session_support()
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/topology.py", line 555, in _check_session_support
       [2022/11/14 22:08:25.515]     readable_server_selector, self.get_server_selection_timeout(), None
       [2022/11/14 22:08:25.515]   File "/data/mci/b3931a19129acf1762763e53e8a5ab64/src/pymongo/topology.py", line 240, in _select_servers_loop
       [2022/11/14 22:08:25.515]     % (self._error_message(selector), timeout, self.description)
       [2022/11/14 22:08:25.515] pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 6372bc33e9c256cdeb474c85, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused')>]>
      

      https://evergreen.mongodb.com/task/mongo_python_driver_no_server_no_server_363e0b2b2c12d0f0c4ef064b390086fea4688dc3_22_11_14_21_13_51

            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: