-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Infrastructure
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
test-no-toolchain-async-noauth-ssl-replica-set on other-hosts-amazon2023-latest:
test.asynchronous.test_discovery_and_monitoring.TestUnifiedRediscoverQuicklyAfterStepDown.test_Rediscover_quickly_after_replSetStepDown
Link to task:
Context of when and why the failure occurred:
New regression. The "[Spec Resync] 11-23-2026" change (#3244, revision 05ad7e86, merged 2026-11-23) resynced the unified spec file test/discovery_and_monitoring/unified/rediscover-quickly-after-step-down.json to schema version 1.30. The unified test runner supports schema version 1.28 (SCHEMA_VERSION in test/asynchronous/unified_format.py). The generated test fails in setup on the schema version assertion, before any test logic runs.
Last passing mainline run: revision acd5566b78 (2026-11-20). First failing mainline run: revision 05ad7e86 (2026-11-23), the spec resync itself. Its only failure is this test. 14 of the last 15 scheduled runs of this task succeeded. The patch task, PR #3248, is an unrelated fuzz corpus sync.
The same test fails with the same assertion on this patch's mongodb-v9.0 sync and async coverage tasks.
PYTHON-3405 recorded an earlier failure of the same test with a different root cause. This is a new occurrence.
Stack trace:
FAILURE: AssertionError: (1, 30, 0, 0) not less than or equal to (1, 28, 0, 0) : expected schema version 1.28.0.0 or lower, got 1.30.0.0 ()
self = <test.asynchronous.test_discovery_and_monitoring.TestUnifiedRediscoverQuicklyAfterStepDown testMethod=test_Rediscover_quickly_after_replSetStepDown>
async def asyncSetUp(self):
...
# process schemaVersion
# note: we check major schema version during class generation
version = Version.from_string(self.TEST_SPEC["schemaVersion"])
> self.assertLessEqual(
version,
self.SCHEMA_VERSION,
f"expected schema version {self.SCHEMA_VERSION} or lower, got {version}",
)
E AssertionError: (1, 30, 0, 0) not less than or equal to (1, 28, 0, 0) : expected schema version 1.28.0.0 or lower, got 1.30.0.0
test/asynchronous/unified_format.py:580: AssertionError