-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Add functionality to copy logs, screenshots, and other artifacts to LUCI recipe location in engine repo #74344
Comments
@godofredoc Let me know when you have the recipe and modules updated with |
@godofredoc This will be helpful in the engine as well as the framework. 😄 |
The module is used only on the devicelab recipe but will be used on both sdk and engine recipes later. Change-Id: I114fac2f22739435768c5d111c4d0ee50c59d87d Bug: flutter/flutter#74344 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9941 Reviewed-by: Casey Hillers <chillers@google.com> Commit-Queue: Godofredo Contreras <godofredoc@google.com>
…tasks." This reverts commit 1afbc27. Reason for revert: Tasks are failing because we are using the task revision causing path clashes. Original change's description: > Base module for collecting logs in a generic way for all the tasks. > > The module is used only on the devicelab recipe but will be used on both > sdk and engine recipes later. > > Change-Id: I114fac2f22739435768c5d111c4d0ee50c59d87d > Bug: flutter/flutter#74344 > Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9941 > Reviewed-by: Casey Hillers <chillers@google.com> > Commit-Queue: Godofredo Contreras <godofredoc@google.com> TBR=godofredoc@google.com,chillers@google.com,flutter-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: Idbbdb4205f37959f207aa6c5386927f6141ae9ad No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: flutter/flutter#74344 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9942 Reviewed-by: Godofredo Contreras <godofredoc@google.com> Commit-Queue: Godofredo Contreras <godofredoc@google.com>
…tasks. The module is used only on the devicelab recipe but will be used on both sdk and engine recipes later. We also changed the logs destination to include task name an a uuid to ensure logs are not clashing. Change-Id: Ib512f0a9ed04b4b348a3cb0f382bdee8f6d3849b Bug: flutter/flutter#74344 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9944 Commit-Queue: Godofredo Contreras <godofredoc@google.com> Reviewed-by: Casey Hillers <chillers@google.com> Reviewed-by: Yusuf Mohsinally <mohsinally@google.com>
@godofredoc this is done in the engine as well, right? Can we close? |
Let me check, I don't remember if it was added to the engine recipe. |
The logic to collect logs has not been added to the engine yet. |
@godofredoc is there any way we can prioritize getting this done in the engine repo? It's really hard to debug failures like flutter/engine#26786 (comment) without the uploaded test results. |
I was actually blocking this on separating the builds/tests in the recipes. The difficulty is that we need to run the step to upload logs in a context to ensure logs are uploaded even if a test fails. Unfortunately the engine recipe has tests everywhere forcing the implementation in several places. If this is a blocker I'll give a try to implement the logic in the current version of the recipes. |
No, it's not a blocker. Thanks for the explanation, looking forward to the shiny new separated recipe world! |
We tested running the engine iOS tests in parallel, and unfortunately in that mode the tests don't report errors or stack traces, and the only way to get that info would be from an uploaded See flutter/engine#34020 (comment). That means this is now blocking #106050 for the engine tests part. |
This is also needed for plugin and packages since they are migrating from cirrus to luci. Would be really helpful to have screenshots of native failures like https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8795950591422548017/+/u/Run_plugin_tests/native_test/stdout |
@godofredoc should I split off this work between engine and plugins? I think the engine work is blocked on the build/tests in the engine recipes, but I don't think there's any such work planned for plugins. It's so hard to figure out why tests failed without being to upload test results with screenshots, crash logs, etc. |
Checking if we already implemented this in engine v2 recipes. |
Implementation for engine v2: |
Merging of the plugins and packages repo is imminent, so we would only need this for flutter/packages recipes. |
Breaking the packages request off to #121535 since it needs to be implemented in separate recipes. |
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 |
#74332 (comment)
See also #43124
The text was updated successfully, but these errors were encountered: