Skip to content

Host SOS in a standalone LLDB driver - #5998

Closed
steveisok wants to merge 1 commit into
dotnet:mainfrom
steveisok:steveisok-sos-lldb-driver
Closed

steveisok wants to merge 1 commit into
dotnet:mainfrom
steveisok:steveisok-sos-lldb-driver

Host SOS in standalone LLDB driver

1efab3f
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Sep 3, 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.

Known Repository Errors

Known Infrastructure Errors

Test Failures (179 tests failed)

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

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

    SOS.Tests.ClrStackAllThreadsTests.ClrStack_AllThreads [Details] [30.77% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Data Driven SubResults
      SOS.Tests.ClrStackAllThreadsTests.ClrStack_AllThreads(config: scenarios/DotnetDump/SingleFile/net10/Dump/Workstation/Heap)
      Exception Message
      Assert.NotEmpty() Failure: Collection was empty [Full log]
      Stack Trace
         at SOS.Tests.TargetExtensions.ClrstackAllThreads(Target self) in /_/src/tests/SOS.Tests/TargetExtensions.cs:line 185
         at SOS.Tests.ClrStackAllThreadsTests.ClrStack_AllThreads(TestConfig config) in /_/src/tests/SOS.Tests/ClrStackAllThreadsTests.cs:line 30
      --- End of stack trace from previous location ---... [Full stack trace]
      SOS.Tests.ClrStackAllThreadsTests.ClrStack_AllThreads(config: scenarios/Cdb/Core/net10/Dump/Workstation/Heap)
      Exception Message
      System.InvalidOperationException : Target 'SosHarnessScenarios' (Core) failed (-2147450750):
      Failed to load [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
        - Ensure the library matches the current process architecture: x64
      The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed
       [Full log]
      Stack Trace
         at SOS.TestHarness.SnapshotStore.SelfCollectCapture(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 332
         at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 152
         at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
         at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
      --- End of stack trace from previous location ---
         at System.Lazy`1.CreateValue()
         at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
         at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.... [Full stack trace]
      SOS.Tests.ClrStackAllThreadsTests.ClrStack_AllThreads(config: scenarios/DotnetDump/Core/net11/Dump/Workstation/Heap)
      Exception Message
      System.InvalidOperationException : Target 'SosHarnessScenarios' (Core) failed (-2147450750):
      Failed to load [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
        - Ensure the library matches the current process architecture: x64
      The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed
       [Full log]
      Stack Trace
         at SOS.TestHarness.SnapshotStore.SelfCollectCapture(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 332
         at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 152
         at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
         at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
      --- End of stack trace from previous location ---
         at System.Lazy`1.CreateValue()
         at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
         at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.... [Full stack trace]
    SOS.Tests.ClrStackArgsLocalsTests.ClrStack_ArgsLocals [Details] [30.77% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Data Driven SubResults
      SOS.Tests.ClrStackArgsLocalsTests.ClrStack_ArgsLocals(config: divzero/DotnetDump/Core/net8/Dump/Workstation/Full)
      Exception Message
      System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\full\\net8.0\\divzero\\crash.dmp' for DivZero (Core); exit -2147450750.
      

      Failed to load the dll from [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
      The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed

      Stack Trace
         at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225
      
      

    at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
    at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
    at System.Lazy`1.CreateValue()
    at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 63
    at SOS.TestHarness.Targets.<>c__DisplayClass4_0.<ResolveSession>b__1() in /_/src/tests/SOS.TestHarness/Targets.cs:line 74
    ... [Full stack trace]
    SOS.Tests.ClrStackArgsLocalsTests.ClrStack_ArgsLocals(config: divzero/DotnetDump/Framework/netfx/Dump/Workstation/Heap)

    Exception Message

    System.InvalidOperationException : 'D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\dotnet.exe build \"D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\DivZero\\DivZero.csproj\" -p:BuildProjectFramework=net462 -p:DebugType=full -p:DebugSymbols=true -c Release -o \"D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\targets\\framework\\divzero\"' failed (1):
    Determining projects to restore...
    MSBUILD : warning : The custom task 'Microsoft.NET.Build.Tasks' required a fallback to out-of-process execution because the UsingTask definition does not specify the correct Runtime and Architecture. This reduces build performance. Update the UsingTask element to explicitly specify Runtime and Architecture attributes (e.g., Runtime=\"CLR4\" Architecture=\"x64\") or use TaskFactory=\"TaskHostFactory\". [D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\DivZero\\DivZero.csproj]
    D:\\a\\_work\\1\\s\\.dotnet\\sdk\\10.0.111\\Sdks\\Microsoft.NET.Sdk\\targets\\Microsoft.NET.Sdk.Default [Full log]

    Stack Trace

       at SOS.TestHarness.SnapshotStore.RunToCompletion(String fileName, String arguments) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 531
    at SOS.TestHarness.SnapshotStore.BuildFramework(TargetDefinition target) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 439
    at SOS.TestHarness.SnapshotStore.AcquireTarget(Flavor flavor, TargetDefinition target, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 343
    at SOS.TestHarness.SnapshotStore.<>c__DisplayClass10_0.<TargetExe>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 84
    at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
    at System.Lazy`1.CreateValue()
    at SOS.TestHarness.SnapshotStore.TargetExe(Flavor flavor, String targetName, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 83
    at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/te... [Full stack trace]

    SOS.Tests.ClrStackArgsLocalsTests.ClrStack_ArgsLocals(config: divzero/DotnetDump/Core/net11/Dump/Workstation/Heap)
    Exception Message

    System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net11.0\\divzero\\crash.dmp' for DivZero (Core); exit -2147450750.

    Failed to load [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1

    • Ensure the library matches the current process architecture: x64
      The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed
      [Full log]
    Stack Trace
       at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225
    
    

at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 63
at SOS.TestHarness.Targets.<>c__DisplayClass4_0.<ResolveSession>b__1() i... [Full stack trace]

SOS.Tests.ClrStackFrameCountTests.ClrStack_FrameCount [Details] [38.46% failure rate]
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

Failing Configuration

Data Driven SubResults
    SOS.Tests.ClrStackFrameCountTests.ClrStack_FrameCount(config: nestedexception/DotnetDump/Framework/netfx/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : 'D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\dotnet.exe build \"D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\NestedExceptionTest\\NestedExceptionTest.csproj\" -p:BuildProjectFramework=net462 -p:DebugType=full -p:DebugSymbols=true -c Release -o \"D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\targets\\framework\\nestedexception\"' failed (1):
      Determining projects to restore...
    MSBUILD : warning : The custom task 'Microsoft.NET.Build.Tasks' required a fallback to out-of-process execution because the UsingTask definition does not specify the correct Runtime and Architecture. This reduces build performance. Update the UsingTask element to explicitly specify Runtime and Architecture attributes (e.g., Runtime=\"CLR4\" Architecture=\"x64\") or use TaskFactory=\"TaskHostFactory\". [D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\NestedExceptionTest\\NestedExceptionTest.csproj]
    D:\\a\\_work\\1\\s\\.dotnet\\sdk\\10.0.111\\Sdk [Full log]
    Stack Trace
       at SOS.TestHarness.SnapshotStore.RunToCompletion(String fileName, String arguments) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 531
       at SOS.TestHarness.SnapshotStore.BuildFramework(TargetDefinition target) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 439
       at SOS.TestHarness.SnapshotStore.AcquireTarget(Flavor flavor, TargetDefinition target, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 343
       at SOS.TestHarness.SnapshotStore.<>c__DisplayClass10_0.<TargetExe>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 84
       at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
       at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
       at System.Lazy`1.CreateValue()
       at SOS.TestHarness.SnapshotStore.TargetExe(Flavor flavor, String targetName, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 83
       at SOS.TestHarness.SnapshotStore.CaptureTarget(... [Full stack trace]
    SOS.Tests.ClrStackFrameCountTests.ClrStack_FrameCount(config: dynamicmethod/DotnetDump/Core/net8/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net8.0\\dynamicmethod\\crash.dmp' for DynamicMethod (Core); exit -2147450750.
    

    Failed to load the dll from [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
    The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed

    Stack Trace
       at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225
    
    

at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.TestHarness/Targets.cs:line 80
at SOS.Te... [Full stack trace]
SOS.Tests.ClrStackFrameCountTests.ClrStack_FrameCount(config: divzero/Cdb/Core/net11/Dump/Workstation/Heap)

Exception Message

System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net11.0\\divzero\\crash.dmp' for DivZero (Core); exit -2147450750.

Failed to load [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1

  • Ensure the library matches the current process architecture: x64
    The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed
    [Full log]
Stack Trace
   at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225


at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.TestHarness/Targets.cs:line 80
at SOS.Te... [Full stack trace]

SOS.Tests.ClrStackFullTests.ClrStack_Full [Details] [35.00% failure rate]
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

Failing Configuration

Data Driven SubResults
    SOS.Tests.ClrStackFullTests.ClrStack_Full(config: divzero/DotnetDump/Core/net8/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net8.0\\divzero\\crash.dmp' for DivZero (Core); exit -2147450750.
    

    Failed to load the dll from [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
    The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed

    Stack Trace
       at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225
    
    

at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 63
at SOS.TestHarness.Targets.<>c__DisplayClass4_0.<ResolveSession>b__1() i... [Full stack trace]
SOS.Tests.ClrStackFullTests.ClrStack_Full(config: simplethrow/DotnetDump/Core/net8/Dump/Workstation/Heap)

Exception Message

System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net8.0\\simplethrow\\crash.dmp' for SimpleThrow (Core); exit -2147450750.

Failed to load the dll from [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed

Stack Trace
   at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225


at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 63
at SOS.TestHarness.Targets.<>c__DisplayClass4_0.<ResolveSession>b__1() i... [Full stack trace]


SOS.Tests.ClrStackFullTests.ClrStack_Full(config: nestedexception/Cdb/SingleFile/net11/Dump/Workstation/Heap)
Exception Message

System.InvalidOperationException : Capturer failed for nestedexception (57005):

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'D:\\a\\_work\\1\\s\\artifacts\\bin\\SOS.TestHarness.Capturer\\Release\\net10.0\\win-x86\\SOS.TestHarness.Capturer.dll'. The assembly architecture is not compatible with the current process architecture.
File name: 'D:\\a\\_work\\1\\s\\artifacts\\bin\\SOS.TestHarness.Capturer\\Release\\net10.0\\win-x86\\SOS.TestHarness.Capturer.dll'
[Full log]


Stack Trace

   at SOS.TestHarness.SnapshotStore.CaptureWithDbgEng(String exePath, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 186
at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 142
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.TestHarness/Targets.cs:line 80
at SOS.TestHarness.Targets.<>c__DisplayCl... [Full stack trace]

SOS.Tests.ClrStackICorDebugTests.ClrStack_ICorDebug [Details] [31.25% failure rate]
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

Failing Configuration

Data Driven SubResults
    SOS.Tests.ClrStackICorDebugTests.ClrStack_ICorDebug(config: divzero/DotnetDump/Framework/netfx/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : 'D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\dotnet.exe build \"D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\DivZero\\DivZero.csproj\" -p:BuildProjectFramework=net462 -p:DebugType=full -p:DebugSymbols=true -c Release -o \"D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\targets\\framework\\divzero\"' failed (1):
      Determining projects to restore...
    MSBUILD : warning : The custom task 'Microsoft.NET.Build.Tasks' required a fallback to out-of-process execution because the UsingTask definition does not specify the correct Runtime and Architecture. This reduces build performance. Update the UsingTask element to explicitly specify Runtime and Architecture attributes (e.g., Runtime=\"CLR4\" Architecture=\"x64\") or use TaskFactory=\"TaskHostFactory\". [D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\DivZero\\DivZero.csproj]
    D:\\a\\_work\\1\\s\\.dotnet\\sdk\\10.0.111\\Sdks\\Microsoft.NET.Sdk\\targets\\Microsoft.NET.Sdk.Default [Full log]
    Stack Trace
       at SOS.TestHarness.SnapshotStore.RunToCompletion(String fileName, String arguments) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 531
       at SOS.TestHarness.SnapshotStore.BuildFramework(TargetDefinition target) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 439
       at SOS.TestHarness.SnapshotStore.AcquireTarget(Flavor flavor, TargetDefinition target, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 343
       at SOS.TestHarness.SnapshotStore.<>c__DisplayClass10_0.<TargetExe>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 84
       at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
       at System.Lazy`1.CreateValue()
       at SOS.TestHarness.SnapshotStore.TargetExe(Flavor flavor, String targetName, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 83
       at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/te... [Full stack trace]
    SOS.Tests.ClrStackICorDebugTests.ClrStack_ICorDebug(config: scenarios/DotnetDump/Framework/netfx/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : 'D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\dotnet.exe build \"D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\SosHarnessScenarios\\SosHarnessScenarios.csproj\" -p:BuildProjectFramework=net462 -p:DebugType=full -p:DebugSymbols=true -c Release -o \"D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\targets\\framework\\scenarios\"' failed (1):
      Determining projects to restore...
    MSBUILD : warning : The custom task 'Microsoft.NET.Build.Tasks' required a fallback to out-of-process execution because the UsingTask definition does not specify the correct Runtime and Architecture. This reduces build performance. Update the UsingTask element to explicitly specify Runtime and Architecture attributes (e.g., Runtime=\"CLR4\" Architecture=\"x64\") or use TaskFactory=\"TaskHostFactory\". [D:\\a\\_work\\1\\s\\src\\tests\\SOS.UnitTests\\Debuggees\\SosHarnessScenarios\\SosHarnessScenarios.csproj]
    D:\\a\\_work\\1\\s\\.dotnet\\sdk\\10.0.111\\Sdks\\Mic [Full log]
    Stack Trace
       at SOS.TestHarness.SnapshotStore.RunToCompletion(String fileName, String arguments) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 531
       at SOS.TestHarness.SnapshotStore.BuildFramework(TargetDefinition target) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 439
       at SOS.TestHarness.SnapshotStore.AcquireTarget(Flavor flavor, TargetDefinition target, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 343
       at SOS.TestHarness.SnapshotStore.<>c__DisplayClass10_0.<TargetExe>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 84
       at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
       at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
       at System.Lazy`1.CreateValue()
       at SOS.TestHarness.SnapshotStore.TargetExe(Flavor flavor, String targetName, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 83
       at SOS.TestHarness.SnapshotStore.CaptureTarget(... [Full stack trace]
    SOS.Tests.ClrStackICorDebugTests.ClrStack_ICorDebug(config: divzero/Cdb/Core/net11/Dump/Workstation/Heap)
    Exception Message
    System.InvalidOperationException : createdump did not produce 'D:\\a\\_work\\1\\s\\artifacts\\tmp\\sos-harness\\Release\\dumps\\core\\workstation\\heap\\net11.0\\divzero\\crash.dmp' for DivZero (Core); exit -2147450750.
    

    Failed to load [D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll], HRESULT: 0x800700C1

    • Ensure the library matches the current process architecture: x64
      The library hostfxr.dll was found, but loading it from D:\\a\\_work\\1\\s\\artifacts\\dotnet-test\\host\\fxr\\11.0.0-rc.2.26451.112\\hostfxr.dll failed
      [Full log]
    Stack Trace
       at SOS.TestHarness.SnapshotStore.CaptureCrashViaCreatedump(Flavor flavor, TargetDefinition target, String dumpDir, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 225
    
    

at SOS.TestHarness.SnapshotStore.CaptureTarget(Flavor flavor, TargetDefinition target, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 147
at SOS.TestHarness.SnapshotStore.<>c__DisplayClass9_0.<GetDump>b__1() in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 67
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.CreateValue()
at SOS.TestHarness.SnapshotStore.GetDump(Flavor flavor, String targetName, String stopName, GcType gcType, DumpKind dumpKind, CoreVersion coreVersion) in /_/src/tests/SOS.TestHarness/SnapshotStore.cs:line 66
at SOS.TestHarness.Targets.CreateSession(ValueTuple`8 key) in /_/src/tests/SOS.TestHarness/Targets.cs:line 80
at SOS.Te... [Full stack trace]

Was this helpful? Yes No