Closed Bug 521225 Opened 14 years ago Closed 14 years ago

Stop syncing for random failing Places tests, and make sheriffs happier


(Toolkit :: Places, defect)

Not set





(Reporter: mak, Assigned: mak)




(1 file, 1 obsolete file)

We can disable the Flush component for random failing tests, that way tests will stop failing, but still test code paths. since we know the reason of the failures but we don't have clear ETA on a proper fix (would require moving most of Places to async stuff), this should allow us to have greener trees.

I'm trying to centralize it in head files so it should be easy to update or remove the workaround.
Assignee: nobody → mak77
Attached patch patch v1.0 (obsolete) — Splinter Review
This should "fix" about 11 random failures
Attachment #405266 - Flags: review?(sdwilsh)
Of course, these failing tests are real bugs in our code.  I'm not sure we want to make the tests not test real world behavior.
once we have identified the cause and we know the fix, and we know we can't fix that in less than 1 year, why should we continue to blame the trees with useless oranges?
this fix is not hiding anything, it's just stopping notifying about a pretty well known bug, for which bugs are and will remain open.
And i think a good part of the bug involves virtual machines, i'm saying that because i see different number of hits for failures in real world again virtual machines,  vms are probably handling threads differently.

Plus the way this is implemented allow us to disable the full thing with really minor changes to try any patch we think can fix the underlying issue.
the "alternative" as you know, is to disable tests, and that's not better in any way.
Comment on attachment 405266 [details] [diff] [review]
patch v1.0

Include the bug number where we are tracking the underlying issue in the comment please.

Attachment #405266 - Flags: review?(sdwilsh) → review+
ugh i was sure to have done that :\
Attached patch patch v1.1Splinter Review
Attachment #405266 - Attachment is obsolete: true

let's see how this behaves.
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
one name was wrong and the test was still reporting failures, fixed.

looks like random oranges for these tests have stopped. still evaluating and waiting reports though.
Blocks: 555983
Blocks: 527134
Blocks: 555014
Blocks: 527633
Blocks: 559279
Blocks: 524524
You need to log in before you can comment on or make changes to this bug.