Intermittent org.mozilla.geckoview.test.GeolocationTest#locationOnBackground | java.lang.AssertionError: onPause count matches.
Categories
(GeckoView :: General, defect, P5)
Tracking
(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox102 unaffected, firefox103 fixed, firefox104 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox-esr102 | --- | unaffected |
| firefox102 | --- | unaffected |
| firefox103 | --- | fixed |
| firefox104 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: olivia)
References
(Regression)
Details
(Keywords: assertion, intermittent-failure, regression)
Attachments
(1 file)
Filed by: ccozmuta [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=382963828&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WjaptS_NTRelpFCj2lWZ1g/runs/0/artifacts/public/logs/live_backing.log
[task 2022-06-30T02:18:14.148Z] 02:18:14 INFO - 06-30 02:18:13.584 D/GeckoViewContent( 3420): onEvent: event=GeckoView:SetActive, data={"active":false}
[task 2022-06-30T02:18:14.148Z] 02:18:14 INFO - 06-30 02:18:13.584 D/GeckoViewModule( 3420): dispatch GeckoView:FlushSessionState, data=null
[task 2022-06-30T02:18:14.148Z] 02:18:14 INFO - 06-30 02:18:13.584 D/GeckoViewProgress( 3420): onEvent: event=GeckoView:FlushSessionState, data=null
[task 2022-06-30T02:18:14.148Z] 02:18:14 INFO - 06-30 02:18:13.585 D/GeckoViewModule( 3420): dispatch GeckoView:SetFocused, data={"focused":false}
[task 2022-06-30T02:18:14.148Z] 02:18:14 INFO - 06-30 02:18:13.585 D/GeckoViewContent( 3420): onEvent: event=GeckoView:SetFocused, data={"focused":false}
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.586 D/GeckoViewConsole( 3420): onEvent GeckoView:WebExtension:PortMessageFromApp {"message":{"id":"2607ca31-3f95-407f-95b8-7cdae36495dc","args":{"oldPrefs":{"geo.provider.testing":true}},"type":"RestorePrefs"}}
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.588 D/GeckoViewSessionStateAggregator[C](15625): receiveMessage: GeckoView:FlushSessionState
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.588 D/GeckoViewContentDelegateChild[C](15625): handleEvent: MozPaintStatusReset
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.598 D/EGL_emulation( 2140): eglMakeCurrent: 0x7be40e077ce0: ver 3 0 (tinfo 0x7be40e0da380)
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.601 W/OpenGLRenderer( 2140): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.615 D/GeckoViewContentDelegateParent( 3420): receiveMessage: DispatcherMessage
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.622 E/GeckoSessionTestRule( 3420): after performTestEndCheck
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.623 D/GeckoViewContent( 3420): handleEvent: DOMWindowClose
[task 2022-06-30T02:18:14.149Z] 02:18:14 INFO - 06-30 02:18:13.624 D/GeckoViewConsole( 3420): onEvent GeckoView:WebExtension:List null
[task 2022-06-30T02:18:14.150Z] 02:18:14 INFO - 06-30 02:18:13.627 E/GeckoSessionTestRule( 3420): test_end c5ee677f-bc83-49bd-9e28-2d35f3d0f059 locationOnBackground(org.mozilla.geckoview.test.GeolocationTest)
[task 2022-06-30T02:18:14.150Z] 02:18:14 WARNING - TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.GeolocationTest#locationOnBackground | java.lang.AssertionError: onPause count matches.
[task 2022-06-30T02:18:14.150Z] 02:18:14 INFO - TEST-INFO took 755ms
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=930
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | org.mozilla.geckoview.test.GpuCrashTest:
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=killGpuNoCrashReport
[task 2022-06-30T02:18:14.153Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.GpuCrashTest
[task 2022-06-30T02:18:14.154Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=335
[task 2022-06-30T02:18:14.154Z] 02:18:14 INFO - org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: 1
[task 2022-06-30T02:18:14.154Z] 02:18:14 INFO - TEST-START | org.mozilla.geckoview.test.GpuCrashTest#killGpuNoCrashReport
Comment 1•4 years ago
|
||
Set release status flags based on info from the regressing bug 1771229
Comment 2•4 years ago
|
||
:ohall, since you are the author of the regressor, bug 1771229, could you take a look?
For more information, please visit auto_nag documentation.
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 4•4 years ago
•
|
||
It looks like the test failure is occurring because the onPause event to simulate the application going to the background is occurring slower than the JS request for the location sometimes.
In the non-intermittent runs, the location request occurs during/right after onPause occurs, which is expected. The JS location request in the intermittent failure happens just before the application fully goes to the background, so the location request is able to resolve too quickly and the test fails.
Will look into how to increase the time between onPause and the JS request (could add a small wait to the JS request itself).
This intermittent also seems to only mostly occur in fission test runs.
Edit: Noticed one non-fission intermittent in the logs.
| Assignee | ||
Comment 5•4 years ago
|
||
In some test runs, the onPause Android Lifecycle event is not occuring
in the GeckoView test GeolocationTest.
Increasing the time between calling an onPause event (going Home)
and the onResume event (returning to app) will give the device more
time to complete the onPause event and return the expected results.
Updated•4 years ago
|
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 9•4 years ago
|
||
| bugherder uplift | ||
| Comment hidden (Intermittent Failures Robot) |
Description
•