vadimt
f81dc291ba
Events: moving logcat filter 1 sec back
...
I saw flakes when logcat didn't return records that are 300ms after the
specified time. I hope that moving the start time 1 sec back will
workaround this.
Change-Id: I6a4b66094d38f555d10284f19a71152a8be47b2e
2020-02-07 14:00:54 -08: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
958995a771
Merge "Fixing race condition on test information provider" into ub-launcher3-master
2020-02-07 21:09:11 +00:00
Sunny Goyal
5fffa47cac
Fixing race condition on test information provider
...
Activity tracker is accessed on a non-UI thread, which can cause a non-initialized
Launcher to be treated as initialized
Bug: 149022794
Change-Id: I6634a6aff891592369c16469bbe95a9ea611819c
2020-02-07 12:37:44 -08:00
vadimt
d633c9c7da
Verifying events from TouchInteractionService
...
There is a guaranteed order in which TIS events will be registered
relative to other TIS events. However, relative to the touch events
arriving to the activity, TIS events can come in any order.
Now the event checker verifies 2 independent ordered event sequences:
from TIS, and “the rest” (Main).
Change-Id: I5872e0e3b0b498050a91c67105fbe4a29411375a
2020-02-07 11:46:03 -08:00
TreeHugger Robot
352e750e80
Merge "Increasing nav mode settlement timeout as an attempt to workaround nav mode mismatch bug." into ub-launcher3-master
2020-02-07 19:08:08 +00:00
TreeHugger Robot
8c2f22e5ab
Merge "Adding one more automatic flake classifier" into ub-launcher3-master
2020-02-07 18:46:40 +00:00
vadimt
c71db98747
Increasing nav mode settlement timeout as an attempt to workaround nav
...
mode mismatch bug.
Bug: 148422894
Change-Id: I1295c1415a308ec461d302c9973309f4de77f984
2020-02-07 10:34:59 -08:00
TreeHugger Robot
70607cfe0a
Merge "Attempt to workaround navigation mode mismatch errors" into ub-launcher3-master
2020-02-07 01:10:23 +00:00
TreeHugger Robot
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
vadimt
ec9c109c46
Attempt to workaround navigation mode mismatch errors
...
Assuming that the nav mode state needs to "settle", adding waiting for
this.
This might be a temporary solution.
Bug: 149024111
Change-Id: Ifbd874546a4cb6b07ad3d3825c95d19bc5836b38
2020-02-06 23:14:49 +00:00
Hongwei Wang
51c6fdf7c3
Merging from ub-launcher3-master @ build 6188107
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6188107.html
Change-Id: I84c1ea301508ba5f0f3d337a423cea8e61832c0d
2020-02-06 15:03:07 -08:00
TreeHugger Robot
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
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
86c1807d3c
Merge "Disable failing test testConfigCancelled" into ub-launcher3-master
2020-02-06 01:33:59 +00:00
TreeHugger Robot
a0912d502a
Merge "Making test run flavor available to tests." into ub-launcher3-master
2020-02-05 20:54:12 +00:00
TreeHugger Robot
c3b8ff4448
Merge "TAPL: Verifying pilferPointers events" into ub-launcher3-master
2020-02-05 19:28:20 +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
TreeHugger Robot
8c6cff249e
Merge "Enabling quick switch test" into ub-launcher3-master
2020-02-01 02:25:09 +00:00
vadimt
db185f6b3e
Enabling quick switch test
...
Now that 2 underlying bugs are fixed
Bug: 143285809
Change-Id: Ie85177830def6e6ee72688f7dbb15ebef9c5ae48
2020-01-31 17:27:46 -08:00
vadimt
7505222183
TAPL: Verifying pilferPointers events
...
Change-Id: Ie825beb4b3adf7fea28959b460e99a44bc471063
2020-01-31 11:22:43 -08: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
Sunny Goyal
9c2b96090b
Adding SecondaryDisplayLauncher in Launcher using common listener
...
Bug: 141596722
Change-Id: I480bfadf592f7d0309f17c33a3fe14bb77fb5586
2020-01-30 08:27:27 +00:00
TreeHugger Robot
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
07ccd59adf
Merge "Adding sysui crash diagnostic with a new fingerprint" into ub-launcher3-master
2020-01-29 19:07:16 +00:00
TreeHugger Robot
6f7f380dde
Merge "Verifying the event for pressing square button" into ub-launcher3-master
2020-01-29 19:01:56 +00:00
TreeHugger Robot
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
vadimt
8196e7984a
Verifying the event for pressing square button
...
Change-Id: If7e3cf29e3a069a295f2612800ddbbfc27653c32
2020-01-28 18:23:05 -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
23cc769eb1
Merge "Adding autodiagnostics for setup wizard being active when tests start" into ub-launcher3-master
2020-01-27 21:36:05 +00:00
TreeHugger Robot
97e5c4c111
Merge "Additionally filtering events by time" into ub-launcher3-master
2020-01-27 18:14:23 +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
0fad650610
Additionally filtering events by time
...
Logcat may return records before the time requested via -t.
Filtering them out.
Also using year in date, to avoid failing during new year night.
Change-Id: I3c84d5fdf7882b3f551a1d430aa906fe1ae67aa7
2020-01-24 14:20:46 -08:00
TreeHugger Robot
8f76378bf5
Merge "Adding events checking for Launcher starting apps" into ub-launcher3-master
2020-01-24 20:23:39 +00:00
vadimt
6098a8c8c0
Adding events checking for Launcher starting apps
...
Change-Id: Id651397f643280a9f99a470df029479bd1b41e5c
2020-01-23 19:12:19 -08:00
vadimt
8bcabc02c3
Logging the time that we use for the current events range
...
It appears that sometimes logcat -d returns events that are earlier than
that time, but we need to be sure.
Example:
ACTION_UP from the previous TAPL method:
https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=1aceab23-6d2a-4b2d-9630-47a74cafe7b9&target=com.google.android.apps.nexuslauncher.tests
Change-Id: Ib83e1cc01402ef638f8ac8a0862e16c5773b82cd
2020-01-23 17:44:38 -08:00
TreeHugger Robot
3c7f820e2b
Merge "More readable formatting for events mismatch message" into ub-launcher3-master
2020-01-24 00:19:24 +00:00
vadimt
daed318930
Recognizing a Launcher ANR
...
Change-Id: Ib26df7b6e9f9e6b85f93d2aa2a4a0204430e304f
2020-01-23 15:19:46 -08:00
vadimt
ff7cd03d43
More readable formatting for events mismatch message
...
This helps for longer event lists.
Change-Id: Ie3565d2ccdde27d23770d01b4f9d4680bd8e229b
2020-01-23 13:40:54 -08:00