-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Document how to update infrastructure/metadata #12697
Comments
See https://gist.github.com/gsnedders/fadcc35d961b9958a2a4805fc194d03d for the logs I was using. |
It doesn't know what the total space of all configurations is, so if you pass it one set of logs it assumes they represent all possible results for those tests. It is possible to do the opposite and assume that the output should be as specific as possible given the input, but that's not implemented. I think I think updating the logs for multiple products at once might just be broken because the product is supplied per invocation via the command line, but things that can be different need to be supplied as part of the logs themselves. So probably the first step to making that possible is to start logging the product as part of the |
I found my way here while playing with foolip#5, by googling for "wpt update-expectations" :) For infrastructure/metadata we'll need product-specific expectations, so unless the script would need all expectations as its input I presume. @Hexcles it may interest you to have a look at this analogue to Chromium's expectations and baselines. |
FWIW, the first thing I looked for was something like |
Making I think the central problem here is that we are hardcoding the list of update properties in the browser files. But that's not right; the list of properties to use when updating is a function of the CI system rather than a function of the browser. For the GitHUb infrastructure we have multiple products but only a single platform per product. For Gecko CI we have one product but many different platforms and configurations within those platforms. So I think the right fix for this is probably to move that configuration out into the frontend, so it's useful outside the Gecko context. |
Maintaining expectations when we have different CI systems, browsers and platform involved definitely has its complications, and if there's something in Gecko that could be moved to WPT to help manage that, that'd be great. However, this issue was filed about the tooling that does exist not working at all, and throwing an exception. I could reproduce it at the time and haven't tried using it since, instead writing .ini files by hand even when generating them from a single set of results would have worked. |
Having hacked around #12696, running
./wpt update-expectations --product safari --metadata infrastructure/metadata/ --manifest MANIFEST.json safari.log
I get:This isn't what I expect. How do I update expectations for Safari only, without overwriting existing expectations (note I didn't pass in
--ignore-existing
)?If I instead run it without
--product
, which is apparently optional, like$ ./wpt update-expectations --metadata infrastructure/metadata/ --manifest MANIFEST.json safari.log firefox.log chrome.log
, I get:How do you update expectations for all browsers? I remember previously you passed in all the logs at once, but this seems not to work.
The text was updated successfully, but these errors were encountered: