Closed
Bug 446197
Opened 16 years ago
Closed 16 years ago
test_not-opener.html fails intermittently on Linux unittest VM
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 451090
People
(Reporter: ted, Unassigned)
References
()
Details
(Keywords: intermittent-failure)
For some reason this test is unreliable running on a VM, it fails intermittently like so:
*** 13276 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_not-opener.html | Should not be able to navigate popup's popup by calling window.open. - got 1, expected 2
*** 13277 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_not-opener.html | Should not be able to navigate popup's popup by submitting form. - got 1, expected 2
*** 13278 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_not-opener.html | Should not be able to navigate popup's popup by targeted hyperlink. - got 1, expected 2
Colin, could you provide some insight as to why the test would fail in this manner? We've seen that a lot of timing-related assumptions fail when running unittests in a VM, but I don't understand this test well enough to see what's happening. If need be, we can check in some debug log statements in the test to help track it down.
Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Sounds like the VM is slow and triggering a race condition. I'm out of the country, but when I get back I'll try to figure out if this is a race in the test or not. Any ideas how to debug this beyond staring at the code?
Reporter | ||
Comment 3•16 years ago
|
||
We can check in dump statements to do printf-style debugging if you'd like. Sprinkle them liberally to figure out what's going on, then we'll remove them when we fix it.
Comment 4•16 years ago
|
||
See also Bug 451090.
Comment 5•16 years ago
|
||
(In reply to comment #4)
> See also Bug 451090.
+/- related: same file, different error.
Reporter | ||
Comment 6•16 years ago
|
||
Adam says these are both the same bug in the test.
Comment 7•16 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239534294.1239541221.17434.gz
Linux mozilla-central unit test
*** 29344 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_not-opener.html | Should not be able to navigate popup's popup by submitting form. - got 1, expected 2
*** 29345 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_not-opener.html | Should not be able to navigate popup's popup by targeted hyperlink. - got 1, expected 2
Comment 8•16 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox3.5/1240230663.1240235031.29743.gz
Linux mozilla-1.9.1 unit test on 2009/04/20 05:31:03
Assignee | ||
Updated•12 years ago
|
Keywords: intermittent-failure
Assignee | ||
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•