ExportXMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • 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:

      https://spruce.corp.mongodb.com/task/mongo_python_driver_other_hosts_amazon2023_latest_test_no_toolchain_async_noauth_ssl_replica_set_patch_85b512a8035c9f16cb6c839d1be1012545687396_6b059986e405170007d2fc3a_26_11_24_14_04_59/tests?execution=0&sorts=STATUS%3AASC

      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
      

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: