Summary:
Mac builds machines are limited due to their cost. This results in mac related build + unit tests taking 2-3x hours more than all the other build types.
Also the mac tests have a higher failure rate (avg 54 on mac vs 20 on other buids) due to the fact that tests are run at a high concurrency on the mac machines, differences in mac libraries like curl causing random failures.
With this change only a selective set of Mac tests will be executed as part of Detective. New tests can be added to `mac_tests.txt` to whitelist them for mac builds.
Setting env variable `YB_RUN_ALL_MAC_TESTS` to `1` will bypass the filter and run all mac tests.
Fixes #28832
Jira: DB-18545
Original commit: 972294795824b8d7ca7d98586b45ec13a97ffecd / D46274
Test Plan: Jenkins: urgent
Reviewers: mihnea, mlillibridge
Reviewed By: mlillibridge
Subscribers: mlillibridge, steve.varnau, ybase
Tags: #jenkins-ready
Differential Revision: https://phorge.dev.yugabyte.com/D47647