TEST-UNEXPECTED-FAIL | mailnews/news/test/unit/test_bug540288.js
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Unassigned)
References
Details
(Keywords: intermittent-failure)
Attachments
(5 files, 2 obsolete files)
|
25.58 KB,
patch
|
Details | Diff | Splinter Review | |
|
3.26 KB,
patch
|
Details | Diff | Splinter Review | |
|
12.91 KB,
text/plain
|
Details | |
|
13.13 KB,
text/plain
|
Details | |
|
6.38 KB,
text/plain
|
Details |
| Reporter | ||
Updated•9 years ago
|
| Reporter | ||
Updated•9 years ago
|
Comment 2•9 years ago
|
||
| Reporter | ||
Comment 3•9 years ago
|
||
| Reporter | ||
Comment 4•9 years ago
|
||
| Reporter | ||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
| Reporter | ||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
| Reporter | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
| Reporter | ||
Comment 12•9 years ago
|
||
| Reporter | ||
Comment 13•9 years ago
|
||
| Reporter | ||
Comment 14•9 years ago
|
||
| Reporter | ||
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
| Reporter | ||
Comment 18•9 years ago
|
||
| Reporter | ||
Comment 19•9 years ago
|
||
| Reporter | ||
Comment 20•9 years ago
|
||
| Reporter | ||
Comment 21•9 years ago
|
||
Comment 22•9 years ago
|
||
Comment 23•9 years ago
|
||
| Reporter | ||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Updated•5 years ago
|
Comment 26•5 years ago
|
||
I still see this when I run test under valgrind, but not ordinarily, at least in one of the tests I ran.
This suggest the timing issue is still there :-(
Updated•5 years ago
|
| Reporter | ||
Updated•5 years ago
|
Comment 27•3 years ago
|
||
Let us know if you still see this.
FWIW, we have open bug reports that match the description of bug 540288 comment 0
Comment 28•3 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #27)
FWIW, we have open bug reports that match the description of bug 540288 comment 0
Since you added me to Cc, I suspect that you were going to mention another bug, not an old one fixed earlier than this issue was created.
Comment 29•3 years ago
|
||
This is the output from
grep -3 "Connection Lost 2152398850" /FF-NEW/log1390-xpcshell.txt
The log was captured on March 14th. (The source is about a week old. I have not updated the source tree due to disk issues, and THEN a network issue. I am now seriously considering replacing network adaptor, ordered one from an auction site.)
The log contains additional debug warnings from local patches.
We can easily see the "connection lost" message appears during or around the call of
|RemoveFromCache(this)|
I have not analyzed the code much, but it seems whichever module being contacted
from the control flow of |RemoveFromCache(this)|
either closes the connection too early.
I say this based on the following log output.
0:16.55 pid:180618 MODE READER,GROUP test.filter,XOVER 1-8,HEAD 1,HEAD 2,HEAD 3,HEAD 4,HEAD 5,HEAD 6,HEAD 7,HEAD 8,QUIT
0:16.55 pid:180618 Connection Lost 2152398850
0:16.58 pid:180618 console.warn: mailnews.nntp: "Failed to send \"QUIT\" because socket state is closed"
0:16.60 pid:180618 ~nsMsgDatabase(): closing database /NEW-SSD/moz-obj-dir/objdir-tb3/temp/xpc-profile-xd41hzri/News/localhost.msf
The particular log comes from a run on Mach 14th.
And the excerpted part is from
0:16.05 TEST_START: xpcshell.ini:comm/mailnews/news/test/unit/test_filter.js
PS:
BTW, the following is very important.
xpcshell runs many tests in parallel.
This has the benefit of maximizing the I/O and CPU. Maybe good from the viewpoint of compilation/test farm management.
However, parallel execution means all the output from various runs end up in one output stream and analyzing the log would be difficult in such a situation.
This is indeed the case with xpcshell.
If I add "--verbose" to xpcshell test execution, the output is created in a mixed manner from various parallel thread executing different tests. Analysis is difficult.
So I have to add "--sequential" to make it easier to analyze the failure and the warming messages that precede them. Analyzing warning messages is important because we want to compare successful and failing similar code execution in one run.
The log I obtains for xpcshell is created with "--sequential" and "--verbose", but
I need to add a wrapper to make because I think I call |mach| per test directory
for grouping the test output in a known order (?). (I forgot exactly why I did that. I think initially I thought I was going to run EACH test separately, but I thought it was silly and turned to per-directory execution with "--verbose" and "--serialize".)
I have been forced to execute xpcshell in a serialized manner for local analysis.
Try-comm-central:
It is not obvious how we can add "--sequential" and "--verbose" to xpcshell test run on try-comm-central.
I think somebody in the know ought to make it possible to execute xpcshell in a serialize manner
and making it easy to add "--verbose" and analyze the warnings.
BTW, only with this serialized execution, I could run the test under valgrind and found a few long standing valid memory issues.
Updated•3 years ago
|
Comment 30•1 year ago
|
||
Mass closure of all bugs in the Calendar, MailNews Core, and Thunderbird components with the "intermittent-failure" keyword and no activity in the last six months.
Description
•