-
Notifications
You must be signed in to change notification settings - Fork 97
reclassify prepare failure #770
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
reclassify prepare failure #770
Conversation
29fb04b to
e2cd63d
Compare
dd0acaf to
ec7f45e
Compare
no space left on device during fetch …ious fixed fixing the non-spurious build failure is a non-spurious fix even if we then spuriously fail the tests clean up the comparison logic a bit while at it
Prepare failure are likely spurious and as such are included in the retry-regressed-list.txt to give the crates another change in a retry. This is different to a crate being Broken which is probably non-spurious. Iif either base or test toolchain is a prepare failure the runs can't give any insight as we are missing either a base or a test result.
ec7f45e to
4e8be93
Compare
|
Looking at the results from https://crater.rust-lang.org/ex/pr-140985 Currently it is Prepare Fail > Error > Broken but I think Broken > Prepare Fail > Error would be better. I am a bit surprised by the remaining ~14k as the sample that I looked at looks to me like they should have been prepare fail instead, not sure what's going on there. |
|
Regarding the remaining ~14k Errors.
Ideally all failures of prepare would return a |
…ingly based on my comment at <rust-lang#770 (comment)>
…ingly based on my comment at <rust-lang#770 (comment)>
Currently prepare failure gets classified as
Errorunless the crate is determined to be broken in which case its classified asBroken. This PR reclassifies the former.Most if not all of the perpare errors are spurious and would benefit from being included in the
retry-regressed-list.txtso that they can be retried.This should cause instances such as https://crater-reports.s3.amazonaws.com/beta-1.86-rustdoc-1/1.85.0/reg/ssstar-0.7.3/log.txt to be classified as prepare-fail instead of error which means the are included in the retry-regressed-list.txt and have a change at properly regressing in a retry.
This should help prevent regression in beta crater run being missed due to running out of disk space as was the case with the above example.
The first commit fixes existing clippy problems.
The second commit removes a no longer existing crate from the config.toml (broke config check)
The third commit cleans-up the compare match.
Basically a regression is spurious if the test toolchain result is spurious
and a fix is spurious if the base toolchain result is spurious.
This only changes the classification of
BuildFail(non-spurious) -> TestFail(spurious)fromSpuriousFixedtoFixed.I think the new classification is correct and the old one was wrong.
The fourth commit adds a new
ComparisonandTestResultvariant to properly classify the failure mode of preparation failing for a non-broken crate.It also adds crates with this new Comparison variant to the
retry-regressed-list.txt.I expect this to significantly increase the size of the
retry-regressed-list.txt.Edit: Including
PrepareFailin theretry-regressed-list.txtmakes the file a bit misnamed, maybe it should be renamed toretry-list.txtthe function for filtering the cratesgen_retry_listalready doesn't contain regressed in its name.