Skip to content

System.Net.Mail.Tests.SmtpClientTlsTest_Send.AuthenticationException_Propagates failure: expected typeof(System.Security.Authentication.AuthenticationException), actual typeof(System.Net.Mail.SmtpException) #117963

@elinor-fung

Description

@elinor-fung

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1102433
Build error leg or test failing: System.Net.Mail.Tests.SmtpClientTlsTest_Send.AuthenticationException_Propagates
Pull request: #117894

07-22 13:06:42.157 14191 14480 I DOTNET  : 	[FAIL] System.Net.Mail.Tests.SmtpClientTlsTest_Send.AuthenticationException_Propagates
07-22 13:06:42.157 14191 14480 I DOTNET  : Assert.IsType() Failure: Value is not the exact type
07-22 13:06:42.157 14191 14480 I DOTNET  : Expected: typeof(System.Security.Authentication.AuthenticationException)
07-22 13:06:42.157 14191 14480 I DOTNET  : Actual:   typeof(System.Net.Mail.SmtpException)
07-22 13:06:42.157 14191 14480 I DOTNET  :    at System.Net.Mail.Tests.LoopbackServerTestBase`1.SendMail[TException](MailMessage msg, CancellationToken cancellationToken, Boolean unwrapException, Boolean asyncDirectException)
07-22 13:06:42.157 14191 14480 I DOTNET  :    at System.Net.Mail.Tests.SmtpClientTlsTest`1.AuthenticationException_Propagates()
07-22 13:06:42.157 14191 14480 I DOTNET  : --- End of stack trace from previous location --

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Assert.IsType()", "typeof(System.Security.Authentication.AuthenticationException)", "typeof(System.Net.Mail.SmtpException)"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1102433
Error message validated: [Assert.IsType() typeof(System.Security.Authentication.AuthenticationException) typeof(System.Net.Mail.SmtpException)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/23/2025 2:50:03 AM UTC

Report

Build Definition Test Pull Request
1102433 dotnet/runtime System.Net.Mail.Tests.SmtpClientTlsTest_Send.AuthenticationException_Propagates #117894

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 1 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Netblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions