cheets_NotificationTest is flaky: ERROR: Timed out waiting for condition: Notification is found |
||||||
Issue descriptioncheets_NotificationTest failed on reef-chrome-pfq Builder link: https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8945805114949567712 Log:http://cautotest-prod/tko/retrieve_logs.cgi?job=/results/202101013-chromeos-test/ ACTIVITY MANAGER RECENT TASKS (dumpsys activity recents) Recent tasks: * Recent #0: TaskRecord{df0fa28 #2 A=org.chromium.arc.testapp.notification U=0 StackId=2 sz=1} userId=0 effectiveUid=u0a51 mCallingUid=2000 mUserSetupComplete=true mCallingPackage=null affinity=org.chromium.arc.testapp.notification intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.chromium.arc.testapp.notification/.NotificationActivity} realActivity=org.chromium.arc.testapp.notification/.NotificationActivity autoRemoveRecents=false isPersistable=true numFullscreen=1 taskType=0 mTaskToReturnTo=1 rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE Activities=[ActivityRecord{428fd36 u0 org.chromium.arc.testapp.notification/.NotificationActivity t2}] askedCompatMode=false inRecents=true isAvailable=true lastThumbnail=null lastThumbnailFile=/data/system_ce/0/recent_images/2_task_thumbnail.png stackId=2 hasBeenVisible=true mResizeMode=RESIZE_MODE_FORCE_RESIZEABLE isResizeable=true firstActiveTime=1527023040264 lastActiveTime=1527023040264 (inactive for 22s) Arc Window State: mWindowState=WINDOW_STATE_NORMAL mRestoreBounds=Rect(0, 0 - 0, 0) * Recent #1: TaskRecord{ec2e341 #1 A=org.chromium.arc.home U=0 StackId=0 sz=1} userId=0 effectiveUid=u0a46 mCallingUid=0 mUserSetupComplete=false mCallingPackage=null affinity=org.chromium.arc.home intent={act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.chromium.arc.home/.HomeActivity} realActivity=org.chromium.arc.home/.HomeActivity autoRemoveRecents=false isPersistable=true numFullscreen=1 taskType=1 mTaskToReturnTo=1 rootWasReset=false mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE Activities=[ActivityRecord{bdcb6ab u0 org.chromium.arc.home/.HomeActivity t1}] askedCompatMode=false inRecents=true isAvailable=true lastThumbnail=null lastThumbnailFile=/data/system_ce/0/recent_images/1_task_thumbnail.png stackId=0 hasBeenVisible=true mResizeMode=RESIZE_MODE_FORCE_RESIZEABLE isResizeable=false firstActiveTime=1527023040093 lastActiveTime=1527023040093 (inactive for 22s) Arc Window State: mWindowState=WINDOW_STATE_MAXIMIZED mRestoreBounds=Rect(0, 0 - 0, 0) 05/22 14:04:22.742 WARNI| arc:0508| Iteration 1 failed, taking a screenshot. 05/22 14:04:23.074 DEBUG| test:0420| after_iteration_hooks completed 05/22 14:04:23.076 WARNI| test:0637| The test failed with the following exception Traceback (most recent call last): File "/usr/local/autotest/common_lib/test.py", line 631, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/usr/local/autotest/common_lib/test.py", line 831, in _call_test_function return func(*args, **dargs) File "/usr/local/autotest/common_lib/test.py", line 495, in execute dargs) File "/usr/local/autotest/common_lib/test.py", line 362, in _call_run_once_with_retry postprocess_profiled_run, args, dargs) File "/usr/local/autotest/common_lib/test.py", line 400, in _call_run_once self.run_once(*args, **dargs) File "/usr/local/autotest/tests/cheets_NotificationTest/cheets_NotificationTest.py", line 63, in run_once sleep_interval=1) # second File "/usr/local/autotest/common_lib/utils.py", line 2740, in poll_for_condition raise TimeoutError(desc) +sheriffs, ARC Constable
,
May 22 2018
@youshiki, could you check if there is any chrome change, that could have broken this test
,
May 23 2018
I actually lean towards thinking that was a flake since the test pass on all other boards, and I don't see any reef specific in it. One suspicious thing is Play Store download notification kicking in just after test sends its notification. From logcat: 05-22 14:04:18.568 222 222 D ArcNotificationsService: openOrUpdateWrapper (wrapperKey: 0|org.chromium.arc.testapp.notification|12345|null|10051) 05-22 14:04:18.574 222 222 E ArcNotificationsService: Extracted download completed notification string: Successfully installed If this is the source of the flake, can we somehow fix or workaround it?
,
Aug 3
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
,
Aug 3
,
Oct 1
Looks like here's another failure: https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8933846312825179792 +khmel as the current ARC constable
,
Oct 2
And more: This time on fizz. http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8933785032746492336
,
Oct 2
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by xiaoyinh@chromium.org
, May 22 2018