Open Bug 1968558 Opened 1 year ago Updated 1 year ago

perma fail ubuntu 24.04 accessible/tests/browser/ hittest/browser_test_shadowroot.js | scroll/browser_test_scroll_bounds.js

Categories

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

defect

Tracking

()

People

(Reporter: jmaher, Unassigned)

References

Details

when running tests in CI on a newer version of linux (18.04 -> 24.04) we run into some new perma failures.

in this debug log, you can see these failure:

[task 2025-05-24T20:32:52.382Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Height in CSS pixels is calculated correctly - Got 100 - true == true - 
[task 2025-05-24T20:32:52.382Z] 20:32:52     INFO - Got direct child match of [DOM node id: component-child, role: pushbutton, address: 0x7f25e5db6a00]
[task 2025-05-24T20:32:52.382Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Wrong direct child accessible at the point (201, 193) of [DOM node id: component1, role: grouping, address: 0x7f25e925a760], sought [DOM node id: component-child, role: pushbutton, address: 0x7f25e5db6a00] and got  "null"  - 
[task 2025-05-24T20:32:52.383Z] 20:32:52     INFO - Got deepest child match of [DOM node id: component-child, role: pushbutton, address: 0x7f25e5db6a00]
[task 2025-05-24T20:32:52.383Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Wrong deepest child accessible at the point (201, 193) of [DOM node id: component1, role: grouping, address: 0x7f25e925a760], sought [DOM node id: component-child, role: pushbutton, address: 0x7f25e5db6a00] and got  "null"  - 
[task 2025-05-24T20:32:52.384Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | X in CSS pixels is calculated correctly - Got 304 - true == true - 
[task 2025-05-24T20:32:52.384Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Y in CSS pixels is calculated correctly - Got 274 - true == true - 
[task 2025-05-24T20:32:52.385Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Width in CSS pixels is calculated correctly - Got 79 - true == true - 
[task 2025-05-24T20:32:52.385Z] 20:32:52     INFO - TEST-PASS | accessible/tests/browser/hittest/browser_test_shadowroot.js | Height in CSS pixels is calculated correctly - Got 24 - true == true - 
[task 2025-05-24T20:32:52.386Z] 20:32:52     INFO - Got direct child match of [DOM node id: component2, role: grouping, address: 0x7f25e5db6ac0]
[task 2025-05-24T20:32:52.386Z] 20:32:52     INFO - Buffered messages finished
[task 2025-05-24T20:32:52.387Z] 20:32:52     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_shadowroot.js | Timeout while waiting for cache update - 
[task 2025-05-24T20:32:52.387Z] 20:32:52     INFO - Stack trace:
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/browser-test.js:test_ok:1626
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:timeout:973
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - setTimeout handler*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest_setTimeoutShim:922
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:untilCacheCondition/<:980
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:untilCacheCondition:955
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:untilCacheIs:996
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/head.js:testChildAtPoint:47
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/hittest/browser_test_shadowroot.js:runTests:20
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/wrapped/<:636
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:wrapped:535
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/browser-test.js:handleTask:1170
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1242
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1383
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1159
[task 2025-05-24T20:32:52.388Z] 20:32:52     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-05-24T20:32:52.389Z] 20:32:52     INFO - Got direct child match of [DOM node id: component2, role: grouping, address: 0x7f25e5db6ac0]
[task 2025-05-24T20:32:52.389Z] 20:32:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-05-24T20:32:52.390Z] 20:32:52     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/hittest/browser_test_shadowroot.js | Wrong direct child accessible at the point (305, 275) of [DOM node id: component2, role: grouping, address: 0x7f25e5db6ac0], sought [role: pushbutton, name: "Hello world", address: 0x7f25fbdf4b80] and got  "null"  - Got [xpconnect wrapped nsIAccessible @ 0x7f25fbdf4ac0 (native @ 0x7f25e5db6ac0)], expected [xpconnect wrapped nsIAccessible @ 0x7f25fbdf4ca0 (native @ 0x7f25fbdf4b80)]
[task 2025-05-24T20:32:52.390Z] 20:32:52     INFO - Stack trace:

and:

[task 2025-05-24T20:35:54.721Z] 20:35:54     INFO - Scrolling to bottom
[task 2025-05-24T20:35:54.721Z] 20:35:54     INFO - DPR is: 1
[task 2025-05-24T20:35:54.725Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | X in CSS pixels is calculated correctly - Got 275 - 
[task 2025-05-24T20:35:54.725Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | Y in CSS pixels is calculated correctly - Got 186 - 
[task 2025-05-24T20:35:54.725Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | Width in CSS pixels is calculated correctly - Got 33 - 
[task 2025-05-24T20:35:54.726Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | Height in CSS pixels is calculated correctly - Got 22 - 
[task 2025-05-24T20:35:54.726Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | 275,186,33,22 fuzzily matches expected 275,186,33,22 - 
[task 2025-05-24T20:35:54.726Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | x coord of sticky element is unaffected by scrolling - 
[task 2025-05-24T20:35:54.726Z] 20:35:54     INFO - Buffered messages finished
[task 2025-05-24T20:35:54.727Z] 20:35:54     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | Sticky element is top of screen - Got 186, expected 184
[task 2025-05-24T20:35:54.727Z] 20:35:54     INFO - Stack trace:
[task 2025-05-24T20:35:54.727Z] 20:35:54     INFO - chrome://mochikit/content/browser-test.js:test_is:1654
[task 2025-05-24T20:35:54.728Z] 20:35:54     INFO - chrome://mochitests/content/browser/accessible/tests/browser/scroll/browser_test_scroll_bounds.js:null:460
[task 2025-05-24T20:35:54.728Z] 20:35:54     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/wrapped/<:636
[task 2025-05-24T20:35:54.728Z] 20:35:54     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2025-05-24T20:35:54.729Z] 20:35:54     INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:wrapped:535
[task 2025-05-24T20:35:54.729Z] 20:35:54     INFO - chrome://mochikit/content/browser-test.js:handleTask:1170
[task 2025-05-24T20:35:54.729Z] 20:35:54     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1242
[task 2025-05-24T20:35:54.730Z] 20:35:54     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1383
[task 2025-05-24T20:35:54.730Z] 20:35:54     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1159
[task 2025-05-24T20:35:54.731Z] 20:35:54     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-05-24T20:35:54.731Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | width of sticky element is unaffected by scrolling - 
[task 2025-05-24T20:35:54.732Z] 20:35:54     INFO - TEST-PASS | accessible/tests/browser/scroll/browser_test_scroll_bounds.js | height of sticky element is unaffected by scrolling - 

this bug will be for tracking investigations, I will be skipping these tests in a manifest in a larger patch to green stuff up.

Depends on: 1969523
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.