RESOLVED FIXED 82241
NRWT should retry failures serially
https://bugs.webkit.org/show_bug.cgi?id=82241
Summary NRWT should retry failures serially
Mark Hahnenberg
Reported 2012-03-26 13:51:02 PDT
Some test failures are caused by the large amount parallelism that NRWT employs which can stress some parts of whatever platform the tests are running on (e.g. see bug 82233). At the conclusion of the parallel stage, we should run the failures serially rather than in parallel so that we can eliminate these errors as a factor in test failures.
Attachments
Patch (1.48 KB, patch)
2012-03-26 14:15 PDT, Mark Hahnenberg
no flags
Patch (2.53 KB, patch)
2012-03-26 14:28 PDT, Mark Hahnenberg
no flags
Patch (3.04 KB, patch)
2012-03-26 14:47 PDT, Mark Hahnenberg
no flags
Mark Hahnenberg
Comment 1 2012-03-26 14:15:45 PDT
Dirk Pranke
Comment 2 2012-03-26 14:18:40 PDT
Comment on attachment 133891 [details] Patch I'm a bit concerned about what side effects modifying the value in the options might have ... have you run this through test-webkitpy? I was actually more envisioning that you'd pass in the # of workers to use to _run_tests(), which I think (should?) be a safer change, but I suppose that might have unexpected ramifications as well.
Mark Hahnenberg
Comment 3 2012-03-26 14:28:37 PDT
Dirk Pranke
Comment 4 2012-03-26 14:41:06 PDT
Comment on attachment 133893 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133893&action=review > Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:710 > + def _run_tests(self, file_list, result_summary, num_workers=0): Sorry for all the nitpicking, but I usually only like to use optional parameters as a last choice. You should be able to just pass in num_workers to both places it's called (line 897 and line 911), and then change line 751 to min(num_workers, len(all_shards).
Mark Hahnenberg
Comment 5 2012-03-26 14:47:53 PDT
Mark Hahnenberg
Comment 6 2012-03-26 14:50:21 PDT
> Sorry for all the nitpicking... Not a problem :-) When in Rome...
WebKit Review Bot
Comment 7 2012-03-26 17:13:10 PDT
Comment on attachment 133897 [details] Patch Clearing flags on attachment: 133897 Committed r112181: <http://trac.webkit.org/changeset/112181>
WebKit Review Bot
Comment 8 2012-03-26 17:13:15 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.