Skip to content

Add ProcessInfo3 large-payload negative test#5918

Open
tommcdon wants to merge 1 commit into
dotnet:mainfrom
tommcdon:dev/tommcdon/ds-ipc-large-payload-handling
Open

Add ProcessInfo3 large-payload negative test#5918
tommcdon wants to merge 1 commit into
dotnet:mainfrom
tommcdon:dev/tommcdon/ds-ipc-large-payload-handling

Add ProcessInfo3 large-payload negative test

5b6aa5a
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jul 8, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

diagnostics-public-ci / Build and Test Diagnostics / MacOS_x64_Release / Build / Test

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌Bash exited with code '1'.

diagnostics-public-ci / Build and Test Diagnostics / MacOS_x64_Debug / Build / Test

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌Bash exited with code '1'.

diagnostics-public-ci / Build and Test Diagnostics / Ubuntu_22_04_x64_Release / Test

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌Bash exited with code '1'.

3 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [diagnostics-public-ci]

Test Failures (11 tests failed)

🔹 [All failing tests from diagnostics-public-ci]

    ⚠️ 8 failing tests not displayed for this pipeline due to space limitations

    Microsoft.Diagnostics.NETCore.Client.GetProcessInfoTests.OversizeProcessInfoPayloadIsRejectedTest [Details] [100.00% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (9)

    Data Driven SubResults
      Microsoft.Diagnostics.NETCore.Client.GetProcessInfoTests.OversizeProcessInfoPayloadIsRejectedTest(config: projectk.sdk.prebuilt.11.0.0-preview.6.26319.105)
      Exception Message
      System.IO.EndOfStreamException : Attempted to read past the end of the stream.
      Stack Trace
         at Microsoft.Diagnostics.NETCore.Client.StreamExtensions.ReadBytesAsync(Stream stream, Int32 length, CancellationToken cancellationToken) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/StreamExtensions.cs:line 23
         at Microsoft.Diagnostics.NETCore.Client.IpcHeader.ParseAsync(Stream stream, CancellationToken cancellationToken) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcHeader.cs:line 69
         at Microsoft.Diagnostics.NETCore.Client.IpcMessage.ParseAsync(Stream stream, CancellationToken cancellationToken) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcMessage.cs:line 126
         at Microsoft.Diagnostics.NETCore.Client.IpcClient.SendMessageGetContinuationAsync(IpcEndpoint endpoint, IpcMessage message, CancellationToken cancellationToken) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsIpc/IpcClient.cs:line 83
         at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.TryGetProcessInfo3Async(CancellationToken token) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/DiagnosticsClient.cs:line 602
         at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.GetProcessInfoAsync(CancellationToken token) in /__w/1/s/src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/DiagnosticsClient.cs:line 560
         at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClientApiShim.GetProcessInfo(TimeSpan timeout) in /__w/1/s/src/tests/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClientApiShim.cs:line 45
         at Microsoft.Diagnostics.NETCore.Client.GetProcessInfoTests.OversizeProcessInfoPayloadIsRejectedTestCore(TestConfiguration config, Boolean useAsync) in /__w/1/s/src/tests/Microsoft.Diagnostics.NETCore.Client/GetProcessInfoTests.cs:line 153
         at Microsoft.Diagnostics.NETCore.Client.GetProcessInfoTests.OversizeProcessInfoPayloadIsRejectedTestCore(TestConfiguration config, Boolean useAsync) in /__w/1/s/src/tests/Microsoft.Diagnostics.NETCore.Client/GetProcessInfoTests.cs:line 167
      --- End of stack trace from previous location ---
    SOSAsyncTests.AsyncMain [Details] [0.87% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Data Driven SubResults
      SOSAsyncTests.AsyncMain(config: projectk.sdk.prebuilt.8.0.25)
      Exception Message
      System.Exception : VerifyOutput: no last command output or debugger exited unexpectedly: .*OS Thread Id:\\s+0x[A-Fa-f0-9]+(`[A-Fa-f0-9]+)?\\s+.*
      Stack Trace
         at SOSRunner.VerifyOutput(String verifyLine, Boolean match) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1341
         at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 973
         at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1011
         at SOSTestHelpers.RunTest(String scriptName, TestInformation information, ITestOutputHelper output) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 157
         at SOSTestHelpers.RunTest(TestConfiguration config, String debuggeeName, String scriptName, ITestOutputHelper output, String testName, Boolean testLive, Boolean testDump, Boolean testTriage, Boolean testMini, DumpGenerator dumpGenerator) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 192
         at SOSAsyncTests.AsyncMain(TestConfiguration config) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 771
      --- End of stack trace from previous location ---
    SOSMethodTests.Reflection [Details] [1.40% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Data Driven SubResults
      SOSMethodTests.Reflection(config: projectk.sdk.prebuilt.11.0.0-preview.6.26319.105)
      Exception Message
      System.Exception : Debugger output did not match the expression: \\s+[A-Fa-f0-9]+(`[A-Fa-f0-9]+)?\\s+[A-Fa-f0-9]+(`[A-Fa-f0-9]+)?\\s+(\\*\\*\\* WARNING: Unable to verify checksum for ReflectionTest.exe\\s*)?RefLoader\\.Loader\\.Main(\\(\\))?\\s*
      Stack Trace
         at SOSRunner.VerifyOutput(String verifyLine, Boolean match) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1346
         at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 973
         at SOSRunner.RunScript(String scriptRelativePath) in /__w/1/s/src/tests/SOS.UnitTests/SOSRunner.cs:line 1011
         at SOSTestHelpers.RunTest(String scriptName, TestInformation information, ITestOutputHelper output) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 144
         at SOSTestHelpers.RunTest(TestConfiguration config, String debuggeeName, String scriptName, ITestOutputHelper output, String testName, Boolean testLive, Boolean testDump, Boolean testTriage, Boolean testMini, DumpGenerator dumpGenerator) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 209
         at SOSMethodTests.Reflection(TestConfiguration config) in /__w/1/s/src/tests/SOS.UnitTests/SOS.cs:line 704
      --- End of stack trace from previous location ---

Was this helpful? Yes No