Closed Bug 1917741 Opened 9 days ago Closed 2 days ago

Intermittent accessible/tests/browser/caching_granularity/browser_viewport_domain.js | viewport is not present in cache -

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=473587515&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OvGg2UJdQAmQkIZQtNP2tg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OvGg2UJdQAmQkIZQtNP2tg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2024-09-10T00:34:17.744Z] 00:34:17     INFO - TEST-PASS | accessible/tests/browser/caching_granularity/browser_viewport_domain.js | IFRAME is in the same process. - 
[task 2024-09-10T00:34:17.745Z] 00:34:17     INFO - Buffered messages finished
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/caching_granularity/browser_viewport_domain.js | viewport is not present in cache - 
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - Stack trace:
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - chrome://mochitests/content/browser/accessible/tests/browser/caching_granularity/head.js:testAttributeCachePresence:84
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - chrome://mochitests/content/browser/accessible/tests/browser/caching_granularity/head.js:testCachingPerPlatform:135
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - chrome://mochitests/content/browser/accessible/tests/browser/caching_granularity/browser_viewport_domain.js:null:13
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/</<:602
[task 2024-09-10T00:34:17.746Z] 00:34:17     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/<:521
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-09-10T00:34:17.747Z] 00:34:17     INFO - Querying viewport in cache
[task 2024-09-10T00:34:17.748Z] 00:34:17     INFO - TEST-PASS | accessible/tests/browser/caching_granularity/browser_viewport_domain.js | viewport is present in the cache - 
Summary: Intermittent TV accessible/tests/browser/caching_granularity/browser_viewport_domain.js | viewport is not present in cache - → Intermittent accessible/tests/browser/caching_granularity/browser_viewport_domain.js | viewport is not present in cache -

Hi Nathan! Can you please take a look at this?
Thank you!

Keywords: regression
Regressed by: 1794974

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

:nlapre, since you are the author of the regressor, bug 1794974, could you take a look?

For more information, please visit BugBot documentation.

Will do, thanks. I think this should be a pretty simple fix to the tests. Looks like it's akin to the problem described in bug 1916578. I'll put together a fix shortly.

Flags: needinfo?(nlapre)

Per Bug 1916578, some cache domains may be present before the document is
finished loading. This can be triggered by platform-level code event handling.
This issue makes cache absence checks unreliable on macOS. We are intermittently
seeing failures on macOS where viewport is cached before doc load, despite not
explicitly requesting it. As we've done with other such issues, this revision
excludes the cache absence check on macOS.

Assignee: nobody → nlapre
Status: NEW → ASSIGNED
Pushed by nlapre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f63327f4a744 Restrict viewport cache domain check on macOS, r=Jamie
Regressions: 1919366
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
No longer regressions: 1919366
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: