Detect and cleanup leaky processes (#29196)
* Detect and cleanup leaky processes
* Add flaky tests for detecting leaked processes
diff --git a/dev/devicelab/manifest.yaml b/dev/devicelab/manifest.yaml
index 3402f11..a5db41a 100644
--- a/dev/devicelab/manifest.yaml
+++ b/dev/devicelab/manifest.yaml
@@ -486,6 +486,13 @@
stage: devicelab_win
required_agent_capabilities: ["windows/android"]
+ run_without_leak_win:
+ description: >
+ Checks that `flutter run` does not leak dart.exe on Windows.
+ stage: devicelab_win
+ required_agent_capabilities: ["windows/android"]
+ flaky: true
+
# Tests running on Linux hosts
hot_mode_dev_cycle_linux__benchmark:
@@ -551,6 +558,13 @@
stage: devicelab
required_agent_capabilities: ["linux/android"]
+ run_without_leak_linux:
+ description: >
+ Checks that `flutter run` does not leak dart on Linux.
+ stage: devicelab
+ required_agent_capabilities: ["linux/android"]
+ flaky: true
+
flutter_gallery_ios32__start_up:
description: >
Measures the startup time of the Flutter Gallery app on 32-bit iOS.
@@ -563,3 +577,10 @@
32-bit iOS.
stage: devicelab_ios
required_agent_capabilities: ["mac/ios32"]
+
+ run_without_leak_mac:
+ description: >
+ Checks that `flutter run` does not leak dart on macOS.
+ stage: devicelab
+ required_agent_capabilities: ["mac/android"]
+ flaky: true