Closed Bug 525904 Opened 15 years ago Closed 13 years ago

test failure in tests/test_browser_places/unit/test_browserGlue_prefs.js [head_bookmarks.js] | 1 == 0

Categories

(Firefox :: Bookmarks & History, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Gavin, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [fixed-in-places])

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257177647.1257179938.31800.gz&fulltext=1#err0 has a slightly different failure mode than bug 518084 or bug 522735, so I'm filing separately:

TEST-UNEXPECTED-FAIL | /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/head_bookmarks.js | 1 == 0 - See following stack:
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/head.js :: do_throw :: line 197
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/head.js :: do_check_eq :: line 227
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/head_bookmarks.js :: check_no_bookmarks :: line 151
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/head_bookmarks.js :: remove_all_bookmarks :: line 133
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js :: next_test :: line 224
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js :: anonymous :: line 87
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js :: next_test :: line 233
JS frame :: /builds/slave/mozilla-central-macosx-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js :: run_test :: line 245
Whiteboard: [orang[
Whiteboard: [orang[ → [orange]
Depends on: 518084, 522735
Blocks: 438871
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
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262289218.1262298560.31400.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2009/12/31 11:53:38
s: win32-slave08
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262313580.1262320675.11780.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2009/12/31 18:39:40
s: win32-slave01
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262494735.1262501657.11534.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/02 20:58:55
s: win32-slave18
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262723716.1262732686.22594.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/05 12:35:16
s: win32-slave13
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262889964.1262901288.10432.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/07 10:46:04
s: win32-slave18
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262876909.1262884697.15588.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/07 07:08:29
s: win32-slave19
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262898119.1262909526.5738.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/07 13:01:59
s: win32-slave12
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262932717.1262939700.11326.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/07 22:38:37
s: win32-slave07

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262937741.1262943308.18337.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/08 00:02:21
s: win32-slave37
This is an additional log, after a call to remove_all_bookmarks, in the moz_bookmarks table there is a bookmark child of bookmarks menu, that has no title, and it appears randomly.

TEST 2: import from bookmarks.html, but don't create smart bookmarks if they are disabled
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js | [anonymous : 97] -1 == -1
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js | [anonymous : 107] example == example
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/test_browserGlue_prefs.js | [anonymous : 109] false == false

*** Printing data from moz_bookmarks:
id	type	fk	parent	position	title	keyword_id	folder_type	dateAdded	lastModified	
1	2	NULL	0	0		NULL	NULL	1262976155978000	1262976155978000	
2	2	NULL	1	0	Bookmarks Menu	NULL	NULL	1262976155978000	1262976156243000	
3	2	NULL	1	1	Bookmarks Toolbar	NULL	NULL	1233157910000000	1262976156228000	
4	2	NULL	1	2	Tags	NULL	NULL	1262976155978000	1262976155993000	
5	2	NULL	1	3	Unsorted Bookmarks	NULL	NULL	1262976155978000	1262976156275000	
6	1	4	2	0		NULL	NULL	1262976156243000	1262976156243000	
*** There were a total of 6 rows of data.

Found unexpected child at 0: 
TEST-UNEXPECTED-FAIL | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/xpcshell/tests/test_browser_places/unit/head_bookmarks.js | 1 == 0 - See following stack:
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262991673.1262998513.26390.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/08 15:01:13
s: win32-slave15
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262992139.1262998964.1538.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/08 15:08:59
s: win32-slave27
Whiteboard: [orange] → [orange][test_browserGlue_prefs.js disabled on central]
Whiteboard: [orange][test_browserGlue_prefs.js disabled on central] → [orange][test_browserGlue_prefs.js disabled on central][fixed-in-places]
test was cleaned up in central and lot of code changed, I assume this is WFM now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange][test_browserGlue_prefs.js disabled on central][fixed-in-places] → [orange][fixed-in-places]
Whiteboard: [orange][fixed-in-places] → [fixed-in-places]
You need to log in before you can comment on or make changes to this bug.