Open Bug 1775568 Opened 2 years ago Updated 4 days ago

Intermittent browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | single tracking bug

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

REOPENED

People

(Reporter: jmaher, Assigned: hiro)

References

Details

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

Attachments

(1 file, 1 obsolete file)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1775568

Severity: -- → S4
Attachment #9387214 - Attachment is obsolete: true

Update

There have been 34 total failures within the last 7 days:

  • 24 failures on Linux 18.04 x64 WebRender debug/ opt
  • 8 failures on Linux 18.04 x64 WebRender Shippable opt
  • 2 failures on Windows 11 x64 22H2 asan WebRender opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=455235626&repo=autoland&lineNumber=5661

[task 2024-04-20T00:07:48.152Z] 00:07:48     INFO - Browser is at 176, popup is at 137 with 8 to the selected item
[task 2024-04-20T00:07:48.153Z] 00:07:48     INFO - Buffered messages finished
[task 2024-04-20T00:07:48.154Z] 00:07:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | Select popup has the correct x origin - Got 1094, expected 935
[task 2024-04-20T00:07:48.154Z] 00:07:48     INFO - Stack trace:
[task 2024-04-20T00:07:48.155Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-04-20T00:07:48.156Z] 00:07:48     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js:testPopupSelectPopup:105
[task 2024-04-20T00:07:48.156Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | Select popup has the correct y origin - Got 199, expected 141
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - Stack trace:
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js:testPopupSelectPopup:115
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - Console message: [JavaScript Warning: "Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture" {file: "chrome://global/content/elements/menupopup.js" line: 168}]
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - The key length must be limited to 72 characters."]
[task 2024-04-20T00:07:48.157Z] 00:07:48     INFO - Leaving test bound testPopupSelectPopup
[task 2024-04-20T00:07:48.271Z] 00:07:48     INFO - GECKO(6989) | MEMORY STAT | vsize 12097MB | residentFast 648MB | heapAllocated 431MB
[task 2024-04-20T00:07:48.272Z] 00:07:48     INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | took 993ms

Hi Daniel, do you have a few minutes to help us assign this to someone?
Thank you.

Flags: needinfo?(dholbert)
Whiteboard: [stockwell needswork:owner]

Hiro, looks like you've worked on this test - maybe you could take a look? Worst-case, we could probably broaden the existing skip-if annotation to cover the high level of Linux intermittent failures we're still seeing.

Flags: needinfo?(dholbert) → needinfo?(hikezoe.birchill)
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED

With SpecialPowers.contentTransformsReceived() the test looks stable; a try.

Assignee: hikezoe.birchill → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(hikezoe.birchill)
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a525e97ca04d Await contentTransformsReceived() to ensure the iframe has been positioned. r=layout-reviewers,extension-reviewers,tnikkel,robwu
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

Please note that the issue still occurs on autoland as shown here

Status: RESOLVED → REOPENED
Flags: needinfo?(hikezoe.birchill)
Resolution: FIXED → ---
Target Milestone: 127 Branch → ---

Hasn't the failure ratio been reduced?

I did retrigger M-swr-a11y-checks in the try run I did in comment 103, there's only one this test failure, odd.

Flags: needinfo?(hikezoe.birchill) → needinfo?(tszentpeteri)

It did indeed reduce the failure ratio as it can be seen here. However in the M-swr-a11y-checks it is still quite frequent

Flags: needinfo?(tszentpeteri) → needinfo?(hikezoe.birchill)

Hmm there are still failures on non a11y-checks. The majority of the failrues are a11y-checks though.

Odd, I can't reproduce the failure locally even with --setpref="gfx.webrender.software=true" --enable-a11y-checks.

There have been 52 total failures in the last 7 days.
There are:

  • 15 failures on Linux 18.04 x64 WebRender debug
  • 29 failures on Linux 18.04 x64 WebRender opt
  • 8 failures on Linux 18.04 x64 WebRender Shippable opt

Recent failure log.

[task 2024-08-03T22:45:57.779Z] 22:45:57     INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_popup_requestPermission.js | took 820ms
[task 2024-08-03T22:45:57.793Z] 22:45:57     INFO - checking window state
[task 2024-08-03T22:45:57.801Z] 22:45:57     INFO - TEST-START | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js
[task 2024-08-03T22:45:58.455Z] 22:45:58     INFO - TEST-INFO | started process screentopng
[task 2024-08-03T22:45:58.669Z] 22:45:58     INFO - TEST-INFO | screentopng: exit 0
[task 2024-08-03T22:45:58.669Z] 22:45:58     INFO - Buffered messages logged at 22:45:57
[task 2024-08-03T22:45:58.670Z] 22:45:58     INFO - Entering test bound testPopupSelectPopup
[task 2024-08-03T22:45:58.670Z] 22:45:58     INFO - Extension loaded
[task 2024-08-03T22:45:58.671Z] 22:45:58     INFO - Console message: Warning: attempting to write 17206 bytes to preference browser.uiCustomization.state. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
[task 2024-08-03T22:45:58.672Z] 22:45:58     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - The key length must be limited to 72 characters."]
[task 2024-08-03T22:45:58.672Z] 22:45:58     INFO - Buffered messages logged at 22:45:58
[task 2024-08-03T22:45:58.673Z] 22:45:58     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/document-builder.sjs?html=%0A%3Chtml%3E%0A%20%20%3Cstyle%3E%0A%20%20html%2Cbody%20%7B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20%3Cselect%3E%0A%20%20%3Coption%3EFoo%3C%2Foption%3E%0A%20%20%3Coption%3EBar%3C%2Foption%3E%0A%20%20%3Coption%3EBaz%3C%2Foption%3E%0A%20%20%3C%2Fselect%3E%0A%3C%2Fhtml%3E" line: 0}]
[task 2024-08-03T22:45:58.674Z] 22:45:58     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/document-builder.sjs?html=%0A%3Chtml%3E%0A%20%20%3Cstyle%3E%0A%20%20html%2Cbody%20%7B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20%3Cselect%3E%0A%20%20%3Coption%3EFoo%3C%2Foption%3E%0A%20%20%3Coption%3EBar%3C%2Foption%3E%0A%20%20%3Coption%3EBaz%3C%2Foption%3E%0A%20%20%3C%2Fselect%3E%0A%3C%2Fhtml%3E” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2024-08-03T22:45:58.674Z] 22:45:58     INFO - Browser is at 176, popup is at 137 with 8 to the selected item
[task 2024-08-03T22:45:58.675Z] 22:45:58     INFO - Buffered messages finished
[task 2024-08-03T22:45:58.676Z] 22:45:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | Select popup has the correct x origin - Got 1094, expected 935
[task 2024-08-03T22:45:58.676Z] 22:45:58     INFO - Stack trace:
[task 2024-08-03T22:45:58.677Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-08-03T22:45:58.678Z] 22:45:58     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js:testPopupSelectPopup:107
[task 2024-08-03T22:45:58.678Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-03T22:45:58.678Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-03T22:45:58.679Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-03T22:45:58.679Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-03T22:45:58.679Z] 22:45:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | Select popup has the correct y origin - Got 199, expected 141
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - Stack trace:
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochitests/content/browser/browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js:testPopupSelectPopup:117
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - Console message: [JavaScript Warning: "Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture" {file: "chrome://global/content/elements/menupopup.js" line: 168}]
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - The key length must be limited to 72 characters."]
[task 2024-08-03T22:45:58.680Z] 22:45:58     INFO - Leaving test bound testPopupSelectPopup
[task 2024-08-03T22:45:58.768Z] 22:45:58     INFO - GECKO(6020) | MEMORY STAT | vsize 12175MB | residentFast 642MB | heapAllocated 423MB
[task 2024-08-03T22:45:58.769Z] 22:45:58     INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js | took 966ms

Hi Hiroyuki! Any updates on this? It reached the disable-recommended list due to high number of occurences. Maybe you could take another look?

Thank you!

Flags: needinfo?(hikezoe.birchill)
Whiteboard: [stockwell disable-recommended]
Flags: needinfo?(hikezoe.birchill)

I am afraid I don't have enough time on this intermittent, I am okay with disabling the test.

Flags: needinfo?(hikezoe.birchill)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: