Closed
Bug 1170981
Opened 9 years ago
Closed 9 years ago
./mach mochitest stuck at http://mochi.test:8888/redirect.html
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox41 fixed)
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: kanru, Assigned: kanru)
References
Details
(Keywords: regression)
Attachments
(4 files)
STR: revision 14be4237f855368ba4132f3af4152c0e6ce0737d ./mach build ./mach mochitest The test window stuck at "redirecting..." and then timed out I tested this on two Debian stable box and both are reproducible.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
I'm guessing this is stuck running mochitest-chrome for some reason. I would guess it's fallout from one of ahal's recent changes.
Comment 4•9 years ago
|
||
Strange, it looks like the mach formatter is being used even though the tbpl formatter should be the default. Can you paste the full output of |mach mochitest --log-tbpl -|? Also what happens if you run the specific suite with |mach mochitest -f browser|?
Flags: needinfo?(kchen)
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #4) > Strange, it looks like the mach formatter is being used even though the tbpl > formatter should be the default. I thought I should use --log-mach... > Can you paste the full output of |mach mochitest --log-tbpl -|? Also what > happens if you run the specific suite with |mach mochitest -f browser|? Log attached. |mach mochitest -f browser| stuck too and the log looks identical.
Flags: needinfo?(kchen)
Assignee | ||
Comment 6•9 years ago
|
||
Hummm.. wrong log. Somehow running this from remote starts crashing the browser.
Comment 7•9 years ago
|
||
(In reply to Kan-Ru Chen [:kanru] from comment #5) > I thought I should use --log-mach... Yeah, the mach logger is good for running locally, it just doesn't paste into text attachments very well :). I don't think this is a regression from the patch I recently landed because there is no "Now running mochitest-<flavor>" message in the log. What branch are you trying to run these on? If central/inbound, does pulling in the latest changes help?
Assignee | ||
Comment 8•9 years ago
|
||
I bisected it. The first bad commit is http://hg.mozilla.org/mozilla-central/rev/622af20a746a5030dffa04bb741856cff5464e56 I don't know how but reverting it does fix this issue for me.
Blocks: 1163049
Flags: needinfo?(benjamin)
Comment 9•9 years ago
|
||
I have no theory why this would be happening. When you say it's stuck, is the window responding just not doing the network load, or is it actually deadlocked?
Flags: needinfo?(benjamin)
Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #9) > I have no theory why this would be happening. > > When you say it's stuck, is the window responding just not doing the network > load, or is it actually deadlocked? The window is responding. Just the redirect.html doesn't proceed to actually run the tests.
Assignee | ||
Comment 11•9 years ago
|
||
I think the crucial part is |let storage = Services.storage;| now will not always run before NSS initialization so bug 717904 is back. If I put |let storage = Services.storage;| to the original position then everything is normal again. We need a batter way to ensure the initialization sequence is correct.
Flags: needinfo?(benjamin)
Assignee | ||
Updated•9 years ago
|
Keywords: regression
Assignee | ||
Comment 12•9 years ago
|
||
Bug 1170981 - Load the storage service before NSS
Attachment #8617146 -
Flags: review?(mak77)
Assignee | ||
Updated•9 years ago
|
Attachment #8617146 -
Flags: review?(rnewman)
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8617146 [details] MozReview Request: Bug 1170981 - Load the storage service before NSS Bug 1170981 - Load the storage service before NSS
Assignee | ||
Comment 14•9 years ago
|
||
Marco, could you also take a look at bug 717904. I think we need to make sure the sqlite database is initialized in correct order. Also, do you know how to test this?
Flags: needinfo?(mak77)
Updated•9 years ago
|
Flags: needinfo?(benjamin)
Updated•9 years ago
|
Attachment #8617146 -
Flags: review?(mak77) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8617146 [details] MozReview Request: Bug 1170981 - Load the storage service before NSS https://reviewboard.mozilla.org/r/10557/#review9589 Ship It!
Comment 16•9 years ago
|
||
(In reply to Kan-Ru Chen [:kanru] from comment #14) > Marco, could you also take a look at bug 717904. I think we need to make > sure the sqlite database is initialized in correct order. Also, do you know > how to test this? For an add-on manager test you'd better ask Mossop, I don't know much about that testing code. I am aware of bug 717904, I participated to IRC discussions about it and we filed bug 730495 to find a way to ensure proper initialization. That bug actually has the solution explained in the comments, but nobody implemented it yet. We should basically compile internal versions of SQLite with an additional define, while system Sqlite should be unaffected cause it doesn't use jemalloc.
Flags: needinfo?(mak77)
Assignee | ||
Comment 17•9 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #16) > (In reply to Kan-Ru Chen [:kanru] from comment #14) > > Marco, could you also take a look at bug 717904. I think we need to make > > sure the sqlite database is initialized in correct order. Also, do you know > > how to test this? > > For an add-on manager test you'd better ask Mossop, I don't know much about > that testing code. > I am aware of bug 717904, I participated to IRC discussions about it and we > filed bug 730495 to find a way to ensure proper initialization. That bug > actually has the solution explained in the comments, but nobody implemented > it yet. > We should basically compile internal versions of SQLite with an additional > define, while system Sqlite should be unaffected cause it doesn't use > jemalloc. Thanks, Marco. I'll try to fix the root cause.
Comment 19•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/61e83526454d
Assignee: nobody → kanru
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Updated•9 years ago
|
Attachment #8617146 -
Flags: review?(rnewman)
You need to log in
before you can comment on or make changes to this bug.
Description
•