Closed Bug 901537 Opened 13 years ago Closed 13 years ago

Permanent Orange: TEST-UNEXPECTED-FAIL | test_viewWrapper_virtualFolderCustomTerm.js | NS_BASE_STREAM_CLOSED) [nsIOutputStream.write]

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(thunderbird24 fixed, thunderbird25 fixed)

RESOLVED FIXED
Thunderbird 26.0
Tracking Status
thunderbird24 --- fixed
thunderbird25 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Since the last major orange, we've been seeing: https://tbpl.mozilla.org/php/getParsedLog.php?id=26160366&tree=Thunderbird-Aurora#error0 TEST-UNEXPECTED-FAIL | ../../../../mailnews/resources/logHelper.js | Error console says [stackFrame NS_BASE_STREAM_CLOSED: Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIOutputStream.write]] - See following stack: JS frame :: ../../../../mailnews/resources/logHelper.js :: _errorConsoleTunnel.observe :: line 63 native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
Blocks: 896738
Debugging on try server, indicates we're writing to the socket as it is being closed: https://hg.mozilla.org/try-comm-central/rev/5da4b9422be6#l2.31 https://tbpl.mozilla.org/php/getParsedLog.php?id=26165740&tree=Thunderbird-Try#error1 === (Done With Tests) RECV: 16 close Received command 16 SEND: 16 OK CLOSE completed SEND: System JS : ERROR resource://testing-common/mailnews/maild.js:457 NS_BASE_STREAM_CLOSED: Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIOutputStream.write] Connection Lost 2152398850
Attached patch The fix — — Splinter Review
Tested on try server - handle the case where the socket gets closed from under us, but we haven't picked it up yet. Tested on try server and it passed.
Assignee: nobody → mbanner
Status: NEW → ASSIGNED
Attachment #785902 - Flags: review?(Pidgeot18)
Comment on attachment 785902 [details] [diff] [review] The fix Review of attachment 785902 [details] [diff] [review]: ----------------------------------------------------------------- ::: mailnews/test/fakeserver/maild.js @@ +89,4 @@ > * do_test_finished(); > *****************************************************************************/ > function nsMailServer(handlerCreator, daemon) { > + this._debug = fsDebugAll; Did you mean to change the default debug settings to All?
Attachment #785902 - Flags: review?(Pidgeot18) → review+
Didn't mean to change the default. I've undone that part of the change and landed it: https://hg.mozilla.org/comm-central/rev/c96309b77ef8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 26.0
Comment on attachment 785902 [details] [diff] [review] The fix [Triage Comment] Taking this onto aurora & beta to get this fixed there as well.
Attachment #785902 - Flags: approval-comm-beta+
Attachment #785902 - Flags: approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: