Closed
Bug 607418
Opened 14 years ago
Closed 14 years ago
Intermittent failure in dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html | FAILURE: X remains 1 in the master, expected 1 got null
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: philor, Assigned: mayhemer)
References
Details
(Keywords: intermittent-failure, regression, Whiteboard: [fixed by bug 624047] )
Attachments
(3 files, 2 obsolete files)
3.21 KB,
patch
|
Details | Diff | Splinter Review | |
1.09 KB,
patch
|
jst
:
review+
jst
:
approval2.0-
|
Details | Diff | Splinter Review |
2.91 KB,
patch
|
mayhemer
:
review+
jst
:
approval2.0+
|
Details | Diff | Splinter Review |
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1288117534.1288119906.6454.gz
Rev3 MacOSX Leopard 10.5.8 mozilla-central debug test mochitests-3/5 on 2010/10/26 11:25:34
s: talos-r3-leopard-035
6357 INFO TEST-PASS | /tests/dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html | X is 1 in the master, expected 1 got 1
6358 INFO TEST-PASS | /tests/dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html | X not set in the slave, expected null got null
6359 INFO TEST-PASS | /tests/dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html | X set to 2 in the slave, expected 2 got 2
6360 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/localstorage/test_localStorageOriginsSchemaDiffs.html | FAILURE: X remains 1 in the master, expected 1 got null
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 4•14 years ago
|
||
This test has been untouched for over a year and a half, so this intermittent-failure looks like a real bug triggered by a recent code change.
Pushlog for the six days before this bug was reported:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b69aa5ff29d3&tochange=00c23130c7d1
That range includes two local-storage changes from Honza, but one of those two (Bug 527667) was backed out (and later relanded, but not until after this orange started happening).
So that leads me to suspect the other one -- Bug 536544 -- as the only likely cause here. Tentatively marking as regression from that bug.
Blocks: 536544
Keywords: regression
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 hidden (Legacy TBPL/Treeherder Robot) |
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 hidden (Legacy TBPL/Treeherder Robot) |
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 hidden (Legacy TBPL/Treeherder Robot) |
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 hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 28•14 years ago
|
||
I added these check to mainly see if call to length attribute will reload the values. length does recache the items in mItems hash table from the database. I want to know if X disappeared from the db or just from mItems.
Attachment #493688 -
Flags: review?(jst)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•14 years ago
|
Attachment #493688 -
Flags: review?(jst) → review+
Updated•14 years ago
|
Attachment #493688 -
Flags: approval2.0+
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 33•14 years ago
|
||
Attachment #493688 -
Attachment is obsolete: true
Attachment #494449 -
Flags: review?(jst)
Attachment #494449 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #494449 -
Flags: review?(jst)
Attachment #494449 -
Flags: review+
Attachment #494449 -
Flags: approval2.0?
Attachment #494449 -
Flags: approval2.0+
Comment hidden (Legacy TBPL/Treeherder Robot) |
The test update was backed out because it triggered a JS_Assert. I filed Bug 616217 for that.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 38•14 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1291442939.1291443448.18676.gz
OS X 10.5 comm-central-trunk debug test mochitests-3/5 on 2010/12/03 22:08:59
Assignee | ||
Comment 39•14 years ago
|
||
As the previous version, but also doesn't forget to remove the observers.
Attachment #494449 -
Attachment is obsolete: true
Assignee | ||
Comment 40•14 years ago
|
||
Comment on attachment 495519 [details] [diff] [review]
test update to have more logging 3 [Check in comment 40]
http://hg.mozilla.org/mozilla-central/rev/2b44a6a3bfd8
Attachment #495519 -
Attachment description: test update to have more logging 3 → test update to have more logging 3 [Check in comment 40]
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 42•14 years ago
|
||
So, this is seen in the log:
Observed: domstorage-flush-timer
FAILURE: X remains 1 in the master, expected 1 got null
FAILURE: X remains 1 in the master, expected 1 got null
FAILURE: One item in the master, expected 1 got 0
FAILURE: X remains 1 in the master, expected 1 got null
FAILURE: One item in the master, expected 1 got 0
FAILURE: X remains 1 in the master, expected 1 got null
It proves that the flush is implemented wrong. Also it proves that content of the physical database is wrong, not just mItems cache of the storage object.
I'll go after that now.
blocking2.0: --- → ?
Assignee | ||
Comment 43•14 years ago
|
||
Looks like the observer is still not properly removed. This should help fix it.
Attachment #496978 -
Flags: review?(jst)
Updated•14 years ago
|
Attachment #496978 -
Flags: review?(jst) → review+
Updated•14 years ago
|
Attachment #496978 -
Flags: approval2.0-
Comment 44•14 years ago
|
||
Not blocking on this, but I'll gladly approve additional test patches etc if they're needed.
blocking2.0: ? → -
Assignee | ||
Comment 45•14 years ago
|
||
Comment on attachment 496978 [details] [diff] [review]
test update to remove the observer properly [Check in comment 45]
http://hg.mozilla.org/mozilla-central/rev/baee733bafd8
Attachment #496978 -
Attachment description: test update to remove the observer properly → test update to remove the observer properly [Check in comment 45]
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 47•14 years ago
|
||
(In reply to comment #46)
That tracemonkey revision doesn't have the logging patch:
http://hg.mozilla.org/tracemonkey/file/643454386bec/dom/tests/mochitest/localstorage/frameMasterNotEqual.html
Assignee | ||
Comment 48•14 years ago
|
||
This is just backout of two patches. Self-reviewed patch.
Attachment #503019 -
Flags: review+
Assignee | ||
Updated•14 years ago
|
Attachment #503019 -
Flags: approval2.0?
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 hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 56•14 years ago
|
||
Potential fix has been landed on mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/0d08db0bf676
Updated•14 years ago
|
Attachment #503019 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 57•14 years ago
|
||
Comment on attachment 503019 [details] [diff] [review]
revert all test debugging changes [Check in comment 57]
http://hg.mozilla.org/mozilla-central/rev/f6f30dac68f7
Attachment #503019 -
Attachment description: revert all test debugging changes → revert all test debugging changes [Check in comment 57]
Assignee | ||
Comment 58•14 years ago
|
||
No reports for almost a month. Bug 624047 fixed this.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•14 years ago
|
Flags: in-testsuite-
Resolution: DUPLICATE → FIXED
Whiteboard: [orange] → [fixed by bug 624047] [orange]
Target Milestone: --- → mozilla2.0b10
Updated•14 years ago
|
Flags: wanted-fennec1.0?
Flags: in-testsuite-
Flags: in-testsuite+
Flags: in-litmus?
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [fixed by bug 624047] [orange] → [fixed by bug 624047]
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•