You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423
Build error leg or test failing: tvos-arm64 Release AllSubsets_NativeAOT — System.Net.Security.Unit.Tests — System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext
The newly added regression test fails on tvOS NativeAOT while creating its caller-owned certificate context:
[FAIL] System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext
System.InvalidCastException : Specified cast is not valid.
at System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext()
in /_/src/libraries/System.Net.Security/tests/UnitTests/SslAuthenticationOptionsTests.cs:line 192
Line 192 is the first SslStreamCertificateContext.Create(...) call. The failure occurs before the test reaches SslAuthenticationOptions.UpdateOptions, so it does not directly demonstrate a failure in the ownership fix being tested.
The test was introduced by #131758, which is present in build 1540423 but absent from the preceding build 1538577. This is distinct from the Android failure tracked by #131920: Android throws PlatformNotSupportedException while building an empty custom trust store, whereas tvOS NativeAOT throws InvalidCastException during certificate-context creation.
{
"ErrorMessage": [
"[FAIL] System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext",
"System.InvalidCastException : Specified cast is not valid."
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Note
This issue was prepared with GitHub Copilot assistance and reviewed by the submitting developer.
Known issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423 Error message validated:[[FAIL] System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext System.InvalidCastException : Specified cast is not valid.] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 8/6/2026 7:27:22 AM UTC
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423
Build error leg or test failing:
tvos-arm64 Release AllSubsets_NativeAOT—System.Net.Security.Unit.Tests—System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContextError Details
The newly added regression test fails on tvOS NativeAOT while creating its caller-owned certificate context:
Line 192 is the first
SslStreamCertificateContext.Create(...)call. The failure occurs before the test reachesSslAuthenticationOptions.UpdateOptions, so it does not directly demonstrate a failure in the ownership fix being tested.The test was introduced by #131758, which is present in build 1540423 but absent from the preceding build 1538577. This is distinct from the Android failure tracked by #131920: Android throws
PlatformNotSupportedExceptionwhile building an empty custom trust store, whereas tvOS NativeAOT throwsInvalidCastExceptionduring certificate-context creation.Test summary:
Error Message
{ "ErrorMessage": [ "[FAIL] System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext", "System.InvalidCastException : Specified cast is not valid." ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Note
This issue was prepared with GitHub Copilot assistance and reviewed by the submitting developer.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1540423
Error message validated:
[[FAIL] System.Net.Security.Tests.SslAuthenticationOptionsTests.UpdateOptions_ServerCertificateContextProvided_DoesNotDisposeCallerContext System.InvalidCastException : Specified cast is not valid.]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/6/2026 7:27:22 AM UTC
Report
Summary