Closed Bug 1190451 Opened 9 years ago Closed 4 years ago

Intermittent test_sanityEventUtils.html | synthesizeMouseExpectEvent should fire click event click event target - got false, expected true

Categories

(Core :: DOM: Events, defect, P5)

Other Branch
x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox48 --- wontfix
firefox49 --- wontfix
firefox50 --- affected
firefox51 --- affected

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:other])

20:54:25 INFO - 1199 INFO TEST-START | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
20:54:26 INFO - TEST-INFO | started process screentopng
20:54:26 INFO - Failed to start /builds/slave/test/build/tests/bin/screentopng for screenshot: No such file or directory
20:54:26 INFO - 1200 INFO
20:54:26 INFO - Profile::EventUtilsLoadTime: 10
20:54:26 INFO - 1201 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendMouseEvent should dispatch click event
20:54:26 INFO - 1202 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendChar should work
20:54:26 INFO - 1203 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendChar should dispatch keyPress
20:54:26 INFO - 1204 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendString should work
20:54:26 INFO - 1205 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendKey should dispatch keyPress
20:54:26 INFO - 1206 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should work
20:54:26 INFO - 1207 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should still work with non-test mouse events disabled
20:54:26 INFO - 1208 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should dispatch mouse event
20:54:26 INFO - 1209 INFO TEST-UNEXPECTED-FAIL | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouseExpectEvent should fire click event click event target - got false, expected true
20:54:26 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:277:5
20:54:26 INFO - _expectEvent/eventHandler@SimpleTest/EventUtils.js:847:5
20:54:26 INFO - synthesizeMouseAtPoint@SimpleTest/EventUtils.js:325:7
20:54:26 INFO - synthesizeMouse@SimpleTest/EventUtils.js:277:1
20:54:26 INFO - synthesizeMouseExpectEvent@SimpleTest/EventUtils.js:893:3
20:54:26 INFO - starttest/</<@testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html:88:1
20:54:26 INFO - starttest/<@testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html:91:7
20:54:26 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@SimpleTest/SimpleTest.js:745:59
20:54:26 INFO - 1210 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouseExpectEvent should fire click event click event fired
20:54:26 INFO - 1211 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should dispatch mouse event
20:54:26 INFO - 1212 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should work
20:54:26 INFO - 1213 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should dispatch keyPress
20:54:26 INFO - 1214 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | undefined keypress event target
20:54:26 INFO - 1215 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | undefined keypress event fired
20:54:26 INFO - 1216 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should work
20:54:26 INFO - 1217 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should dispatch keyPress
20:54:26 INFO - 1218 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeComposition() should dispatch compositionstart
20:54:26 INFO - 1219 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeComposition() should not dispatch compositionupdate without error
20:54:26 INFO - 1220 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeCompositionChange should cause dispatching a DOM text event
20:54:26 INFO - 1221 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeComposition() should not dispatch compositionend
20:54:26 INFO - 1222 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeComposition() should dispatch compositionend
20:54:26 INFO - 1223 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event result is null
20:54:26 INFO - 1224 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event failed
20:54:26 INFO - 1225 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event returns wrong offset
20:54:26 INFO - 1226 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event returns wrong selected text
20:54:26 INFO - 1227 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event result is null
20:54:26 INFO - 1228 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event failed
20:54:26 INFO - 1229 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event returns wrong offset
20:54:26 INFO - 1230 INFO TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | query selected text event returns wrong selected text
20:54:26 INFO - 1231 INFO
20:54:26 INFO - Profile::EventUtilsRunTime: 310
20:54:26 INFO - MEMORY STAT | vsize 773MB | residentFast 132MB | heapAllocated 40MB
20:54:26 INFO - 1232 INFO TEST-OK | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | took 561ms
[Mass Closure] Closing Intermittent as a one off
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
All recent failures are on linux64-asan and look like:

[task 2017-01-05T20:59:20.291055Z] 20:59:20     INFO - TEST-START | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html

[task 2017-01-05T20:59:20.892885Z] 20:59:20     INFO - TEST-INFO | started process screentopng

[task 2017-01-05T20:59:22.276191Z] 20:59:22     INFO - TEST-INFO | screentopng: exit 0

[task 2017-01-05T20:59:22.276469Z] 20:59:22     INFO - Buffered messages logged at 20:59:20

[task 2017-01-05T20:59:22.276608Z] 20:59:22     INFO - 

[task 2017-01-05T20:59:22.276799Z] 20:59:22     INFO - Profile::EventUtilsLoadTime: 37

[task 2017-01-05T20:59:22.278811Z] 20:59:22     INFO - 

[task 2017-01-05T20:59:22.280663Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendMouseEvent should dispatch click event 

[task 2017-01-05T20:59:22.283822Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendChar should work 

[task 2017-01-05T20:59:22.285615Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendChar should dispatch keyPress 

[task 2017-01-05T20:59:22.287720Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendString should work 

[task 2017-01-05T20:59:22.289825Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | sendKey should dispatch keyPress 

[task 2017-01-05T20:59:22.300191Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should work 

[task 2017-01-05T20:59:22.302147Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should still work with non-test mouse events disabled 

[task 2017-01-05T20:59:22.303981Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should dispatch mouse event 

[task 2017-01-05T20:59:22.305592Z] 20:59:22     INFO - Buffered messages finished

[task 2017-01-05T20:59:22.307479Z] 20:59:22     INFO - TEST-UNEXPECTED-FAIL | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouseExpectEvent should fire click event click event target  - got false, expected true

[task 2017-01-05T20:59:22.309000Z] 20:59:22     INFO -     SimpleTest.is@SimpleTest/SimpleTest.js:271:5

[task 2017-01-05T20:59:22.311074Z] 20:59:22     INFO -     eventHandler@SimpleTest/EventUtils.js:979:5

[task 2017-01-05T20:59:22.312585Z] 20:59:22     INFO -     synthesizeMouseAtPoint@SimpleTest/EventUtils.js:395:7

[task 2017-01-05T20:59:22.314340Z] 20:59:22     INFO -     synthesizeMouse@SimpleTest/EventUtils.js:326:10

[task 2017-01-05T20:59:22.317363Z] 20:59:22     INFO -     synthesizeMouseExpectEvent@SimpleTest/EventUtils.js:1025:3

[task 2017-01-05T20:59:22.319906Z] 20:59:22     INFO -     starttest/</<@testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html:88:9

[task 2017-01-05T20:59:22.321667Z] 20:59:22     INFO -     starttest/<@testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html:91:7

[task 2017-01-05T20:59:22.327782Z] 20:59:22     INFO -     focusedOrLoaded/<@SimpleTest/SimpleTest.js:744:59

[task 2017-01-05T20:59:22.329774Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouseExpectEvent should fire click event click event fired 

[task 2017-01-05T20:59:22.333296Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeMouse should dispatch mouse event 

[task 2017-01-05T20:59:22.335139Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should work 

[task 2017-01-05T20:59:22.336944Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | synthesizeKey should dispatch keyPress 

[task 2017-01-05T20:59:22.338714Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | undefined keypress event target  

[task 2017-01-05T20:59:22.340878Z] 20:59:22     INFO - TEST-PASS | testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html | undefined keypress event fired
:masayuki - I see you have worked on this test before. Do you know what is going wrong? Could you have a look?
Flags: needinfo?(masayuki)
There are three tests for this action:
https://dxr.mozilla.org/mozilla-central/rev/8eaf154b385bbe0ff06155294ccf7962aa2d3324/testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html#73
https://dxr.mozilla.org/mozilla-central/rev/8eaf154b385bbe0ff06155294ccf7962aa2d3324/testing/mochitest/tests/SimpleTest/EventUtils.js#979,1000

Only this test is failed:
https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/EventUtils.js#977-979

Although, I don't understand why this fails randomly, this checks Event.originalTarget. So, this must be the cause of the orange.

I don't know why this checks Event.originalTarget rather than Event.target...
Flags: needinfo?(masayuki)
Priority: P3 → P5
See Also: → 1446860
a test-verify specific failure.
Whiteboard: [stockwell needswork:owner] → [stockwell fixed:other]
Priority: -- → P5
Status: REOPENED → RESOLVED
Closed: 9 years ago4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.