TylerAP / clrmd

Microsoft.Diagnostics.Runtime is a set of APIs for introspecting processes and dumps.
https://github.com/Microsoft/clrmd/blob/master/Documentation/ClrRuntime.md
MIT License
0 stars 0 forks source link

Porting to .NET Standard / .NET Core / Cross-platform / Linux #1

Open TylerAP opened 6 years ago

TylerAP commented 6 years ago

When using .NET core, COMPLUS_BuildFlavor=SVR -> COMPlus_gcServer=1

And just a heads up, GC.KeepAlive might be outsmarted by the .NET core GC, Foos in the dumps are disappearing themselves. I tried reordering before and after; works fine under desktop .NET Fw 4. Going to resort to actually using a the objects after throwing an exception I think.

Going to try to use createdump (when it works) to create the Linux dump targets.

Not sure how I'm going to get cdb or ntsd or windbg up on AppVeyor yet. Might skip those tests and just do attaching.

Linked.

TylerAP commented 6 years ago
Latest test results. ``` Build started 12/01/2018 12:26:32. Test run for /app/src/Microsoft.Diagnostics.Runtime.Tests/bin/Debug/netcoreapp2.1/Microsoft.Diagnostics.Runtime.Tests.dll(.NETCoreApp,Version=v2.1) Microsoft (R) Test Execution Command Line Tool Version 15.9.0 Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 4.6.27019.06) [xUnit.net 00:00:00.51] Discovering: Microsoft.Diagnostics.Runtime.Tests [xUnit.net 00:00:00.58] Discovered: Microsoft.Diagnostics.Runtime.Tests [xUnit.net 00:00:00.58] Starting: Microsoft.Diagnostics.Runtime.Tests Passed Microsoft.Diagnostics.Runtime.Tests.ExceptionTests.ExceptionPropertyTest [xUnit.net 00:00:10.67] Microsoft.Diagnostics.Runtime.Tests.TypeTests.EnumerateMethodTableTest [FAIL] [xUnit.net 00:00:10.67] Assert.Equal() Failure [xUnit.net 00:00:10.67] Expected: 2 [xUnit.net 00:00:10.67] Actual: 0 [xUnit.net 00:00:10.68] Stack Trace: [xUnit.net 00:00:10.68] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs(307,0): at Microsoft.Diagnostics.Runtime.Tests.TypeTests.EnumerateMethodTableTest() Failed Microsoft.Diagnostics.Runtime.Tests.TypeTests.EnumerateMethodTableTest Error Message: Assert.Equal() Failure Expected: 2 Actual: 0 Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.TypeTests.EnumerateMethodTableTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs:line 307 Passed Microsoft.Diagnostics.Runtime.Tests.TypeTests.EETypeTest [xUnit.net 00:00:27.74] Microsoft.Diagnostics.Runtime.Tests.TypeTests.TypeEqualityTest [FAIL] [xUnit.net 00:00:27.74] Assert.Equal() Failure [xUnit.net 00:00:27.74] Expected: 2 [xUnit.net 00:00:27.74] Actual: 0 [xUnit.net 00:00:27.74] Stack Trace: [xUnit.net 00:00:27.74] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs(125,0): at Microsoft.Diagnostics.Runtime.Tests.TypeTests.TypeEqualityTest() Failed Microsoft.Diagnostics.Runtime.Tests.TypeTests.TypeEqualityTest Error Message: Assert.Equal() Failure Expected: 2 Actual: 0 Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.TypeTests.TypeEqualityTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs:line 125 Passed Microsoft.Diagnostics.Runtime.Tests.TypeTests.MethodTableHeapEnumeration Passed Microsoft.Diagnostics.Runtime.Tests.TypeTests.GetObjectMethodTableTest [xUnit.net 00:01:46.05] Microsoft.Diagnostics.Runtime.Tests.TypeTests.FieldNameAndValueTests [FAIL] [xUnit.net 00:01:46.05] Assert.NotNull() Failure [xUnit.net 00:01:46.05] Stack Trace: [xUnit.net 00:01:46.05] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs(358,0): at Microsoft.Diagnostics.Runtime.Tests.TypeTests.FieldNameAndValueTests() Failed Microsoft.Diagnostics.Runtime.Tests.TypeTests.FieldNameAndValueTests Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.TypeTests.FieldNameAndValueTests() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs:line 358 [xUnit.net 00:02:11.78] Microsoft.Diagnostics.Runtime.Tests.TypeTests.IntegerObjectClrType [FAIL] [xUnit.net 00:02:11.78] Assert.NotNull() Failure [xUnit.net 00:02:11.78] Stack Trace: [xUnit.net 00:02:11.78] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs(23,0): at Microsoft.Diagnostics.Runtime.Tests.TypeTests.IntegerObjectClrType() Failed Microsoft.Diagnostics.Runtime.Tests.TypeTests.IntegerObjectClrType Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.TypeTests.IntegerObjectClrType() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs:line 23 [xUnit.net 00:02:38.15] Microsoft.Diagnostics.Runtime.Tests.TypeTests.VariableRootTest [FAIL] [xUnit.net 00:02:38.15] Assert.NotNull() Failure [xUnit.net 00:02:38.15] Stack Trace: [xUnit.net 00:02:38.15] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs(154,0): at Microsoft.Diagnostics.Runtime.Tests.TypeTests.VariableRootTest() Failed Microsoft.Diagnostics.Runtime.Tests.TypeTests.VariableRootTest Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.TypeTests.VariableRootTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/TypeTests.cs:line 154 Passed Microsoft.Diagnostics.Runtime.Tests.TypeTests.ComponentType Passed Microsoft.Diagnostics.Runtime.Tests.TypeTests.ArrayComponentTypeTest Passed Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpExceptionPropertiesTest [xUnit.net 00:03:18.38] Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest [FAIL] [xUnit.net 00:03:18.38] Assert.Equal() Failure [xUnit.net 00:03:18.38] ↓ (pos 0) [xUnit.net 00:03:18.38] Expected: Inner [xUnit.net 00:03:18.38] Actual: {error} [xUnit.net 00:03:18.38] ↑ (pos 0) [xUnit.net 00:03:18.38] Stack Trace: [xUnit.net 00:03:18.38] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/MinidumpTests.cs(45,0): at Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest() Failed Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest Error Message: Assert.Equal() Failure ↓ (pos 0) Expected: Inner Actual: {error} ↑ (pos 0) Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/MinidumpTests.cs:line 45 [xUnit.net 00:03:43.73] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel [FAIL] [xUnit.net 00:03:43.73] System.NullReferenceException : Object reference not set to an instance of an object. [xUnit.net 00:03:43.73] Stack Trace: [xUnit.net 00:03:43.73] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/Helpers.cs(24,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetStaticObjectValue(ClrType mainType, String fieldName) [xUnit.net 00:03:43.73] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs(368,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) [xUnit.net 00:03:43.73] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs(176,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel Error Message: System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetStaticObjectValue(ClrType mainType, String fieldName) in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/Helpers.cs:line 24 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs:line 368 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs:line 176 [xUnit.net 00:04:12.06] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray [FAIL] [xUnit.net 00:04:12.06] System.NullReferenceException : Object reference not set to an instance of an object. [xUnit.net 00:04:12.06] Stack Trace: [xUnit.net 00:04:12.06] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/Helpers.cs(24,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetStaticObjectValue(ClrType mainType, String fieldName) [xUnit.net 00:04:12.06] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs(53,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray Error Message: System.NullReferenceException : Object reference not set to an instance of an object. Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetStaticObjectValue(ClrType mainType, String fieldName) in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/Helpers.cs:line 24 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs:line 53 Passed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.ObjectSetAddRemove [xUnit.net 00:04:33.06] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs [FAIL] [xUnit.net 00:04:33.06] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:04:33.06] Stack Trace: [xUnit.net 00:04:33.06] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:04:33.06] /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs(19,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs() in /app/src/Microsoft.Diagnostics.Runtime.Tests/Src/GCRootTests.cs:line 19 Passed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.ObjectSetTryAdd The active test run was aborted. Reason: Total tests: Unknown. Passed: 9. Failed: 9. Skipped: 0. Test Run Aborted. Test execution time: 5.1871 Minutes Build FAILED. 0 Warning(s) 0 Error(s) Time Elapsed 00:05:11.80 ```
TylerAP commented 6 years ago

Stack frame test is different, see Method names per frame; "Inner", "Inner", "Middle", "Outer", "Main" (null), "Inner", (null), "Inner", "Middle", "Outer", "Main", (null), (null)

TylerAP commented 6 years ago
Latest test results. 15 passing. Aborted early due to StackOverflowException. ``` Step 7/7 : RUN LD_LIBRARY_PATH='/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/' dotnet test --no-build -v n src/Microsoft.Diagnostics.Runtime.Tests ---> Running in bc53739f14ce Build started 12/01/2018 21:41:01. Test run for /app/src/Microsoft.Diagnostics.Runtime.Tests/bin/Debug/netcoreapp2.1/Microsoft.Diagnostics.Runtime.Tests.dll(.NETCoreApp,Version=v2.1) Microsoft (R) Test Execution Command Line Tool Version 15.9.0 Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 4.6.27019.06) [xUnit.net 00:00:00.51] Discovering: Microsoft.Diagnostics.Runtime.Tests [xUnit.net 00:00:00.57] Discovered: Microsoft.Diagnostics.Runtime.Tests [xUnit.net 00:00:00.57] Starting: Microsoft.Diagnostics.Runtime.Tests [xUnit.net 00:00:03.50] Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestFinalizerQueueObjects [FAIL] [xUnit.net 00:00:03.50] Assert.Equal() Failure [xUnit.net 00:00:03.50] Expected: 13 [xUnit.net 00:00:03.50] Actual: 0 [xUnit.net 00:00:03.51] Stack Trace: [xUnit.net 00:00:03.51] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/FinalizationQueueTests.cs(44,0): at Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestFinalizerQueueObjects() Failed Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestFinalizerQueueObjects Error Message: Assert.Equal() Failure Expected: 13 Actual: 0 Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestFinalizerQueueObjects() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/FinalizationQueueTests.cs:line 44 [xUnit.net 00:00:08.57] Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestAllFinalizableObjects [FAIL] [xUnit.net 00:00:08.57] Assert.Equal() Failure [xUnit.net 00:00:08.57] Expected: 42 [xUnit.net 00:00:08.57] Actual: 0 [xUnit.net 00:00:08.57] Stack Trace: [xUnit.net 00:00:08.57] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/FinalizationQueueTests.cs(25,0): at Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestAllFinalizableObjects() Failed Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestAllFinalizableObjects Error Message: Assert.Equal() Failure Expected: 42 Actual: 0 Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.FinalizationQueueTests.TestAllFinalizableObjects() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/FinalizationQueueTests.cs:line 25 Passed Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.CreationSpecificDac Passed Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.CreationSpecificDacNegativeTest Passed Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.RuntimeClrInfo [xUnit.net 00:00:41.21] Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.ModuleEnumerationTest [FAIL] [xUnit.net 00:00:41.21] Expected expected to be equal to {"System.Private.CoreLib.dll"}, but {"System.Private.Corelib.dll", "System.Runtime.dll", "System.Runtime.Extensions.dll", "System.ThreadingThread.dll", "AppDomains.dll", "SharedLibrary.dll", "NestedException.dll"} contains 6 item(s) too many. [xUnit.net 00:00:41.21] Stack Trace: [xUnit.net 00:00:41.21] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs(32,0): at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) [xUnit.net 00:00:41.21] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs(181,0): at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) [xUnit.net 00:00:41.21] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelector.cs(123,0): at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args) [xUnit.net 00:00:41.21] at FluentAssertions.Collections.CollectionAssertions`2.AssertSubjectEquality[TActual,TExpected](IEnumerable expectation, Func`3 equalityComparison, String because, Object[] becauseArgs) [xUnit.net 00:00:41.21] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Collections\CollectionAssertions.cs(229,0): at FluentAssertions.Collections.CollectionAssertions`2.Equal(IEnumerable expected, String because, Object[] becauseArgs) [xUnit.net 00:00:41.21] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/RuntimeTests.cs(90,0): at Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.ModuleEnumerationTest() Failed Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.ModuleEnumerationTest Error Message: Expected expected to be equal to {"System.Private.CoreLib.dll"}, but {"System.Private.Corelib.dll", "System.Runtime.dll", "System.Runtime.Extensions.dll", "System.ThreadingThread.dll", "AppDomains.dll", "SharedLibrary.dll", "NestedException.dll"} contains 6 item(s) too many. Stack Trace: at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32 at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 181 at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelector.cs:line 123 at FluentAssertions.Collections.CollectionAssertions`2.AssertSubjectEquality[TActual,TExpected](IEnumerable expectation, Func`3 equalityComparison, String because, Object[] becauseArgs) at FluentAssertions.Collections.CollectionAssertions`2.Equal(IEnumerable expected, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Collections\CollectionAssertions.cs:line 229 at Microsoft.Diagnostics.Runtime.Tests.RuntimeTests.ModuleEnumerationTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/RuntimeTests.cs:line 90 Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindBinaryAsyncTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindBinaryTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.SymbolLocatorTimeoutTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindPdbAsyncNegativeTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindPdbTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindPdbAsyncTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindBinaryNegativeTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindBinaryAsyncNegativeTest Passed Microsoft.Diagnostics.Runtime.Tests.SymbolLocatorTests.FindPdbNegativeTest [xUnit.net 00:01:18.95] Microsoft.Diagnostics.Runtime.Tests.ModuleTests.TestGetTypeByName [FAIL] [xUnit.net 00:01:18.95] Assert.NotNull() Failure [xUnit.net 00:01:18.95] Stack Trace: [xUnit.net 00:01:18.95] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/ModuleTests.cs(26,0): at Microsoft.Diagnostics.Runtime.Tests.ModuleTests.TestGetTypeByName() Failed Microsoft.Diagnostics.Runtime.Tests.ModuleTests.TestGetTypeByName Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.ModuleTests.TestGetTypeByName() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/ModuleTests.cs:line 26 [xUnit.net 00:01:44.50] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel [FAIL] [xUnit.net 00:01:44.50] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:01:44.50] Stack Trace: [xUnit.net 00:01:44.50] at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) [xUnit.net 00:01:44.50] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) [xUnit.net 00:01:44.50] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(384,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) [xUnit.net 00:01:44.51] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(181,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs:line 47 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 384 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindSinglePathCancel() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 181 [xUnit.net 00:02:15.34] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray [FAIL] [xUnit.net 00:02:15.34] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:02:15.34] Stack Trace: [xUnit.net 00:02:15.35] at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) [xUnit.net 00:02:15.35] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) [xUnit.net 00:02:15.35] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(57,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs:line 47 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefsArray() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 57 Passed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.ObjectSetAddRemove [xUnit.net 00:02:34.43] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs [FAIL] [xUnit.net 00:02:34.43] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:02:34.43] Stack Trace: [xUnit.net 00:02:34.43] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:02:34.43] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(26,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRefs() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 26 Passed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.ObjectSetTryAdd [xUnit.net 00:03:09.18] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPath [FAIL] [xUnit.net 00:03:09.18] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:03:09.18] Stack Trace: [xUnit.net 00:03:09.18] at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) [xUnit.net 00:03:09.18] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) [xUnit.net 00:03:09.18] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(384,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) [xUnit.net 00:03:09.18] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(343,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPathImpl(GCRoot gcroot) [xUnit.net 00:03:09.18] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(332,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPath() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPath Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs:line 47 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 384 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPathImpl(GCRoot gcroot) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 343 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindPath() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 332 [xUnit.net 00:03:34.33] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPaths [FAIL] [xUnit.net 00:03:34.33] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:03:34.33] Stack Trace: [xUnit.net 00:03:34.33] at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) [xUnit.net 00:03:34.33] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) [xUnit.net 00:03:34.33] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(384,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) [xUnit.net 00:03:34.33] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(371,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPathsImpl(GCRoot gcroot) [xUnit.net 00:03:34.33] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(360,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPaths() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPaths Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs:line 47 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 384 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPathsImpl(GCRoot gcroot) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 371 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.FindAllPaths() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 360 [xUnit.net 00:03:45.46] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRoots [FAIL] [xUnit.net 00:03:45.46] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:03:45.46] Stack Trace: [xUnit.net 00:03:45.46] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:03:45.46] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(282,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRootsImpl(GCRoot gcroot) [xUnit.net 00:03:45.46] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(265,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRoots() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRoots Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRootsImpl(GCRoot gcroot) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 282 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCRoots() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 265 [xUnit.net 00:03:58.20] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRootsCancel [FAIL] [xUnit.net 00:03:58.20] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:03:58.20] Stack Trace: [xUnit.net 00:03:58.20] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:03:58.20] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(152,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRootsCancel() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRootsCancel Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateGCRootsCancel() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 152 [xUnit.net 00:04:25.12] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateAllPathshCancel [FAIL] [xUnit.net 00:04:25.12] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:04:25.12] Stack Trace: [xUnit.net 00:04:25.12] at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) [xUnit.net 00:04:25.12] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) [xUnit.net 00:04:25.12] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(384,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) [xUnit.net 00:04:25.12] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(206,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateAllPathshCancel() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateAllPathshCancel Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.Helpers.GetMainModule(ClrRuntime runtime) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/Helpers.cs:line 47 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GetKnownSourceAndTarget(ClrHeap heap, UInt64& source, UInt64& target) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 384 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.EnumerateAllPathshCancel() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 206 [xUnit.net 00:04:35.72] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.BuildCacheCancel [FAIL] [xUnit.net 00:04:35.72] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:04:35.72] Stack Trace: [xUnit.net 00:04:35.72] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:04:35.72] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(126,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.BuildCacheCancel() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.BuildCacheCancel Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.BuildCacheCancel() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 126 [xUnit.net 00:04:46.37] Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRoots [FAIL] [xUnit.net 00:04:46.37] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:04:46.37] Stack Trace: [xUnit.net 00:04:46.37] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:04:46.37] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(246,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRootsImpl(GCRoot gcroot) [xUnit.net 00:04:46.37] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs(230,0): at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRoots() Failed Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRoots Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRootsImpl(GCRoot gcroot) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 246 at Microsoft.Diagnostics.Runtime.Tests.GCRootTests.GCStaticRoots() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/GCRootTests.cs:line 230 [xUnit.net 00:05:13.25] Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbEqualityTest [FAIL] [xUnit.net 00:05:13.25] Assert.True() Failure [xUnit.net 00:05:13.25] Expected: True [xUnit.net 00:05:13.25] Actual: False [xUnit.net 00:05:13.25] Stack Trace: [xUnit.net 00:05:13.25] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs(28,0): at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbEqualityTest() Failed Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbEqualityTest Error Message: Assert.True() Failure Expected: True Actual: False Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbEqualityTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs:line 28 [xUnit.net 00:05:13.28] Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbSourceLineTest [FAIL] [xUnit.net 00:05:13.28] System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown. [xUnit.net 00:05:13.28] Stack Trace: [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/MsfDirectory.cs(37,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.MsfDirectory..ctor(PdbStreamHelper reader, PdbFileHeader head, BitAccess bits) [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbFile.cs(496,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbFile.LoadFunctions(Stream read, BitAccess bits, Boolean readAllStrings, Int32& ver, Int32& sig, Int32& age, Guid& guid, IEnumerable`1& sources) [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbFile.cs(480,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbFile.LoadFunctions(Stream read, Boolean readAllStrings, Int32& ver, Int32& sig, Int32& age, Guid& guid, IEnumerable`1& sources) [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs(70,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader.Init(Stream pdbStream) [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs(65,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader..ctor(String fileName) [xUnit.net 00:05:13.28] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs(71,0): at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbSourceLineTest() Failed Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbSourceLineTest Error Message: System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown. Stack Trace: at Microsoft.Diagnostics.Runtime.Utilities.Pdb.MsfDirectory..ctor(PdbStreamHelper reader, PdbFileHeader head, BitAccess bits) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/MsfDirectory.cs:line 37 at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbFile.LoadFunctions(Stream read, BitAccess bits, Boolean readAllStrings, Int32& ver, Int32& sig, Int32& age, Guid& guid, IEnumerable`1& sources) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbFile.cs:line 496 at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbFile.LoadFunctions(Stream read, Boolean readAllStrings, Int32& ver, Int32& sig, Int32& age, Guid& guid, IEnumerable`1& sources) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbFile.cs:line 480 at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader.Init(Stream pdbStream) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs:line 70 at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader..ctor(String fileName) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs:line 65 at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbSourceLineTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs:line 71 [xUnit.net 00:05:38.53] Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbMethodTest [FAIL] [xUnit.net 00:05:38.53] System.InvalidOperationException : Sequence contains no elements [xUnit.net 00:05:38.53] Stack Trace: [xUnit.net 00:05:38.53] at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) [xUnit.net 00:05:38.53] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs(105,0): at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbMethodTest() Failed Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbMethodTest Error Message: System.InvalidOperationException : Sequence contains no elements Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbMethodTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs:line 105 [xUnit.net 00:05:38.55] Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbGuidAgeTest [FAIL] [xUnit.net 00:05:38.55] System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown. [xUnit.net 00:05:38.55] Stack Trace: [xUnit.net 00:05:38.55] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/MsfDirectory.cs(37,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.MsfDirectory..ctor(PdbStreamHelper reader, PdbFileHeader head, BitAccess bits) [xUnit.net 00:05:38.55] /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs(37,0): at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader.GetPdbProperties(String pdbFile, Guid& signature, Int32& age) [xUnit.net 00:05:38.55] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs(45,0): at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbGuidAgeTest() Failed Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbGuidAgeTest Error Message: System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown. Stack Trace: at Microsoft.Diagnostics.Runtime.Utilities.Pdb.MsfDirectory..ctor(PdbStreamHelper reader, PdbFileHeader head, BitAccess bits) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/MsfDirectory.cs:line 37 at Microsoft.Diagnostics.Runtime.Utilities.Pdb.PdbReader.GetPdbProperties(String pdbFile, Guid& signature, Int32& age) in /app/src/Microsoft.Diagnostics.Runtime/src/Utilities/PDB/PdbReader.cs:line 37 at Microsoft.Diagnostics.Runtime.Tests.PdbTests.PdbGuidAgeTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs:line 45 Passed Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpExceptionPropertiesTest [xUnit.net 00:05:40.91] Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest [FAIL] [xUnit.net 00:05:40.91] Expected stackFrameMethodNames to be equal to {, "Main", , "Inner", , "Inner", "Middle", "Outer", "Main", , }, but {, "{error}", , "{error}", "{error}", "{error}", "{error}", , } contains 2 item(s) less. [xUnit.net 00:05:40.91] Stack Trace: [xUnit.net 00:05:40.91] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs(32,0): at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) [xUnit.net 00:05:40.91] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs(181,0): at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) [xUnit.net 00:05:40.91] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelector.cs(123,0): at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args) [xUnit.net 00:05:40.91] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelectorExtensions.cs(54,0): at FluentAssertions.Execution.GivenSelectorExtensions.AssertCollectionsHaveSameCount[T](GivenSelector`1 givenSelector, Int32 length) [xUnit.net 00:05:40.91] at FluentAssertions.Collections.CollectionAssertions`2.AssertSubjectEquality[TActual,TExpected](IEnumerable expectation, Func`3 equalityComparison, String because, Object[] becauseArgs) [xUnit.net 00:05:40.91] C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Collections\CollectionAssertions.cs(229,0): at FluentAssertions.Collections.CollectionAssertions`2.Equal(IEnumerable expected, String because, Object[] becauseArgs) [xUnit.net 00:05:40.91] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MinidumpTests.cs(47,0): at Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest() Failed Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest Error Message: Expected stackFrameMethodNames to be equal to {, "Main", , "Inner", , "Inner", "Middle", "Outer", "Main", , }, but {, "{error}", , "{error}", "{error}", "{error}", "{error}", , } contains 2 item(s) less. Stack Trace: at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32 at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 181 at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelector.cs:line 123 at FluentAssertions.Execution.GivenSelectorExtensions.AssertCollectionsHaveSameCount[T](GivenSelector`1 givenSelector, Int32 length) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\GivenSelectorExtensions.cs:line 54 at FluentAssertions.Collections.CollectionAssertions`2.AssertSubjectEquality[TActual,TExpected](IEnumerable expectation, Func`3 equalityComparison, String because, Object[] becauseArgs) at FluentAssertions.Collections.CollectionAssertions`2.Equal(IEnumerable expected, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Collections\CollectionAssertions.cs:line 229 at Microsoft.Diagnostics.Runtime.Tests.MinidumpTests.MinidumpCallstackTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MinidumpTests.cs:line 47 [xUnit.net 00:06:09.96] Microsoft.Diagnostics.Runtime.Tests.MethodTests.CompleteSignatureIsRetrievedForMethodsWithGenericParameters [FAIL] [xUnit.net 00:06:09.96] Assert.NotNull() Failure [xUnit.net 00:06:09.96] Stack Trace: [xUnit.net 00:06:09.96] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MethodTests.cs(122,0): at Microsoft.Diagnostics.Runtime.Tests.MethodTests.CompleteSignatureIsRetrievedForMethodsWithGenericParameters() Failed Microsoft.Diagnostics.Runtime.Tests.MethodTests.CompleteSignatureIsRetrievedForMethodsWithGenericParameters Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.MethodTests.CompleteSignatureIsRetrievedForMethodsWithGenericParameters() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MethodTests.cs:line 122 [xUnit.net 00:06:39.02] Microsoft.Diagnostics.Runtime.Tests.MethodTests.MethodHandleMultiDomainTests [FAIL] [xUnit.net 00:06:39.02] Assert.NotNull() Failure [xUnit.net 00:06:39.02] Stack Trace: [xUnit.net 00:06:39.02] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MethodTests.cs(25,0): at Microsoft.Diagnostics.Runtime.Tests.MethodTests.MethodHandleMultiDomainTests() Failed Microsoft.Diagnostics.Runtime.Tests.MethodTests.MethodHandleMultiDomainTests Error Message: Assert.NotNull() Failure Stack Trace: at Microsoft.Diagnostics.Runtime.Tests.MethodTests.MethodHandleMultiDomainTests() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/MethodTests.cs:line 25 The active test run was aborted. Reason: Process is terminating due to StackOverflowException. Total tests: Unknown. Passed: 15. Failed: 21. Skipped: 0. Test Run Aborted. Test execution time: 6.8035 Minutes Build FAILED. 0 Warning(s) 0 Error(s) Time Elapsed 00:06:48.74 ```
TylerAP commented 5 years ago
Latest test results for attach tests. 3 total (passive, non-invasive, invasive). 1 pass. 2 fail. Failures appear to be related to a lack of dac loaded in the attach target. ``` clrmd-tests_1 | Test run for /app/src/Microsoft.Diagnostics.Runtime.Tests/bin/Debug/netcoreapp2.1/Microsoft.Diagnostics.Runtime.Tests.dll(.NETCoreApp,Version=v2.1) clrmd-tests_1 | Microsoft (R) Test Execution Command Line Tool Version 15.9.0 clrmd-tests_1 | Copyright (c) Microsoft Corporation. All rights reserved. clrmd-tests_1 | clrmd-tests_1 | Starting test execution, please wait... clrmd-tests_1 | [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 4.6.27019.06) clrmd-tests_1 | [xUnit.net 00:00:00.58] Discovering: Microsoft.Diagnostics.Runtime.Tests clrmd-tests_1 | [xUnit.net 00:00:00.64] Discovered: Microsoft.Diagnostics.Runtime.Tests clrmd-tests_1 | [xUnit.net 00:00:00.65] Starting: Microsoft.Diagnostics.Runtime.Tests clrmd-tests_1 | [xUnit.net 00:00:01.13] Microsoft.Diagnostics.Runtime.Tests.AttachTests.PassiveAttachTest [FAIL] clrmd-tests_1 | [xUnit.net 00:00:01.14] Shouldly.ShouldAssertException : dt.ClrVersions clrmd-tests_1 | [xUnit.net 00:00:01.14] should not be empty but was clrmd-tests_1 | [xUnit.net 00:00:01.14] Stack Trace: clrmd-tests_1 | [xUnit.net 00:00:01.14] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(100,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.<>c.b__6_0(DataTarget dt) clrmd-tests_1 | [xUnit.net 00:00:01.14] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(61,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.AttachBaseFunc(AttachFlag attachFlag, Action`1 action) clrmd-tests_1 | [xUnit.net 00:00:01.14] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(88,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.PassiveAttachTest() clrmd-tests_1 | [xUnit.net 00:00:01.14] Output: clrmd-tests_1 | [xUnit.net 00:00:01.14] Got XPlatLiveDataTarget clrmd-tests_1 | [xUnit.net 00:00:01.14] Got Modules clrmd-tests_1 | [xUnit.net 00:00:01.14] Crap! Couldn't find DAC module! clrmd-tests_1 | [xUnit.net 00:00:01.14] 98304 00400000 /usr/share/dotnet/dotnet clrmd-tests_1 | [xUnit.net 00:00:01.15] 704512 7fe40c218000 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 684032 7fe40c4c6000 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 1658880 7fe40c76f000 /lib/x86_64-linux-gnu/libc-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 90112 7fe40cb0e000 /lib/x86_64-linux-gnu/libgcc_s.so.1 clrmd-tests_1 | [xUnit.net 00:00:01.15] 1060864 7fe40cd25000 /lib/x86_64-linux-gnu/libm-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 1515520 7fe40d029000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22 clrmd-tests_1 | [xUnit.net 00:00:01.15] 98304 7fe40d3ab000 /lib/x86_64-linux-gnu/libpthread-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 12288 7fe40d5c8000 /lib/x86_64-linux-gnu/libdl-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 143360 7fe40d7cc000 /lib/x86_64-linux-gnu/ld-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.15] 8192 7fff0832c000 [vdso] clrmd-tests_1 | [xUnit.net 00:00:01.15] 4096 ffffffffff600000 [vsyscall] clrmd-tests_1 | [xUnit.net 00:00:01.21] Microsoft.Diagnostics.Runtime.Tests.AttachTests.NonInvasiveAttachTest [FAIL] clrmd-tests_1 | [xUnit.net 00:00:01.21] Shouldly.ShouldAssertException : runtime clrmd-tests_1 | [xUnit.net 00:00:01.21] should not be null but was clrmd-tests_1 | [xUnit.net 00:00:01.21] Stack Trace: clrmd-tests_1 | [xUnit.net 00:00:01.21] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(126,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.<>c.b__7_0(DataTarget dt) clrmd-tests_1 | [xUnit.net 00:00:01.21] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(61,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.AttachBaseFunc(AttachFlag attachFlag, Action`1 action) clrmd-tests_1 | [xUnit.net 00:00:01.21] /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs(121,0): at Microsoft.Diagnostics.Runtime.Tests.AttachTests.NonInvasiveAttachTest() clrmd-tests_1 | [xUnit.net 00:00:01.21] Output: clrmd-tests_1 | [xUnit.net 00:00:01.21] Crap! Couldn't find DAC module! clrmd-tests_1 | [xUnit.net 00:00:01.21] 98304 00400000 /usr/share/dotnet/dotnet clrmd-tests_1 | [xUnit.net 00:00:01.21] 704512 7f575a71c000 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 684032 7f575a9ca000 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 1658880 7f575ac73000 /lib/x86_64-linux-gnu/libc-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 90112 7f575b012000 /lib/x86_64-linux-gnu/libgcc_s.so.1 clrmd-tests_1 | [xUnit.net 00:00:01.21] 1060864 7f575b229000 /lib/x86_64-linux-gnu/libm-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 1515520 7f575b52d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22 clrmd-tests_1 | [xUnit.net 00:00:01.21] 98304 7f575b8af000 /lib/x86_64-linux-gnu/libpthread-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 12288 7f575bacc000 /lib/x86_64-linux-gnu/libdl-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 143360 7f575bcd0000 /lib/x86_64-linux-gnu/ld-2.24.so clrmd-tests_1 | [xUnit.net 00:00:01.21] 8192 7fffe9d22000 [vdso] clrmd-tests_1 | [xUnit.net 00:00:01.21] 4096 ffffffffff600000 [vsyscall] clrmd-tests_1 | [xUnit.net 00:00:01.22] Finished: Microsoft.Diagnostics.Runtime.Tests clrmd-tests_1 | Passed Microsoft.Diagnostics.Runtime.Tests.AttachTests.InvasiveAttachTest clrmd-tests_1 | Failed Microsoft.Diagnostics.Runtime.Tests.AttachTests.PassiveAttachTest clrmd-tests_1 | Error Message: clrmd-tests_1 | Shouldly.ShouldAssertException : dt.ClrVersions clrmd-tests_1 | should not be empty but was clrmd-tests_1 | Stack Trace: clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.<>c.b__6_0(DataTarget dt) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 100 clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.AttachBaseFunc(AttachFlag attachFlag, Action`1 action) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 61 clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.PassiveAttachTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 88 clrmd-tests_1 | Standard Output Messages: clrmd-tests_1 | Got XPlatLiveDataTarget clrmd-tests_1 | Got Modules clrmd-tests_1 | Crap! Couldn't find DAC module! clrmd-tests_1 | 98304 00400000 /usr/share/dotnet/dotnet clrmd-tests_1 | 704512 7fe40c218000 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so clrmd-tests_1 | 684032 7fe40c4c6000 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so clrmd-tests_1 | 1658880 7fe40c76f000 /lib/x86_64-linux-gnu/libc-2.24.so clrmd-tests_1 | 90112 7fe40cb0e000 /lib/x86_64-linux-gnu/libgcc_s.so.1 clrmd-tests_1 | 1060864 7fe40cd25000 /lib/x86_64-linux-gnu/libm-2.24.so clrmd-tests_1 | 1515520 7fe40d029000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22 clrmd-tests_1 | 98304 7fe40d3ab000 /lib/x86_64-linux-gnu/libpthread-2.24.so clrmd-tests_1 | 12288 7fe40d5c8000 /lib/x86_64-linux-gnu/libdl-2.24.so clrmd-tests_1 | 143360 7fe40d7cc000 /lib/x86_64-linux-gnu/ld-2.24.so clrmd-tests_1 | 8192 7fff0832c000 [vdso] clrmd-tests_1 | 4096 ffffffffff600000 [vsyscall] clrmd-tests_1 | clrmd-tests_1 | clrmd-tests_1 | Failed Microsoft.Diagnostics.Runtime.Tests.AttachTests.NonInvasiveAttachTest clrmd-tests_1 | Error Message: clrmd-tests_1 | Shouldly.ShouldAssertException : runtime clrmd-tests_1 | should not be null but was clrmd-tests_1 | Stack Trace: clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.<>c.b__7_0(DataTarget dt) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 126 clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.AttachBaseFunc(AttachFlag attachFlag, Action`1 action) in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 61 clrmd-tests_1 | at Microsoft.Diagnostics.Runtime.Tests.AttachTests.NonInvasiveAttachTest() in /app/src/Microsoft.Diagnostics.Runtime.Tests/src/AttachTests.cs:line 121 clrmd-tests_1 | Standard Output Messages: clrmd-tests_1 | Crap! Couldn't find DAC module! clrmd-tests_1 | 98304 00400000 /usr/share/dotnet/dotnet clrmd-tests_1 | 704512 7f575a71c000 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so clrmd-tests_1 | 684032 7f575a9ca000 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so clrmd-tests_1 | 1658880 7f575ac73000 /lib/x86_64-linux-gnu/libc-2.24.so clrmd-tests_1 | 90112 7f575b012000 /lib/x86_64-linux-gnu/libgcc_s.so.1 clrmd-tests_1 | 1060864 7f575b229000 /lib/x86_64-linux-gnu/libm-2.24.so clrmd-tests_1 | 1515520 7f575b52d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22 clrmd-tests_1 | 98304 7f575b8af000 /lib/x86_64-linux-gnu/libpthread-2.24.so clrmd-tests_1 | 12288 7f575bacc000 /lib/x86_64-linux-gnu/libdl-2.24.so clrmd-tests_1 | 143360 7f575bcd0000 /lib/x86_64-linux-gnu/ld-2.24.so clrmd-tests_1 | 8192 7fffe9d22000 [vdso] clrmd-tests_1 | 4096 ffffffffff600000 [vsyscall] clrmd-tests_1 | clrmd-tests_1 | clrmd-tests_1 | clrmd-tests_1 | Total tests: 3. Passed: 1. Failed: 2. Skipped: 0. clrmd-tests_1 | Test Run Failed. clrmd-tests_1 | Test execution time: 3.6295 Seconds clrmd-tests_1 | Done Building Project "/app/src/Microsoft.Diagnostics.Runtime.Tests/Microsoft.Diagnostics.Runtime.Tests.csproj" (VSTest target(s)) -- FAILED. ```
TylerAP commented 5 years ago

Yep. Fixed that, they all pass, but they're not different from Passive attach yet...

TylerAP commented 5 years ago
clrmd-tests_1  | Modules:
clrmd-tests_1  |            Address        Size Name
clrmd-tests_1  | 0x0000000000400000       98304 /usr/share/dotnet/dotnet
clrmd-tests_1  | 0x00007fadcb5be000      176128 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Private.CoreLib.dll
clrmd-tests_1  | 0x00007fadcb5f8000     9003008 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Private.CoreLib.dll
clrmd-tests_1  | 0x00007fadcbf80000       40960 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Runtime.dll
clrmd-tests_1  | 0x00007fadcbfd1000      184320 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Console.dll
clrmd-tests_1  | 0x00007fadcc032000      376832 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Runtime.Extensions.dll
clrmd-tests_1  | 0x00007fadcc0c0000       32768 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Threading.Thread.dll
clrmd-tests_1  | 0x00007fadcc100000       69632 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Threading.dll
clrmd-tests_1  | 0x00007fadcc150000        8192 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Text.Encoding.Extensions.dll
clrmd-tests_1  | 0x00007fae32109000     2535424 /usr/lib/x86_64-linux-gnu/libicui18n.so.57.1
clrmd-tests_1  | 0x00007fae32583000    25673728 /usr/lib/x86_64-linux-gnu/libicudata.so.57.1
clrmd-tests_1  | 0x00007fae400c4000       57344 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Native.so
clrmd-tests_1  | 0x00007fae402d3000     1654784 /usr/lib/x86_64-linux-gnu/libicuuc.so.57.1
clrmd-tests_1  | 0x00007fae4067b000       73728 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/System.Globalization.Native.so
clrmd-tests_1  | 0x00007fae4088e000     2768896 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libclrjit.so
clrmd-tests_1  | 0x00007fae43eee000       16384 /usr/lib/x86_64-linux-gnu/liburcu-common.so.4.1.0
clrmd-tests_1  | 0x00007fae440f3000       28672 /usr/lib/x86_64-linux-gnu/liburcu-cds.so.4.1.0
clrmd-tests_1  | 0x00007fae442fb000       28672 /usr/lib/x86_64-linux-gnu/liburcu-bp.so.4.1.0
clrmd-tests_1  | 0x00007fae44503000       45056 /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0.0.0
clrmd-tests_1  | 0x00007fae4471f000      425984 /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0.0.0
clrmd-tests_1  | 0x00007fae4499c000      303104 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libcoreclrtraceptprovider.so
clrmd-tests_1  | 0x00007fae44c24000       28672 /lib/x86_64-linux-gnu/librt-2.24.so
clrmd-tests_1  | 0x00007fae44e2c000     7966720 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libcoreclr.so
clrmd-tests_1  | 0x00007fae45670000      704512 /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libhostpolicy.so
clrmd-tests_1  | 0x00007fae4591e000      684032 /usr/share/dotnet/host/fxr/2.1.6/libhostfxr.so
clrmd-tests_1  | 0x00007fae45bc7000     1658880 /lib/x86_64-linux-gnu/libc-2.24.so
clrmd-tests_1  | 0x00007fae45f66000       90112 /lib/x86_64-linux-gnu/libgcc_s.so.1
clrmd-tests_1  | 0x00007fae4617d000     1060864 /lib/x86_64-linux-gnu/libm-2.24.so
clrmd-tests_1  | 0x00007fae46481000     1515520 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
clrmd-tests_1  | 0x00007fae46803000       98304 /lib/x86_64-linux-gnu/libpthread-2.24.so
clrmd-tests_1  | 0x00007fae46a20000       12288 /lib/x86_64-linux-gnu/libdl-2.24.so
clrmd-tests_1  | 0x00007fae46c24000      143360 /lib/x86_64-linux-gnu/ld-2.24.so
clrmd-tests_1  | 0x00007ffc9f7cd000        8192 [vdso]
clrmd-tests_1  | 0xffffffffff600000        4096 [vsyscall]
clrmd-tests_1  | Adding /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libmscordaccore.so
clrmd-tests_1  | Added libmscordaccore.so 7966720
clrmd-tests_1  | Got ClrVersions
clrmd-tests_1  | CLR Versions:
clrmd-tests_1  |              Version      Flavor DAC
clrmd-tests_1  | 0x           v0.0.0.00        Core /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.6/libmscordaccore.so
clrmd-tests_1  | Runtime GC: WKS
clrmd-tests_1  | Got AppDomains
clrmd-tests_1  | Memory Regions:
clrmd-tests_1  |            Address        Size            AppDomain Type
clrmd-tests_1  | 0x00007fadb323b000      135168                      GCSegment
clrmd-tests_1  | 0x00007fadb325c000   268296192                      ReservedGCSegment
clrmd-tests_1  | 0x00007fadc323b000       69632                      GCSegment
clrmd-tests_1  | 0x00007fadc324c000   134144000                      ReservedGCSegment
clrmd-tests_1  | 0x00007fae46e00000        8192              clrhost HandleTableChunk
clrmd-tests_1  | 0x00007fadcb250000       12288                      LowFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb256000       28672                      HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcbf50000       65536                      HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb300000       24576                      IndcellHeap
clrmd-tests_1  | 0x00007fadcb30c000       16384                      LookupHeap
clrmd-tests_1  | 0x00007fadcb336000      237568                      ResolveHeap
clrmd-tests_1  | 0x00007fadcb310000      155648                      DispatchHeap
clrmd-tests_1  | 0x00007fadcb306000       24576                      CacheEntryHeap
clrmd-tests_1  | 0x00007fadcb250000       12288                      LowFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb256000       28672                      HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcbf50000       65536                      HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb300000       24576                      IndcellHeap
clrmd-tests_1  | 0x00007fadcb30c000       16384                      LookupHeap
clrmd-tests_1  | 0x00007fadcb336000      237568                      ResolveHeap
clrmd-tests_1  | 0x00007fadcb310000      155648                      DispatchHeap
clrmd-tests_1  | 0x00007fadcb306000       24576                      CacheEntryHeap
clrmd-tests_1  | 0x00007fadcb260000       12288              clrhost LowFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcbfa0000       65536              clrhost LowFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb263000       40960              clrhost HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcc170000       65536              clrhost HighFrequencyLoaderHeap
clrmd-tests_1  | 0x00007fadcb2ac000      344064              clrhost ResolveHeap
clrmd-tests_1  | 0x00007fadcb27d000      192512              clrhost DispatchHeap
clrmd-tests_1  | Handles:
clrmd-tests_1  |            Address            Handle  HandleType TypeName
clrmd-tests_1  | 0x00007fae46e017f8 0x00007fadb325a630    WeakLong Interop+Sys+CtrlCallback
clrmd-tests_1  | 0x00007fae46e011a8 0x00007fadb3256f70      Strong System.Object[]
clrmd-tests_1  | 0x00007fae46e011b0 0x00007fadb323b3e0      Strong System.SharedStatics
clrmd-tests_1  | 0x00007fae46e011b8 0x00007fadb323b318      Strong System.Threading.ThreadAbortException
clrmd-tests_1  | 0x00007fae46e011c0 0x00007fadb323b288      Strong System.Threading.ThreadAbortException
clrmd-tests_1  | 0x00007fae46e011c8 0x00007fadb323b1f8      Strong System.ExecutionEngineException
clrmd-tests_1  | 0x00007fae46e011d0 0x00007fadb323b168      Strong System.StackOverflowException
clrmd-tests_1  | 0x00007fae46e011d8 0x00007fadb323b0d8      Strong System.OutOfMemoryException
clrmd-tests_1  | 0x00007fae46e011e0 0x00007fadb323b048      Strong System.Exception
clrmd-tests_1  | 0x00007fae46e011f8 0x00007fadb323b3f8      Strong System.AppDomain
clrmd-tests_1  | 0x00007fae46e015e0 0x00007fadc323d488      Pinned System.Object[]
clrmd-tests_1  | 0x00007fae46e015e8 0x00007fadc323d050      Pinned System.Object[]
clrmd-tests_1  | 0x00007fae46e015f0 0x00007fadb323b3a8      Pinned System.Object
clrmd-tests_1  | 0x00007fae46e015f8 0x00007fadc323b038      Pinned System.Object[]
clrmd-tests_1  | Threads:
clrmd-tests_1  |            Address  StackDepth MethodName
clrmd-tests_1  | GetThreadContext 1!
clrmd-tests_1  | Unhandled Exception: System.NotImplementedException: The method or operation is not implemented.

Gotta implement GetThreadContext. We're getting there! 👍