Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[release/9.0][no-merge][testing][Android] Run runtime and libraries tests on different Android API version #106951

Conversation

matouskozak
Copy link
Member

@matouskozak matouskozak commented Aug 26, 2024

Description #106717

couldn't runruntime-androidemulator pipeline on servicing, ran runtime-extra-platforms instead

@matouskozak matouskozak added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it os-android area-Infrastructure-mono labels Aug 26, 2024
@matouskozak
Copy link
Member Author

/azp run runtime-androidemulator

Copy link
Contributor

Tagging subscribers to this area: @directhex, @matouskozak
See info in area-owners.md if you want to be subscribed.

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@matouskozak
Copy link
Member Author

/azp run runtime-androidemulator

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@matouskozak matouskozak force-pushed the infra/android-api-validation-net9 branch from 2ae1718 to 48d137d Compare August 26, 2024 07:41
@matouskozak
Copy link
Member Author

/azp run runtime-androidemulator

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@matouskozak
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matouskozak matouskozak changed the title [WIP][testing][Android] Run runtime and libraries tests on different Android API version [release/9.0][no-merge][testing][Android] Run runtime and libraries tests on different Android API version Aug 26, 2024
@matouskozak matouskozak force-pushed the infra/android-api-validation-net9 branch from 48d137d to 41171cf Compare August 26, 2024 11:17
@matouskozak
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matouskozak
Copy link
Member Author

/azp run runtime-androidemulator

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@matouskozak
Copy link
Member Author

/azp run runtime-extra-platforms

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matouskozak
Copy link
Member Author

matouskozak commented Aug 28, 2024

Failure summary

Ubuntu.2204.Amd64.Android.21.Open, Ubuntu.2204.Amd64.Android.22.Open

  • System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK
I/DOTNET  (12361): 1) 	[FAIL] System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK   Test name: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(bufferSize: 1638400, readBufferSize: 4096, writeBufferSize: 1024, useAsync: False)   Test case: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK
I/DOTNET  (12361):    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  (12361):    Exception messages: System.TimeoutException : The operation has timed out.   Exception stack traces:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
I/DOTNET  (12361):    at System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(Int32 bufferSize, Int32 readBufferSize, Int32 writeBufferSize, Boolean useAsync) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs:line 1070
I/DOTNET  (12361): --- End of stack trace from previous location ---
I/DOTNET  (12361):    Execution time: 60.9281215
I/DOTNET  (12361): 2) 	[FAIL] System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK   Test name: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(bufferSize: 1638400, readBufferSize: 4096, writeBufferSize: 1024, useAsync: True)   Test case: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK
I/DOTNET  (12361):    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  (12361):    Exception messages: System.TimeoutException : The operation has timed out.   Exception stack traces:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
I/DOTNET  (12361):    at System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(Int32 bufferSize, Int32 readBufferSize, Int32 writeBufferSize, Boolean useAsync) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs:line 1070
I/DOTNET  (12361): --- End of stack trace from previous location ---
I/DOTNET  (12361):    Execution time: 61.1529903
I/DOTNET  (12361): 3) 	[FAIL] System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK   Test name: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(bufferSize: 1638400, readBufferSize: 20480, writeBufferSize: 1024, useAsync: True)   Test case: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK
I/DOTNET  (12361):    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  (12361):    Exception messages: System.TimeoutException : The operation has timed out.   Exception stack traces:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
I/DOTNET  (12361):    at System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(Int32 bufferSize, Int32 readBufferSize, Int32 writeBufferSize, Boolean useAsync) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs:line 1070
I/DOTNET  (12361): --- End of stack trace from previous location ---
I/DOTNET  (12361):    Execution time: 60.7797963
I/DOTNET  (12361): 4) 	[FAIL] System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK   Test name: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(bufferSize: 16384, readBufferSize: 3, writeBufferSize: 3, useAsync: True)   Test case: System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK
I/DOTNET  (12361):    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  (12361):    Exception messages: System.TimeoutException : The operation has timed out.   Exception stack traces:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
I/DOTNET  (12361):    at System.Net.Security.Tests.SslStreamNetworkStreamTest.SslStream_RandomSizeWrites_OK(Int32 bufferSize, Int32 readBufferSize, Int32 writeBufferSize, Boolean useAsync) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs:line 1070
I/DOTNET  (12361): --- End of stack trace from previous location ---
I/DOTNET  (12361):    Execution time: 61.5061639
I/DOTNET  (12361): 5) 	[FAIL] System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback   Test name: System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback(checkRevocation: True)   Test case: System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback
I/DOTNET  (12361):    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  (12361):    Exception messages: System.AggregateException : One or more errors occurred. (Authentication failed, see inner exception.) (Authentication failed, see inner exception.)
I/DOTNET  (12361): ---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
I/DOTNET  (12361): -------- Assert.Contains() Failure: Item not found in collection
I/DOTNET  (12361): Collection: [RevocationStatusUnknown]
I/DOTNET  (12361): Not found:  Revoked
I/DOTNET  (12361): ---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
I/DOTNET  (12361): -------- Interop+AndroidCrypto+SslException : Exception of type 'Interop+AndroidCrypto+SslException' was thrown.   Exception stack traces:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
I/DOTNET  (12361):    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 55
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback_Core(X509RevocationMode revocationMode, Nullable`1 offlineContext, Boolean noIntermediates, String testName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 319
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback_Core(X509RevocationMode revocationMode, Nullable`1 offlineContext, Boolean noIntermediates, String testName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 320
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback_Core(X509RevocationMode revocationMode, Nullable`1 offlineContext, Boolean noIntermediates, String testName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 320
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback_Core(X509RevocationMode revocationMode, Nullable`1 offlineContext, Boolean noIntermediates, String testName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 320
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback_Core(X509RevocationMode revocationMode, Nullable`1 offlineContext, Boolean noIntermediates, String testName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 320
I/DOTNET  (12361): --- End of stack trace from previous location ---
I/DOTNET  (12361): ----- Inner Stack Trace #1 (System.Security.Authentication.AuthenticationException) -----
I/DOTNET  (12361):    at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__157`1[[System.Net.Security.AsyncReadWriteAdapter, System.Net.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
I/DOTNET  (12361):    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 120
I/DOTNET  (12361): ----- Inner Stack Trace -----
I/DOTNET  (12361):    at System.Net.Security.Tests.CertificateValidationRemoteServer.<ConnectWithRevocation_WithCallback_Core>g__CertificateValidationCallback|6_0(Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs:line 370
I/DOTNET  (12361):    at System.Net.Security.SslStream.VerifyRemoteCertificate(RemoteCertificateValidationCallback remoteCertValidationCallback, SslCertificateTrust trust, ProtocolToken& alertToken, SslPolicyErrors& sslPolicyErrors, X509ChainStatusFlags& chainStatus)
I/DOTNET  (12361):    at System.Net.Security.SslStream.VerifyRemoteCertificate()
I/DOTNET  (12361):    at System.Net.Security.SslStream.JavaProxy.VerifyRemoteCertificate(IntPtr sslStreamProxyHandle)
I/DOTNET  (12361): ----- Inner Stack Trace #2 (System.Security.Authentication.AuthenticationException) -----
I/DOTNET  (12361):    at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__157`1[[System.Net.Security.AsyncReadWriteAdapter, System.Net.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
I/DOTNET  (12361):    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 120
I/DOTNET  (12361): ----- Inner Stack Trace -----
  • System.Net.Security.Tests.CertificateValidationRemoteServer.ConnectWithRevocation_WithCallback
System.AggregateException : One or more errors occurred. (Authentication failed, see inner exception.) (Authentication failed, see inner exception.)
---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
-------- Assert.Contains() Failure: Item not found in collection
Collection: [RevocationStatusUnknown]
Not found:  Revoked
---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
-------- Interop+AndroidCrypto+SslException : Exception of type 'Interop+AndroidCrypto+SslException' was thrown.
  • dlopen failed: library name too long
E/AndroidRuntime( 3289): java.lang.UnsatisfiedLinkError: dlopen failed: library name "/data/app/net.dot.Android.Device_Emulator.Aot_System.IO.Stream.Test-1/lib/x86_64/libSystem.Security.Cryptography.Native.Android.so" too long
E/AndroidRuntime( 3289): 	at java.lang.Runtime.loadLibrary(Runtime.java:371)
E/AndroidRuntime( 3289): 	at java.lang.System.loadLibrary(System.java:989)
E/AndroidRuntime( 3289): 	at net.dot.MonoRunner.<clinit>(MonoRunner.java:37)
  • Microsoft.VisualBasic.Core.Tests
I/DOTNET  ( 2514): 1) 	[FAIL] Microsoft.VisualBasic.FileIO.Tests.FileSystemTests.GetDriveInfo_Drive   Test name: Microsoft.VisualBasic.FileIO.Tests.FileSystemTests.GetDriveInfo_Drive
I/DOTNET  ( 2514):    Assembly:  [Microsoft.VisualBasic.Core.Tests, Version=14.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  ( 2514):    Exception messages: Assert.True() Failure
I/DOTNET  ( 2514): Expected: True
I/DOTNET  ( 2514): Actual:   False   Exception stack traces:    at Microsoft.VisualBasic.FileIO.Tests.FileSystemTests.GetDriveInfo_Drive() in /_/src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft/VisualBasic/FileIO/FileSystemTests.cs:line 491
I/DOTNET  ( 2514):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
I/DOTNET  ( 2514):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
I/DOTNET  ( 2514):    Execution time: 0.0461277
I/DOTNET  ( 2514): 2) 	[FAIL] Microsoft.VisualBasic.Tests.FinancialTests.Rate   Test name: Microsoft.VisualBasic.Tests.FinancialTests.Rate(NPer: 48, Pmt: -570, PV: 24270, FV: 0, Due: BegOfPeriod, Guess: 0.10000000000000001, expected: 0.0052240164339990847, relativePrecision: 0)   Test case: Microsoft.VisualBasic.Tests.FinancialTests.Rate
I/DOTNET  ( 2514):    Assembly:  [Microsoft.VisualBasic.Core.Tests, Version=14.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  ( 2514):    Exception messages: Assert.Equal() Failure: Values are not within 15 decimal places
I/DOTNET  ( 2514): Expected: 0.0052240164339989997 (rounded from 0.0052240164339990847)
I/DOTNET  ( 2514): Actual:   0.0052240164339999997 (rounded from 0.0052240164339997413)   Exception stack traces:    at Microsoft.VisualBasic.Tests.FinancialTests.Rate(Double NPer, Double Pmt, Double PV, Double FV, DueDate Due, Double Guess, Double expected, Int32 relativePrecision) in /_/src/libraries/Microsoft.VisualBasic.Core/tests/FinancialTests.cs:line 260
I/DOTNET  ( 2514):    at System.Object.InvokeStub_FinancialTests.Rate(Object , Span`1 )
I/DOTNET  ( 2514):    at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
I/DOTNET  ( 2514):    Execution time: 0.0052607
I/DOTNET  ( 2514): 3) 	[FAIL] Microsoft.VisualBasic.Tests.FinancialTests.PV   Test name: Microsoft.VisualBasic.Tests.FinancialTests.PV(Rate: -0.0080000000000000002, NPer: 31, Pmt: 2000, FV: 0, Due: EndOfPeriod, expected: -70684.64967009431, relativePrecision: -5)   Test case: Microsoft.VisualBasic.Tests.FinancialTests.PV
I/DOTNET  ( 2514):    Assembly:  [Microsoft.VisualBasic.Core.Tests, Version=14.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  ( 2514):    Exception messages: Assert.Equal() Failure: Values are not within 10 decimal places
I/DOTNET  ( 2514): Expected: -70684.649670094295 (rounded from -70684.64967009431)
I/DOTNET  ( 2514): Actual:   -70684.649670094397 (rounded from -70684.649670094353)   Exception stack traces:    at Microsoft.VisualBasic.Tests.FinancialTests.PV(Double Rate, Double NPer, Double Pmt, Double FV, DueDate Due, Double expected, Int32 relativePrecision) in /_/src/libraries/Microsoft.VisualBasic.Core/tests/FinancialTests.cs:line 241
I/DOTNET  ( 2514):    at System.Object.InvokeStub_FinancialTests.PV(Object , Span`1 )
I/DOTNET  ( 2514):    at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
I/DOTNET  ( 2514):    Execution time: 0.0001112
  • An error occurred trying to start process '/bin/sh' with working directory '/data/data/net.dot.System.IO.FileSystem.DisabledFileLocking.Tests/files'

  • no drive

I/DOTNET  ( 3155): 1) 	[FAIL] System.Tests.EnvironmentTests.GetLogicalDrives_Unix_AtLeastOneIsRoot   Test name: System.Tests.EnvironmentTests.GetLogicalDrives_Unix_AtLeastOneIsRoot
I/DOTNET  ( 3155):    Assembly:  [System.Runtime.Extensions.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
I/DOTNET  ( 3155):    Exception messages: Expected at least one drive   Exception stack traces:    at System.Tests.EnvironmentTests.GetLogicalDrives_Unix_AtLeastOneIsRoot() in /_/src/libraries/System.Runtime/tests/System.Runtime.Extensions.Tests/System/EnvironmentTests.cs:line 553
I/DOTNET  ( 3155):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
I/DOTNET  ( 3155):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
I/DOTNET  ( 3155):    Execution time: 0.0435011
  • System.Net.Sockets.Tests
  • I/DOTNET  ( 8019): 1) 	[FAIL] System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds   Test name: System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.Net.Sockets.SocketException : Protocol not available   Exception stack traces:    at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Socket.UpdateStatusAfterSocketOptionErrorAndThrowException(SocketError error, String callerName)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Socket.GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs:line 434
    I/DOTNET  ( 8019): --- End of stack trace from previous location ---
    I/DOTNET  ( 8019):    Execution time: 0.0046146
    I/DOTNET  ( 8019): 2) 	[FAIL] System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success   Test name: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(ipv4: True)   Test case: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Boolean ipv4) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs:line 1283
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    I/DOTNET  ( 8019):    Execution time: 0.0088178
    I/DOTNET  ( 8019):    Test trait name: IPv4
    I/DOTNET  ( 8019):       value: true
    I/DOTNET  ( 8019):    Test trait name: IPv6
    I/DOTNET  ( 8019):       value: true
    I/DOTNET  ( 8019): 
    I/DOTNET  ( 8019): 3) 	[FAIL] System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success   Test name: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(ipv4: False)   Test case: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Boolean ipv4) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs:line 1283
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0.0014939
    I/DOTNET  ( 8019):    Test trait name: IPv4
    I/DOTNET  ( 8019):       value: true
    I/DOTNET  ( 8019):    Test trait name: IPv6
    I/DOTNET  ( 8019):       value: true
    I/DOTNET  ( 8019): 
    I/DOTNET  ( 8019): 4) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: Assert.Throws() Failure: Exception type was not an exact match
    I/DOTNET  ( 8019): Expected: typeof(System.IO.FileNotFoundException)
    I/DOTNET  ( 8019): Actual:   typeof(System.Net.Sockets.SocketException)
    I/DOTNET  ( 8019): ---- System.Net.Sockets.SocketException : File table overflow [::1]:35042   Exception stack traces:    at System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 292
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    I/DOTNET  ( 8019): ----- Inner Stack Trace -----
    I/DOTNET  ( 8019):    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement[] elements, SocketError expectedResult, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 678
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement element, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 659
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.<SendPacketsElement_MissingFile_Throws>b__27_0() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 295
    I/DOTNET  ( 8019):    Execution time: 0.011293 **** Output start ****Created file /data/data/net.dot.System.Net.Sockets.Tests/cache/13fach2s.xhs_.ctor_38 with size: 1024 **** Output end ****
    I/DOTNET  ( 8019): 5) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamMultiPartMixed_MultipleFileStreams_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamMultiPartMixed_MultipleFileStreams_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/elfdtevx.q4h_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.UnixFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.<GetExpectedContent>g__ReadFromFile|56_0(String filePath, Int64 offset, Int64 count, Byte[] destination, Int64& destinationOffset) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 723
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.GetExpectedContent(SendPacketsElement[] elements) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 759
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamMultiPartMixed_MultipleFileStreams_Success() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 591
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    I/DOTNET  ( 8019):    Execution time: 0.0280158 **** Output start ****Created file /data/data/net.dot.System.Net.Sockets.Tests/cache/elfdtevx.q4h_.ctor_38 with size: 1024 **** Output end ****
    I/DOTNET  ( 8019): 6) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamLargeOffset_Throws   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamLargeOffset_Throws
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.TimeoutException : Timeout waiting for client connection.   Exception stack traces:    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 167
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.Start(EndPoint localEndPoint) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 118
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync..ctor(Int32 numConnections, Int32 receiveBufferSize, EndPoint localEndPoint, ProtocolType protocolType) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 55
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, Int32 numConnections, Int32 receiveBufferSize, EndPoint localEndPoint, ProtocolType protocolType) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 42
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, Int32 numConnections, Int32 receiveBufferSize, IPAddress address, Int32& port) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 55
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, IPAddress address, Int32& port) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 24
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement[] elements, SocketError expectedResult, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 674
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement element, SocketError expectedResult, Int32 bytesExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 664
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamLargeOffset_Throws() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 529
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    I/DOTNET  ( 8019):    Execution time: 12.5226017 **** Output start ****Created file /data/data/net.dot.System.Net.Sockets.Tests/cache/x1e5cipf.kee_.ctor_38 with size: 1024 **** Output end ****
    I/DOTNET  ( 8019): 7) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamWithOptions_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamWithOptions_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/4s0xtjt0.nsi_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.UnixFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
    I/DOTNET  ( 8019):    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.<GetExpectedContent>g__ReadFromFile|56_0(String filePath, Int64 offset, Int64 count, Byte[] destination, Int64& destinationOffset) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 723
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.GetExpectedContent(SendPacketsElement[] elements) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 759
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamWithOptions_Success() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 549
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    I/DOTNET  ( 8019):    Execution time: 0.0045903 **** Output start ****Created file /data/data/net.dot.System.Net.Sockets.Tests/cache/4s0xtjt0.nsi_.ctor_38 with size: 1024 **** Output end ****
    I/DOTNET  ( 8019): 8) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.EmptyList_Ignored   Test name: System.Net.Sockets.Tests.SendPacketsAsync.EmptyList_Ignored
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.TimeoutException : Timeout waiting for client connection.   Exception stack traces:    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 167
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.ProcessAccept(SocketAsyncEventArgs e) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 216
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.StartAccept(SocketAsyncEventArgs acceptEventArg) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 165
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync.Start(EndPoint localEndPoint) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 118
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServerAsync..ctor(Int32 numConnections, Int32 receiveBufferSize, EndPoint localEndPoint, ProtocolType protocolType) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServerAsync.cs:line 55
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, Int32 numConnections, Int32 receiveBufferSize, EndPoint localEndPoint, ProtocolType protocolType) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 42
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, Int32 numConnections, Int32 receiveBufferSize, IPAddress address, Int32& port) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 55
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SocketTestServer.SocketTestServerFactory(SocketImplementationType type, IPAddress address, Int32& port) in /_/src/libraries/Common/tests/System/Net/Sockets/SocketTestServer.cs:line 24
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement[] elements, SocketError expectedResult, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 674
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync.EmptyList_Ignored() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 111
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    I/DOTNET  ( 8019):    Execution time: 12.5144368 **** Output start ****Created file /data/data/net.dot.System.Net.Sockets.Tests/cache/ulplgz2p.cn4_.ctor_38 with size: 1024 **** Output end ****
    I/DOTNET  ( 8019): 9) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileZeroCount_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileZeroCount_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/k0wpbkle.cmd_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 10) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileLargeOffset_Throws   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileLargeOffset_Throws
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/t0lk0glt.mw4_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 11) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamPart_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamPart_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/rh52b2q1.u3d_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 12) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamMultiPartMixed_MultipleWholeFiles_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileStreamMultiPartMixed_MultipleWholeFiles_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/ffrfmylu.v4w_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 13) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SocketDisconnectedAndReusable_TransmitFileOptionReuseSocket   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SocketDisconnectedAndReusable_TransmitFileOptionReuseSocket
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/pf4khhju.1mc_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 14) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.NullList_Throws   Test name: System.Net.Sockets.Tests.SendPacketsAsync.NullList_Throws
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/0dcifc4f.xiy_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 15) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileMultiPart_Success   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_FileMultiPart_Success
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/xmhimswu.0jg_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 16) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored   Test name: System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored(bufferType: ByteArray)   Test case: System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/fwycz2nh.pil_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    I/DOTNET  ( 8019): 17) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored   Test name: System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored(bufferType: ManagedMemory)   Test case: System.Net.Sockets.Tests.SendPacketsAsync.BufferZeroCountThenNormal_ZeroCountIgnored
    I/DOTNET  ( 8019):    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    I/DOTNET  ( 8019):    Exception messages: System.IO.IOException : Too many open files : '/data/data/net.dot.System.Net.Sockets.Tests/cache/xvw4znlq.fqt_.ctor_38'   Exception stack traces:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Interop.CheckIo(Error error, String path, Boolean isDirError)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
    I/DOTNET  ( 8019):    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, ReadOnlySpan`1 bytes)
    I/DOTNET  ( 8019):    at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
    I/DOTNET  ( 8019):    at System.IO.TempFile..ctor(String path, Byte[] data) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 28
    I/DOTNET  ( 8019):    at System.IO.TempFile.Create(Byte[] bytes, String memberName, Int32 lineNumber) in /_/src/libraries/Common/tests/System/IO/TempFile.cs:line 36
    I/DOTNET  ( 8019):    at System.Net.Sockets.Tests.SendPacketsAsync..ctor(ITestOutputHelper output) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 38
    I/DOTNET  ( 8019):    at System.Object.InvokeStub_SendPacketsAsync..ctor(Object , Span`1 )
    I/DOTNET  ( 8019):    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    I/DOTNET  ( 8019):    Execution time: 0
    

    @matouskozak
    Copy link
    Member Author

    Ubuntu.2204.Amd64.Android.28.Open

    • System.Net.Ping.Functional.Tests
    08-27 18:51:09.920  6247  6738 I DOTNET  : 1) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass12_0.<SendPingWithIPAddress>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 149
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 148
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddress(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0453895
    08-27 18:51:09.920  6247  6738 I DOTNET  : 2) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : -------- System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than or equal to the size of the collection. (Parameter 'startIndex')   Exception stack traces:    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsync(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 634
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 168
    08-27 18:51:09.920  6247  6738 I DOTNET  : --- End of stack trace from previous location ---
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Globalization.Ordinal.IndexOf(String source, String value, Int32 startIndex, Int32 count, Boolean ignoreCase)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.UnixCommandLinePing.ParseRoundTripTime(String pingOutput)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.ParsePingUtilityOutput(IPAddress address, Int32 exitCode, String stdout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.1104844
    08-27 18:51:09.920  6247  6738 I DOTNET  : 3) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : -------- System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than or equal to the size of the collection. (Parameter 'startIndex')   Exception stack traces:    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsync(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 634
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 340
    08-27 18:51:09.920  6247  6738 I DOTNET  : --- End of stack trace from previous location ---
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Globalization.Ordinal.IndexOf(String source, String value, Int32 startIndex, Int32 count, Boolean ignoreCase)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.UnixCommandLinePing.ParseRoundTripTime(String pingOutput)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.ParsePingUtilityOutput(IPAddress address, Int32 exitCode, String stdout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0972444
    08-27 18:51:09.920  6247  6738 I DOTNET  : 4) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass14_0.<SendPingWithIPAddress_AddressAsString>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 189
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 188
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddress_AddressAsString(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0190004
    08-27 18:51:09.920  6247  6738 I DOTNET  : 5) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass22_0.<SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 317
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 316
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0167168
    
    • System.Net.Security.Tests
    08-27 19:09:44.470 16491 20520 I DOTNET  : 1) 	[FAIL] System.Net.Security.Tests.SslStreamSniTest.SslStream_ClientSendsSNIServerReceives_Ok   Test name: System.Net.Security.Tests.SslStreamSniTest.SslStream_ClientSendsSNIServerReceives_Ok(hostName: "localhost")   Test case: System.Net.Security.Tests.SslStreamSniTest.SslStream_ClientSendsSNIServerReceives_Ok
    08-27 19:09:44.470 16491 20520 I DOTNET  :    Assembly:  [System.Net.Security.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 19:09:44.470 16491 20520 I DOTNET  :    Exception messages: Assert.Equal() Failure: Strings differ
    08-27 19:09:44.470 16491 20520 I DOTNET  :            ↓ (pos 0)
    08-27 19:09:44.470 16491 20520 I DOTNET  : Expected: "localhost"
    08-27 19:09:44.470 16491 20520 I DOTNET  : Actual:   ""   Exception stack traces:    at System.Net.Security.Tests.SslStreamSniTest.<>c__DisplayClass0_1.<SslStream_ClientSendsSNIServerReceives_Ok>b__3(Object sender, String actualHostName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs:line 40
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.SslStream.AcquireServerCredentials(Byte[]& thumbPrint)
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.SslStream.GenerateToken(ReadOnlySpan`1 inputBuffer, Int32& consumed)
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.SslStream.NextMessage(ReadOnlySpan`1 incomingBuffer, Int32& consumed)
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.SslStream.ProcessTlsFrame(Int32 frameSize)
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__157`1[[System.Net.Security.AsyncReadWriteAdapter, System.Net.Security, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 120
    08-27 19:09:44.470 16491 20520 I DOTNET  : --- End of stack trace from previous location ---
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 90
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.Tests.SslStreamSniTest.<>c__DisplayClass0_0.<<SslStream_ClientSendsSNIServerReceives_Ok>b__0>d.MoveNext() in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs:line 44
    08-27 19:09:44.470 16491 20520 I DOTNET  : --- End of stack trace from previous location ---
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.Tests.SslStreamSniTest.WithVirtualConnection(Func`3 serverClientConnection, RemoteCertificateValidationCallback clientCertValidate) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs:line 364
    08-27 19:09:44.470 16491 20520 I DOTNET  :    at System.Net.Security.Tests.SslStreamSniTest.SslStream_ClientSendsSNIServerReceives_Ok(String hostName) in /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs:line 28
    
    • System.Net.NetworkInformation.Tests.PingTest
    08-27 18:51:09.920  6247  6738 I DOTNET  : 1) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass12_0.<SendPingWithIPAddress>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 149
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 148
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddress(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0453895
    08-27 18:51:09.920  6247  6738 I DOTNET  : 2) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : -------- System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than or equal to the size of the collection. (Parameter 'startIndex')   Exception stack traces:    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsync(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 634
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddress(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 168
    08-27 18:51:09.920  6247  6738 I DOTNET  : --- End of stack trace from previous location ---
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Globalization.Ordinal.IndexOf(String source, String value, Int32 startIndex, Int32 count, Boolean ignoreCase)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.UnixCommandLinePing.ParseRoundTripTime(String pingOutput)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.ParsePingUtilityOutput(IPAddress address, Int32 exitCode, String stdout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.1104844
    08-27 18:51:09.920  6247  6738 I DOTNET  : 3) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : -------- System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than or equal to the size of the collection. (Parameter 'startIndex')   Exception stack traces:    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsync(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 634
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingAsyncWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 340
    08-27 18:51:09.920  6247  6738 I DOTNET  : --- End of stack trace from previous location ---
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.<SendPingAsyncInternal>d__61`1[[System.Net.IPAddress, System.Net.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Globalization.Ordinal.IndexOf(String source, String value, Int32 startIndex, Int32 count, Boolean ignoreCase)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.UnixCommandLinePing.ParseRoundTripTime(String pingOutput)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.ParsePingUtilityOutput(IPAddress address, Int32 exitCode, String stdout)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtilityAsync(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0972444
    08-27 18:51:09.920  6247  6738 I DOTNET  : 4) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass14_0.<SendPingWithIPAddress_AddressAsString>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 189
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddress_AddressAsString(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 188
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddress_AddressAsString(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0190004
    08-27 18:51:09.920  6247  6738 I DOTNET  : 5) 	[FAIL] System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix   Test name: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(addressFamily: InterNetworkV6)   Test case: System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Assembly:  [System.Net.Ping.Functional.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Exception messages: System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.
    08-27 18:51:09.920  6247  6738 I DOTNET  : ---- System.Net.NetworkInformation.PingException : An exception occurred during a Ping request.   Exception stack traces:    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.<>c__DisplayClass22_0.<SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix>b__0(Ping ping) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 317
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 628
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendBatchPing(Func`2 sendPing, Action`1 pingResultValidator) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 611
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Tests.PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(AddressFamily addressFamily) in /_/src/libraries/System.Net.Ping/tests/FunctionalTests/PingTest.cs:line 316
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Object.InvokeStub_PingTest.SendPingWithIPAddressAndTimeoutAndBufferAndPingOptions_Unix(Object , Span`1 )
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:51:09.920  6247  6738 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendWithPingUtility(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.SendPingCore(IPAddress address, Byte[] buffer, Int32 timeout, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    at System.Net.NetworkInformation.Ping.Send(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options)
    08-27 18:51:09.920  6247  6738 I DOTNET  :    Execution time: 0.0167168
    

    @matouskozak
    Copy link
    Member Author

    matouskozak commented Aug 28, 2024

    Ubuntu.2204.Amd64.Android.27.Open, Ubuntu.2204.Amd64.Android.26.Open

    • same networking issues as Ubuntu.2204.Amd64.Android.28.Open
    • System.IO.Tests.FileStream_ctor_options.CreateWithUnixFileMode
    08-27 18:49:18.508  8341  8443 I DOTNET  : 1) 	[FAIL] System.IO.Tests.FileStream_ctor_options.CreateWithUnixFileMode   Test name: System.IO.Tests.FileStream_ctor_options.CreateWithUnixFileMode(mode: None)   Test case: System.IO.Tests.FileStream_ctor_options.CreateWithUnixFileMode
    08-27 18:49:18.508  8341  8443 I DOTNET  :    Assembly:  [System.IO.FileSystem.DisabledFileLocking.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:49:18.508  8341  8443 I DOTNET  :    Exception messages: System.ComponentModel.Win32Exception : An error occurred trying to start process '/bin/sh' with working directory '/data/data/net.dot.System.IO.FileSystem.DisabledFileLocking.Tests/files'. No such file or directory   Exception stack traces:    at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.Diagnostics.Process.Start()
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.IO.Tests.FileSystemTest.GetUmask() in /_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/FileSystemTest.cs:line 148
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.IO.Tests.FileStream_ctor_options.CreateWithUnixFileMode(UnixFileMode mode) in /_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/FileStream/ctor_options.Unix.cs:line 23
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    08-27 18:49:18.508  8341  8443 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    08-27 18:49:18.508  8341  8443 I DOTNET  :    Execution time: 0.0136499
    

    @matouskozak
    Copy link
    Member Author

    matouskozak commented Aug 28, 2024

    Ubuntu.2204.Amd64.Android.25.Open, Ubuntu.2204.Amd64.Android.24.Open

    • same as Ubuntu.2204.Amd64.Android.27.Open
    • System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature
    08-27 18:39:54.155  2753  2771 I DOTNET  : 1) 	[FAIL] System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature   Test name: System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Assembly:  [System.Security.Cryptography.Xml.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Exception messages: System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation.   Exception stack traces:    at System.Security.Cryptography.DSAImplementation.DSAAndroid.SignHash(ReadOnlySpan`1 hash, Span`1 destination, Int32 signatureLength, SafeDsaHandle key)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.DSAImplementation.DSAAndroid.CreateSignature(Byte[] rgbHash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.DSASignatureFormatter.CreateSignature(Byte[] rgbHash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.AsymmetricSignatureFormatter.CreateSignature(HashAlgorithm hash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.Xml.SignedXml.ComputeSignature() in /_/src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/SignedXml.cs:line 435
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature() in /_/src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs:line 316
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Execution time: 2.2244818
    
    Microsoft.DotNet.XUnitExtensions.SkipTestException : This test won't work on API level < 26
    
    • System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom
    08-27 18:36:01.957  7603  9208 I DOTNET  : 1) 	[FAIL] System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds   Test name: System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Exception messages: System.Net.Sockets.SocketException : Protocol not available   Exception stack traces:    at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
    08-27 18:36:01.957  7603  9208 I DOTNET  :    at System.Net.Sockets.Socket.UpdateStatusAfterSocketOptionErrorAndThrowException(SocketError error, String callerName)
    08-27 18:36:01.957  7603  9208 I DOTNET  :    at System.Net.Sockets.Socket.GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName)
    08-27 18:36:01.957  7603  9208 I DOTNET  :    at System.Net.Sockets.Tests.SocketOptionNameTest.TcpFastOpen_Roundrip_Succeeds() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs:line 434
    08-27 18:36:01.957  7603  9208 I DOTNET  : --- End of stack trace from previous location ---
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Execution time: 0.0063789
    08-27 18:36:01.957  7603  9208 I DOTNET  : 2) 	[FAIL] System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success   Test name: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(ipv4: True)   Test case: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Boolean ipv4) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs:line 1283
    08-27 18:36:01.957  7603  9208 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    08-27 18:36:01.957  7603  9208 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Execution time: 0.012875
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Test trait name: IPv4
    08-27 18:36:01.957  7603  9208 I DOTNET  :       value: true
    08-27 18:36:01.957  7603  9208 I DOTNET  :    Test trait name: IPv6
    08-27 18:36:01.957  7603  9208 I DOTNET  :       value: true
    08-27 18:36:01.957  7603  9208 I DOTNET  : 
    08-27 18:36:01.958  7603  9208 I DOTNET  : 3) 	[FAIL] System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success   Test name: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(ipv4: False)   Test case: System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Sockets.Tests.DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Boolean ipv4) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs:line 1283
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Object.InvokeStub_DualModeConnectionlessReceiveMessageFrom.ReceiveMessageFromAsync_SocketAsyncEventArgs_Success(Object , Span`1 )
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Execution time: 0.0027757
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Test trait name: IPv4
    08-27 18:36:01.958  7603  9208 I DOTNET  :       value: true
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Test trait name: IPv6
    08-27 18:36:01.958  7603  9208 I DOTNET  :       value: true
    08-27 18:36:01.958  7603  9208 I DOTNET  : 
    08-27 18:36:01.958  7603  9208 I DOTNET  : 4) 	[FAIL] System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws   Test name: System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Assembly:  [System.Net.Sockets.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Exception messages: Assert.Throws() Failure: Exception type was not an exact match
    08-27 18:36:01.958  7603  9208 I DOTNET  : Expected: typeof(System.IO.FileNotFoundException)
    08-27 18:36:01.958  7603  9208 I DOTNET  : Actual:   typeof(System.Net.Sockets.SocketException)
    08-27 18:36:01.958  7603  9208 I DOTNET  : ---- System.Net.Sockets.SocketException : File table overflow [::1]:57370   Exception stack traces:    at System.Net.Sockets.Tests.SendPacketsAsync.SendPacketsElement_MissingFile_Throws() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 292
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    08-27 18:36:01.958  7603  9208 I DOTNET  : ----- Inner Stack Trace -----
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement[] elements, SocketError expectedResult, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 678
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Net.Sockets.Tests.SendPacketsAsync.SendPackets(SendPacketsElement element, Int32 bytesExpected, Byte[] contentExpected) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 659
    08-27 18:36:01.958  7603  9208 I DOTNET  :    at System.Net.Sockets.Tests.SendPacketsAsync.<SendPacketsElement_MissingFile_Throws>b__27_0() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendPacketsAsync.cs:line 295
    08-27 18:36:01.958  7603  9208 I DOTNET  :    Execution time: 0.0155422 **** Output start ****Created file /data/user/0/net.dot.System.Net.Sockets.Tests/cache/4554j1nz.0xu_.ctor_38 with size: 1024 **** Output end ****
    

    @matouskozak
    Copy link
    Member Author

    matouskozak commented Aug 28, 2024

    Ubuntu.2204.Amd64.Android.23.Open

    • same as Ubuntu.2204.Amd64.Android.25.Open
    • System.Globalization.Tests
    08-27 18:27:20.145  4309  4325 I DOTNET  : 1) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName_Invoke_ReturnsExpected   Test name: System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName_Invoke_ReturnsExpected(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = False, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName_Invoke_ReturnsExpected
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Strings d
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.145  4309  4325 I DOTNET  : Expected: "dimanche"
    08-27 18:27:20.145  4309  4325 I DOTNET  : Actual:   "Dimanche"
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName_Invoke_ReturnsExpected(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetDayName.cs:line 41
    08-27 18:27:20.145  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoGetDayName.GetDayName_Invoke_ReturnsExpected(Object , Span`1 )
    08-27 18:27:20.145  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Execution time: 0.0515847
    08-27 18:27:20.145  4309  4325 I DOTNET  : 2) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoMonthNames.MonthNames_Get_ReturnsExpected_ICU   Test name: System.Globalization.Tests.DateTimeFormatInfoMonthNames.MonthNames_Get_ReturnsExpected_ICU(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = True, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["janvier", "février", "mars", "avril", "mai", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoMonthNames.MonthNames_Get_ReturnsExpected_ICU
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Collections
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.145  4309  4325 I DOTNET  : Expected: ["janvier", "février", "mars", "avril", "mai", ···]
    08-27 18:27:20.145  4309  4325 I DOTNET  : Actual:   ["Janvier", "Février", "Mars", "Avril", "Mai", ···]
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoMonthNames.MonthNames_Get_ReturnsExpected_ICU(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoMonthNames.cs:line 240
    08-27 18:27:20.145  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoMonthNames.MonthNames_Get_ReturnsExpected_ICU(Object , Span`1 )
    08-27 18:27:20.145  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Execution time: 0.039687
    08-27 18:27:20.145  4309  4325 I DOTNET  : 3) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedMonthName.GetAbbreviatedMonthName_Invoke_ReturnsExpected   Test name: System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedMonthName.GetAbbreviatedMonthName_Invoke_ReturnsExpected(info: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = False, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["", "janv.", "févr.", "mars", "avr.", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedMonthName.GetAbbreviatedMonthName_Invoke_ReturnsExpected
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd
    08-27 18:27:20.145  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Strings differ
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.145  4309  4325 I DOTNET  : Expected: "janv."
    08-27 18:27:20.145  4309  4325 I DOTNET  : Actual:   "Janv."
    08-27 18:27:20.145  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedMonthName.GetAbbreviatedMonthName_Invoke_ReturnsExpected(DateTimeFormatInfo info, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetAbbreviatedMonthName.cs:line 33
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoGetAbbreviatedMonthName.GetAbbreviatedMonthName_Invoke_ReturnsExpected(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0001633
    08-27 18:27:20.146  4309  4325 I DOTNET  : 4) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoGetMonthName.GetMonthName_Invoke_ReturnsExpected   Test name: System.Globalization.Tests.DateTimeFormatInfoGetMonthName.GetMonthName_Invoke_ReturnsExpected(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = False, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["", "janvier", "février", "mars", "avril", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoGetMonthName.GetMonthName_Invoke_ReturnsExpected
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Stri
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.146  4309  4325 I DOTNET  : Expected: "janvier"
    08-27 18:27:20.146  4309  4325 I DOTNET  : Actual:   "Janvier"
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoGetMonthName.GetMonthName_Invoke_ReturnsExpected(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetMonthName.cs:line 33
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoGetMonthName.GetMonthName_Invoke_ReturnsExpected(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0001378
    08-27 18:27:20.146  4309  4325 I DOTNET  : 5) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoAbbreviatedDayNames.AbbreviatedDayNames_Get_ReturnsExpected_ICU   Test name: System.Globalization.Tests.DateTimeFormatInfoAbbreviatedDayNames.AbbreviatedDayNames_Get_ReturnsExpected_ICU(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = True, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["dim.", "lun.", "mar.", "mer.", "jeu.", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoAbbreviatedDayNames.AbbreviatedDayNames_Get_ReturnsExpected_ICU
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Collections differ
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.146  4309  4325 I DOTNET  : Expected: ["dim.", "lun.", "mar.", "mer.", "jeu.", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  : Actual:   ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoAbbreviatedDayNames.AbbreviatedDayNames_Get_ReturnsExpected_ICU(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoAbbreviatedDayNames.cs:line 99
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoAbbreviatedDayNames.AbbreviatedDayNames_Get_ReturnsExpected_ICU(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0012788
    08-27 18:27:20.146  4309  4325 I DOTNET  : 6) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedDayName.GetAbbreviatedDayName_Invoke_ReturnsExpected   Test name: System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedDayName.GetAbbreviatedDayName_Invoke_ReturnsExpected(info: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = False, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["dim.", "lun.", "mar.", "mer.", "jeu.", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedDayName.GetAbbreviatedDayName_Invoke_ReturnsExpected
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Strings differ
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.146  4309  4325 I DOTNET  : Expected: "dim."
    08-27 18:27:20.146  4309  4325 I DOTNET  : Actual:   "Dim."
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoGetAbbreviatedDayName.GetAbbreviatedDayName_Invoke_ReturnsExpected(DateTimeFormatInfo info, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoGetAbbreviatedDayName.cs:line 41
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoGetAbbreviatedDayName.GetAbbreviatedDayName_Invoke_ReturnsExpected(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0001413
    08-27 18:27:20.146  4309  4325 I DOTNET  : 7) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoAbbreviatedMonthNames.AbbreviatedMonthNames_Get_ReturnsExpected_ICU   Test name: System.Globalization.Tests.DateTimeFormatInfoAbbreviatedMonthNames.AbbreviatedMonthNames_Get_ReturnsExpected_ICU(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = True, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["janv.", "févr.", "mars", "avr.", "mai", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoAbbreviatedMonthNames.AbbreviatedMonthNames_Get_ReturnsExpected_ICU
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd5
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Collections differ
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↓ (pos 0)
    08-27 18:27:20.146  4309  4325 I DOTNET  : Expected: ["janv.", "févr.", "mars", "avr.", "mai", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  : Actual:   ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoAbbreviatedMonthNames.AbbreviatedMonthNames_Get_ReturnsExpected_ICU(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoAbbreviatedMonthNames.cs:line 246
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoAbbreviatedMonthNames.AbbreviatedMonthNames_Get_ReturnsExpected_ICU(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0012579
    08-27 18:27:20.146  4309  4325 I DOTNET  : 8) 	[FAIL] System.Globalization.Tests.DateTimeFormatInfoDayNames.DayNames_Get_ReturnsExpected_ICU   Test name: System.Globalization.Tests.DateTimeFormatInfoDayNames.DayNames_Get_ReturnsExpected_ICU(format: DateTimeFormatInfo { AbbreviatedDayNames = ["Dim.", "Lun.", "Mar.", "Mer.", "Jeu.", ···], AbbreviatedMonthGenitiveNames = ["janv.", "févr.", "mars", "avr.", "mai", ···], AbbreviatedMonthNames = ["Janv.", "Févr.", "Mars", "Avr.", "Mai", ···], AMDesignator = "AM", Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [···], IsReadOnly = True, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ··· }, ··· }, expected: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", ···])   Test case: System.Globalization.Tests.DateTimeFormatInfoDayNames.DayNames_Get_ReturnsExpected_ICU
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Assembly:  [System.Globalization.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Exception messages: Assert.Equal() Failure: Collections differ
    08-27 18:27:20.146  4309  4325 I DOTNET  : Expected: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  : Actual:   ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", ···]
    08-27 18:27:20.146  4309  4325 I DOTNET  :            ↑ (pos 0)   Exception stack traces:    at System.Globalization.Tests.DateTimeFormatInfoDayNames.DayNames_Get_ReturnsExpected_ICU(DateTimeFormatInfo format, String[] expected) in /_/src/libraries/System.Runtime/tests/System.Globalization.Tests/DateTimeFormatInfo/DateTimeFormatInfoDayNames.cs:line 91
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Object.InvokeStub_DateTimeFormatInfoDayNames.DayNames_Get_ReturnsExpected_ICU(Object , Span`1 )
    08-27 18:27:20.146  4309  4325 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    08-27 18:27:20.146  4309  4325 I DOTNET  :    Execution time: 0.0012688
    

    @matouskozak
    Copy link
    Member Author

    matouskozak commented Aug 28, 2024

    Ubuntu.2204.Amd64.Android.25.Open, Ubuntu.2204.Amd64.Android.24.Open

    • System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature
    08-27 18:39:54.155  2753  2771 I DOTNET  : 1) 	[FAIL] System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature   Test name: System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Assembly:  [System.Security.Cryptography.Xml.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Exception messages: System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation.   Exception stack traces:    at System.Security.Cryptography.DSAImplementation.DSAAndroid.SignHash(ReadOnlySpan`1 hash, Span`1 destination, Int32 signatureLength, SafeDsaHandle key)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.DSAImplementation.DSAAndroid.CreateSignature(Byte[] rgbHash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.DSASignatureFormatter.CreateSignature(Byte[] rgbHash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.AsymmetricSignatureFormatter.CreateSignature(HashAlgorithm hash)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.Xml.SignedXml.ComputeSignature() in /_/src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/SignedXml.cs:line 435
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Security.Cryptography.Xml.Tests.SignedXmlTest.AsymmetricDSASignature() in /_/src/libraries/System.Security.Cryptography.Xml/tests/SignedXmlTest.cs:line 316
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    08-27 18:39:54.155  2753  2771 I DOTNET  :    Execution time: 2.2244818
    

    @vcsjones Do you know what could be causing this cryptography failure on Android 7 (25/26 API)?

    @vcsjones
    Copy link
    Member

    @vcsjones Do you know what could be causing this cryptography failure on Android 7 (25/26 API)?

    Is it possible to get stack traces with line numbers? It looks like this stack trace from a release build, as something got inlined (CreateSignature does not throw itself, something it is calling did).

    I don't know off the top of my head why it would work on a newer Android version but not an older one. DSA is an obsolete signature algorithm, so I could believe they obsoleted it in a new Android OS, but that doesn't seem to be the case here.

    @matouskozak
    Copy link
    Member Author

    @vcsjones Do you know what could be causing this cryptography failure on Android 7 (25/26 API)?

    Is it possible to get stack traces with line numbers? It looks like this stack trace from a release build, as something got inlined (CreateSignature does not throw itself, something it is calling did).

    I don't know off the top of my head why it would work on a newer Android version but not an older one. DSA is an obsolete signature algorithm, so I could believe they obsoleted it in a new Android OS, but that doesn't seem to be the case here.

    So far I wasn't able to get the line numbers even when built in debug and with no inlining on the SignHash method. However, based on the method code I think the exception is thrown at

    if (!Interop.AndroidCrypto.DsaSign(key, hash, destination, out int actualLength))
    {
    throw new CryptographicException();
    }

    and the cause probably being this:

    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  java.security.InvalidKeyException: valueN must be 224 or 256 for valueL = 2048
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at com.android.org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.checkKey(DSASigner.java:203)
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at com.android.org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.engineInitSign(DSASigner.java:116)
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at java.security.Signature$Delegate.init(Signature.java:1208)
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at java.security.Signature$Delegate.chooseProvider(Signature.java:1167)
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at java.security.Signature$Delegate.engineInitSign(Signature.java:1232)
    2024-08-28 19:49:31.026  5166-5187  System.err              net...curity.Cryptography.Xml.Tests  W  	at java.security.Signature.initSign(Signature.java:607)
    

    @bartonjs
    Copy link
    Member

    Do we know that Java exception corresponds to the failing test? The test itself uses a random DSA key (with L=2048), but if Android was generally making DSA keys poorly then I'd expect that we'd have a lot more failures.

    @bartonjs
    Copy link
    Member

    bartonjs commented Aug 28, 2024

    [SkipOnPlatform(PlatformSupport.MobileAppleCrypto, "DSA is not available")]
    public void AsymmetricDSASignature()
    {
    SignedXml signedXml = MSDNSample();
    DSA key = TestHelpers.GetWorkingDSA();
    signedXml.SigningKey = key;
    // Add a KeyInfo.
    KeyInfo keyInfo = new KeyInfo();
    keyInfo.AddClause(new DSAKeyValue(key));
    signedXml.KeyInfo = keyInfo;
    Assert.Equal(1, signedXml.KeyInfo.Count);
    Assert.Null(signedXml.SignatureLength);
    Assert.Null(signedXml.SignatureMethod);
    Assert.Null(signedXml.SignatureValue);
    Assert.Null(signedXml.SigningKeyName);
    // Compute the signature.
    signedXml.ComputeSignature();

    TestHelpers.GetWorkingDSA is isMacOS ? stable DSA key : DSA.Create(). On Android, DSA.Create() is a DSAAndroid(2048).

    When we add the DSAKeyValue clause that has a call to key.ExportParameters(false). This call to ExportParameters will cause the key to be created (asking Android to make up a random key with L=2048), and that didn't fail. We then next use the key (fairly immediately) when we call CreateSignature, which calls DSA.SignHash. And SignHash failed, on the key that Android just created.

    @bartonjs
    Copy link
    Member

    bartonjs commented Aug 28, 2024

    I had a half-thought of "maybe this is because we have an L=2048 key working with SHA-1, and while it reported N it meant outlen was the wrong size..." but, no, we have a test for that.

    [ConditionalFact(nameof(SupportsFips186_3))]
    public void Sign2048WithSha1()
    {
    byte[] data = { 1, 2, 3, 4 };
    using (DSA dsa = DSAFactory.Create())
    {
    dsa.ImportParameters(DSATestData.GetDSA2048Params());
    byte[] signature = SignData(dsa, data, HashAlgorithmName.SHA1);
    Assert.True(VerifyData(dsa, data, signature, HashAlgorithmName.SHA1));
    }
    }

    @matouskozak
    Copy link
    Member Author

    Do we know that Java exception corresponds to the failing test? The test itself uses a random DSA key (with L=2048), but if Android was generally making DSA keys poorly then I'd expect that we'd have a lot more failures.

    Yes, it does come from the DsaSign interop call.

    TestHelpers.GetWorkingDSA is isMacOS ? stable DSA key : DSA.Create(). On Android, DSA.Create() is a DSAAndroid(2048).

    When we add the DSAKeyValue clause that has a call to key.ExportParameters(false). This call to ExportParameters will cause the key to be created (asking Android to make up a random key with L=2048), and that didn't fail. We then next use the key (fairly immediately) when we call CreateSignature, which calls DSA.SignHash. And SignHash failed, on the key that Android just created.

    I have a question, how does the TestHelpers.GetWorkingDSA() get transfered to the P/Invoke call DsaSign?
    Is this handled by keyInfo.AddClause(new DSAKeyValue(key));?

    Because we actually pass SafeDsaHandle as a key in the interop call which is just a handle System.Security.Cryptography.SafeDsaHandle.

    @matouskozak
    Copy link
    Member Author

    Do we know that Java exception corresponds to the failing test? The test itself uses a random DSA key (with L=2048), but if Android was generally making DSA keys poorly then I'd expect that we'd have a lot more failures.

    Yes, it does come from the DsaSign interop call.

    TestHelpers.GetWorkingDSA is isMacOS ? stable DSA key : DSA.Create(). On Android, DSA.Create() is a DSAAndroid(2048).

    When we add the DSAKeyValue clause that has a call to key.ExportParameters(false). This call to ExportParameters will cause the key to be created (asking Android to make up a random key with L=2048), and that didn't fail. We then next use the key (fairly immediately) when we call CreateSignature, which calls DSA.SignHash. And SignHash failed, on the key that Android just created.

    I have a question, how does the TestHelpers.GetWorkingDSA() get transfered to the P/Invoke call DsaSign? Is this handled by keyInfo.AddClause(new DSAKeyValue(key));?

    Because we actually pass SafeDsaHandle as a key in the interop call which is just a handle System.Security.Cryptography.SafeDsaHandle.

    @bartonjs do you have any insight in this functionality? Thank you

    @bartonjs
    Copy link
    Member

    bartonjs commented Sep 4, 2024

    I have a question, how does the TestHelpers.GetWorkingDSA() get transfered to the P/Invoke call DsaSign? Is this handled by keyInfo.AddClause(new DSAKeyValue(key));?

    No, it's from signedXml.SigningKey = key;.

    • signedXml.ComputeSignature does a bunch of work to prepare the data, then (indirectly) calls this.SigningKey.CreateSignature(data) (which is the DSA version of RSA/ECDsa's SignData)
    • DSAAndroid is basically just a wrapper over a SafeDsaHandle, so it basically just calls AndroidCrypto.SignData(_handle, data)

    keyInfo.AddClause(new DSAKeyValue(key)); just asks the key to export the public key segments so they can be written into the output XML in the KeyInfo section.

    # for free to subscribe to this conversation on GitHub. Already have an account? #.
    Labels
    area-Infrastructure-mono NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it os-android
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants