[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:
Backports
Depends
is depended on by SERVER-32602 Multiversion tests are not running en... Closed
is depended on by SERVER-33623 Enable multiversion for aggregate_fuzzer Closed
Related
related to SERVER-33564 Unit test for test_setup_multiversion... Closed
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: SERVER-32600 Add architecture parameter to setup_multiversion_mongodb.py to ensure it downloads the proper binary
Branch: v3.6
https://github.com/mongodb/mongo/commit/3004a4efdb2b8929c7ad49c6f3d91fdae017b748

Comment by Githook User [ 01/Mar/18 ]

Author:

{'email': 'jonathan@mongodb.com', 'name': 'Jonathan Abrahams', 'username': 'hptabster'}

Message: SERVER-32600 Add architecture parameter to setup_multiversion_mongodb.py to ensure it downloads the proper binary
Branch: master
https://github.com/mongodb/mongo/commit/4644d79d8cc42f2dd343fbab2f1d54fe80e2e2ea

Comment by Githook User [ 20/Feb/18 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-32600 Temporarily stop using targeted downloads on Ubuntu 16.04.

(cherry picked from commit 3bf0c08f6da0e056a642ad82c82e4f0d092aa08a)
Branch: v3.6
https://github.com/mongodb/mongo/commit/34757b5dd9dd40b03b67a8420092865c76f7ca3e

Comment by Githook User [ 19/Feb/18 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-32600 Temporarily stop using targeted downloads on Ubuntu 16.04.
Branch: master
https://github.com/mongodb/mongo/commit/3bf0c08f6da0e056a642ad82c82e4f0d092aa08a

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.

Generated at Thu Feb 08 04:30:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.