Vadim Tryshev
1562d104b8
Merge "Updating logcat reading logic" into ub-launcher3-master
2020-02-21 00:27:46 +00:00
vadimt
2f41808e9b
Updating logcat reading logic
...
Start a thread to read logcat synchronusly instead
of back-tracking at the end of the test
Also:
* Reusing the same logcat process for all checks. This eliminates
reading the log from its start for every gesture. We don’t kill that
process at the end, and don’t stop the thread. I’ve verified that
“am instrument” doesn’t hang, and the logcat process gets automatically
killed after the test process exits.
* Not using mStarted latch, as there is no need to wait until the reader
reaches the start mark.
Bug: 149422395
Change-Id: Ide4ed19ad8d099c41918f38c2b073b8b2e143b69
2020-02-20 22:02:52 +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
Jon Miranda
98e484548c
Merging from ub-launcher3-master @ build 6219992
...
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6219992.html
Change-Id: Iff1e0d32b4ded4cb51c91c187d85f128b92157ca
2020-02-19 13:11:10 -08:00
Samuel Fufa
f240ef2a0c
Merge "Add Tests for work profile toggle" into ub-launcher3-master
2020-02-16 02:28:23 +00:00
TreeHugger Robot
2c87fb99f6
Merge "Revert "Enabling testPressHomeOnAllAppsContextMenu while fixing failure cause"" into ub-launcher3-master
2020-02-15 07:02:24 +00:00
Vadim Tryshev
47b3588ba5
Revert "Enabling testPressHomeOnAllAppsContextMenu while fixing failure cause"
...
This reverts commit c2842d8f4a .
Reason for revert: CL broke TaplTestsLauncher3.testDevicePressMenu in 2-button mode
Change-Id: Idebda69a36b94686415434e8e3f158a8a7abc5bb
2020-02-15 02:25:35 +00:00
TreeHugger Robot
fa19162a0c
Merge "Starting querying logcat events 1 min before start of the gesture" into ub-launcher3-master
2020-02-15 01:31:42 +00:00
vadimt
c2842d8f4a
Enabling testPressHomeOnAllAppsContextMenu while fixing failure cause
...
Change-Id: I012d5144651f5e7fb362caaef6eec8cee7622fb4
2020-02-14 14:50:28 -08:00
vadimt
05f3a21fca
Starting querying logcat events 1 min before start of the gesture
...
This is a temporary attempt to solve the supposed unreliability of the
"-t" parameter of logcat while the permanent solution (ag/10290062) is
being reviewed.
Bug: 149422395
Change-Id: I327a94de4349bb6cea32f9b8f66bb6e292725b8f
2020-02-14 11:30:14 -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
Thiru Ramasamy
f40c579524
Merge "Initial draft of smart folder logging to clearcut pipeline." into ub-launcher3-master
2020-02-14 00:49:14 +00:00
thiruram
c1c2bfa7fb
Initial draft of smart folder logging to clearcut pipeline.
...
* Adds additional fields to launcher_log.proto to capture smart folder related information.
* Uses ProtoLite to generate log object using builder pattern and converts to nano version before writing to clearcut. Hence not making drastic change to existing logging pattern.
Change-Id: I89b10da8d4e35e3abc7ddb553046946f91b43445
2020-02-13 13:32:21 -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
TreeHugger Robot
9f3cf1aa07
Merge "Restoring generating screenshots of failures" into ub-launcher3-master
2020-02-11 04:39:33 +00:00
Vadim Tryshev
47a73672db
Merge "Verifying events from TouchInteractionService" into ub-launcher3-master
2020-02-11 01:46:53 +00:00
vadimt
1006f73a95
TAPL: Start getting events 10 sec ahead of the first expected one
...
This is a workaround for -t param skipping 4 first sec of recording.
Change-Id: I834d83f5f4ba760171209ab2e06ae40ea4aa9e25
2020-02-10 13:49:29 -08:00
TreeHugger Robot
ee205a0292
Merge "Making some TAPL members public so that tests could use them directly" into ub-launcher3-master
2020-02-08 09:35:35 +00: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
vadimt
359cc2a5e5
Making some TAPL members public so that tests could use them directly
...
Change-Id: I508d25d404a073f5bf76762e0b129e09b46b1582
2020-02-07 18:06:01 -08:00
TreeHugger Robot
93d3117295
Merge "Events: moving logcat filter 1 sec back" into ub-launcher3-master
2020-02-08 00:56:04 +00:00
TreeHugger Robot
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
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