-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate results on upload #534
Comments
cc @thejohnjansen - as discussed, all browsers exhibit these problems, so we consider the curation of results to be a server-side task that we would like to solve generally. |
cc @jugglinmike who has done similar behaviour in the master job in BuildBot |
The results collection project has a long and storied past with incomplete results (e.g. web-platform-tests/results-collection#478, web-platform-tests/results-collection#541, and web-platform-tests/results-collection#466). My advice to those just getting involved in this space is to be precise with the distinction between WPT "tests" and "subtests". Missing "tests" can be detected because even though "tests" are distinct from "test files" (due to the presence of "multi-global tests"), "tests" are tracked by the WPT test manifest. "subtests" are generated dynamically at runtime. Since some tests intentionally allow the number of subtests to vary, there has been no attempt to enforce subtest consistency or even to track them. On a technical level, the results-collection process guards against incomplete results by rejecting WPT reports (as generated via the command I believe that the folks at Microsoft use their own runner, so this code may only be useful as a general guide. When it comes to wpt.fyi enforcing this expectation prior to publication, it would be ideal if this could be performed at upload time. A failed HTTP request is the most direct way to inform the uploader of a problem. That would require a fair amount of processing power, though--both for generating the list of expected tests and for parsing the uploaded results to make the comparison. Notifying the uploader asynchronously would be better than not notifying them at all. In gh-378, I suggested how introducing uploader contact information could benefit visitors to wpt.fyi; this is a case where that information would more directly benefit the uploaders themselves. |
We now have a bunch of basic verifications in place in the processor. More heuristics could be added as follow-up work. |
Occasionally, the infrastructure executing the tests will hit frequent errors and produce a results set which is significantly empty, which reduces the value of the homepage on wpt.fyi. We should introduce a verification system, which flags bad runs for human intervention.
The text was updated successfully, but these errors were encountered: