-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Component/s: Evergreen Tools
-
Not Needed
Summary
The run-orchestration.sh script seems to assume (understandably) the architecture I'm on is the only one I would like downloaded. Older server versions that were never built on arm macs can still be run and tested we just need to adjust the download script to obtain them when arm does not exist:
Motivation
Who is the affected end user?
A driver engineer on an ARM Mac trying to test an older server version
How does this affect the end user?
Can't use the usual run-orchestration.sh entry point to our evg tools.
How likely is it that this problem or use case will occur?
Local development main path
If the problem does occur, what are the consequences and how severe are they?
INFO Download archive 4.0-enterprise for osx-arm64 Traceback (most recent call last): File "drivers-tools/.evergreen/orchestration/drivers-orchestration", line 10, in <module> sys.exit(main()) File "drivers-tools/.evergreen/orchestration/drivers_orchestration.py", line 427, in main run(opts) File "drivers-tools/.evergreen/orchestration/drivers_orchestration.py", line 199, in run mongodl(shlex.split(args)) File "drivers-tools/.local/uv-tool/drivers-orchestration/lib/python3.10/site-packages/mongodl.py", line 1161, in main result = _dl_component( File "drivers-tools/.local/uv-tool/drivers-orchestration/lib/python3.10/site-packages/mongodl.py", line 830, in _dl_component dl_url = _published_build_url( File "drivers-tools/.local/uv-tool/drivers-orchestration/lib/python3.10/site-packages/mongodl.py", line 761, in _published_build_url raise ValueError( ValueError: No download was found for version="4.0" target="osx" arch="arm64" edition="enterprise" component="archive"
Script cannot complete launching MongoDB
Is this issue urgent?
No, there are alternatives, this is inconvenient.
Is this ticket required by a downstream team?
No
Is this ticket only for tests?
I assume no one is testing x64-only servers on ARM macs so not for tests.
Acceptance Criteria
- If an ARM binary cannot be found when on a darwin platform attempt to find and use an x64 binary.