Closed Bug 708927 Opened 8 years ago Closed 7 years ago

Intermittent test_focus_menu.xul | Test timed out, sometimes followed by tens of thousands of gA11yEventListeners is undefined exceptions

Categories

(Core :: Disability Access APIs, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: philor, Assigned: surkov)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Attachments

(3 files)

I think this has been going on for a while, a week or two anyway, but nobody is willing to file (anything at all, including) an orange with 67369 failing tests.

https://tbpl.mozilla.org/php/getParsedLog.php?id=7833888&tree=Mozilla-Inbound
Rev3 Fedora 12 mozilla-inbound debug test mochitest-other on 2011-12-08 12:33:47 PST for push a150aea6c244

https://tbpl.mozilla.org/php/getParsedLog.php?id=7835335&tree=Mozilla-Inbound
Rev3 Fedora 12 mozilla-inbound debug test mochitest-other on 2011-12-08 13:35:34 PST for push 3c620a2f8919

3498 INFO TEST-PASS | chrome://mochitests/content/a11y/accessible/events/test_focus_menu.xul | test with ID = ' 'cycle'  mouse move' failed. There is unexpected focus event.
3499 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_menu.xul | Test timed out.
XScreenSaver state: Disabled
User input has been idle for 3559 seconds
args: ['/home/cltbld/talos-slave/test/build/bin/screentopng']
(screenshot)
3500 INFO TEST-END | chrome://mochitests/content/a11y/accessible/events/test_focus_menu.xul | finished in 329195ms
...
3501 INFO TEST-START | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html
++DOMWINDOW == 90 (0x96ec2f8) [serial = 145] [outer = 0xa962f48]
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3502 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | must wait for load
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2579
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 355
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2579
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 355
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2579
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 355
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2579
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 355
3503 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | an unexpected uncaught JS exception reported through window.onerror - gA11yEventListeners is undefined at chrome://mochitests/content/a11y/accessible/events.js:1438
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3504 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | an unexpected uncaught JS exception reported through window.onerror - gA11yEventListeners is undefined at chrome://mochitests/content/a11y/accessible/events.js:1438
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3505 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | an unexpected uncaught JS exception reported through window.onerror - gA11yEventListeners is undefined at chrome://mochitests/content/a11y/accessible/events.js:1438
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3506 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | an unexpected uncaught JS exception reported through window.onerror - gA11yEventListeners is undefined at chrome://mochitests/content/a11y/accessible/events.js:1438
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3507 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | an unexpected uncaught JS exception reported through window.onerror - gA11yEventListeners is undefined at chrome://mochitests/content/a11y/accessible/events.js:1438
JavaScript error: chrome://mochitests/content/a11y/accessible/events.js, line 1438: gA11yEventListeners is undefined
3508 INFO TEST-END | chrome://mochitests/content/a11y/accessible/events/test_focus_name.html | finished in 411ms

and so on and so on and on and on.
Depends on: 718239
Summary: Intermittent test_focus_menu.xul | Test timed out. followed by tens of thousands of gA11yEventListeners is undefined exceptions → Intermittent test_focus_menu.xul | Test timed out, sometimes followed by tens of thousands of gA11yEventListeners is undefined exceptions
Whiteboard: [orange] → [orange][stop the bleeding]
Attached patch Turn on loggingSplinter Review
Attachment #614782 - Flags: review?(surkov.alexander)
Comment on attachment 614782 [details] [diff] [review]
Turn on logging

Review of attachment 614782 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/tests/mochitest/events/test_focus_menu.xul
@@ +20,5 @@
>    <script type="application/javascript"
>            src="../events.js" />
>  
>    <script type="application/javascript">
> +    gA11yEventDumpID = "eventdump"; // debug stuff

don't enable this one
Attachment #614782 - Flags: review?(surkov.alexander) → review+
log:


registered: event type: focus, target:  'tricycle'

registered unexpected: event type: focus, target: any target different from expected events

Event queue:
  invoke:  'cycle'  'right ' key
4811 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_focus_menu.xul | Invoke the ' 'cycle'  'right ' key' test { expected 'focus' event; unexpected 'focus' event;  }

Event type: show. Target: ['menuitem@id="tricycle" node', address: 0x6a70800, role: menuitem, name: 'tricycle', address: 0xbed9990]

Event type: reorder. Target: ['menupopup node', address: 0x6a70740, role: menupopup, name: 'cycle', address: 0xb0095f0]
WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file e:/builds/moz2_slave/m-cen-w32-dbg/build/gfx/layers/d3d9/Nv3DVUtils.cpp, line 53

Event type: menupopup start. Target: ['menupopup node', address: 0x6a70740, role: menupopup, name: 'cycle', address: 0xb0095f0]
--DOMWINDOW == 12 (0B4A6420) [serial = 172] [outer = 00000000] [url = chrome://mochitests/content/a11y/accessible/events/test_focus_listcontrols.xul]
log on success:

registered: event type: focus, target:  'tricycle'

registered unexpected: event type: focus, target: any target different from expected events

Event queue:
  invoke:  'cycle'  'right ' key

Event type: show. Target: ['menuitem@id="tricycle" node', address: 0xd073998, role: menuitem, name: 'tricycle', address: 0xd21c7c0]

Event type: reorder. Target: ['menupopup node', address: 0xd087798, role: menupopup, name: 'cycle', address: 0x4032168]

Event type: focus. Target: ['menuitem@id="tricycle" node', address: 0xd073998, role: menuitem, name: 'tricycle', address: 0xd21c7c0]. Listeners count: 1

*****
EQ matched: focus
*****
WARNING: NS_ENSURE_TRUE(caretSelection) failed: file c:/mozilla/1909/accessible/src/base/nsCaretAccessible.cpp, line 296
WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file c:/mozilla/1909/gfx/layers/d3d9/Nv3DVUtils.cpp, line 53
WARNING: Direct3D 9-accelerated layers are not supported on this system.: file c:/mozilla/1909/gfx/layers/d3d9/LayerManagerD3D9.cpp, line 55

Event type: menupopup start. Target: ['menupopup node', address: 0xd087798, role: menupopup, name: 'cycle', address: 0x4032168]
We need more logging, bug 759133
Depends on: 759133
https://hg.mozilla.org/mozilla-central/rev/75227ca51671
Assignee: nobody → surkov.alexander
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is currently the number 2 toporange as of the last few days. Please can we disable the test on trunk for now; and try out a fix on Try first?
Disabled on Linux:
https://hg.mozilla.org/integration/mozilla-inbound/rev/33fc8988282d
Whiteboard: [orange][stop the bleeding] → [orange][test disabled on Linux][leave open]