Closed
Bug 1140389
Opened 10 years ago
Closed 10 years ago
test_SQLiteStore.js and test_ReadingList.js failing on Windows due to NS_ERROR_FILE_IS_LOCKED
Categories
(Firefox Graveyard :: Reading List, defect, P2)
Tracking
(firefox38 fixed, firefox39 fixed)
RESOLVED
FIXED
Firefox 39
People
(Reporter: Unfocused, Assigned: adw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
adw
:
review+
|
Details | Diff | Splinter Review |
Saw these failing on Windows, but didn't want to make to hold up landing bug 1131362, since it's blocking pretty much all work.
Two tests are failing on my Windows box with:
0:01.82 LOG: Thread-22 ERROR NS_ERROR_FILE_IS_LOCKED: Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]
removeDB@d:/mozilla/central/obj-i686-pc-mingw32/_tests/xpcshell/browser/components/readinglist/test/xpcshell/test_SQLiteStore.js:22:6
_execute_test@d:\mozilla\central\testing\xpcshell\head.js:557:15
This is a classic issue on Windows, so I wasn't overly concerned about it.
Flags: qe-verify-
Flags: firefox-backlog+
Comment 1•10 years ago
|
||
P2 because this is a new test for our feature.
Assignee | ||
Comment 2•10 years ago
|
||
Surely it's better to disable them on Windows only... In the meantime I'll try to figure out what the problem is since this is news to me.
Attachment #8575469 -
Flags: review?(bmcbride)
Assignee | ||
Comment 3•10 years ago
|
||
This should be the proper fix. Try is green so far: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bff1dae02a52
Assignee: nobody → adw
Attachment #8575469 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8575469 -
Flags: review?(bmcbride)
Attachment #8575568 -
Flags: review?(bmcbride)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8575568 [details] [diff] [review]
wait for the DB to close before trying to remove the file
Review of attachment 8575568 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/readinglist/test/xpcshell/test_ReadingList.js
@@ +22,5 @@
> Assert.ok(gList);
> gDBFile.append(gList._store.pathRelativeToProfileDir);
> + do_register_cleanup(function* () {
> + // Wait for the store to close its connection to the database.
> + yield gList._store.destroy();
Isn't it safer for this to be calling gList.destroy()?
Attachment #8575568 -
Flags: review?(bmcbride) → review+
Comment 5•10 years ago
|
||
Should this bug be prioritized as a P1 for the campaign release?
Flags: needinfo?(dolske)
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Marco Mucci [:MarcoM] from comment #5)
> Should this bug be prioritized as a P1 for the campaign release?
We discussed this during the triage meeting - we *really* want it, but can theoretically ship without. So P2.
Flags: needinfo?(dolske)
Assignee | ||
Comment 7•10 years ago
|
||
Comment addressed.
Of course the tree is closed.
Attachment #8575568 -
Attachment is obsolete: true
Attachment #8576200 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Iteration: --- → 39.2 - 23 Mar
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Comment 10•10 years ago
|
||
status-firefox38:
--- → fixed
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•