Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
3.9
-
None
-
None
Description
SRV polling tests are failing on pymongo master with CPython 2.7 in EVG:
https://evergreen.mongodb.com/version/mongo_python_driver_3236994c817431559deb549cc0a89fb92b8c40f4
Here is the traceback:
ERROR: super() argument 1 must be type, not None (ConfigurationError)
|
Traceback (most recent call last):
|
File "/data/mci/20f7d84206ae0261b89f90afa9cfbd1e/src/test/__init__.py", line 432, in wrap
|
return f(*args, **kwargs)
|
File "/data/mci/20f7d84206ae0261b89f90afa9cfbd1e/src/test/__init__.py", line 432, in wrap
|
return f(*args, **kwargs)
|
File "/data/mci/20f7d84206ae0261b89f90afa9cfbd1e/src/test/test_dns.py", line 64, in run_test
|
result = parse_uri(uri, validate=False)
|
File "/data/mci/20f7d84206ae0261b89f90afa9cfbd1e/src/pymongo/uri_parser.py", line 464, in parse_uri
|
dns_options = dns_resolver.get_options()
|
File "/data/mci/20f7d84206ae0261b89f90afa9cfbd1e/src/pymongo/srv_resolver.py", line 63, in get_options
|
raise ConfigurationError(str(exc))
|
ConfigurationError: super() argument 1 must be type, not None
|
In preliminary testing, it has not been possible to reproduce the failures. Repro was attempted both locally on OSX as well as on a spawn host with the Python toolchain. Repro was also attempted solely with dnspython but was unsuccessful.
Attachments
Issue Links
- is related to
-
PYTHON-2640 Replace dnspython with our own SRV dns implementation
-
- Closed
-
-
PYTHON-2665 Test failure - ConfigurationError: super() argument 1 must be type, not None
-
- Closed
-