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
Xcode install on macOS 13 sometimes fails and then continuously fails on following runs #138238
Comments
This seems like a mac_toolchain issue trying to change the mode of hidden files and then trying to delete those files on subsequent builds. Is there a new version of mac_toolchain that we can update to? |
So yes, there is newer version of mac_toolchain. However, newer version increases every build by ~2 minutes so we opted to use an older version for now. Also looking at their change history, I wonder if that's what this change is meant to fix. Maybe as a stopgap, we can update recipes so that if the |
Another example that was using newest version of toolchain: When it failed to install: https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac%20build_tests_2_4/54714/overview Looking at this example, I don't think newer mac_toolchain will fix. |
We could try a workaround solution to hopefully prevent it from failing on following runs: https://flutter-review.googlesource.com/c/recipes/+/52421 I think we'll need to file an issue with chromium about it failing to update package permissions |
It seems like https://chromium.googlesource.com/infra/infra/+/32d81d877ee07af07bf03b7f70ce597e323b80ce is fixing the issue. I'd recommend to use the latest version 2m increase in execution time is not desirable but it can potentially fix this P0 |
See this comment that shows newest mac_toolchain does not fix issue: #138238 (comment) |
Filed https://crbug.com/1501452. |
There's an [issue](flutter/flutter#138238) with mac_toolchain that makes Xcode installs flakey and an [issue](flutter/flutter#138246) that makes Xcode installs more frequent on macOS 13, which is causing presubmit tests to fall frequently. In the meantime, we'll only have tests run on macOS 12. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
There's an flutter/flutter#138238 with mac_toolchain that makes Xcode installs flakey and an flutter/flutter#138246 that makes Xcode installs more frequent on macOS 13, which is causing presubmit tests to fall frequently. In the meantime, we'll only have tests run on macOS 12.
Lowering to P1 as there is a work around and the required fix is being investigated by the Chromium team. |
FYI I believe this is only an issue on chromium bots - I have not seen it happen on devicelab bots |
There seems to be a pattern for when this issue happens:
|
The workaround to auto retry xcode install is in. Let's monitor if it mitigates the issue. |
There's an flutter#138238 with mac_toolchain that makes Xcode installs flakey and an flutter#138246 that makes Xcode installs more frequent on macOS 13, which is causing presubmit tests to fall frequently. In the meantime, we'll only have tests run on macOS 12.
A workaround was added for #138238, so let's re-enable macOS 13 tests
A workaround was added for flutter/flutter#138238, so let's re-enable macOS 13 tests
A workaround was added for flutter/flutter#138238, so let's re-enable macOS 13 tests [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
The workaround @keyonghan mentioned was https://flutter-review.googlesource.com/c/recipes/+/52421 We found that this wasn't entirely sufficient, though, because if the Xcode version was already corrupted, it would stay corrupted (see #139152). So we added checks to see if it was corrupted first and delete it if so: https://flutter-review.googlesource.com/c/recipes/+/52702 |
There's an flutter/flutter#138238 with mac_toolchain that makes Xcode installs flakey and an flutter/flutter#138246 that makes Xcode installs more frequent on macOS 13, which is causing presubmit tests to fall frequently. In the meantime, we'll only have tests run on macOS 12.
A workaround was added for flutter/flutter#138238, so let's re-enable macOS 13 tests
I've been observing the macOS 13 bots and haven't seen this issue again. I think it's safe to close. |
A workaround was added for flutter#138238, so let's re-enable macOS 13 tests
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Type of Request
bug
Infrastructure Environment
LUCI
What is happening?
Occasionally, Xcode errors to install and then on following runs it will time out when trying to install
Here's example of where the problem starts:
https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac%20Engine%20Drone/509375/overview
Then in following runs, it times out:
https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac%20Engine%20Drone/509416/overview
Stuck at
Clearing the cache seems to fix.
Steps to reproduce
No response
Expected results
No response
The text was updated successfully, but these errors were encountered: