-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Corrupted Xcode causes flutter doctor to fail repeatedly #139152
Comments
Is it failing only on that bot? the bots don't do anything special with |
It appears to be only on this specific bot, yes |
Okay I think bot build797-m9 has a damaged version of Xcode which is causing flutter doctor to timeout. Here's what I think happened: https://chromium-swarm.appspot.com/task?id=65e3da673e799f10 - Xcode was installed and selected, but the task was killed therefore "Xcode reset" was skipped and therefore Xcode remained selected. Therefore in following builds, |
I'll experiment to see if we can find a way to tell if an Xcode package is damaged |
@vashworth looks like you are doing the heavy lifting on this one, so assigning it to you. Please let us know if there are any tasks you would like infra to run. |
Can we quarantine this bot while I try and debug it? |
Fix added in https://flutter-review.googlesource.com/c/recipes/+/52702. Fix will reset Xcode at the beginning of the build before the |
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 |
…causing it to fail. Also, add check to verify Xcode is not damaged/corrupted and if it is, clear the cache and try to install. On second attempt to re-install, try using a different output path. This fix is aimed at preventing continuous failures on subsequent builds if the Xcode package becomes corrupted. Fixes: flutter/flutter#139152 Related bug: flutter/flutter#138238 Change-Id: I0f72974241916e9a66f26291ddce01b4b615121f Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/52702 Reviewed-by: Keyong Han <keyonghan@google.com> Commit-Queue: Victoria Ashworth <vashworth@google.com>
Is there an existing issue for this?
Type of Request
bug
Infrastructure Environment
LUCI
What is happening?
flutter doctor
continuously fails on bot https://chromium-swarm.appspot.com/bot?id=build797-m9.It's failed three times in a row:
https://chromium-swarm.appspot.com/task?id=662be8ae622b5710
https://chromium-swarm.appspot.com/task?id=662fa671b3d5da10
https://chromium-swarm.appspot.com/task?id=662fbc7e685f7e10
Steps to reproduce
No response
Expected results
I expect flutter doctor to succeed
The text was updated successfully, but these errors were encountered: