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

Test failures in @actions/exec package when run under MacOS #1859

Open
bdehamer opened this issue Oct 27, 2024 · 4 comments
Open

Test failures in @actions/exec package when run under MacOS #1859

bdehamer opened this issue Oct 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@bdehamer
Copy link
Contributor

Sometime between 2024-10-08 and 2024-10-28 there are three unit tests from the @actions/exec package which have started failing when run specifically on MacOS.

The failures do not appear to be related to any code changes in the repo (I can repro the issue with exactly the same code which was running successfully on October 8th). My guess is that the failures may have something to do with the runner image. The last passing test was running under macos-14-arm64@20240922.1 while the failures are occurring under macos-14-arm64@20241007.259.

The three failing tests are the following:

One interesting data point . . . these same tests will PASS when run in GitHub Actions if I change the runner type from macos-latest to macos-latest-large:

@bdehamer bdehamer added the bug Something isn't working label Oct 27, 2024
@reconbot
Copy link

reconbot commented Nov 4, 2024

We think this is related to OSX 14.7 being released.

@nodeselector
Copy link

nodeselector commented Nov 4, 2024

  • breaking image, notably macOS 14.7 (23H124)
  • working image, notably macOS 14.6.1 (23G93)

Switching to an Intel based runner fixed this. I opened a Feedback item for this FB15679172. Moreover, running the test suite locally on a machine on macOS 14.7 23H124 reproduces the test failure as well, indicating this isn't likely to be an issue with the virtualization stack or the image configuration, but some change in macOS itself.

@nodeselector
Copy link

I received an update to the Feedback item above:

Please reproduce the issue, trigger a sysdiagnose and attach the log file to Feedback Assistant.

Important: Note the date and time issue occurred and add this information to Feedback Assistant.

macOS sysdiagnose Instructions:
https://developer.apple.com/services-account/download?path=/OS_X/OS_X_Logs/sysdiagnose_Logging_Instructions.pdf

If this is no longer an issue you can close this feedback by selecting “Close Feedback” via the Actions button in Feedback Assistant.


For a complete list of logging instructions visit:
https://developer.apple.com/bug-reporting/profiles-and-logs/

@bdehamer any chance you can grab these diagnostics?

@bdehamer
Copy link
Contributor Author

@nodeselector Here is a GHA run where I executed just the failing tests and then immediately ran sysdiagnose:

https://github.com/actions/toolkit/actions/runs/12324446215

The sysdiagnose output is attached as an artifact to the run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants