You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In recipes, when the Xcode cache is cleared, we unmount all runtimes. Afterward, we will reinstall and remount the needed runtimes. Before remounting, though, we check to see if it need to be remounted.
It seems that the command to unmount runtimes (xcrun simctl runtime delete all) does not wait for it complete, which may cause issues like the example below:
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 flutter doctor -v and a minimal reproduction of the issue.
Is there an existing issue for this?
Type of Request
bug
Infrastructure Environment
Recipes
What is happening?
In recipes, when the Xcode cache is cleared, we unmount all runtimes. Afterward, we will reinstall and remount the needed runtimes. Before remounting, though, we check to see if it need to be remounted.
It seems that the command to unmount runtimes (
xcrun simctl runtime delete all
) does not wait for it complete, which may cause issues like the example below:For example: https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20Engine%20Drone/477518/overview
In step 20.2, the runtimes are unmounted
In step 21.2, we can see the unmounted hasn't finished though because the runtimes are still available
Also, there are no
verify and mount runtime
substeps in 21, which means it thought the runtimes were still mounted (https://flutter.googlesource.com/recipes/+/refs/heads/main/recipe_modules/osx_sdk/api.py#340)Steps to reproduce
Unfortunately this does not happen every time since it's a race condition
Expected results
I expect runtimes to be remounted if applicable after unmounting.
The text was updated successfully, but these errors were encountered: