Open Bug 1389365 Opened 2 years ago Updated 3 days ago

Intermittent tree/test_tabbrowser.xhtml,test_tabbrowser.xul | { internal frame: [ document: [ ] ] } is expected to have a child at index 0 : { document: [ ] }, original tested: ['browser node', address: [object XULElement], role: internal frame, ad

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

Tracking Status
firefox58 --- disabled
firefox59 --- disabled

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled])

Duplicate of this bug: 1400738
the test loads two documents into a tabbrowser and then checks the hierarchy, the failure is there's no expected child document. It might be because the document is not attached yet. It makes sense to turn on "doclifecycle" loading in the test, https://dxr.mozilla.org/mozilla-central/source/accessible/tests/mochitest/tree/test_tabbrowser.xul?q=accessible%2Ftests%2Fmochitest%2Ftree%2Ftest_tabbrowser.xul&redirect_type=direct#228
There are 30 failures in the last 7 days. They occur on linux64-stylo-disabled (debug), linux64-ccov (opt), linux32-stylo-disabled (debug), Linux x64 (debug), Linux (debug).

Here is a recent log example: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=144113663&lineNumber=8816

:surkov can you please take a look? Thank you!
Flags: needinfo?(surkov.alexander)
Whiteboard: [stockwell needswork]
here is a screenshot for the log from comment 16:
https://public-artifacts.taskcluster.net/OHFUfb58R3m6zJFGBGh7gA/0/public/test_info//mozilla-test-fail-screenshot_DWfM7M.png

and some related information from the test:
[task 2017-11-12T18:31:24.582Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong index in parent of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80] 
[task 2017-11-12T18:31:24.583Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong next sibling of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80] 
[task 2017-11-12T18:31:24.584Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong previous sibling of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80] 
[task 2017-11-12T18:31:24.586Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong value of property 'role' for ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80]. 
[task 2017-11-12T18:31:24.587Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong first child of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80] 
[task 2017-11-12T18:31:24.588Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong last child of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2a80] 
[task 2017-11-12T18:31:24.589Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong parent of ['document node', address: [object HTMLDocument], role: document, name: 'The Book of Mozilla, 11:14', address: 0x7fc42a9cb670] 
[task 2017-11-12T18:31:24.590Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong index in parent of ['document node', address: [object HTMLDocument], role: document, name: 'The Book of Mozilla, 11:14', address: 0x7fc42a9cb670] 
[task 2017-11-12T18:31:24.592Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong next sibling of ['document node', address: [object HTMLDocument], role: document, name: 'The Book of Mozilla, 11:14', address: 0x7fc42a9cb670] 
[task 2017-11-12T18:31:24.593Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong previous sibling of ['document node', address: [object HTMLDocument], role: document, name: 'The Book of Mozilla, 11:14', address: 0x7fc42a9cb670] 
[task 2017-11-12T18:31:24.594Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong value of property 'role' for ['document node', address: [object HTMLDocument], role: document, name: 'The Book of Mozilla, 11:14', address: 0x7fc42a9cb670]. 
[task 2017-11-12T18:31:24.595Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong parent of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.597Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong index in parent of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.598Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong next sibling of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.599Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong previous sibling of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.600Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong value of property 'role' for ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40]. 
[task 2017-11-12T18:31:24.602Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong first child of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.603Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong last child of ['notificationbox node', address: [object XULElement], role: propertypage, address: 0x7fc429f79c40] 
[task 2017-11-12T18:31:24.604Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong parent of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00] 
[task 2017-11-12T18:31:24.605Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong index in parent of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00] 
[task 2017-11-12T18:31:24.607Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong next sibling of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00] 
[task 2017-11-12T18:31:24.608Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong previous sibling of ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00] 
[task 2017-11-12T18:31:24.609Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Wrong value of property 'role' for ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00]. 
[task 2017-11-12T18:31:24.610Z] 18:31:24     INFO - Buffered messages finished
[task 2017-11-12T18:31:24.612Z] 18:31:24     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/tree/test_tabbrowser.xul | { internal frame: [ document: [ ] ]  } is expected to have a child at index 0 : { document: [ ]  }, original tested: ['browser node', address: [object XULElement], role: internal frame, address: 0x7fc42f1b2d00], [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIArray.queryElementAt]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js :: testAccessibleTree :: line 494"  data: no] 
[task 2017-11-12T18:31:24.613Z] 18:31:24     INFO - testAccessibleTree@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:512:11
[task 2017-11-12T18:31:24.614Z] 18:31:24     INFO - testAccessibleTree@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:573:9
[task 2017-11-12T18:31:24.615Z] 18:31:24     INFO - testAccessibleTree@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:573:9
[task 2017-11-12T18:31:24.616Z] 18:31:24     INFO - testTabHierarchy_finalCheck@chrome://mochitests/content/a11y/accessible/tests/mochitest/tree/test_tabbrowser.xul:215:9
[task 2017-11-12T18:31:24.617Z] 18:31:24     INFO - eventQueue_processNextInvoker@chrome://mochitests/content/a11y/accessible/tests/mochitest/events.js:300:9
[task 2017-11-12T18:31:24.618Z] 18:31:24     INFO - eventQueue/eventQueue_processNextInvokerInTimeout/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/events.js:441:43
[task 2017-11-12T18:31:24.619Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Test with ID = 'hierarchy of tabs' succeed.  Event 'document load complete' was handled. 
[task 2017-11-12T18:31:24.621Z] 18:31:24     INFO - TEST-PASS | accessible/tests/mochitest/tree/test_tabbrowser.xul | Test with ID = 'hierarchy of tabs' succeed.  Event 'document load complete' was handled. 
[task 2017-11-12T18:31:24.622Z] 18:31:24     INFO - GECKO(1062) | MEMORY STAT | vsize 2815MB | residentFast 469MB | heapAllocated 187MB
[task 2017-11-12T18:31:24.623Z] 18:31:24     INFO - TEST-OK | accessible/tests/mochitest/tree/test_tabbrowser.xul | took 4235ms
The more detailed log is needed. My understanding is these lines should be added into the test:
SimpleTest.requestCompleteLog();
gA11yEventDumpToConsole = true;
Flags: needinfo?(surkov.alexander)
In the last 7 days this has almost doubled number of failures.  It's now up to 50 fails in the last week, most of them on linux 32 and linux32-stylo-disabled. 
:surkov could you please take a closer look at this?

Here's a recent log example. https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=145944545&lineNumber=8394
Flags: needinfo?(surkov.alexander)
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6cbcc1566738
Disable accessible/tests/mochitest/tree/test_tabbrowser.xul on linux debug for frequent failures. r=me, a=testonly
this is disabled for now, please remember to enable this in the manifest prior to working on a fix for this.
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
let's wait for new reports with enabled logging ^
Flags: needinfo?(surkov.alexander)
See Also: → 1423218
The leave-open keyword is there and there is no activity for 6 months.
:surkov, maybe it's time to close this bug?
Flags: needinfo?(surkov.alexander)

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #55)

The leave-open keyword is there and there is no activity for 6 months.
:surkov, maybe it's time to close this bug?

rare but still happens

Flags: needinfo?(surkov.alexander)
Duplicate of this bug: 1423218
Summary: Intermittent accessible/tests/mochitest/tree/test_tabbrowser.xul | { internal frame: [ document: [ ] ] } is expected to have a child at index 0 : { document: [ ] }, original tested: ['browser node', address: [object XULElement], role: internal frame, ad → Intermittent tree/test_tabbrowser.xhtml,test_tabbrowser.xul | { internal frame: [ document: [ ] ] } is expected to have a child at index 0 : { document: [ ] }, original tested: ['browser node', address: [object XULElement], role: internal frame, ad
You need to log in before you can comment on or make changes to this bug.