Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-5192

[Build Failure] Tests fail to start server

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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:

      drivers-orchestration: error: unrecognized arguments: pyopenssl

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_encryption_pyopenssl_rhel8_python3.12_test_4.0_standalone_noauth_nossl_sync_async_3653984f21880317e73df490ae237c4d44675f52_25_03_06_22_15_14/logs?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      PYTHON-5187

      Stack trace:

      [2025/03/06 16:28:37.586] INFO     Running command 'bash /data/mci/9a84071a45b54774d54668676779754f/drivers-tools/.evergreen/run-orchestration.sh pyopenssl'...
      [2025/03/06 16:28:37.596] Sourcing env file
      [2025/03/06 16:28:37.596] uv is /data/mci/9a84071a45b54774d54668676779754f/drivers-tools/.evergreen/venv/bin/uv
      [2025/03/06 16:28:37.729] usage: drivers-orchestration [-h] [--verbose] [--quiet] [--version VERSION]
      [2025/03/06 16:28:37.730]                              [--topology {standalone,replica_set,sharded_cluster}]
      [2025/03/06 16:28:37.730]                              [--auth] [--ssl]
      [2025/03/06 16:28:37.730]                              [--orchestration-file ORCHESTRATION_FILE]
      [2025/03/06 16:28:37.730]                              [--load-balancer] [--auth-aws]
      [2025/03/06 16:28:37.730]                              [--skip-crypt-shared] [--install-legacy-shell]
      [2025/03/06 16:28:37.730]                              [--disable-test-commands]
      [2025/03/06 16:28:37.730]                              [--storage-engine {,mmapv1,wiredtiger,inmemory}]
      [2025/03/06 16:28:37.730]                              [--require-api-version]
      [2025/03/06 16:28:37.730]                              [--mongo-orchestration-home MONGO_ORCHESTRATION_HOME]
      [2025/03/06 16:28:37.730]                              [--mongodb-binaries MONGODB_BINARIES]
      [2025/03/06 16:28:37.730]                              [--existing-binaries-dir EXISTING_BINARIES_DIR]
      [2025/03/06 16:28:37.730]                              [--tls-cert-key-file TLS_CERT_KEY_FILE]
      [2025/03/06 16:28:37.730]                              [--tls-pem-key-file TLS_PEM_KEY_FILE]
      [2025/03/06 16:28:37.730]                              [--tls-ca-file TLS_CA_FILE]
      [2025/03/06 16:28:37.730]                              {run,start,stop,clean}
      [2025/03/06 16:28:37.730] drivers-orchestration: error: unrecognized arguments: pyopenssl
      [2025/03/06 16:28:37.737] Traceback (most recent call last):
      [2025/03/06 16:28:37.737]   File "/data/mci/9a84071a45b54774d54668676779754f/src/.evergreen/scripts/run_server.py", line 50, in <module>
      [2025/03/06 16:28:37.737]     start_server()
      [2025/03/06 16:28:37.737]   File "/data/mci/9a84071a45b54774d54668676779754f/src/.evergreen/scripts/run_server.py", line 46, in start_server
      [2025/03/06 16:28:37.737]     run_command(cmd, cwd=DRIVERS_TOOLS)
      [2025/03/06 16:28:37.737]   File "/data/mci/9a84071a45b54774d54668676779754f/src/.evergreen/scripts/utils.py", line 139, in run_command
      [2025/03/06 16:28:37.737]     subprocess.run(shlex.split(cmd), **kwargs)  # noqa: PLW1510, S603
      [2025/03/06 16:28:37.737]   File "/opt/python/3.9/lib/python3.9/subprocess.py", line 528, in run
      [2025/03/06 16:28:37.738]     raise CalledProcessError(retcode, process.args,
      [2025/03/06 16:28:37.738] subprocess.CalledProcessError: Command '['bash', '/data/mci/9a84071a45b54774d54668676779754f/drivers-tools/.evergreen/run-orchestration.sh', 'pyopenssl']' returned non-zero exit status 2.
      [2025/03/06 16:28:37.750] error: Recipe `run-server` failed on line 77 with exit code 1
      

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: