Intermittent comm/mailnews/compose/test/unit/test_temporaryFilesRemoved.js | xpcshell return code: 0
Categories
(MailNews Core :: Composition, defect, P5)
Tracking
(thunderbird_esr78 unaffected, thunderbird_esr91 wontfix, thunderbird89 affected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird_esr91 | --- | wontfix |
thunderbird89 | --- | affected |
People
(Reporter: intermittent-bug-filer, Assigned: rnons)
References
Details
(Keywords: intermittent-failure, Whiteboard: [fixed by bug 1751461])
Attachments
(1 file)
1.46 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
Filed by: geoff [at] darktrojan.net
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=336316840&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M5k9-gpzSb2UaQlv4BbfDQ/runs/0/artifacts/public/logs/live_backing.log
Comment hidden (Intermittent Failures Robot) |
Comment 2•4 years ago
|
||
TEST-UNEXPECTED-FAIL | xpcshell-jsm.ini:comm/mailnews/compose/test/unit/test_temporaryFilesRemoved.js | - nscopy.tmp should not exists - 1 == 0
I was looking at this a bit, not sure it's working correctly. Perhaps that's not it for the failure, but is the not-mailbox case correct (could use come more comments)? Can you check it a bit?
https://searchfox.org/comm-central/rev/3869c8207618a1f123d39c4d2195d3c4eb919bdc/mailnews/compose/src/MessageSend.jsm#865,977
Assignee | ||
Comment 3•4 years ago
|
||
Found this log https://treeherder.mozilla.org/logviewer?job_id=336865672&repo=comm-central&lineNumber=3988
"CONSOLE_MESSAGE: (error) [JavaScript Error: "UnknownError: Could not remove the file at c:\users\task_1618657887\appdata\local\temp\xpc-profile-fyscgp\nscopy.tmp"]
before
TEST-UNEXPECTED-FAIL | xpcshell-jsm.ini:comm/mailnews/compose/test/unit/test_temporaryFilesRemoved.js | - nscopy.tmp should not exists - 1 == 0
That means https://searchfox.org/comm-central/rev/3869c8207618a1f123d39c4d2195d3c4eb919bdc/mailnews/compose/src/MessageSend.jsm#978 fail on Windows, but I don't know why
Comment 4•4 years ago
|
||
Maybe windows file locking. Or the file is still open.
Comment 5•4 years ago
|
||
From https://treeherder.mozilla.org/logviewer?job_id=337341780&repo=comm-central
[task 2021-04-21T18:27:54.101Z] 18:27:54 INFO - Unexpected exception NotFoundError: Could not stat file(c:\users\task_1619028683\appdata\local\temp\xpc-profile-8nbcbu\permissions.sqlite-journal) because it does not exist
Assignee | ||
Comment 6•4 years ago
|
||
Comment 7•4 years ago
|
||
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1fc2937a6b81
Fix intermittent test_temporaryFilesRemoved.js by removing IOUtils.stat call. r=mkmelin
Comment 9•4 years ago
|
||
Unfortunately still happening. https://treeherder.mozilla.org/logviewer?job_id=337442093&repo=comm-central
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 13•4 years ago
|
||
There's a warning message in the log:
WARNING: RemoveCurrentDraftMessage can't get draft id: file /builds/worker/checkouts/gecko/comm/mailnews/compose/src/nsMsgCompose.cpp:3423
That code is:
rv = compFields->GetDraftId(getter_Copies(curDraftIdURL));
// Skip if no draft id (probably a new draft msg).
if (NS_SUCCEEDED(rv) && !curDraftIdURL.IsEmpty()) {
...
} else {
NS_WARNING("RemoveCurrentDraftMessage can't get draft id");
}
From a Try run I've established that GetDraftId
does succeed but curDraftIdURL
is empty.
Not sure if that helps but I figured I might as well write down what I found out.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 46•3 years ago
|
||
Seems to me this has been fixed by bug 1751461.
Updated•3 years ago
|
Description
•