[GODRIVER-2522] Reduce frequency of macOS builds Created: 11/Aug/22  Updated: 17/Jan/23  Resolved: 20/Oct/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Matt Dale Assignee: Matt Dale
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Speed up patch builds
Quarter: FY24Q1
Documentation Changes: Not Needed

 Description   

The macOS test tasks take a very long time to schedule (24 hours or more sometimes) and fail frequently due to test timeouts (see GODRIVER-2266). They only run on the waterfall so the main time we check them is when doing a release, when the macOS test tasks often haven't been scheduled yet for the released version. As a result, we get very little signal about test failures on macOS. Despite that, we still run macOS tests for every server version that the Go driver supports (v2.6+).

The only currently known internal project that needs to support EOL MongoDB server versions (see lifecycles for list) and may run on macOS is the mongo-tools project (v3.4+ to support Automation Agent).

We should stop running tests on macOS for EOL MongoDB server versions (currently v4.0 and earlier). The goal is to reduce the total amount of time a waterfall build takes and make it easier to focus on possible actual failures in the remaining macOS test tasks. We will still test the Go Driver against all supported server versions on Linux and Windows.

Definition of done:

  • Remove macOS test tasks from the waterfall for any server version before v4.2.

Updated definition of done:

  • Run macOS builds at most once per 24 hours using the "batchtime" config.


 Comments   
Comment by Githook User [ 20/Oct/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2522 Run macOS tasks at most once per 24 hours. (#1092)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/6ca2dfdb6df83943753a1131650f6fa64902eb4b

Comment by Matt Dale [ 13/Oct/22 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/1092

Generated at Thu Feb 08 08:38:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.