Closed Bug 1640353 Opened 2 months ago Closed 1 month ago

Intermittent dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual)

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox78 --- fixed
firefox79 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=303448544&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fgW9rIvRSfW3hwTafU7xQg/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/fgW9rIvRSfW3hwTafU7xQg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-05-23T01:44:24.144Z] 01:44:24     INFO - TEST-START | dom/events/test/browser_mouse_enterleave_switch_tab.js
[task 2020-05-23T01:44:25.298Z] 01:44:25     INFO - TEST-INFO | started process screencapture
[task 2020-05-23T01:44:25.531Z] 01:44:25     INFO - TEST-INFO | screencapture: exit 0
[task 2020-05-23T01:44:25.532Z] 01:44:25     INFO - Buffered messages logged at 01:44:24
[task 2020-05-23T01:44:25.532Z] 01:44:25     INFO - Entering test bound testSwitchTabs
[task 2020-05-23T01:44:25.532Z] 01:44:25     INFO - Initial mouse move
[task 2020-05-23T01:44:25.532Z] 01:44:25     INFO - Open and move to a new tab
[task 2020-05-23T01:44:25.533Z] 01:44:25     INFO - TEST-PASS | dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseleave"] deepEqual ["mouseleave"] - 
[task 2020-05-23T01:44:25.533Z] 01:44:25     INFO - switch back to the previous tab
[task 2020-05-23T01:44:25.533Z] 01:44:25     INFO - Buffered messages logged at 01:44:25
[task 2020-05-23T01:44:25.533Z] 01:44:25     INFO - TEST-PASS | dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter"] deepEqual ["mouseenter"] - 
[task 2020-05-23T01:44:25.534Z] 01:44:25     INFO - Buffered messages finished
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual)
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - Stack trace:
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - @chrome://mochitests/content/browser/dom/events/test/browser_mouse_enterleave_switch_tab.js:23:12
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1749:15
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:281:21
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - JSActor query*receiveMessage@resource://specialpowers/SpecialPowersParent.jsm:1143:12
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - JSActor query*spawn@resource://specialpowers/SpecialPowersChild.jsm:1689:17
[task 2020-05-23T01:44:25.541Z] 01:44:25     INFO - clearMouseEventListenerAndCheck@chrome://mochitests/content/browser/dom/events/test/browser_mouse_enterleave_switch_tab.js:17:24
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - testSwitchTabs@chrome://mochitests/content/browser/dom/events/test/browser_mouse_enterleave_switch_tab.js:57:9
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:927:14
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - Close tabs
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - Leaving test bound testSwitchTabs
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - GECKO(2333) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - GECKO(2333) | MEMORY STAT | vsize 7025MB | residentFast 324MB | heapAllocated 137MB
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - TEST-OK | dom/events/test/browser_mouse_enterleave_switch_tab.js | took 1284ms
[task 2020-05-23T01:44:25.542Z] 01:44:25     INFO - checking window state
[task 2020-05-23T01:44:25.543Z] 01:44:25     INFO - GECKO(2333) | Completed ShutdownLeaks collections in process 2333
[task 2020-05-23T01:44:25.543Z] 01:44:25     INFO - TEST-START | Shutdown
Summary: Intermittent dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual) → Intermittent TV dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual)
Summary: Intermittent TV dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual) → Intermittent dom/events/test/browser_mouse_enterleave_switch_tab.js | ["mouseenter","mouseleave"] deepEqual ["mouseleave"] - got ["mouseenter", "mouseleave"], expected ["mouseleave"] (operator deepEqual)
Severity: normal → S3
Component: Responsive Design Mode → DOM: UI Events & Focus Handling
Product: DevTools → Core
Version: unspecified → Trunk

The test relied on synthesized mousemove event from refresh driver to generate
corresponding mouseenter/mouseleave event, but it would have possible racing
given that we don't know when the mousemove would be synthesized, especially
in opt build. So synthesize mousemove event from test script explicitly.

Assignee: nobody → echen
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1fe2b0353fb
Synthesize a mousemove event from test script to generate mouseenter/mouseleave event explicitly; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.