Improve raptor-browsertime page-load failure messages
Categories
(Testing :: Raptor, enhancement, P1)
Tracking
(firefox73 fixed)
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: rwood, Assigned: rwood)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We should improve the failure messages when raptor-browsertime page-load tests fail. A couple of scenarios:
When browsertime fails to receive one specific type of measurement but receives the others. For example in Bug 1592048 browsertime failed to get 'firstPaint', but the resulting raptor-browsertime failure message is 14:08:06 INFO - KeyError: 'firstPaint'
.
Another scenario is when browsertime fails to get any measurements at all for a single page-load iteration. The browsertime.json exists but result timings are missing for one or more iterations. For example in Bug 1592058 browsertime failed to get any measurements for one of the iterations, the final raptor-browsertime error reported is ValueError: Browsertime produced no measurements.
.
It would be better to make these failure errors more specific, which would be really helpful for debugging and for code sheriffs.
Assignee | ||
Comment 1•5 years ago
|
||
Another scenario I just ran into: If browesrtime times out for some reason (i.e. times out waiting for test/script to finish) the resulting raptor-browesrtime error message is 17:44:27 ERROR - raptor-main Critical: TEST-UNEXPECTED-FAIL: no raptor test results were found for raptor-speedometer-firefox
. When really it should be more specific and indicate there was a timeout waiting for the test to finish.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
And a try push where I hacked the name of an expected measurement, to intentionally cause it not to be found in the results:
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
Description
•