Uh oh!
There was an error while loading. Please reload this page.
Disable frequently failing CriticalFinalizer test - #76131
Conversation
ghost
commented
Sep 24, 2022
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. |
filipnavara
commented
Sep 24, 2022
I thought https://github.com/dotnet/runtime/pull/76089/files was already supposed to do that and got merged... |
jkotas
commented
Sep 24, 2022
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. |
VSadov
commented
Sep 24, 2022
Not running? That would explain failures on Mono. |
AntonLapounov
commented
Sep 24, 2022
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 |
AntonLapounov
commented
Sep 24, 2022
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