runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Re-enable System.Net.Security tests on Linux and OSX

Open vijaykota opened this issue 11 years ago • 8 comments

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 avatar Nov 20 '15 07:11 vijaykota

@vijaykota, @shrutigarg, can you share the status of this one? I'm nervous about an entire library having tests disabled on Unix. Thanks!

stephentoub avatar Jan 06 '16 18:01 stephentoub

@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..

shrutigarg avatar Jan 07 '16 06:01 shrutigarg

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

vijaykota avatar Jan 08 '16 12:01 vijaykota

@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.

SidharthNabar avatar Jan 14 '16 22:01 SidharthNabar

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.

stephentoub avatar Jan 14 '16 23:01 stephentoub

Fixed in dotnet/corefx#5551

vijaykota avatar Jan 25 '16 05:01 vijaykota

OS X is not enabled yet.

stephentoub avatar Jan 25 '16 12:01 stephentoub

Thanks for taking care of this, @stephentoub Sorry I missed that OSX was pending when I closed it earlier.

vijaykota avatar Jan 27 '16 09:01 vijaykota