Closed
Bug 496058
Opened 15 years ago
Closed 15 years ago
mochitest-browser-chrome: browser_bookmarksProperties.js times out intermittently
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
Tracking | Status | |
---|---|---|
status1.9.1 | --- | .3-fixed |
People
(Reporter: kinetik, Assigned: mak)
References
(Depends on 1 open bug, )
Details
(Keywords: intermittent-failure, verified1.9.1)
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
This looks similar to existing bugs filed on this (specifically bug 493355), but not exactly the same, so I'm filing a new bug. This timed out on a Linux unit test machine during a cycle with my patch in it, with no failure in the previous cycle. Since I doubt my patch could've caused this, I'm calling it a random timeout.
The timeout happened after the following output:
Starting test browser_bookmarksProperties.js
*** TEST: Bug 479348 - Properties on a root should be read-only
*** TEST: Bug 462662 - Pressing Enter to select tag from autocomplete closes bookmarks properties dialog
About to focus the tagsField
About to focus the autocomplete results tree
*** TEST: Bug 475529 - Add button in new folder dialog not default anymore
About to focus the namePicker field
*** TEST: Bug 476020 - Pressing Esc while having the tag autocomplete open closes the bookmarks panel
About to focus the tagsField
command timed out: 1200 seconds without output, killing pid 11908
process killed by signal 9
This was on Linux mozilla-central unit test on 2009/06/02 15:37:11:
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1243982231.1243989243.29475.gz
Reporter | ||
Updated•15 years ago
|
Whiteboard: [orange]
Assignee | ||
Comment 1•15 years ago
|
||
linux has issues with focus, sadly, so it's possible. i added those dumps "about to focus" exactly to notice if that happens.
Comment 2•15 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1244473503.1244479386.22946.gz
Linux mozilla-central unit test on 2009/06/08 08:05:03
Comment 3•15 years ago
|
||
{
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1244900001.1244907564.30832.gz
Linux mozilla-central unit test on 2009/06/13 06:33:21
[...]
TEST-PASS | chrome://mochikit/content/browser/browser/components/places/tests/browser/browser_bookmarksProperties.js | *** TEST: Bug 462662 - Pressing Enter to select tag from autocomplete closes bookmarks properties dialog
[...]
TEST-PASS | chrome://mochikit/content/browser/browser/components/places/tests/browser/browser_bookmarksProperties.js | EditItemOverlay is initialized
About to focus the tagsField
command timed out: 1200 seconds without output, killing pid 15504
}
*****
While here, the 2 following lines are not needed anymore:
{
532 dump("Starting test browser_bookmarksProperties.js\n");
553 dump("*** TEST: " + gCurrentTest.desc + "\n");
}
Assignee | ||
Comment 4•15 years ago
|
||
unless we fix focus issues on Linux, we could simply disable this test on Linux, but since this does not look failing so often, we would lose a valuable test to fix a rare orange. Or we could try with a polling focus method that will issue focus() till the field is focused, with a timeout of 1s.
I tried some time ago to force the autocomplete field to open a filled popup without having to focus and synthesizekey to it, but was unable, if you have hints to do so they will be appreciated and will allow to remove those focus calls.
Comment 5•15 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox3.5-Unittest/1245460989.1245463378.10592.gz
Linux mozilla-1.9.1 test everythingelse on 2009/06/19 18:23:09
Comment 6•15 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1245707687.1245714489.9191.gz
Linux mozilla-central unit test on 2009/06/22 14:54:47
Comment 7•15 years ago
|
||
{
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1245761468.1245764247.30911.gz
Linux mozilla-central test everythingelse on 2009/06/23 05:51:08
...
*** TEST: Bug 475529 - Add button in new folder dialog not default anymore
TEST-PASS | ... | Sidebar tree has been loaded
TEST-PASS | ...| We have a places node selected: Unsorted Bookmarks
TEST-PASS | ...| command 'placesCmd_new:folder' on current selected node is enabled
TEST-PASS | ...| EditItemOverlay is initialized
About to focus the namePicker field
command timed out: 1200 seconds without output, killing pid 488
}
This one crashed later.
Anyway, please fix or disable this test which aborts the test suite!
Severity: normal → major
Flags: wanted-firefox3.6?
Assignee | ||
Comment 8•15 years ago
|
||
(In reply to comment #7)
> This one crashed later.
where is the crash stack? i can't see any evidence of crashes, could you please paste the dump?
Comment 9•15 years ago
|
||
(In reply to comment #4)
> unless we fix focus issues on Linux, we could simply disable this test on
> Linux, but since this does not look failing so often, we would lose a valuable
> test to fix a rare orange.
Have you filed a bug about the focus issues you're seeing? Are those regressions from FocusManager landing?
Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #9)
> (In reply to comment #4)
> Have you filed a bug about the focus issues you're seeing? Are those
> regressions from FocusManager landing?
No, focus on Linux has always been problematic (maybe Gtk issues?), as far as i can recall, if you search "focus linux" on bugzilla you can find enough bugs, some old enough to make you cry.
I'm not sure filing a new generic focus bug would bring anywhere, unless we have a way to reproduce other than a sometimes failing test.
Fixing bug 495751 could be a good start, though.
Assignee | ||
Comment 11•15 years ago
|
||
Till the underlying bug is fixed, we can disable tests that are focusing textfields in Linux.
Also removed dump()s that are no more useful.
Comment 12•15 years ago
|
||
Comment on attachment 385003 [details] [diff] [review]
disable focusing tests on Linux.
r=me, contingent upon filing a followup and making it block that linux bug.
Attachment #385003 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 13•15 years ago
|
||
before disabling the test i'd like to try sending a focus() call to the window, Neil in another bug wrote "On Linux, window focusing can occur after the load event and other things have occurred.". Worth a try.
Assignee | ||
Comment 14•15 years ago
|
||
i'd like to try this before disabling the test, it's simply focusing the dialog window before running each test. If this won't change a thing i'll push the above disabling patch.
Attachment #385821 -
Flags: review?(adw)
Comment 15•15 years ago
|
||
var win = aSubject.QueryInterface(Ci.nsIDOMWindow);
win.addEventListener("load", function onLoad(event) {
win.removeEventListener("load", onLoad, false);
+ win.focus();
As this is a new window, you can also just wait for the focus event rather than the load event.
Assignee | ||
Comment 16•15 years ago
|
||
i suppose the focus event will come after load on all platforms, then.
Attachment #385821 -
Attachment is obsolete: true
Attachment #385826 -
Flags: review?(enndeakin)
Attachment #385821 -
Flags: review?(adw)
Updated•15 years ago
|
Attachment #385826 -
Flags: review?(enndeakin) → review+
Comment 17•15 years ago
|
||
Assignee | ||
Comment 18•15 years ago
|
||
experimental patch 2 checked-in:
http://hg.mozilla.org/mozilla-central/rev/d54a92a63aa7
resolving, but anyone still seeing this failure on mozilla-central should reopen this, then i'll proceed disabling test on Linux with the above patch.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → Firefox 3.6a1
Comment 19•15 years ago
|
||
(In reply to comment #8)
> (In reply to comment #7)
> > This one crashed later.
>
> where is the crash stack? i can't see any evidence of crashes, could you please
> paste the dump?
Sorry, I meant "hang".
(In reply to comment #11)
> Also removed dump()s that are no more useful.
Could you actually do it?
Maybe also replace
ok(true, "*** FINISHED TEST ***");
ok(true, "*** TEST: " + gCurrentTest.desc);
by
ok(true, "End of test: " + gCurrentTest.desc);
ok(true, "Start of test: " + gCurrentTest.desc);
Thanks.
Flags: wanted-firefox3.6? → in-testsuite+
Whiteboard: [ToDo: comment 3] [orange] → [ToDo: comment 19] [orange]
Updated•15 years ago
|
Attachment #385826 -
Attachment description: experimental patch 2 → experimental patch 2
[Checkin: Comment 18]
Assignee | ||
Comment 20•15 years ago
|
||
oh, the disabling patch was doing that, i forgot in the new one, i'll wait a week, if the orange happens i'll push the above, otherwise i'll fix those dumps.
Assignee | ||
Comment 21•15 years ago
|
||
i asked Mossop to add those changes while he's replacing dumps in Bug 481406.
Comment 22•15 years ago
|
||
Comment 23•15 years ago
|
||
Comment 24•15 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox3.5/1249733048.1249740064.4061.gz
Linux mozilla-1.9.1 unit test on 2009/08/08 05:04:08
Updated•15 years ago
|
Whiteboard: [ToDo: comment 19] [orange] → [ToDo: comment 19] [needs 1.9.1.x landing] [orange]
Assignee | ||
Comment 25•15 years ago
|
||
synced test on 1.9.1
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/b95ed9dcf966
Assignee | ||
Updated•15 years ago
|
status1.9.1:
--- → .3-fixed
Whiteboard: [ToDo: comment 19] [needs 1.9.1.x landing] [orange] → [orange]
Comment 26•15 years ago
|
||
No orangeness since two weeks on 1.9.1 and trunk. Lets call it verified fixed.
Status: RESOLVED → VERIFIED
Keywords: verified1.9.1
Comment 27•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 32•14 years ago
|
||
Rev3 Fedora 12 mozilla-central opt test mochitest-other on 2010/05/22 14:18:38
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1274563118.1274564458.28920.gz
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•