Closed Bug 1717506 Opened 3 years ago Closed 3 years ago

Intermittent org.mozilla.geckoview.test.AutofillDelegateTest#autofillNavigation | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms

Categories

(GeckoView :: General, defect, P1)

Unspecified
All

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Assigned: agi)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [geckoview:m94][retriggered][stockwell disabled][geckoview:m95][geckoview:m96])

Attachments

(3 files)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=343412126&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YPe_YEdqRUqwkFednTaSOg/runs/0/artifacts/public/logs/live_backing.log


[task 2021-06-21T20:07:29.522Z] 20:07:29     INFO -  06-21 21:07:00.968 I/Gecko   ( 3145): nsWindow 0x710ee1a59800 destructor
[task 2021-06-21T20:07:29.522Z] 20:07:29     INFO -  06-21 21:07:01.009 D/ServiceAllocator( 3145): org.mozilla.gecko.process.GeckoChildProcessServices$tab37 updateBindings: IDLE priority, 6 importance, 0 successful binds, 0 failed binds, 2 successful unbinds
[task 2021-06-21T20:07:29.522Z] 20:07:29     INFO -  06-21 21:07:07.224 E/GeckoConsole( 3145): [JavaScript Error: "NS_ERROR_FILE_NOT_FOUND: " {file: "resource://gre/modules/SessionStoreFunctions.jsm" line: 106}]
[task 2021-06-21T20:07:29.522Z] 20:07:29     INFO -  06-21 21:07:07.224 E/GeckoConsole( 3145): SSF_updateSessionStoreForWindow@resource://gre/modules/SessionStoreFunctions.jsm:106:5
[task 2021-06-21T20:07:29.522Z] 20:07:29     INFO -  06-21 21:07:07.224 E/GeckoConsole( 3145): UpdateSessionStoreForStorage@resource://gre/modules/SessionStoreFunctions.jsm:49:35
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): Error
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:52)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:155)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:1903)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.BaseSessionTest.evaluateJS(BaseSessionTest.kt:185)
[task 2021-06-21T20:07:29.523Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.AutofillDelegateTest.autofillNavigation(AutofillDelegateTest.kt:308)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1317)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$cmP_QJg-X16GIlt8KIQd32egmfU.run(lambda)
[task 2021-06-21T20:07:29.524Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.os.Looper.loop(Looper.java:154)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.285 E/GeckoSessionTestRule( 3145): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.289 D/GeckoViewContent( 3145): handleEvent: DOMWindowClose
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.292 D/GeckoViewConsole( 3145): onEvent GeckoView:WebExtension:List null
[task 2021-06-21T20:07:29.525Z] 20:07:29     INFO -  06-21 21:07:28.301 I/Gecko   ( 3145): nsWindow[0x710ee1a61c00]::Show 0
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  06-21 21:07:28.301 E/GeckoSessionTestRule( 3145): test_end c5ee677f-bc83-49bd-9e28-2d35f3d0f059 autofillNavigation(org.mozilla.geckoview.test.AutofillDelegateTest)
[task 2021-06-21T20:07:29.526Z] 20:07:29  WARNING -  TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.AutofillDelegateTest.autofillNavigation | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  TEST-INFO took 31300ms
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=815
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=autofill
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.AutofillDelegateTest
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=54
[task 2021-06-21T20:07:29.526Z] 20:07:29     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1
Whiteboard: [geckoview:m92?]
Whiteboard: [geckoview:m92?][retriggered] → [geckoview:m93?][retriggered]

6c6f5da9-bf33-4082-a19d-7d99e8083d97 Mass rename intermittents due to Bug 1723034.

Summary: Intermittent org.mozilla.geckoview.test.AutofillDelegateTest.autofillNavigation | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms → Intermittent org.mozilla.geckoview.test.AutofillDelegateTest#autofillNavigation | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms

Update:
There have been 54 failures within the last 7 days:
• 1 failures on android-em-7-0-x86_64-lite-qr opt
• 21 failures on android-em-7-0-x86_64-lite-qr debug
• 2 failures on Android 7.0 x86-64 WebRender opt
• 10 failures on Android 7.0 x86-64 WebRender debug
• 12 failures on Android 7.0 x86-64 WebRender debug-isolated-process
• 3 failures on android-em-7-0-x86_64-shippable-lite-qr opt
• 5 failures on Android 7.0 x86-64 Shippable WebRender opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=347587796&repo=autoland&lineNumber=3091

[task 2021-08-05T23:02:53.166Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=796
[task 2021-08-05T23:02:53.166Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2021-08-05T23:02:53.167Z] 23:02:53     INFO -  org.mozilla.geckoview.test | Error in autofillNavigation(org.mozilla.geckoview.test.AutofillDelegateTest):
[task 2021-08-05T23:02:53.167Z] 23:02:53     INFO -  org.mozilla.geckoview.test | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-08-05T23:02:53.167Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:50)
[task 2021-08-05T23:02:53.168Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-08-05T23:02:53.168Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-08-05T23:02:53.168Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:153)
[task 2021-08-05T23:02:53.168Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:1901)
[task 2021-08-05T23:02:53.169Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.BaseSessionTest.evaluateJS(BaseSessionTest.kt:188)
[task 2021-08-05T23:02:53.169Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.AutofillDelegateTest.autofillNavigation(AutofillDelegateTest.kt:308)
[task 2021-08-05T23:02:53.169Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-08-05T23:02:53.169Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-08-05T23:02:53.170Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-08-05T23:02:53.170Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-08-05T23:02:53.170Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-08-05T23:02:53.170Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1315)
[task 2021-08-05T23:02:53.171Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$cmP_QJg-X16GIlt8KIQd32egmfU.run(lambda)
[task 2021-08-05T23:02:53.171Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2021-08-05T23:02:53.171Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-08-05T23:02:53.171Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.os.Looper.loop(Looper.java:154)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test | 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2021-08-05T23:02:53.172Z] 23:02:53     INFO -  org.mozilla.geckoview.test |
[task 2021-08-05T23:02:53.173Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
<...>
[task 2021-08-05T23:02:53.287Z] 23:02:53     INFO -  08-05 23:02:22.341 D/GeckoViewProgress( 3476): receiveMessage: MozAfterPaint
[task 2021-08-05T23:02:53.287Z] 23:02:53     INFO -  08-05 23:02:23.982 I/Gecko   ( 3476): nsWindow 0x7c3e7fc65c00 destructor
[task 2021-08-05T23:02:53.287Z] 23:02:53     INFO -  08-05 23:02:23.982 I/Gecko   ( 3476): nsWindow 0x7c3e82022400 destructor
[task 2021-08-05T23:02:53.287Z] 23:02:53     INFO -  08-05 23:02:23.983 I/Gecko   ( 3476): nsWindow 0x7c3e7f9dd400 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:23.983 I/Gecko   ( 3476): nsWindow 0x7c3e7ef60800 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:23.983 I/Gecko   ( 3476): nsWindow 0x7c3e7f9d0c00 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:23.983 I/Gecko   ( 3476): nsWindow 0x7c3e7ef69800 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:24.259 I/Gecko   ( 3476): nsWindow 0x7c3e8237a400 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:24.259 I/Gecko   ( 3476): nsWindow 0x7c3e80be9800 destructor
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:25.052 D/ServiceAllocator( 3476): org.mozilla.gecko.process.GeckoChildProcessServices$tab27 updateBindings: IDLE priority, 6 importance, 0 successful binds, 0 failed binds, 2 successful unbinds
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): Error
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:50)
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-08-05T23:02:53.288Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:153)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:1901)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.BaseSessionTest.evaluateJS(BaseSessionTest.kt:188)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.AutofillDelegateTest.autofillNavigation(AutofillDelegateTest.kt:308)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1315)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$cmP_QJg-X16GIlt8KIQd32egmfU.run(lambda)
[task 2021-08-05T23:02:53.289Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.os.Looper.loop(Looper.java:154)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.343 E/GeckoSessionTestRule( 3476): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.344 D/EGL_emulation( 3476): eglMakeCurrent: 0x7c3ea938d520: ver 3 0 (tinfo 0x7c3ea9394540)
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.346 D/GeckoViewContent( 3476): handleEvent: DOMWindowClose
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.347 D/GeckoViewConsole( 3476): onEvent GeckoView:WebExtension:List null
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.351 I/Gecko   ( 3476): nsWindow[0x7c3e7f9d2800]::Show 0
[task 2021-08-05T23:02:53.290Z] 23:02:53     INFO -  08-05 23:02:52.351 E/GeckoSessionTestRule( 3476): test_end c5ee677f-bc83-49bd-9e28-2d35f3d0f059 autofillNavigation(org.mozilla.geckoview.test.AutofillDelegateTest)
[task 2021-08-05T23:02:53.291Z] 23:02:53  WARNING -  TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.AutofillDelegateTest#autofillNavigation | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  TEST-INFO took 31184ms
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=796
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=autofill
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.AutofillDelegateTest
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=57
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1
[task 2021-08-05T23:02:53.291Z] 23:02:53     INFO -  TEST-START | org.mozilla.geckoview.test.AutofillDelegateTest#autofill
Whiteboard: [geckoview:m93?][retriggered] → [geckoview:m93?][retriggered][stockwell needswork:owner]
Severity: S4 → S3
Priority: P5 → P2
Whiteboard: [geckoview:m93?][retriggered][stockwell needswork:owner] → [geckoview:m94?][retriggered][stockwell needswork:owner]

There have been 37 total failures in the last 7 days (recent failure log).
Affected platforms are:

  • android-em-7-0-x86_64-lite-qr debug
  • android-em-7-0-x86_64-qr debug
  • android-em-7-0-x86_64-shippable-lite-qr
Whiteboard: [geckoview:m94?][retriggered][stockwell needswork:owner] → [geckoview:m95?][retriggered][stockwell needswork:owner]
Whiteboard: [geckoview:m95?][retriggered][stockwell needswork:owner] → [geckoview:m94?][retriggered][stockwell needswork:owner]
Whiteboard: [geckoview:m94?][retriggered][stockwell needswork:owner] → [geckoview:m94][retriggered][stockwell needswork:owner]
Priority: P2 → P1

There have been 64 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • android-em-7-0-x86_64-lite-qr
  • android-em-7-0-x86_64-qr
  • android-em-7-0-x86_64-shippable-lite-qr
  • android-em-7-0-x86_64-shippable-qr
Assignee: nobody → ctuns
Status: NEW → ASSIGNED
Assignee: ctuns → nobody
Status: ASSIGNED → NEW
Keywords: leave-open
Whiteboard: [geckoview:m94][retriggered][stockwell disable-recommended] → [geckoview:m94][retriggered][stockwell disabled]
Pushed by ctuns@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4bfab129d922
Disabled AutofillDelegate on debug build r=intermittent-reviewers,jmaher DONTBUILD

Assigning this to myself because I think I am already working on this (or what looks very similar to this). Cannot merge this work https://bugzilla.mozilla.org/show_bug.cgi?id=1703976 due to this intermittent

Assignee: nobody → bugzeeeeee
Assignee: bugzeeeeee → nobody
Whiteboard: [geckoview:m94][retriggered][stockwell disabled] → [geckoview:m94][retriggered][stockwell disabled][geckoview:m95]
Rank: 1
Rank: 1 → 4
Whiteboard: [geckoview:m94][retriggered][stockwell disabled][geckoview:m95] → [geckoview:m94][retriggered][stockwell disabled][geckoview:m95][geckoview:m96]
Assignee: nobody → agi

Looking at the logs, it seems like GV is navigating to about:blank after it goes back to forms.html here: https://searchfox.org/mozilla-central/rev/4f9bbbe5487da6d1c3680488e016f7bb0cbaa128/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AutofillDelegateTest.kt#328

11-02 03:17:05.544 D/GeckoViewNavigation( 3371): onLocationChange
11-02 03:17:05.545 D/GeckoSession( 3371): handleMessage GeckoView:LocationChange uri=http://localhost:4245/assets/www/forms.html
11-02 03:17:05.546 D/GeckoViewProgress( 3371): SecurityTracker onLocationChange: location=http://localhost:4245/assets/www/forms.html, flags=0
11-02 03:17:05.547 D/GeckoViewProgress( 3371): ProgressTracker onStateChange: isTopLevel=false, flags=0x10c0010, status=NS_OK
11-02 03:17:05.548 D/GeckoViewProgress( 3371): StateTracker onStateChange: isTopLevel=false, flags=0x10c0010, status=NS_OK loadType=4
11-02 03:17:05.549 D/GeckoViewProgress( 3371): ProgressTracker onStateChange: isTopLevel=false, flags=0x10f0001, status=NS_OK
11-02 03:17:05.550 D/GeckoViewProgress( 3371): StateTracker onStateChange: isTopLevel=false, flags=0x10f0001, status=NS_OK loadType=4
11-02 03:17:05.551 D/GeckoViewNavigation( 3371): onLocationChange
11-02 03:17:05.553 D/GeckoSession( 3371): handleMessage GeckoView:LocationChange uri=about:blank
11-02 03:17:05.553 E/eglCodecCommon( 3371): glUtilsParamSize: unknow param 0x00008caa
11-02 03:17:05.555 D/GeckoViewProgress( 3371): SecurityTracker onLocationChange: location=about:blank, flags=0

that... makes no sense? Unless maybe the tab is crashing? there's nothing in the logs though.

Oh. I completely missed this code in forms.html:

       addEventListener("load", function(e) {
            if (window.parent === window) {
                document.getElementById("iframe").contentWindow.location.href = window.location.href;
            }
      }

https://searchfox.org/mozilla-central/rev/4f9bbbe5487da6d1c3680488e016f7bb0cbaa128/mobile/android/geckoview/src/androidTest/assets/www/forms.html#28-30

OK so that would make sense if somehow window.location.href is about:blank? and the navigation is a subframe navigation.

OK so I added more logs. It looks like this is caused by a mismatched port connect/disconnect call.

Navigating from forms.html to hello.html and pressing back we get

connect from forms.html
disconnect from forms.html
connect from hello.html
connect from forms.html
disconnect from hello.html

at the last disconnect call we destroy the port for forms.html (even though the disconnect call is for hello.html) because we don't expect calls to be out of order. Checking for the port object should fix this problem.

With Fission BFCache, when navigating back the two pages might run in different
processes, even though they belong to the same domain.

This means that pagehide and pageshow might come out of order. For example,
navigating from a.html to b.html and back, we might get

pageshow b.html
pageshow a.html
pagehide b.html

notice we get the pageshow event for a.html before the pagehide event
for b.html.

Internally in our test framework, we use pagehide and pageshow to establish
a connection between a page and the Java layer through a WebExtension port.

Before this patch, we assumed tha all pageshow events will match a pagehide
event in order, and thus disconnect the port early for a.html when getting
the event for b.html in the above example.

There is also a separate problem where if a port was established for a given
web page and then a navigation was issues, we would hang waiting for a response
from the page that navigated away (and thus, not able to send messages
anymore).

To fix both of these issues, we keep track of all pending messages and discard
them properly when a Port is disconnected, and make sure that the port that's
disconnecting matches the one that's currently associated with the session (to
ensure that we are not disconnecting because of a out-of-order port event).

There is a potential intermittent where we try to execute javascript in the
page before the page navigates away, causing a hang. To ensure that that is not
possible we also wait for a PageStop event.

Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f86b50b2ab51
Handle out-of-order page{hide,show}. r=owlish
https://hg.mozilla.org/integration/autoland/rev/8cc25a79e24c
Re-enable autofillNavigation. r=owlish

This should be fixed now.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Flags: needinfo?(peterv)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: