[SERVER-69811] build metrics: don't use python mac_ver Created: 19/Sep/22  Updated: 29/Oct/23  Resolved: 22/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Apparently the python we use on our hosts is unreliable:

macos-1100-arm64-dev:~ dev-user$ python3 -c "import platform; print(platform.mac_ver())"
('11.4', ('', '', ''), 'arm64')
macos-1100-arm64-dev:~ dev-user$ python -c "import platform; print(platform.mac_ver())"
('10.16', ('', '', ''), 'arm64')
macos-1100-arm64-dev:~ dev-user$

So instead we should ask macos directly.



 Comments   
Comment by Githook User [ 22/Sep/22 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-69811 don't use pythons mac_ver
Branch: master
https://github.com/mongodb/mongo/commit/0e1fc9235a8aea220f10bacb76ef44fecd98bdfd

Generated at Thu Feb 08 06:14:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.