Many of the test_discovery_and_monitoring tests are failing on Jython after PYTHON-2121:
[2020/06/08 22:21:13.792] FAIL [0.004s]: test_single_too_old_then_upgraded (test_discovery_and_monitoring.TestAllScenarios) [2020/06/08 22:21:13.792] ---------------------------------------------------------------------- [2020/06/08 22:21:13.792] Traceback (most recent call last): [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 196, in run_scenario [2020/06/08 22:21:13.792] check_outcome(self, c, phase['outcome']) [2020/06/08 22:21:13.792] File "/opt/python/jython2.7/Lib/contextlib.py", line 35, in __exit__ [2020/06/08 22:21:13.792] self.gen.throw(type, value, traceback) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/utils.py", line 908, in assertion_context [2020/06/08 22:21:13.792] py3compat.reraise(type(exc), msg, sys.exc_info()[2]) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/bson/py3compat.py", line 93, in reraise [2020/06/08 22:21:13.792] _reraise(exctype, str(value), trace) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 196, in run_scenario [2020/06/08 22:21:13.792] check_outcome(self, c, phase['outcome']) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 132, in check_outcome [2020/06/08 22:21:13.792] topology.description.check_compatible() [2020/06/08 22:21:13.792] AssertionError: ConfigurationError not raised (phase: 0) [2020/06/08 22:21:13.792] ====================================================================== [2020/06/08 22:21:13.792] FAIL [0.004s]: test_single_unavailable_seed (test_discovery_and_monitoring.TestAllScenarios) [2020/06/08 22:21:13.792] ---------------------------------------------------------------------- [2020/06/08 22:21:13.792] Traceback (most recent call last): [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 196, in run_scenario [2020/06/08 22:21:13.792] check_outcome(self, c, phase['outcome']) [2020/06/08 22:21:13.792] File "/opt/python/jython2.7/Lib/contextlib.py", line 35, in __exit__ [2020/06/08 22:21:13.792] self.gen.throw(type, value, traceback) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/utils.py", line 908, in assertion_context [2020/06/08 22:21:13.792] py3compat.reraise(type(exc), msg, sys.exc_info()[2]) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/bson/py3compat.py", line 93, in reraise [2020/06/08 22:21:13.792] _reraise(exctype, str(value), trace) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 196, in run_scenario [2020/06/08 22:21:13.792] check_outcome(self, c, phase['outcome']) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 141, in check_outcome [2020/06/08 22:21:13.792] self.assertTrue(topology.has_server(node)) [2020/06/08 22:21:13.792] AssertionError: False is not true (phase: 0) [2020/06/08 22:21:13.792] ====================================================================== [2020/06/08 22:21:13.792] FAIL [0.006s]: test_cluster_time_comparison (test_discovery_and_monitoring.TestClusterTimeComparison) [2020/06/08 22:21:13.792] ---------------------------------------------------------------------- [2020/06/08 22:21:13.792] Traceback (most recent call last): [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 241, in test_cluster_time_comparison [2020/06/08 22:21:13.792] send_cluster_time(0, 1, True) [2020/06/08 22:21:13.792] File "/data/mci/63413093ee2027ce2b8ba045c08ab46d/src/test/test_discovery_and_monitoring.py", line 237, in send_cluster_time [2020/06/08 22:21:13.792] self.assertEqual(actual, new) [2020/06/08 22:21:13.792] AssertionError: None != {'clusterTime': Timestamp(0, 1)}
- is caused by
-
PYTHON-2121 Unify behavior around configuration for replica set discovery
- Closed
- is related to
-
PYTHON-2286 Check for unclosed PeriodicExecutors at the end of the test suite
- Backlog
-
PYTHON-2279 Test failure - Jython test_v2_unacknowledged_findOneAndDelete WriteConcernError: operation was interrupted at sh01
- Closed