ExportXMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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-rhel9-fips-latest fails in 'run tests' (step 2.2 of 2) at pytest startup. No tests run.

      Link to task:

      https://spruce.corp.mongodb.com/task/mongo_python_driver_other_hosts_rhel9_fips_latest_test_no_toolchain_async_noauth_ssl_replica_set_0656094d314ca8c32e19e6720660b75690392ed2_26_11_17_19_47_10/logs?execution=0

      Context of when and why the failure occurred:

      New regression. The last passing run is revision c1cc6651 (2026-11-11 22:59 UTC); the first failing run is b4773a9c minutes later, a change to uv.lock only ("Automation: Update uv.lock"). All 14-plus scheduled runs since fail. The task passed 18 of 38 runs in the last 28 days, all before that revision.

      Cause: the tests run on the host's system Python 3.11.2 (UV_PYTHON=/usr/bin/python3.11). FIPS mode on this image makes Python reject hash-based .pyc files; since the lock update, pytest aborts at plugin load. The bump includes pytest 9.1.1 to 9.2.0. Which installed file is hash-based is not yet identified.

      Impact: all three test-no-toolchain tasks on other-hosts-rhel9-fips-latest fail this way. There is no driver test signal on FIPS hosts.

      Stack trace:

      E   ImportError: hash-based PYC validation (siphash24) not available in FIPS mode
      Running with python 3.11.2 (main, May 24 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)]
      Command 'subprocess.exec' in function 'run tests' (step 2.2 of 2) failed: process encountered problem: exit code 3.
      

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

              Created:
              Updated: