Closed Bug 1944989 Opened 14 days ago Closed 10 days ago

High frequency gv-junit TEST-UNEXPECTED-TIMEOUT | runjunit.py | Timed out after 3000 seconds on PanZoomControllerTest#compositorScrollDelegate

Categories

(Core :: Panning and Zooming, defect, P5)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox134 --- unaffected
firefox135 --- unaffected
firefox136 --- fixed
firefox137 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disable-recommended])

Attachments

(1 file)

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


[task 2025-01-30T22:36:11.141Z] 22:36:11     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.PanZoomControllerTest
[task 2025-01-30T22:36:11.141Z] 22:36:11     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=567
[task 2025-01-30T22:36:11.141Z] 22:36:11     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1
[task 2025-01-30T22:36:11.141Z] 22:36:11     INFO -  TEST-START | org.mozilla.geckoview.test.PanZoomControllerTest#compositorScrollDelegate
[task 2025-01-30T23:10:54.589Z] 23:10:54  WARNING -  TEST-UNEXPECTED-TIMEOUT | runjunit.py | Timed out after 3000 seconds
[task 2025-01-30T23:10:54.590Z] 23:10:54     INFO -  Passed: 545
[task 2025-01-30T23:10:54.590Z] 23:10:54     INFO -  Failed: 0
[task 2025-01-30T23:10:54.590Z] 23:10:54     INFO -  Todo: 21
[task 2025-01-30T23:10:54.590Z] 23:10:54  WARNING -  TEST-UNEXPECTED-FAIL | runjunit.py | Some tests did not run (probably due to a crash in the harness)
[task 2025-01-30T23:10:54.590Z] 23:10:54     INFO -  SUITE-END | took 3001s
[task 2025-01-30T23:10:54.721Z] 23:10:54     INFO -  Stopping web server
[task 2025-01-30T23:10:54.727Z] 23:10:54     INFO -  Server shut down.
[task 2025-01-30T23:10:54.727Z] 23:10:54     INFO -  Web server killed.
[task 2025-01-30T23:10:54.727Z] 23:10:54     INFO -  Stopping web socket server
[task 2025-01-30T23:10:54.727Z] 23:10:54     INFO -  Stopping ssltunnel
[task 2025-01-30T23:10:55.403Z] 23:10:55     INFO - Return code: 0
[task 2025-01-30T23:10:55.404Z] 23:10:55     INFO - TinderboxPrint: geckoview-junit<br/>545/0
[task 2025-01-30T23:10:55.404Z] 23:10:55     INFO - ##### geckoview-junit log ends
[task 2025-01-30T23:10:55.404Z] 23:10:55  WARNING - setting return code to 1

This spike in timeouts as seen here https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2025-01-23&endday=2025-01-30&tree=trunk&bug=1554779 when running that test looks to be coming from changes in https://hg.mozilla.org/integration/autoland/rev/921fdbfb4d2f6df81909f32836e8d0f93deddd36

Botond, could you please have a look st this frequent timeout? Thanks.

Flags: needinfo?(botond)

Set release status flags based on info from the regressing bug 1916010

Thanks for flagging. I will investigate.

Assignee: nobody → botond
Flags: needinfo?(botond)

The issue seems to be that when scrolling back up, due to rounding error, the reported scroll offset gets stuck at a value that is small enough that APZ believes there is no room to scroll further, but the test believes we have not yet reached the top. Using a fuzzy comparison in the test should fix it.

Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a04f6264fc44 Use fuzzy comparisons in PanZoomControllerTest#compositorScrollDelegate. r=hiro,geckoview-reviewers,m_kato

Backed out for causing android build bustages

Backout link: https://hg.mozilla.org/integration/autoland/rev/24368aeb304c5ae55b78e37cdd97a5ae11bafac9

Push with failures

Failure log -> java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)

 WARNING -  /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebResponse.java:61: warning: no comment
[task 2025-02-03T19:37:20.572Z] 19:37:20     INFO -    protected WebResponse(final @NonNull Builder builder) {
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -              ^
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  324 warnings
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  > Task :geckoview:javadocJarDebug
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  > Task :geckoview:sourcesJarDebug
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  > Task :geckoview:publishDebugPublicationToMavenRepository
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  > Task :test_runner:signDebugBundle
[task 2025-02-03T19:37:20.573Z] 19:37:20     INFO -  > Task :test_runner:produceDebugBundleIdeListingFile
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :test_runner:createDebugBundleListingFileRedirect
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :test_runner:bundleDebug
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :geckoview_example:signDebugBundle
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :geckoview_example:produceDebugBundleIdeListingFile
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :geckoview_example:createDebugBundleListingFileRedirect
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :geckoview_example:bundleDebug
[task 2025-02-03T19:37:20.574Z] 19:37:20     INFO -  > Task :geckoview:compileDebugAndroidTestKotlin
[task 2025-02-03T19:37:20.575Z] 19:37:20     INFO -  e: file:///builds/worker/checkouts/gecko/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/PanZoomControllerTest.kt:749:84 Type mismatch: inferred type is Double but Float was expected
[task 2025-02-03T19:37:20.575Z] 19:37:20     INFO -  kotlinc message format has changed!
[task 2025-02-03T19:37:20.575Z] 19:37:20     INFO -  java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
[task 2025-02-03T19:37:20.575Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.StringGroovyMethods.getAt(StringGroovyMethods.java:1373)
[task 2025-02-03T19:37:20.575Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.dgm$1199.invoke(Unknown Source)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:242)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:51)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
[task 2025-02-03T19:37:20.576Z] 19:37:20     INFO -  	at build_ef7jg1uc2ztwp0hle1dhxh3qc$_run_closure2$_closure24.doCall$original(/builds/worker/checkouts/gecko/mobile/android/geckoview/build.gradle:168)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at build_ef7jg1uc2ztwp0hle1dhxh3qc$_run_closure2$_closure24.doCall(/builds/worker/checkouts/gecko/mobile/android/geckoview/build.gradle)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at jdk.internal.reflect.GeneratedMethodAccessor612.invoke(Unknown Source)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
[task 2025-02-03T19:37:20.577Z] 19:37:20     INFO -  	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
[task 2025-02-03T19:37:20.578Z] 19:37:20     INFO -  	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
[task 2025-02-03T19:37:20.578Z] 19:37:20     INFO -  	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1030)
[task 2025-02-03T19:37:20.578Z] 19:37:20     INFO -  	at groovy.lang.Closure.call(Closure.java:427)
Flags: needinfo?(botond)

Apologies for that. I saw this error on Try but misunderstood it as being unrelated to my patch. Upon closer look, I see that there is in fact an underlying Kotlin compiler error caused by my patch. Will fix.

Flags: needinfo?(botond)
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d010911bc554 Use fuzzy comparisons in PanZoomControllerTest#compositorScrollDelegate. r=hiro,geckoview-reviewers,m_kato
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

test-only change, I will push this later to beta for Fx136

Regressions: 1945950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: