[SERVER-32600] setup_multiversion_mongodb.py may download non-x86_64 binaries on x86_64 platforms Created: 09/Jan/18 Updated: 30/Oct/23 Resolved: 01/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.4, 3.7.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Guo (Inactive) | Assignee: | Jonathan Abrahams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Backport Requested: |
v3.6, v3.4, v3.2
|
||||||||||||||||||||||||
| Sprint: | TIG 2018-03-12 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||
| Description |
|
The multiversion setup script does not check the system architecture at the moment and simply downloads the first binary that fits the OS type from the list of links on downloads.mongodb.org. It downloads the x86_64 versions of binaries because they happen to appear at the top of the list. It'd be nice to add an option for specifying the CPU architecture so we can run multiversion tests on more architectures and not have tests fail if the ordering of the list of download links ever changes. |
| Comments |
| Comment by Githook User [ 04/Mar/18 ] |
|
Author: {'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams', 'username': 'hptabster'}Message: |
| Comment by Githook User [ 01/Mar/18 ] |
|
Author: {'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams', 'username': 'hptabster'}Message: |
| Comment by Githook User [ 20/Feb/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: (cherry picked from commit 3bf0c08f6da0e056a642ad82c82e4f0d092aa08a) |
| Comment by Githook User [ 19/Feb/18 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: |
| Comment by Robert Guo (Inactive) [ 09/Jan/18 ] |
|
That would explain the naming. Although I think we should have the target and arch be separate options, and probably just call the options target and arch like we already do for edition |
| Comment by Max Hirschhorn [ 09/Jan/18 ] |
|
I think this is what the --platformArchitecture command line option is intended to be used for; however, it appears to only compare the "target" field to platform_arch and ignores the "arch" field. |