Intermittent browser/components/extensions/test/browser/browser_ext_browserAction_contextMenu.js | Test timed out | Extension left running at test shutdown
Categories
(WebExtensions :: General, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disabled])
Attachments
(1 file)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 7•8 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 14•7 years ago
|
||
Updated•7 years ago
|
Comment 15•7 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 17•7 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Comment 20•7 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 36•6 years ago
|
||
Comment 37•6 years ago
|
||
Hi Andrew, spikes here seem to be from Bug 1563062, can you please take a look?
Comment 38•6 years ago
|
||
If there's a connection between these failures and bug 1563062, it must be something indirect. E.g., removal of other test cases changed timing or initial conditions or something, making the underlying problem more likely to occur.
I'm not very familiar with this test, looks like Rob was the last person to make non-trivial changes to it, perhaps he has ideas.
Comment hidden (Intermittent Failures Robot) |
Comment 40•6 years ago
|
||
From the log from comment 36:
14:04:59 INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_browserAction_contextMenu.js | Abuse report frame has the expected reportEntryPoint -
14:04:59 INFO - Closing the about:addons tab
14:04:59 INFO - Pin the browserAction and another button to the overflow menu
14:04:59 INFO - Wait until the overflow menu is ready
14:04:59 INFO - Waiting for overflow button to have non-0 size
14:04:59 INFO - Test overflow menu context menu in browserAction
14:04:59 INFO - Open browserAction context menu in customizationPanelItemContextMenu
14:04:59 INFO - Buffered messages finished
14:04:59 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_browserAction_contextMenu.js | Test timed out -
Test appears to be stuck at
let menu = await openContextMenu(menuId, buttonId, win)
intestContextMenu
in browseraction_contextmenu_report_extension- called by
await testContextMenu("customizationPanelItemContextMenu", customizing);
inrunTestContextMenu
withcustomizing=true
- preceded by
await testContextMenu("toolbar-context-menu", customizing);
- (whose last action is closing the
about:addons
tab) - called by
browseraction_contextmenu_report_extension
This subtest was newly added in bug 1544928, but the runTestContextMenu
logic was largely pre-existing and unchanged.
There is a potentially significant difference:
- The existing test that closed
about:addons
also awaits"customizationready"
after closing the tab before resuming the test. - The new test does not
I cannot reproduce the issue locally on macOS even with --verify, but adding an explicit wait for the customizationready
event does not cause the test to fail (even with --verify).
Luca, why was this omitted? Would waiting for the customizationready
event reduce the number of failures?
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Comment 43•6 years ago
|
||
(In reply to Rob Wu [:robwu] from comment #40)
I cannot reproduce the issue locally on macOS even with --verify, but adding an explicit wait for the
customizationready
event does not cause the test to fail (even with --verify).Luca, why was this omitted? Would waiting for the
customizationready
event reduce the number of failures?
I was also able to reproduce it locally on linux using --verify.
I don't see any reason why we should have omitted that part in the test that is timing out (we may have just missed to notice that differences),
and so I'm going to attach to this issue a patch with that change.
Looking at a some of failures tracked by orangefactor, and the screenshots captured during the failures, it seems that when the test gets stuck the context menu for the tab is actually being triggered instead of the context menu of the browserAction button (which I think it may be happening when the customize mode is still not completely ready on the tab, and we may not be synthesizing the mouse events on the screen position we expect).
I gave it a try locally and in a try push here:
there is still a failure in TV (on osx debug), but it isn't the timeout failure that is currently spiking.
Comment 44•6 years ago
|
||
Comment 45•6 years ago
|
||
Comment 46•6 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 49•6 years ago
|
||
The latest failure was on the 16th of July, which was the day that the above patch landed.
Comment 50•6 years ago
|
||
Re-opening though, because the test is still disabled on Linux.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 54•5 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/c716cc9f2a70a92ae6367b6ae13bc9f79faad1fa has been backed out, but was relanded here:
https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=Windows%2C10%2Cx64%2CQuantumRender%2Cdebug%2CMochitests%2Ctest-windows10-64-qr%2Fdebug-mochitest-browser-chrome-e10s-2%2CM%28bc2%29&tochange=e2a0b2626fe8a9224adb8420182865e4e2a68022&fromchange=0ddcc1e783177f49e81a2e655e75c925beb74c41&selectedJob=283978460
https://hg.mozilla.org/integration/autoland/rev/e2a0b2626fe8a9224adb8420182865e4e2a68022
Since it has >200 occurrences in the last 24 hours, was backed out here:
https://hg.mozilla.org/integration/autoland/rev/c31f51b3d5e3f563d324453857b76321a7e8983a
Comment 55•5 years ago
|
||
Recent occurences are fixed by the backout mentioned above.
Removing the ni here and leaving it on the regressed by bug.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Updated•3 years ago
|
Description
•