Vadim Tryshev and Android (Google) Code Review
1fabbf5a23
Merge "Enabling flaky tests per our new flaky test policy" into ub-launcher3-master
2020-02-28 18:29:23 +00:00
vadimt
983145c594
Enabling flaky tests per our new flaky test policy
...
I'll check whether the tests are still flaky and assign to the test
owner if they are.
Bug: 148867106
Change-Id: Ic850abc862b0f266b100aa6bfff4e89b3802e50d
2020-02-27 17:59:32 -08:00
Vadim Tryshev and Android (Google) Code Review
0e0b176361
Merge "Not showing "mismatched events" and other diags after Launcher crashes" into ub-launcher3-master
2020-02-27 19:45:39 +00:00
TreeHugger Robot and Android (Google) Code Review
3ba6800552
Merge "Using StrictMode to detect activity leaks" into ub-launcher3-master
2020-02-27 19:19:14 +00:00
Vadim Tryshev and Android (Google) Code Review
9f62bc10af
Merge "Remove unnecessary PilferPointer events and enable testPressHomeOnAllAppsContextMenu" into ub-launcher3-master
2020-02-27 19:08:29 +00:00
TreeHugger Robot and Android (Google) Code Review
39c610192a
Merge "Catching OOM exceptions in auto-investigator" into ub-launcher3-master
2020-02-27 01:14:52 +00:00
vadimt
da12b805cc
Not showing "mismatched events" and other diags after Launcher crashes
...
Change-Id: Iee5f8813c3610314d486589bc361466a05da0ecb
2020-02-26 12:19:32 -08:00
TreeHugger Robot and Android (Google) Code Review
833cd43206
Merge "Adding a failure investigator" into ub-launcher3-master
2020-02-26 17:47:59 +00:00
vadimt
dbc7583054
Remove unnecessary PilferPointer events and enable testPressHomeOnAllAppsContextMenu
...
Change-Id: I04199f46024b05f05d04ba2be7a797842bb48527
2020-02-25 18:17:04 -08:00
vadimt
1779a38290
Using StrictMode to detect activity leaks
...
Change-Id: I615f641897d57be0cd31be944796c6931ef9ab00
2020-02-25 14:46:27 -08:00
vadimt
6f96376620
Catching OOM exceptions in auto-investigator
...
In the development environment, the device may stay for long time
without reboot, and the logcat size may turn to be long enough to
overflow the memory.
Suppressing OOM exceptions.
Change-Id: I562e2c03312e88f669d9cb660af6e8849dc0c8ef
2020-02-25 11:05:39 -08:00
vadimt
65ed9c3d9b
Adding a failure investigator
...
Change-Id: Ie1c9820ecb7373a1f4428a24867c51332a84e65c
2020-02-24 19:10:50 -08:00
vadimt
b79614cc93
Performing a check for a crashed Launcher process for each UI test
2020-02-25 02:28:32 +00:00
Samuel Fufa
aeaad97eb7
Increase timeout for WorkTabTest.toggleWorks test
...
Bug: 149927292
Change-Id: I6dcd0bfa2fe584be9e46f653992f9c748e795614
2020-02-20 11:22:49 -08:00
Samuel Fufa
d1c0779726
Increase timeout for flaky work test
...
Bug:149867607
Change-Id: Ic746a4857a47fc29372d19419ddfa6eaebd06f87
2020-02-19 17:08:26 -08:00
Samuel Fufa
ea4dcf468e
Add Tests for work profile toggle
...
+ Fix minor style issues
Bug: 140099753
Bug: 112899690
Test: Manual
Change-Id: I1257560be79748abe54a75a74d93caa4390943b5
2020-02-13 17:21:54 -08:00
vadimt
68e8578588
Not trying to disable running tests after a failed finalizer
...
Turns out there is no good way to know that an exception comes from a
finalizer.
Change-Id: I0cb2c518d0b7dc20ad7734ed46ba6af1b8a9d36e
2020-02-11 13:27:17 -08:00
vadimt
6c95453a19
Restoring generating screenshots of failures
...
Now correctly inheriting from a statement.
Change-Id: I7fdf03c8ce144ba31d978950af7e71a09004ae1e
2020-02-07 19:43:08 -08:00
TreeHugger Robot and Android (Google) Code Review
3042387909
Merge "remove stability annotation since it hasn't been flaking in the last month" into ub-launcher3-master
2020-02-07 22:46:03 +00:00
Pinyao Ting
796891bc06
remove stability annotation since it hasn't been flaking in the last
...
month
Bug: 146432215
Test: run flake locally
Change-Id: Ie7604088e82451f2c705f143d70af3f5c3b9c52d
2020-02-07 13:50:20 -08:00
TreeHugger Robot and Android (Google) Code Review
8c2f22e5ab
Merge "Adding one more automatic flake classifier" into ub-launcher3-master
2020-02-07 18:46:40 +00:00
TreeHugger Robot and Android (Google) Code Review
b2c5eb3ad0
Merge "Investigator: adding "Screen is empty" as another sign of crashed sysui" into ub-launcher3-master
2020-02-06 23:53:29 +00:00
TreeHugger Robot and Android (Google) Code Review
8b65dbc9a7
Merge "Disable testWidgetConfig" into ub-launcher3-master
2020-02-06 19:51:49 +00:00
vadimt
6a1cb09890
Disable testWidgetConfig
...
Bug: 148867106
Change-Id: I3957f03d2f30f340cc3e90626927f7d62624c120
2020-02-06 10:41:42 -08:00
Vadim Tryshev and Android (Google) Code Review
328c9e5ac6
Merge "More diags for logic disabling other tests after a finalizer failure" into ub-launcher3-master
2020-02-06 03:27:39 +00:00
TreeHugger Robot and Android (Google) Code Review
86c1807d3c
Merge "Disable failing test testConfigCancelled" into ub-launcher3-master
2020-02-06 01:33:59 +00:00
vadimt
9702355d71
Disable failing test testConfigCancelled
...
Bug: 148867106
Change-Id: Ia1f4b7ef43ddde6de85d3c6852b3d3960090dd09
2020-02-05 11:12:54 -08:00
vadimt
b8a54f967b
Adding one more automatic flake classifier
...
Change-Id: I5ab68c3d02a5e82081485b0845b0e7c24280aa1c
2020-02-04 18:13:52 -08:00
vadimt
ae701bfcc4
Investigator: adding "Screen is empty" as another sign of crashed sysui
...
Also generating recognizable anomaly message in more cases
Change-Id: Ia4d4d87a1a46291f3ea1057e00acbd98d9ccb3a5
2020-02-04 12:06:18 -08:00
vadimt
8211b6a021
More diags for logic disabling other tests after a finalizer failure
...
Change-Id: I4af56b2b83b204b9a5a383a26a3d845a88a96bf1
2020-02-04 03:11:06 +00:00
vadimt
890540a977
Making test run flavor available to tests.
...
Bug: 139137636
Change-Id: If08006da4f5dedfeab93c4f0502f8938a2b64c8f
2020-02-04 01:57:53 +00:00
vadimt
e2446c8cad
Rewriting failure investigator database in a more readable way
...
Change-Id: Iccf2e8e0a45dbbcd8f2600d9094d6a10eabaf3da
2020-01-30 19:25:03 -08:00
vadimt
01372013d3
Recognizing another SystemUI failure
...
Also switching investigator to logs starting with the system reboot, as
SysUI crashes before the tests start.
Change-Id: Ifab835c1ab3c1ce3495f012c6a522fae6e44a9ff
2020-01-30 17:57:50 -08:00
TreeHugger Robot and Android (Google) Code Review
ae5e991f5e
Merge "Not crashing tests when a test fails to deinitialize" into ub-launcher3-master
2020-01-29 21:46:27 +00:00
TreeHugger Robot and Android (Google) Code Review
07ccd59adf
Merge "Adding sysui crash diagnostic with a new fingerprint" into ub-launcher3-master
2020-01-29 19:07:16 +00:00
TreeHugger Robot and Android (Google) Code Review
0618d689e8
Merge changes from topic "state-supplier" into ub-launcher3-master
...
* changes:
Translate recents slightly while dragging after pausing
Two-zone model: swipe up from nav bar vs above it
Change LauncherState to Supplier<LauncherState> in tests
2020-01-29 03:06:04 +00:00
Tony Wickham
fd239cafbe
Translate recents slightly while dragging after pausing
...
There's a lot of resistance, but feels better than nothing
responding to your movement.
Bug: 143361609
Change-Id: I9d7e06279ebdbaa0317909ce96d6f001dbe9699a
2020-01-28 18:31:14 -08:00
Tony Wickham
8a054061ef
Change LauncherState to Supplier<LauncherState> in tests
...
This prevents the test from statically initializing LauncherState and
all its static dependencies, which might lead to runtime exceptions in
out-of-proc tests.
Change-Id: I0e4e09dfb31a8b256c2c0c0b3d1d2ecd0cc92230
2020-01-28 18:07:33 -08:00
Sunny Goyal
fc86a9c75c
Removing unnecessary method from tests
...
Change-Id: I28b180b0e63b277b1bf2b206a848fc6ff14a2722
2020-01-28 10:45:48 -08:00
vadimt
053cb7a6e6
Not crashing tests when a test fails to deinitialize
...
This causes nondescript diags "Test failed to run to completion.
Reason: 'Instrumentation run failed due to 'Process crashed.''. Check
device logcat for details"
Now quietly skipping all consequent tests after such failure.
Change-Id: I3747cda1a3094bfe82e27eae39ba9e9dfd4af9b6
2020-01-27 19:26:00 -08:00
vadimt
95241ae0f7
Adding sysui crash diagnostic with a new fingerprint
...
Change-Id: I998e107c05a1993367818db604d4c1666be9b2c6
2020-01-27 18:43:23 -08:00
Vadim Tryshev and Android (Google) Code Review
23cc769eb1
Merge "Adding autodiagnostics for setup wizard being active when tests start" into ub-launcher3-master
2020-01-27 21:36:05 +00:00
vadimt
fd679b78ef
Adding autodiagnostics for setup wizard being active when tests start
...
Change-Id: I78318897b36ee5c94e5ea55e7d1d8cb036fda33b
2020-01-24 14:43:23 -08:00
vadimt
fcaab044a3
Avoid confusing errors "Launcher pid should be 0" when test setup fails
...
Change-Id: Ic5e8114a0f86d1a08738785c4098645e59a24975
2020-01-24 14:30:40 -08:00
vadimt
daed318930
Recognizing a Launcher ANR
...
Change-Id: Ib26df7b6e9f9e6b85f93d2aa2a4a0204430e304f
2020-01-23 15:19:46 -08:00
Vadim Tryshev and Android (Google) Code Review
8cf7b03cad
Merge "Adding auto-investigation of one more flake" into ub-launcher3-master
2020-01-23 20:17:33 +00:00
vadimt
29d8b54957
Disabling events checks for successful gestures by default
...
Launcher tests will still perform checks upon every gesture completion.
All tests using tapl will still use events for diagnostics if the
gesture fails.
The benefit is that system health and other platform tests won't have to
use expensive logcat, and moreover, wait seconds for the events to
appear in logcat because of buffering in logcat.
Change-Id: I3b5a0965d9432144d0c4a8b40ebe2fa89b19a689
2020-01-22 19:16:32 -08:00
vadimt
2c6316be46
Adding auto-investigation of one more flake
...
Reshuffling the tests to make the investigator the outmost rule and run
the code that throws the original exception inside the investigator.
Change-Id: I714717a9b616862db5ce59116138ba7ea6ceb971
2020-01-21 19:06:59 -08:00
vadimt
cffe99f0bb
Automatically diagnosing known flakes
...
It often takes a long time to fix a flake; meanwhile it takes a lot of
time for sheriffs to identify whether to register a new flake for a
failure.
This CL adds automatic identifies identification of one know flake type.
Once identified, it rewrites the error so that:
1. Flakes clustering tool that has only rudimentary clustering, places
all flakes of this kind in the same cluster (not multiple ones like
now). This is a step towards using clustering tool for monitoring
flakes;
2. Sheriff immediately sees that the issue is known.
Change-Id: I86a0762665cb21434289e1be00b60bd76fec4142
2020-01-21 13:29:37 -08:00
TreeHugger Robot and Android (Google) Code Review
2abd13a80b
Merge "Fix BaseSwipeDetector#setState() called inside another setState()" into ub-launcher3-master
2020-01-15 22:03:01 +00:00