RESOLVED FIXED 60094
fast/encoding/parser-tests often timeout on debug bots
https://bugs.webkit.org/show_bug.cgi?id=60094
Summary fast/encoding/parser-tests often timeout on debug bots
Attachments
patch (25.88 KB, patch)
2011-05-04 17:49 PDT, Jenn Braithwaite
no flags
Jenn Braithwaite
Comment 1 2011-05-04 17:20:19 PDT
I will halve the size of each batch of tests again.
Jenn Braithwaite
Comment 2 2011-05-04 17:49:39 PDT
Jenn Braithwaite
Comment 3 2011-05-04 17:53:11 PDT
Adam, could you review this as you reviewed the similar change in bug 51721 - this time I further halved each batch of tests.
Adam Barth
Comment 4 2011-05-04 18:02:02 PDT
Comment on attachment 92351 [details] patch I don't really understand the details of what this patch is doing, but it looks fine to me.
Jenn Braithwaite
Comment 5 2011-05-04 18:05:59 PDT
(In reply to comment #4) > (From update of attachment 92351 [details]) > I don't really understand the details of what this patch is doing, but it looks fine to me. Each batch used to run 10 tests, it now runs 5. The script takes the first and last test, e.g. runtests(10, 19) is changed to runtests(10, 14). A new test is added to invoke runtests(15, 19). The expected results files were also updated so that the expected failures are in the expected results file for the correct batch.
Dirk Pranke
Comment 6 2011-05-04 18:27:52 PDT
I'm sorry, the bug report wasn't clear (editing to fix). It's not the batch size that's the problem. If you look at the numbers on the dashboard, you'll see that most of the time the batches run in a couple of seconds, and once in a while they'll take a really long time and time out. We need to figure out why they're timing out, not speed up the average case.
Jenn Braithwaite
Comment 7 2011-05-05 11:05:46 PDT
(In reply to comment #6) > I'm sorry, the bug report wasn't clear (editing to fix). > > It's not the batch size that's the problem. If you look at the numbers on the dashboard, you'll see that most of the time the batches run in a couple of seconds, and once in a while they'll take a really long time and time out. > > We need to figure out why they're timing out, not speed up the average case. Is there a way to tell from the logs whether the machine was under load when the timeouts occurred? Reducing the batch sizes will reduce timeouts that occur due to the machine being under load, so it is still worth doing.
Dirk Pranke
Comment 8 2011-05-05 11:20:45 PDT
(In reply to comment #7) > (In reply to comment #6) > > I'm sorry, the bug report wasn't clear (editing to fix). > > > > It's not the batch size that's the problem. If you look at the numbers on the dashboard, you'll see that most of the time the batches run in a couple of seconds, and once in a while they'll take a really long time and time out. > > > > We need to figure out why they're timing out, not speed up the average case. > > Is there a way to tell from the logs whether the machine was under load when the timeouts occurred? Reducing the batch sizes will reduce timeouts that occur due to the machine being under load, so it is still worth doing. Not really, but because of the way new-run-webkit-tests works, you should assume the machine is under load all the time (because that's the design goal, to get through the tests as quickly as possible). It would be interesting to see if the tests never timed out if the machine wasn't under load; there is a patch floating around to try that, but it hasn't landed yet.
Dirk Pranke
Comment 9 2011-05-05 15:25:30 PDT
Sure. bug 59570 is the one to watch.
Eric Seidel (no email)
Comment 10 2011-06-02 08:06:43 PDT
Do we know why these tests are slow?
Jenn Braithwaite
Comment 11 2011-06-02 09:50:39 PDT
(In reply to comment #10) > Do we know why these tests are slow? I do not know why theses tests are occasionally slow.
Dimitri Glazkov (Google)
Comment 12 2011-06-14 11:16:36 PDT
Jenn Braithwaite
Comment 13 2011-07-14 09:59:04 PDT
*** Bug 64498 has been marked as a duplicate of this bug. ***
Adam Barth
Comment 14 2011-10-14 17:24:42 PDT
Comment on attachment 92351 [details] patch Please re-nominate for review if this is still a problem.
Dirk Pranke
Comment 15 2013-09-18 17:00:32 PDT
This has been resolved in Blink; it's not clear if this was ever an issue for non-Chromium ports given that they had a much longer timeout.
Note You need to log in before you can comment on or make changes to this bug.