Closed Bug 591850 Opened 14 years ago Closed 13 years ago

Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2, 3==2

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b10

People

(Reporter: philor, Assigned: mak)

References

Details

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

http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1283116042.1283118064.25961.gz
WINNT 5.2 tracemonkey debug test xpcshell on 2010/08/29 14:07:22
s: win32-slave01

TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\tracemonkey-win32-debug-unittest-xpcshell\build\xpcshell\tests\toolkit\components\places\tests\queries\test_tags.js | test failed (with xpcshell return code: 0), see following log:
  >>>>>>>
  ### XPCOM_MEM_LEAK_LOG defined -- logging leaks to c:\docume~1\cltbld\locals~1\temp\tmpgydjmf\runxpcshelltests_leaks.log
WARNING: Cannot load binary components from the omnijar.: file e:/builds/moz2_slave/tracemonkey-win32-debug/build/xpcom/components/nsComponentManager.cpp, line 691
pldhash: for the table at address 04E5E128, the given entrySize of 48 probably favors chaining over double hashing.
WARNING: Cannot load binary components from the omnijar.: file e:/builds/moz2_slave/tracemonkey-win32-debug/build/xpcom/components/nsComponentManager.cpp, line 691

 Skipping 556 Lines...

  Querying for "bogus" should match all
  Making a query with tags ["bogus"] and with tagsAreNot=true
  Made query should be correct for tags and tagsAreNot
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [setsAreEqual : 829] 1 == 1
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [setsAreEqual : 832] bogus == bogus
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [makeQuery : 784] 1 == 1
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [makeQuery : 785] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [setsAreEqual : 829] 3 == 3
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 836] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 836] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 836] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 837] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 837] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 837] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/head_queries.js -> file:///e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/head_common.js | [check_no_bookmarks : 303] 0 == 0
Running test: Duplicate existing tags (i.e., multiple tag folders with same name) should not throw off query results
  Add bookmark and tag it normally
WARNING: attempting to update frecency for a bogus place: file e:/builds/moz2_slave/tracemonkey-win32-debug/build/toolkit/components/places/src/nsNavHistory.cpp, line 7469
  Sanity check: insertBookmark should not fail
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [addBookmark : 631] true == true
  Manually create tag folder with same name as tag and insert bookmark
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 494] true == true
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [anonymous : 499] true == true
  Querying for tag should match URI
  Making a query with tags ["foo"] and with tagsAreNot=false
  Made query should be correct for tags and tagsAreNot
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [setsAreEqual : 829] 1 == 1
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [setsAreEqual : 832] foo == foo
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [makeQuery : 784] 1 == 1
TEST-PASS | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | [makeQuery : 785] false == false
TEST-UNEXPECTED-FAIL | e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js | 0 == 1 - See following stack:
JS frame :: e:\builds\moz2_slave\tracemonkey-win32-debug-unittest-xpcshell\build\xpcshell\head.js :: do_throw :: line 317
JS frame :: e:\builds\moz2_slave\tracemonkey-win32-debug-unittest-xpcshell\build\xpcshell\head.js :: do_check_eq :: line 347
JS frame :: e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js :: setsAreEqual :: line 829
JS frame :: e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js :: queryResultsAre :: line 806
JS frame :: e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js :: anonymous :: line 504
JS frame :: e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js :: anonymous :: line 847
JS frame :: e:/builds/moz2_slave/tracemonkey-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js :: run_test :: line 845
JS frame :: e:\builds\moz2_slave\tracemonkey-win32-debug-unittest-xpcshell\build\xpcshell\head.js :: _execute_test :: line 203
JS frame :: -e :: <TOP_LEVEL> :: line 1
TEST-INFO | (xpcshell/head.js) | exiting test
should be fixed by Places branch merge.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b9
Near as I can tell from the obscure xpcshell log, nope.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla2.0b9 → ---
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1293128607.1293130604.25319.gz
WINNT 5.2 mozilla-central debug test xpcshell on 2010/12/23 10:23:27
s: win32-slave25

TEST-UNEXPECTED-FAIL |
e:\builds\moz2_slave\test\build\xpcshell\tests\toolkit\components\places\tests\queries\test_tags.js
| test failed (with xpcshell return code: 0), see following log:
...
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [makeQuery : 785] false == false
  Making a query with tags ["/2 tag 0", "/2 tag 1", "/2 tag 2", "/2 tag 3", "/2
tag 4", "/2 tag 5", "/2 tag 6", "/2 tag 7", "/2 tag 8", "/2 tag 9", "/2 tag
10"] and with tagsAreNot=false
  Made query should be correct for tags and tagsAreNot
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 829] 11 == 11
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 0 == /2 tag 0
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 1 == /2 tag 1
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 10 == /2 tag 10
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 2 == /2 tag 2
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 3 == /2 tag 3
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 4 == /2 tag 4
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 5 == /2 tag 5
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 6 == /2 tag 6
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 7 == /2 tag 7
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 8 == /2 tag 8
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [setsAreEqual : 832] /2 tag 9 == /2 tag 9
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [makeQuery : 784] 11 == 11
TEST-PASS |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| [makeQuery : 785] false == false
TEST-UNEXPECTED-FAIL |
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
| 1 == 2 - See following stack:
JS frame :: e:\builds\moz2_slave\test\build\xpcshell\head.js :: do_throw ::
line 439
JS frame :: e:\builds\moz2_slave\test\build\xpcshell\head.js :: do_check_eq ::
line 491
JS frame ::
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
:: setsAreEqual :: line 829
JS frame ::
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
:: queryResultsAre :: line 806
JS frame ::
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
:: <TOP_LEVEL> :: line 564
JS frame ::
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
:: <TOP_LEVEL> :: line 847
JS frame ::
e:/builds/moz2_slave/test/build/xpcshell/tests/toolkit/components/places/tests/queries/test_tags.js
:: run_test :: line 845
JS frame :: e:\builds\moz2_slave\test\build\xpcshell\head.js :: _execute_test
:: line 322
JS frame :: -e :: <TOP_LEVEL> :: line 1
TEST-INFO | (xpcshell/head.js) | exiting test
OS: Windows Server 2003 → All
Hardware: x86 → All
Summary: Intermittent failure in places/tests/queries/test_tags.js | 0 == 1 → Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2
I made the test a bit more async by having it correctly wait for cleanup between subtests. I can't see other issues offhand.
Notice most of the change are unfortunately indentation changes but I did not change what the test is doing.
Will check if this is enough.
http://hg.mozilla.org/projects/places/rev/61dd16925396
Whiteboard: [orange] → [orange][fixed-in-places]
Assignee: nobody → mak77
Summary: Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2 → Intermittent failure in places/tests/queries/test_tags.js | 0 == 1, 1==2, 3==2
http://hg.mozilla.org/mozilla-central/rev/61dd16925396
Status: REOPENED → RESOLVED
Closed: 14 years ago13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
Whiteboard: [orange][fixed-in-places] → [fixed-in-places]
You need to log in before you can comment on or make changes to this bug.