-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Disable frequently failing CriticalFinalizer test #76131
Conversation
Contributes to dotnet#76041
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
I thought https://github.com/dotnet/runtime/pull/76089/files was already supposed to do that and got merged... |
It disabled the test for coreclr only. The test is failing everywhere else as well. And the issue was not labelled |
It looks like #76089 did this incorrectly. The format of this file is confusing. - there should be a name of the test (not the containing folder) followed by a "/". Also I disabled the test for coreclr only, but it fails on Mono as well, with the same "Finalized 0 Normal and 0 Critical objects." failure. |
Yes, it looks like a test issue. Note that this test was recently moved from old Mono test bed that was not running to the actively running tests |
There is still a possibility that there are different reasons for objects not collected - Mono does not guarantee anything since the stack scan is conservative, although the stack should be nearly empty when Collect() is called in the test, so chances for that being the reason are very low. The test originates from mono, so it was passing for a very long time (if it was running). The reason for CoreCLR failing to collect is harder to guess. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Not running? That would explain failures on Mono. |
For CoreCLR, I have found that either setting
Also, it is much easier to reproduce the issue with tiered compilation turned off. The original Mono test would not use the array of references and it would pass if at least one of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The failure in 'CoreCLR Product Build windows x86 release' is #48070. |
I suppose, since this is blocking clean CI and tests are passing, we can merge. |
Contributes to #76041