Skip to content

Test failure: System.Net.Mail.Tests.LoggingTest.EventSource_EventsRaisedAsExpected #41010

@v-haren

Description

@v-haren

failed in job: runtime-coreclr libraries-jitstress 20200817.1

Error message

Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.


Stack trace

Child exception:
  System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'. (Parameter 'chars')
   at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded) in /_/src/libraries/System.Private.CoreLib/src/System/Text/Encoding.cs:line 1174
   at System.Text.Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder) in /_/src/libraries/System.Private.CoreLib/src/System/Text/Encoding.Internal.cs:line 1264
   at System.Text.UTF8Encoding.GetCharsWithFallback(ReadOnlySpan`1 bytes, Int32 originalBytesLength, Span`1 chars, Int32 originalCharsLength, DecoderNLS decoder) in /_/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs:line 647
   at System.Text.Encoding.GetCharsWithFallback(Byte* pOriginalBytes, Int32 originalByteCount, Char* pOriginalChars, Int32 originalCharCount, Int32 bytesConsumedSoFar, Int32 charsWrittenSoFar) in /_/src/libraries/System.Private.CoreLib/src/System/Text/Encoding.Internal.cs:line 1083
   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount) in /_/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs:line 553
   at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding) in /_/src/libraries/System.Private.CoreLib/src/System/String.cs:line 540
   at System.Text.Encoding.GetString(Byte* bytes, Int32 byteCount) in /_/src/libraries/System.Private.CoreLib/src/System/Text/Encoding.cs:line 936
   at System.String.CreateStringForSByteConstructor(Byte* pb, Int32 numBytes) in /_/src/libraries/System.Private.CoreLib/src/System/String.cs:line 233
   at System.String.Ctor(SByte* value) in /_/src/libraries/System.Private.CoreLib/src/System/String.cs:line 187
   at System.Runtime.InteropServices.Marshal.PtrToStringAnsi(IntPtr ptr) in /_/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs:line 37
   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal) in /_/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs:line 319
   at System.Net.NetworkInformation.UnixIPGlobalProperties.get_HostName() in /_/src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/UnixIPGlobalProperties.cs:line 15
   at System.Net.Mail.Tests.SmtpClientTest.GetClientDomain() in /_/src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs:line 490
   at System.Net.Mail.Tests.SmtpClientTest.TestMailDelivery() in /_/src/libraries/System.Net.Mail/tests/Functional/SmtpClientTest.cs:line 294
   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal) in /_/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs:line 319
   at System.Net.Mail.Tests.LoggingTest.<>c.<EventSource_EventsRaisedAsExpected>b__1_1() in /_/src/libraries/System.Net.Mail/tests/Functional/LoggingTest.cs:line 37
   at System.Diagnostics.Tracing.TestEventListener.RunWithCallback(Action`1 handler, Action body) in /_/src/libraries/Common/tests/System/Diagnostics/Tracing/TestEventListener.cs:line 101
   at System.Net.Mail.Tests.LoggingTest.<>c.<EventSource_EventsRaisedAsExpected>b__1_0() in /_/src/libraries/System.Net.Mail/tests/Functional/LoggingTest.cs:line 34

Child process:
  System.Net.Mail.Functional.Tests, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.Mail.Tests.LoggingTest+<>c Void <EventSource_EventsRaisedAsExpected>b__1_0()

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitStressCLR JIT issues involving JIT internal stress modesarea-System.Nettest-run-coreTest failures in .NET Core test runs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions