mozilla-mobile / fenix

⚠️ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
6.47k stars 1.28k forks source link

Intermittent UI test failure - < CustomTabsTest.customTabCopyToolbarUrlTest> #25627

Closed AndiAJ closed 2 years ago

AndiAJ commented 2 years ago

Firebase Test Run: Firebase link

Stacktrace:

06-14 18:08:37.395: I/WindowManager(477): Input event dispatching timed out sending to org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity. Reason: c55633c org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity (server) is not responding. Waited 5004ms for MotionEvent(deviceId=-1, source=0x00001002, displayId=0, action=MOVE, actionButton=0x00000000, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, classification=NONE, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, xCursorPosition=nan, yCursorPosition=nan, pointers=[0: (540.0, 1711.0)]), policyFlags=0x6b000000 06-14 18:08:37.508: I/ActivityManager(477): Force stopping org.mozilla.fenix.debug appid=10152 user=0: finished inst 06-14 18:08:37.508: I/ActivityManager(477): Killing 12715:org.mozilla.fenix.debug/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 06-14 18:08:37.509: W/Binder(12666): Caught a RuntimeException from the binder stub implementation. 06-14 18:08:37.509: W/Binder(12666): java.lang.SecurityException: Calling from not trusted UID! 06-14 18:08:37.509: W/Binder(12666): at android.app.UiAutomationConnection.throwIfCalledByNotTrustedUidLocked(UiAutomationConnection.java:525) 06-14 18:08:37.509: W/Binder(12666): at android.app.UiAutomationConnection.shutdown(UiAutomationConnection.java:429) 06-14 18:08:37.509: W/Binder(12666): at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:390) 06-14 18:08:37.509: W/Binder(12666): at android.os.Binder.execTransactInternal(Binder.java:1159) 06-14 18:08:37.509: W/Binder(12666): at android.os.Binder.execTransact(Binder.java:1123) 06-14 18:08:37.515: I/ServiceChildProcess(13333): Destroying GeckoServiceChildProcess 06-14 18:08:37.516: I/ServiceChildProcess(13485): Destroying GeckoServiceChildProcess 06-14 18:08:37.517: W/ActivityTaskManager(477): Force removing ActivityRecord{f706336 u0 org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity t10 f}}: app died, no saved state 06-14 18:08:37.527: W/ActivityTaskManager(477): Force removing ActivityRecord{7fe4973 u0 org.mozilla.fenix.debug/org.mozilla.fenix.HomeActivity t9 f}}: app died, no saved state 06-14 18:08:37.554: D/AndroidRuntime(12666): Shutting down VM 06-14 18:08:37.555: E/JavaBinder(12666): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) 06-14 18:08:37.555: E/JavaBinder(12666): java.lang.RuntimeException: Bad file descriptor 06-14 18:08:37.555: E/JavaBinder(12666): at android.os.BinderProxy.transactNative(Native Method) 06-14 18:08:37.555: E/JavaBinder(12666): at android.os.BinderProxy.transact(BinderProxy.java:540) 06-14 18:08:37.555: E/JavaBinder(12666): at android.view.IWindowManager$Stub$Proxy.injectInputAfterTransactionsApplied(IWindowManager.java:5262) 06-14 18:08:37.555: E/JavaBinder(12666): at android.app.UiAutomationConnection.injectInputEvent(UiAutomationConnection.java:136) 06-14 18:08:37.555: E/JavaBinder(12666): at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:228) 06-14 18:08:37.555: E/JavaBinder(12666): at android.os.Binder.execTransactInternal(Binder.java:1154) 06-14 18:08:37.555: E/JavaBinder(12666): at android.os.Binder.execTransact(Binder.java:1123) 06-14 18:08:37.568: I/fenix.debug:gp(13485): System.exit called, status: 0 06-14 18:08:37.568: I/AndroidRuntime(13485): VM exiting with result code 0, cleanup skipped. 06-14 18:08:37.572: I/ActivityManager(477): Killing 13333:org.mozilla.fenix.debug:tab16/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 06-14 18:08:37.575: I/ActivityManager(477): Killing 13485:org.mozilla.fenix.debug:gpu/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 06-14 18:08:37.579: I/ActivityManager(477): Killing 10574:com.google.android.apps.wellbeing/u0a94 (adj 985): empty #17 06-14 18:08:37.589: D/WindowManager(477): notifyANR took 196ms

Build: 6/15

Notes: Similar with #24047

┆Issue is synchronized with this Jira Task

AndiAJ commented 2 years ago

Flaky 1x on 7/7 Main Firebase link

07-06 14:12:23.126: I/WindowManager(478): Input event dispatching timed out sending to org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity. Reason: 40b6adc org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity (server) is not responding. Waited 5002ms for MotionEvent(deviceId=-1, source=0x00001002, displayId=0, action=MOVE, actionButton=0x00000000, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, classification=NONE, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, xCursorPosition=nan, yCursorPosition=nan, pointers=[0: (540.0, 1711.0)]), policyFlags=0x6b000000 07-06 14:12:23.147: E/MmTelFeatureConnection 0: ImsRegistrationCallbackAdapter: ImsRegistration is null 07-06 14:12:23.252: I/ActivityManager(478): Force stopping org.mozilla.fenix.debug appid=10152 user=0: finished inst 07-06 14:12:23.252: I/ActivityManager(478): Killing 13534:org.mozilla.fenix.debug/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 07-06 14:12:23.254: W/ActivityTaskManager(478): Force removing ActivityRecord{557a5f1 u0 org.mozilla.fenix.debug/org.mozilla.fenix.customtabs.ExternalAppBrowserActivity t10 f}}: app died, no saved state 07-06 14:12:23.258: I/ServiceChildProcess(14326): Destroying GeckoServiceChildProcess 07-06 14:12:23.283: I/ServiceChildProcess(14198): Destroying GeckoServiceChildProcess 07-06 14:12:23.286: W/Binder(13503): Caught a RuntimeException from the binder stub implementation. 07-06 14:12:23.286: W/Binder(13503): java.lang.SecurityException: Calling from not trusted UID! 07-06 14:12:23.286: W/Binder(13503): at android.app.UiAutomationConnection.throwIfCalledByNotTrustedUidLocked(UiAutomationConnection.java:525) 07-06 14:12:23.286: W/Binder(13503): at android.app.UiAutomationConnection.shutdown(UiAutomationConnection.java:429) 07-06 14:12:23.286: W/Binder(13503): at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:390) 07-06 14:12:23.286: W/Binder(13503): at android.os.Binder.execTransactInternal(Binder.java:1159) 07-06 14:12:23.286: W/Binder(13503): at android.os.Binder.execTransact(Binder.java:1123) 07-06 14:12:23.289: D/AndroidRuntime(13503): Shutting down VM 07-06 14:12:23.290: E/JavaBinder(13503): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) 07-06 14:12:23.290: E/JavaBinder(13503): java.lang.RuntimeException: Bad file descriptor 07-06 14:12:23.290: E/JavaBinder(13503): at android.os.BinderProxy.transactNative(Native Method) 07-06 14:12:23.290: E/JavaBinder(13503): at android.os.BinderProxy.transact(BinderProxy.java:540) 07-06 14:12:23.290: E/JavaBinder(13503): at android.view.IWindowManager$Stub$Proxy.injectInputAfterTransactionsApplied(IWindowManager.java:5262) 07-06 14:12:23.290: E/JavaBinder(13503): at android.app.UiAutomationConnection.injectInputEvent(UiAutomationConnection.java:136) 07-06 14:12:23.290: E/JavaBinder(13503): at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:228) 07-06 14:12:23.290: E/JavaBinder(13503): at android.os.Binder.execTransactInternal(Binder.java:1154) 07-06 14:12:23.290: E/JavaBinder(13503): at android.os.Binder.execTransact(Binder.java:1123) 07-06 14:12:23.302: W/ActivityTaskManager(478): Force removing ActivityRecord{5bd0f64 u0 org.mozilla.fenix.debug/org.mozilla.fenix.HomeActivity t9 f}}: app died, no saved state 07-06 14:12:23.315: I/ActivityManager(478): Killing 14198:org.mozilla.fenix.debug:tab24/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 07-06 14:12:23.319: W/app_process(13503): Thread attaching while runtime is shutting down: Binder:13503_4 07-06 14:12:23.319: I/AndroidRuntime(13503): NOTE: attach of thread 'Binder:13503_4' failed 07-06 14:12:23.326: I/BackdropActivity(12599): onResume() 07-06 14:12:23.326: I/fenix.debug:gp(14326): System.exit called, status: 0 07-06 14:12:23.326: I/AndroidRuntime(14326): VM exiting with result code 0, cleanup skipped. 07-06 14:12:23.328: I/ActivityTaskManager(478): Activity requesting to dismiss Keyguard: ActivityRecord{f131350 u0 com.google.android.apps.mtaas.backdrop/.BackdropActivity t8} 07-06 14:12:23.328: I/ActivityManager(478): Killing 14326:org.mozilla.fenix.debug:gpu/u0a152 (adj 0): stop org.mozilla.fenix.debug due to finished inst 07-06 14:12:23.344: D/WindowManager(478): notifyANR took 221ms

AndiAJ commented 2 years ago

Closing in favour of #25926