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

[Build Failure] Unable to install server on Win32 builds

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      MemoryError

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_test_win32_python3.9_test_4.2_replica_set_noauth_ssl_async_38127f458ba0c6aea8c0f2484d6d06ae99719c68_25_03_08_19_02_03/logs?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      PYTHON-5193

      Stack trace:

      [2025/03/08 13:14:12.118] MemoryError
      [2025/03/08 13:14:12.118] Traceback (most recent call last):
      [2025/03/08 13:14:12.118]   File "C:\python\32\Python39\lib\runpy.py", line 197, in _run_module_as_main
      [2025/03/08 13:14:12.119]     return _run_code(code, main_globals, None,
      [2025/03/08 13:14:12.119]   File "C:\python\32\Python39\lib\runpy.py", line 87, in _run_code
      [2025/03/08 13:14:12.119]     exec(code, run_globals)
      [2025/03/08 13:14:12.119]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.evergreen\orchestration\drivers-orchestration\__main__.py", line 10, in <module>
      [2025/03/08 13:14:12.119]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.evergreen\orchestration\drivers_orchestration.py", line 547, in main
      [2025/03/08 13:14:12.120]     run(opts)
      [2025/03/08 13:14:12.120]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.evergreen\orchestration\drivers_orchestration.py", line 276, in run
      [2025/03/08 13:14:12.120]     mongodl(shlex.split(args))
      [2025/03/08 13:14:12.120]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.local\uv-tool\drivers-orchestration\lib\site-packages\mongodl.py", line 1214, in main
      [2025/03/08 13:14:12.121]     result = _dl_component(
      [2025/03/08 13:14:12.121]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.local\uv-tool\drivers-orchestration\lib\site-packages\mongodl.py", line 899, in _dl_component
      [2025/03/08 13:14:12.121]     cached = cache.download_file(dl_url).path
      [2025/03/08 13:14:12.121]   File "Z:\data\mci\b47a5854b4717a86f163a6c54e7dc387\drivers-tools\.local\uv-tool\drivers-orchestration\lib\site-packages\mongodl.py", line 635, in download_file
      [2025/03/08 13:14:12.121]     shutil.copyfileobj(resp, of, length=got_len)
      [2025/03/08 13:14:12.121]   File "C:\python\32\Python39\lib\shutil.py", line 205, in copyfileobj
      [2025/03/08 13:14:12.121]     buf = fsrc_read(length)
      [2025/03/08 13:14:12.121]   File "C:\python\32\Python39\lib\http\client.py", line 464, in read
      [2025/03/08 13:14:12.122] https://downloads.10gen.com/windows/mongodb-windows-x86_64-enterprise-latest.zip
      [2025/03/08 13:14:12.221]     return memoryview(b)[:n].tobytes()
      [2025/03/08 13:14:12.221] MemoryError
      [2025/03/08 13:14:12.221] Traceback (most recent call last):
      [2025/03/08 13:14:12.221]   File "C:\data\mci\b47a5854b4717a86f163a6c54e7dc387\src\.evergreen\scripts\run_server.py", line 50, in <module>
      [2025/03/08 13:14:12.221]     start_server()
      [2025/03/08 13:14:12.221]   File "C:\data\mci\b47a5854b4717a86f163a6c54e7dc387\src\.evergreen\scripts\run_server.py", line 46, in start_server
      [2025/03/08 13:14:12.221]     run_command(cmd, cwd=DRIVERS_TOOLS)
      [2025/03/08 13:14:12.221]   File "C:\data\mci\b47a5854b4717a86f163a6c54e7dc387\src\.evergreen\scripts\utils.py", line 139, in run_command
      [2025/03/08 13:14:12.221]     subprocess.run(shlex.split(cmd), **kwargs)  # noqa: PLW1510, S603
      [2025/03/08 13:14:12.221]   File "C:\python\32\Python39\lib\subprocess.py", line 528, in run
      [2025/03/08 13:14:12.261]     raise CalledProcessError(retcode, process.args,
      [2025/03/08 13:14:12.261] subprocess.CalledProcessError: Command '['bash', 'C:/data/mci/b47a5854b4717a86f163a6c54e7dc387/drivers-tools/.evergreen/run-orchestration.sh', '--ssl']' returned non-zero exit status 1.
      [2025/03/08 13:14:12.285] 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: