Comments (10)
We should set up a time out of the specific test (smaller than the build timeout) to allow the os info collection to run in the end.
from flutter.
Also, if this is related to an emulator crash, the test should be able to catch the crash and exit early.
from flutter.
Just to be clear my specific case was a Dart script that ran an emulator, but I don't think the emulator crashed.
from flutter.
Just to be clear my specific case was a Dart script that ran an emulator, but I don't think the emulator crashed.
from flutter.
Add default timeouts for global/build tests: https://flutter-review.googlesource.com/c/recipes/+/55162
from flutter.
@matanlurey infra changes and docs have landed, can you please help us assigning the appropriate timeouts to the emulator tests in the engine json config files?
from flutter.
@matanlurey infra changes and docs have landed, can you please help us assigning the appropriate timeouts to the emulator tests in the engine json config files?
Yup, would love to do that - my only confusion is what to do if I'm happy with the default 1h timeout?
Just close this issue as done?
from flutter.
Yes, I believe we can close this bug as done, with enough time for the build to complete we will have access to the generic logs collection and process cleanup steps. We can also collect test specific logs updating the test script to collect any additional information and save it to "FLUTTER_LOGS_DIR" https://github.com/flutter/engine/blob/main/ci/builders/README.md#tests.
The defaults for tests steps are now:
- 3 retries on failures.
- 30 mins timeout
If a test times out it will retry it automatically, if you are ok with the default 30 mins test timeout then my only recommendation would be to increase the build timeout to something that allows enough time for the logs collection step to run. In this case something like 120 mins.
With enough time for the build to complete the dart processes being killed will be available in the cleanup step:
from flutter.
Perfect! This is great, thanks all!
from flutter.
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.
from flutter.
Related Issues (20)
- path_provider_win/linux should support Dart-only use cases HOT 3
- [Impeller] 7% `animated_advanced_blend_perf__timeline_summary`:`average_frame_build_time_millis` regression HOT 2
- Add a prefix to files output to `${FLUTTER_LOGS_DIR}` HOT 5
- mac-26 lost external connection phone device. HOT 1
- mac-24 lost external connection phone device. HOT 1
- [Impeller] unexpected change in `average_frame_rasterizer_time_millis` HOT 3
- Deprecate crop/rotation support for Android plugins, consider Dart alternative HOT 5
- Cannot generate docs with a local version of the snippets tool HOT 26
- error after update to flutter 3.19.2 HOT 6
- Laying out an empty paragraph produces a single line metric in the HTML renderer HOT 4
- [camerax] Add error handling and documentation for using incompatible concurrent `UseCase` groups
- mac-8 lost external connection phone device. HOT 1
- [Android] Prompt when unable to install the APK due to conflicts HOT 2
- Tried running test of "Step_02" (firebase-get-to-know-flutter codelab) on mobile (emulator / Android) with Android Studio. Much Breakage. HOT 1
- Commit 88baf62f made gtk+-3.0 an unconditional requirement HOT 4
- [Impeller] The API should disallow creating separate depth and stencil attachments. HOT 1
- Linux docs_publish shard is missing runs HOT 2
- Speed up engine `flutter/tools/gn` by not running python code
- Prepare an engine variant that tracks work towards removing heavy dependencies.
- Track the size of the slimmed down engine variant as a benchmark. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.