Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] The macOS 12 Actions runner image will begin deprecation on 10/7/24 and will be fully unsupported by 12/3/24 for GitHub and by 01/13/25 for ADO #10721

Open
3 of 14 tasks
erik-bershel opened this issue Oct 1, 2024 · 15 comments · Fixed by googleapis/sdk-platform-java#3443

Comments

@erik-bershel
Copy link
Contributor

erik-bershel commented Oct 1, 2024

Breaking changes

GitHub Actions is starting the deprecation process for macOS 12. While the image is being deprecated, You may experience longer queue times during peak usage hours. Deprecation will begin on 10/7/24 and the image will be fully unsupported by 12/3/24 for GitHub and by 01/13/25 for ADO.

To raise awareness of the upcoming removal, we will temporarily fail jobs using macOS 12. Builds that are scheduled to run during the brownout periods will fail. The brownouts are scheduled for the following dates and times:

  • November 4, 14:00 UTC - November 5, 00:00 UTC
  • November 11, 14:00 UTC - November 12, 00:00 UTC
  • November 18, 14:00 UTC - November 19, 00:00 UTC
  • November 25, 14:00 UTC - November 26, 00:00 UTC

Target date

GitHub - December 3rd, 2024
Azure DevOps - January 13th, 2025

The motivation for the changes

GitHub Actions maintains the latest two stable versions of any given OS version.

Possible impact

Workflows using the macos-12 image label will be terminated with an error.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Workflows using the macos-12 image label should be updated to macos-latest, macos-13, macos-14 or macos-15.

@erik-bershel erik-bershel pinned this issue Oct 1, 2024
vszakats added a commit to vszakats/curl that referenced this issue Oct 1, 2024
vszakats added a commit to curl/curl that referenced this issue Oct 1, 2024
- Days of `macos-12` are numbered:
  actions/runner-images#10721
  Drop 5 affected jobs, replaced by `macos-15` ones added earlier today.

- Drop Xcode 14 and 16 from `macos-14` jobs.
  Following up upstream announcement:
  actions/runner-images#10703
  (No active jobs are affected by this.)

Follow-up to 4b4ff44 #15108
Closes #15113
chrisbra pushed a commit to vim/vim that referenced this issue Oct 2, 2024
See: actions/runner-images#10721

closes: #15780

Signed-off-by: Philip H. <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
@erik-bershel
Copy link
Contributor Author

Hey @jaimergp! I noticed that last time you bumped the version of macOS. I think https://github.com/conda-forge will be affected now as well.

@guyer
Copy link

guyer commented Oct 3, 2024

Somebody jumped the gun? Microsoft-hosted agents > Software already says macos-12 is "deprecated" and the macos-latest image just jumped from macos-12 to macos-14 between October 1st and October 2nd.

pcolby added a commit to pcolby/dokit that referenced this issue Oct 4, 2024
Because GitHub is about to deprecate macos-12, and macos-15 is
about to leave beta.

See actions/runner-images#10721
pcolby added a commit to pcolby/dokit that referenced this issue Oct 5, 2024
Also dropped the about-to-be-deprecated macos-12.

Squashed commit of the following:

commit 17e712b3346ac380132bd50d7071bac9768a1fa8
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 14:36:03 2024 +1000

    Restore the Linux and Windows builds

commit 17a4ddc
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:56:41 2024 +1000

    Correct a Qt version number

commit 42e7078
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:54:49 2024 +1000

    Extend the macOS timeout to 15 minutes

    Sometimes they take a bit longer to build.

commit f668de2
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:47:40 2024 +1000

    Restore the remaining macOS builds

commit 965ce30
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:46:03 2024 +1000

    Return to the macOS runner's provded CMake

commit 763026a
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:45:37 2024 +1000

    Exclude Qt 5.x and 6.2 with Clang on macOS 14+

commit 2887b8f
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 12:01:36 2024 +1000

    Determine which combinations are actually hanging

    So we can simply exclude them for now, subject to further testing
    on local hardware.

commit e15a9e9
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 11:49:18 2024 +1000

    Enable debugging via Qt's logging rules

commit 48defe8
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 11:40:36 2024 +1000

    Try a completely different test case

    Just to narrow down the test vs framework.

commit f810201
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 11:29:57 2024 +1000

    Correct the path to the test binary

commit d2f3924
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 11:23:43 2024 +1000

    Get more macOS debugging

commit 1e9617b
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 11:17:39 2024 +1000

    Reduce the timeout on macOS builds

    The default is 360 minutes, but the macOS jobs take ~5 minutes.

commit 309647d
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 10:57:21 2024 +1000

    Get some test debug info on macOS

commit ceb77f9
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 10:50:16 2024 +1000

    Clarify some comments

    Based on the info in this Qt blog post:
    https://www.qt.io/blog/qt-on-apple-silicon

commit ac1ce11
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 10:34:22 2024 +1000

    Use gcov 14 (with gcc 14)

commit b3a4436
Author: Paul Colby <[email protected]>
Date:   Sat Oct 5 10:25:33 2024 +1000

    Disable clang temporarily to test coverage builds

commit 3fc6b7a
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 22:36:02 2024 +1000

    Reinstate the macOS coverage builds

commit fede720
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 22:18:39 2024 +1000

    Restore the macOS clang builds

commit 735ac31
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 22:14:13 2024 +1000

    Skip some superfluous `echo` commands

commit 14dfeb6
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 22:07:38 2024 +1000

    Reinstace the Qt6 macOS gcc exclusions

    Since every one of those is still affected by QTBUG-107050.

    See https://bugreports.qt.io/browse/QTBUG-107050

commit 93be4da
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:49:43 2024 +1000

    Correct a step's output access syntax

commit e32b03b
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:39:18 2024 +1000

    Correct the `env.cc` reference

commit d507bb9
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:36:51 2024 +1000

    Restore the Qt 5.10 (QTBUG-66585) exclusion

commit 13c9f71
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:26:58 2024 +1000

    Correct workflow property name

commit 3f7365b
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:25:17 2024 +1000

    Correct a variable name

commit 4730ac1
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 21:23:01 2024 +1000

    Exclude macOS 14+ w/ gcc w/ Qt <6.2

commit aeae589
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 20:50:33 2024 +1000

    See if *any* gcc builds will pass on macOS 13+

commit ca87858
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 20:46:24 2024 +1000

    Derive the build ID's arch from the target archs

commit a337881
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 20:37:14 2024 +1000

    Remove the early exit

commit 51ffc8b
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 20:23:07 2024 +1000

    Correct the arch handling for gcc

commit f7f58ef
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 19:58:07 2024 +1000

    Choose the best available macOS arch

commit 271da5c
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 19:30:13 2024 +1000

    Assign CMAKE_OSX_ARCHITECTURES in its own step

    So we can add more logic to it shortly.

commit b342e39
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 18:38:57 2024 +1000

    Disable gcov builds for now

commit 2fa12aa
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 16:54:46 2024 +1000

    Try Qt's own CMake version

commit d715bb6
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 16:11:13 2024 +1000

    Disable Linux and Windows builds for now

    Just to speed up testing macOS on GitHub runners.

commit 40d1901
Author: Paul Colby <[email protected]>
Date:   Fri Oct 4 14:07:51 2024 +1000

    Try macos-15, and gcc-14 on macos runners

    Because GitHub is about to deprecate macos-12, and macos-15 is
    about to leave beta.

    See actions/runner-images#10721
austinvazquez added a commit to austinvazquez/containerd that referenced this issue Oct 7, 2024
This change upgrades the runner images in CI to macOS 13. macOS 12
runners are being deprecated.

See actions/runner-images#10721 for more
information.

Signed-off-by: Austin Vazquez <[email protected]>
violetagg added a commit to reactor/reactor-netty that referenced this issue Oct 7, 2024
macOS-12 is deprecated and will be removed
actions/runner-images#10721
felicialim added a commit to AOMediaCodec/libiamf that referenced this issue Dec 13, 2024
avara1986 pushed a commit to DataDog/dd-trace-py that referenced this issue Dec 13, 2024
Backport 129e51b from #11277 to 2.15.

Addresses actions/runner-images#10721
deprecating macos-12 images.

## Checklist
- [X] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

Co-authored-by: Romain Komorn <[email protected]>
pierrecamilleri added a commit to frictionlessdata/frictionless-py that referenced this issue Dec 13, 2024
macOS tests are failing in CI, with following message:

> The macOS-12 environment is deprecated, consider switching to
macOS-13, macOS-14 (macos-latest) or macOS-15.

[Link to the
annoucement](actions/runner-images#10721) of
end of support in github since 2024-12-03.

It looks like postrgres has been removed from the image starting
at macOS-13. (postgres is mentioned in [macOS-12 installed
software](https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md),
but missing from
[macOS-13's](https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md))
santiagorodriguez96 added a commit to cedarcode/tpm-key_attestation that referenced this issue Dec 13, 2024
`macos-12` has been deprecated:

```
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see actions/runner-images#10721
```
santiagorodriguez96 added a commit to cedarcode/tpm-key_attestation that referenced this issue Dec 13, 2024
`macos-12` has been deprecated:

```
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see actions/runner-images#10721
```
nak3 pushed a commit to nak3/portable that referenced this issue Dec 16, 2024
sharkAndshark added a commit to sharkAndshark/action-setup-postgis that referenced this issue Dec 19, 2024
The macOS 12 Actions runner image [has been deprecated] (actions/runner-images#10721), the action related with macos-12 would be was cancelled automatically
satoren added a commit to oviceinc/mediasoup-elixir that referenced this issue Dec 20, 2024
Guts added a commit to qgis-deployment/qgis-deployment-toolbelt-cli that referenced this issue Dec 20, 2024
Guts added a commit to qgis-deployment/qgis-deployment-toolbelt-cli that referenced this issue Dec 20, 2024
nyurik pushed a commit to nyurik/action-setup-postgis that referenced this issue Dec 20, 2024
The macOS 12 Actions runner image [has been
deprecated](actions/runner-images#10721), the
action related with macos-12 would be cancelled automatically.
andre-schulz added a commit to andre-schulz/mve that referenced this issue Dec 21, 2024
The macOS 12 CI environment has apparently been deprecated since 3rd
December 2024, see:
actions/runner-images#10721
andre-schulz added a commit to andre-schulz/mve that referenced this issue Dec 21, 2024
The macOS 12 CI environment has apparently been deprecated since 3rd
December 2024, see:
actions/runner-images#10721
qryxip added a commit to VOICEVOX/onnxruntime-builder that referenced this issue Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants