-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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 cache path not set correctly sometimes in recipes #141398
Comments
cc @ricardoamador I noticed this because looks like the Cache Micro Manager uses the wrong path for devicelab |
@vashworth thanks for finding this. Will look into it. |
Hmm I see, there is some confusion with the assumptions made in the code. You are right that we are using the wrong cache path in the cache micro manager and possibly elsewhere. Code needs some cleanup and clarification in the documentation. |
Fix for this has landed and has been running without issues across mac tasks. |
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 |
Commenting out the call to the cache_micro_manager as there are still some typing errors happening under the covers. But this is lower priority than fixing the path issues. Reland of this: https://flutter-review.googlesource.com/c/recipes/+/54122 Proof: Devicelab test: https://ci.chromium.org/ui/p/flutter/builders/prod.shadow/Mac_ios%20animated_advanced_blend_perf_ios__timeline_summary/13/overview Non devicelab test: https://ci.chromium.org/ui/p/flutter/builders/prod.shadow/Mac%20customer_testing/1/overview Fixes: flutter/flutter#141398 Change-Id: I41eb01e0bbe101d9ce7f0b0deadfa432c8126fd3 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/54222 Reviewed-by: Keyong Han <keyonghan@google.com> Commit-Queue: Ricardo Amador <ricardoamador@google.com>
Type of Request
bug
Infrastructure Environment
Recipes
What is happening?
Devicelab has a different Xcode cache path than chromium bots.
In devicelab, the path is
/opt/flutter/xcode
. In non-devicelab, the path isself.m.path['cache'].join(_XCODE_CACHE_PATH)
.In a number of places in https://flutter.googlesource.com/recipes/+/refs/heads/main/recipe_modules/osx_sdk/api.py, we use the
_XCODE_CACHE_PATH
regardless of it's a devicelab bot or not. Search for_XCODE_CACHE_PATH
and you'll find places it's used. We should fix this.Probably best solution would be to have the path come from a function like the example below and remove
_XCODE_CACHE_PATH
to prevent confusion.Steps to reproduce
No response
Expected results
No response
The text was updated successfully, but these errors were encountered: