perma comm/mailnews/base/test/unit/test_compactFailure.js | xpcshell.ini:comm/mailnews/base/test/unit/test_compactFailure.js | test_compact_without_crash - [test_compact_without_crash : 108] 2152857614 == 2147500037
Categories
(MailNews Core :: Backend, defect, P5)
Tracking
(thunderbird_esr102 unaffected, thunderbird105 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
thunderbird105 | --- | unaffected |
People
(Reporter: intermittent-bug-filer, Assigned: mkmelin)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression)
Attachments
(1 file)
Filed by: mkmelin [at] iki.fi
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=390056934&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AU2ztcDqRwejlInMd6cr5A/runs/0/artifacts/public/logs/live_backing.log
Assignee | ||
Comment 1•2 years ago
|
||
First seen with https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=AU2ztcDqRwejlInMd6cr5A.0&revision=62defccbffff4682af81698162b4702ef664f969 but unlikely from that c-c change.
Doesn't fail locally for me, but my m-c is a bit behind.
Assignee | ||
Comment 2•2 years ago
|
||
After updating m-c, this is now 100%reproducible locally. Instead of NS_ERROR_FILE_IS_LOCKED, NS_ERROR_FAILURE is triggered.
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Yep. I guess we can't simulate a locked file anymore. https://searchfox.org/comm-central/rev/780a62298b62fe1782812b6fc28ff8a2a7c3be7b/mailnews/base/test/unit/test_compactFailure.js#37-45
Nika, any suggestions for how to simulate? Or is it not possible?
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 6•2 years ago
|
||
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 8•2 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
Yep. I guess we can't simulate a locked file anymore. https://searchfox.org/comm-central/rev/780a62298b62fe1782812b6fc28ff8a2a7c3be7b/mailnews/base/test/unit/test_compactFailure.js#37-45
Nika, any suggestions for how to simulate? Or is it not possible?
I can't think of an easy way to mock something like that out without adding the mock locked file implementation in C++, rather than doing it in JS, unfortunately.
Comment 9•2 years ago
|
||
Is it possible to figure out what the file in question is, and actually lock it?
Assignee | ||
Comment 10•2 years ago
|
||
We can get what the folder file is easily, but we can't lock it. I tried opening for writing, but that doesn't cause locking.
Comment 11•2 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4f17f8305524
remove test for compact handling locked file streams since we can't simulate the locking anymore. r=#thunderbird-reviewers,darktrojan
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•