Re-enable System.Net.Security tests on Linux and OSX
The tests were disabled in PR dotnet/corefx#4328 since there were multiple crashes in CI builds. They should be renabled after fixing foll. issues: dotnet/runtime#15620 dotnet/runtime#15613
Also regressions since then (eg. PR dotnet/corefx#4483) need to be resolved
@vijaykota, @shrutigarg, can you share the status of this one? I'm nervous about an entire library having tests disabled on Unix. Thanks!
@stephentoub there is one pending PR https://github.com/dotnet/corefx/pull/5034 to fix the race condition due to which a few tests were failing randomly.That PR still needs to be taken forward and needs LGTM.We have run all Unit/Functional tests on all flavors. Otherwise tests are clean and ready to enable..
Regarding dotnet/runtime#15613, it never seems to have been root-caused. It may not even exist anymore.
If dotnet/runtime#15620 fix gets merged, we could consider re-enabling the tests
@shrutigarg @vijaykota - We discussed with @CIPop, @davidsh and @stephentoub , and we recommend not addressing dotnet/runtime#15620 before we can ensure that we are not breaking .NET Framework compat. For this issue (RC2 timeframe), we should re-enable all the tests, see which ones break due to dotnet/runtime#15620 and then only disable those specific ones.
we recommend not addressing dotnet/runtime#15620 before we can ensure that we are not breaking .NET Framework compat
To clarify, the concern is that the exception being removed in that PR isn't causing problems on Windows, on either the full framework or on CoreCLR. That it's now frequently failing on CoreCLR on Linux means that there's something notably different between Windows and Linux that should be investigated... this exception exists to protect against certain misuses, and removing it might be addressing a symptom without addressing the root cause. It's possible the right answer will be to remove it, but that's not yet clear.
In the meantime, we're in a really bad place with all of the System.Net.Security tests disabled. We need to reenable as many as possible, both so that we get continued coverage of the library and so that we have a better understanding of which tests / code paths / etc. this particular failure really affects. I think it very likely we will need to fix this for RC2, but that means doing the full investigation and in short order.
Fixed in dotnet/corefx#5551
OS X is not enabled yet.
Thanks for taking care of this, @stephentoub Sorry I missed that OSX was pending when I closed it earlier.