-
Notifications
You must be signed in to change notification settings - Fork 10.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
Flaky test: Template_Produces_The_Right_Set_Of_FilesAsync #32406
Comments
Thanks for contacting us. We're moving this issue to the |
This should be an easy fix as looks like I just need to update the baselines to remove the react-redux that's been deleted |
@dotnet/aspnet-build can I preemptively reenable this test since its job is to verify that the expected files are on disk, its quite easy to break this whenever template updates are made, so its better for this to be enabled now that its fixed as opposed to waiting 30 days, I almost forgot about updating this as part of #33353 Its not really doing anything that is likely to be flaky |
I understand the original problem has been fixed. However I'm hesitant to reenable anything in the templates suite given flakiness in |
I'm not sure how that changes anything, after 30 days, even if this test were to fail due to random dotnet new/restore issues that are completely unrelated to this test, would we just keep it in quarantine forever? |
If we have tests that fail more than twice a year, they aren't providing value. |
I'm not sure what you are really arguing here, taken to the extreme we can just have no tests and no coverage, end to end tests are basically never going to have that kind of pass rate, so are you suggesting we just give up and delete the template tests since dotnet new and dotnet restore will never provide value by that metric? |
I'm arguing the template tests aren't providing much value at the moment and we shouldn't make the problem worse by speeding the un-quarantining process. I don't have a specific recommendation to improve what's going on w/ the template tests. #33230 for example won't help here unless this is specifically a Blazor test (side note: I'm more worried retries will hide issues than solve them). |
Well longer term we can just set a strategy in the new helix retry stuff to say something like 70% passrate for template tests is expected, its not great, but its better than just ignoring real regression/failures when the tests go to 0% consistently like we've been doing |
This is exactly why I said this test should have been unquarantined when the fix when in, the full red is due to the templates changes, the other failures on 6/25 6/24 look to be general infrastructure failures: that would have caused all project template tests to fail, 'System.InvalidOperationException : Failed to uninstall previous templates. The template 'web' could still be found.' There's nothing to do in terms of flaky fixes for this test specifically as this test is not flaky, its the project templates infrastructure that is flaky But for now, assigning this to @DamianEdwards to update https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/test/template-baselines.json to react to the template changes due to the expected file set being different now |
@HaoK is there a tool for generating that file or is hand-authored? |
Thanks @DamianEdwards reopening since we keep these around to track quarantined tests, marking this as fixed again |
@dotnet/aspnet-build I think we should preemptively unquarantine this test as its special and is verifying what files we lay down on disk, this test basically should never be quarantined |
I buy that argument, feel free to open a PR |
Logs:
Build:
https://dev.azure.com/dnceng/public/_build/results?buildId=1119946&view=results
The text was updated successfully, but these errors were encountered: