Closed Bug 1743920 Opened 4 years ago Closed 4 years ago

Permafailing org.mozilla.geckoview.test.TextInputDelegateTest#<test> | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms

Categories

(GeckoView :: General, defect, P5)

Unspecified
All
defect

Tracking

(firefox-esr91 unaffected, firefox94 unaffected, firefox95 unaffected, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

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


[task 2021-12-01T17:12:26.635Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): Error
[task 2021-12-01T17:12:26.635Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-12-01T17:12:26.635Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutRunnable.run(UiThreadUtils.java:49)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.util.UiThreadUtils.waitForCondition(UiThreadUtils.java:158)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitForMessage(GeckoSessionTestRule.java:2174)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.evaluateJS(GeckoSessionTestRule.java:2134)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule.waitForJS(GeckoSessionTestRule.java:2300)
[task 2021-12-01T17:12:26.636Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.BaseSessionTest.waitForJS(BaseSessionTest.kt:210)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.TextInputDelegateTest.processChildEvents(TextInputDelegateTest.kt:110)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.TextInputDelegateTest.assertText(TextInputDelegateTest.kt:346)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.TextInputDelegateTest.inputConnection_largeText(TextInputDelegateTest.kt:669)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-12-01T17:12:26.637Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.rule.GeckoSessionTestRule$2.lambda$evaluate$0$GeckoSessionTestRule$2(GeckoSessionTestRule.java:1442)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at org.mozilla.geckoview.test.rule.-$$Lambda$GeckoSessionTestRule$2$TNUWVrkQlCzXHIjIbcLih1Q8TRE.run(lambda)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1950)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.os.Handler.handleCallback(Handler.java:751)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.os.Handler.dispatchMessage(Handler.java:95)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.os.Looper.loop(Looper.java:154)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at android.app.ActivityThread.main(ActivityThread.java:6077)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.226 E/GeckoSessionTestRule( 3466): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
[task 2021-12-01T17:12:26.638Z] 17:12:26     INFO -  12-01 17:12:26.231 D/GeckoViewConsole( 3466): onEvent GeckoView:WebExtension:PortMessageFromApp {"message":{"id":"2ac07c99-9109-48fd-be00-f9430a4dfe28","args":{"oldPrefs":{"dom.select_events.textcontrols.enabled":null}},"type":"RestorePrefs"}}
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  12-01 17:12:26.243 D/EGL_emulation( 3466): eglMakeCurrent: 0x7ec8e05539a0: ver 3 0 (tinfo 0x7ec8e0551f80)
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  12-01 17:12:26.246 D/GeckoViewContent( 3466): handleEvent: DOMWindowClose
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  12-01 17:12:26.248 D/GeckoViewConsole( 3466): onEvent GeckoView:WebExtension:List null
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  12-01 17:12:26.252 I/Gecko   ( 3466): nsWindow[0x7ec882ce3800]::Show 0
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  12-01 17:12:26.252 E/GeckoSessionTestRule( 3466): test_end c5ee677f-bc83-49bd-9e28-2d35f3d0f059 inputConnection_largeText[#textarea](org.mozilla.geckoview.test.TextInputDelegateTest)
[task 2021-12-01T17:12:26.639Z] 17:12:26  WARNING -  TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.TextInputDelegateTest#inputConnection_largeText[#textarea] | org.mozilla.geckoview.test.util.UiThreadUtils$TimeoutException: Timed out after 30000ms
[task 2021-12-01T17:12:26.639Z] 17:12:26     INFO -  TEST-INFO took 32604ms

(In reply to Natalia Csoregi [:nataliaCs] from comment #1)

It has started permafailing: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=android%2C7.0%2Cx86-64%2Clite%2Cwebrender%2Cdebug%2Ctest-android-em-7.0-x86_64-lite-qr%2Fdebug-geckoview-junit-e10s-single-e10s%2Cgv-junit-e10s-single&tochange=e86bd6c22ef7deb3ed8606825a4651b159e29a50&fromchange=80cc015458a7a856a31110a46ee9e866f428090a&selectedTaskRun=Hc9HbtvwQZW3DVw5E45jLQ.0

:m_kato, could you take a look at this please?

This timeout seems to be that new Promise(r => requestAnimationFrame(r)) isn't resolved. I guess that this might be infra issue or another bug. Could you reproduce this repeatedly?

Flags: needinfo?(m_kato) → needinfo?(ncsoregi)

Could the failing tests be temporarily disabled?

Flags: needinfo?(m_kato)

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #4)

Could the failing tests be temporarily disabled?

Maybe all geckoview-junit tests will be failure since client JavaScript doesn't run well. I want to know regression range for this failures.

Flags: needinfo?(m_kato) → needinfo?(nerli)

agi, do you change anything test infra for geckoview-junit?

Flags: needinfo?(agi)

WebPush tests of GEckoView-junit (Not TextInputDelegateTest ) is also failure such as https://treeherder.mozilla.org/logviewer?job_id=359931595&repo=autoland&lineNumber=13368. This failure is timeout since client JS doesn't resolve Promise.

Has Regression Range: --- → yes
Keywords: regression
Flags: needinfo?(nerli)
Flags: needinfo?(agi)

No failures in the last 2 days.

Whiteboard: [retriggered]

The push in bug 1743637 that caused these failures was backed out by https://hg.mozilla.org/mozilla-central/rev/8290bc0f4cebe33a586feabe5d9040dedcd6a94d

If the failures have stopped, can this bug be closed?

Flags: needinfo?(etoop)

(In reply to Mathew Hodson from comment #11)

The push in bug 1743637 that caused these failures was backed out by https://hg.mozilla.org/mozilla-central/rev/8290bc0f4cebe33a586feabe5d9040dedcd6a94d

If the failures have stopped, can this bug be closed?

I guess that previous fix (https://hg.mozilla.org/integration/autoland/rev/e86bd6c22ef7) causes that it hits the cast assertion. The latest fix of bug 1743637 resolves it, so this won't occur after bug 1743637 is closed.

Fixed by the back out.

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