Closed
Bug 1091077
Opened 10 years ago
Closed 10 years ago
gloda test timeout: TEST-UNEXPECTED-TIMEOUT | C:/slave/test/build/tests/xpcshell/tests/mailnews/db/gloda/test/unit/test_cleanup_msf_databases.js | Test timed out
Categories
(MailNews Core :: Database, defect)
MailNews Core
Database
Tracking
(thunderbird36 fixed)
RESOLVED
FIXED
Thunderbird 36.0
Tracking | Status | |
---|---|---|
thunderbird36 | --- | fixed |
People
(Reporter: rkent, Assigned: hiro)
References
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file, 3 obsolete files)
5.56 KB,
patch
|
hiro
:
review+
|
Details | Diff | Splinter Review |
Actual list of failing tests is long, up to 30 tests.
Updated•10 years ago
|
Keywords: regression
Assignee | ||
Comment 1•10 years ago
|
||
I am guessing there are several reasons of timed out, but the most important thing is: let throwingAppender = new Log4Moz.ThrowingAppender(do_throw); in mailnews/db/gloda/test/unit/resources/glodaTestHelper.js. After bug 1033126, do_throw invokes _testLogger.error(), so it causes infinite recursive calls. We need to use another *throw* function without any log output instead of do_throw().
Assignee | ||
Comment 2•10 years ago
|
||
OK. The regression caused by bug 1033125 is more complicated. Even if this time out is solved, no errors report any more.
See Also: → 1091974
Assignee | ||
Comment 3•10 years ago
|
||
I found the reason of the timed out error. The timed out is caused by the collision of "_testLogger". But there are still lots of failures...
Assignee | ||
Comment 4•10 years ago
|
||
This fixes timed out and other errors in gloda tests, but I don't run other tests yet.
Attachment #8514756 -
Attachment is obsolete: true
Assignee | ||
Comment 6•10 years ago
|
||
Try server results seem fine: https://treeherder.mozilla.org/ui/#/jobs?repo=try-comm-central&revision=e3000e2a60fe All failures are in calender or mozilla-central. They are not related to this issue at all. This patch is slightly different from the try one: 1. indentation fix 2. a message to do_report_result in glodaTestHelper.js
Assignee: nobody → hiikezoe
Attachment #8514770 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8514969 -
Flags: review?(bugmail)
Comment 7•10 years ago
|
||
Comment on attachment 8514969 [details] [diff] [review] Fix Review of attachment 8514969 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I confirmed that bug 1033126 eliminated _passedChecks and added _testLogger, making everything in here look quite sane. Just one nit. Note that I did remove myself as an owner of the gloda submodule and peer of mailnews, so I'm not technically a reviewer for this code anymore. However, you're also unlikely to find someone as familiar with this code, so... if you can get someone on IRC to just rubber-stamp review deferral to me or something. ::: mailnews/db/gloda/test/unit/resources/glodaTestHelper.js @@ +894,5 @@ > do_throw("Query should have returned " + key + " (" + value + ")"); > } > > + // notify xpcshell that we did something > + let msg = "query satisfied with:"; The loop below doesn't include whitespace. It might be easier to just do: let msg = "query satisfied with: " + aCollection.items; aCollection.items is an array so its toString() method will be called which will rougly do aCollection.items.join(', ') anyways.
Attachment #8514969 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Carrying over review+. Thanks asuth.
Attachment #8514969 -
Attachment is obsolete: true
Attachment #8515438 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 9•10 years ago
|
||
Checked in http://hg.mozilla.org/comm-central/rev/29fb511ba387
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 36.0
Updated•9 years ago
|
status-thunderbird36:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•