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

Test Failure - Atlas connect tests

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

      Atlas connect tests are failing after the changes in PYTHON-3620:

       [2023/03/02 21:10:27.098] ERROR: test_srv_free_tier (__main__.TestAtlasConnect)
       [2023/03/02 21:10:27.098] ----------------------------------------------------------------------
       [2023/03/02 21:10:27.098] Traceback (most recent call last):
       [2023/03/02 21:10:27.098]   File "/data/mci/96f84c3bf0923b35ff348214c6f1b558/src/test/atlas/test_connection.py", line 92, in test_srv_free_tier
       [2023/03/02 21:10:27.098]     self.connect_srv(URIS["ATLAS_SRV_FREE"])
       [2023/03/02 21:10:27.098]   File "/data/mci/96f84c3bf0923b35ff348214c6f1b558/src/test/atlas/test_connection.py", line 86, in connect_srv
       [2023/03/02 21:10:27.098]     connect(uri)
       [2023/03/02 21:10:27.098]   File "/data/mci/96f84c3bf0923b35ff348214c6f1b558/src/test/atlas/test_connection.py", line 58, in connect
       [2023/03/02 21:10:27.098]     client = pymongo.MongoClient(uri)
       [2023/03/02 21:10:27.098]   File "/data/mci/96f84c3bf0923b35ff348214c6f1b558/src/pymongo/mongo_client.py", line 743, in __init__
       [2023/03/02 21:10:27.098]     res = uri_parser.parse_uri(
       [2023/03/02 21:10:27.098]   File "/data/mci/96f84c3bf0923b35ff348214c6f1b558/src/pymongo/uri_parser.py", line 469, in parse_uri
       [2023/03/02 21:10:27.098]     raise ConfigurationError(
       [2023/03/02 21:10:27.098] pymongo.errors.ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs. To fix this error install pymongo again:
       [2023/03/02 21:10:27.098]  /data/mci/96f84c3bf0923b35ff348214c6f1b558/src/atlastest/bin/python -m pip install pymongo>=4.3
      

      https://evergreen.mongodb.com/task/mongo_python_driver_atlas_connect__platform~ubuntu_18.04_python_version~3.9_atlas_connect_c27ce70d1c7a7cb0230fc5c33fdb1bbc8a66fc5d_23_03_02_01_02_24

            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: