Closed Bug 691005 Opened 13 years ago Closed 12 years ago

Intermittent test_docload.xul | Doubled event { event type: reorder, target: getContainer, arg: undefined} in test with ID = 'load uri about:'.

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

()

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=6635680&tree=Firefox#error6
Rev3 WINNT 5.1 mozilla-central debug test mochitest-other on 2011-09-30 21:58:55 PDT for push f25928e4847d

2657 INFO TEST-START | chrome://mochitests/content/a11y/accessible/events/test_docload.xul
++DOMWINDOW == 58 (0AA710D0) [serial = 70] [outer = 0821A328]
++DOCSHELL 0AAB2B08 == 12
++DOMWINDOW == 59 (0AAD9528) [serial = 71] [outer = 00000000]
++DOMWINDOW == 60 (0AAE0BF8) [serial = 72] [outer = 0AAD94D8]
Couldn't convert chrome URL: chrome://navigator/content/navigator.css
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file e:/builds/moz2_slave/m-cen-w32-dbg/build/netwerk/base/src/nsIOService.cpp, line 653
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file e:/builds/moz2_slave/m-cen-w32-dbg/build/layout/style/Loader.cpp, line 1959
JavaScript strict warning: chrome://mochitests/content/a11y/accessible/events/docload_wnd.xul, line 65: assignment to undeclared variable gFindBarInitialized
2658 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | before wait for focus -- loaded: complete active window: ([object ChromeWindow @ 0x6799868 (native @ 0x67965e0)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul desired window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul child window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul docshell visible: true
2659 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | already focused
2660 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | maybe run tests <load:true, focus:true> -- loaded: complete active window: ([object ChromeWindow @ 0x6799868 (native @ 0x67965e0)]) chrome://browser/content/browser.xul focused window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul desired window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul child window: ([object Window @ 0x7d75ed0 (native @ 0xaa710d0)]) chrome://mochitests/content/a11y/accessible/events/test_docload.xul docshell visible: true
WARNING: NS_ENSURE_TRUE(lastNodeWithCaret) failed: file e:/builds/moz2_slave/m-cen-w32-dbg/build/accessible/src/base/nsCaretAccessible.cpp, line 331
++DOCSHELL 0630DDA0 == 13
++DOMWINDOW == 61 (06921978) [serial = 73] [outer = 00000000]
++DOMWINDOW == 62 (062CCFB0) [serial = 74] [outer = 06921928]
WARNING: NS_ENSURE_TRUE(mWeakShell) failed: file e:/builds/moz2_slave/m-cen-w32-dbg/build/accessible/src/msaa/nsAccessibleWrap.cpp, line 1552
++DOMWINDOW == 63 (08222B08) [serial = 75] [outer = 06921928]
WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file e:/builds/moz2_slave/m-cen-w32-dbg/build/gfx/layers/d3d9/Nv3DVUtils.cpp, line 84
++DOMWINDOW == 64 (0AB4A2B0) [serial = 76] [outer = 06921928]
2661 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | Doubled event { event type: reorder, target: getContainer, arg: undefined} in test with ID = 'load uri about:'.
FYI, I'm tinkering in this area as this test (test-docload.xul) fails every time for me locally as part of the testcase: gQueue.push(new loadErrorPageInvoker("www.wronguri.wronguri", "Server not found")); ...

   Changing the testcase mentioned in the bug: gQueue.push(new loadURIInvoker("about:")); to be gQueue.push(new loadURIInvoker("www.wronguri.wronguri")); causes is to fail everytime also, >until< I have no network connectivity ... than it passes again (?)
(In reply to Mark Capella [:capella] from comment #12)
> FYI, I'm tinkering in this area as this test (test-docload.xul) fails every
> time for me locally as part of the testcase: gQueue.push(new
> loadErrorPageInvoker("www.wronguri.wronguri", "Server not found")); ...
> 
>    Changing the testcase mentioned in the bug: gQueue.push(new
> loadURIInvoker("about:")); to be gQueue.push(new
> loadURIInvoker("www.wronguri.wronguri")); causes is to fail everytime also,
> >until< I have no network connectivity ... than it passes again (?)

I'm not sure I follow exactly, but  other than that this test almost certainly tries to use the network :(, Marco can you be responsible for making this test not be bad?
(In reply to Trevor Saunders (:tbsaunde) from comment #13)
> I'm not sure I follow exactly, but  other than that this test almost
> certainly tries to use the network :(, Marco can you be responsible for
> making this test not be bad?

if we know "Server not found" error page URI then we can use it instead I think.
Ok, In my case, the problem was because my ISP (Time Warner / twcny.rr.com) has a "page not found" re-direct service active by default. When I had them disable it, test_docload.xul now tests cleanly again.
(In reply to Trevor Saunders (:tbsaunde) from comment #13)
> this test almost certainly tries to use the network :(

Right!


(In reply to alexander :surkov from comment #14)
> if we know "Server not found" error page URI then we can use it instead I
> think.

It looks like you either need to remove this test,
or to create a fake answer page using an url from
http://mxr.mozilla.org/mozilla-central/source/build/pgo/server-locations.txt
or something similar.
(In reply to Phil Ringnalda (:philor) from comment #0)
> 2661 ERROR TEST-UNEXPECTED-FAIL |
> chrome://mochitests/content/a11y/accessible/events/test_docload.xul |
> Doubled event { event type: reorder, target: getContainer, arg: undefined}
> in test with ID = 'load uri about:'.

Could the following comment not always be true?
{
73     function loadURIInvoker(aURI)
...
81         // We don't expect state change event for busy true since things happen
82         // quickly and it's coalesced.
}
(In reply to TinderboxPushlog Robot from comment #19)
> anant

Not this bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.