Repository navigation
Flow TestContext.Properties through Assembly/Class lifecycle - #8386
Merged
Amaury Levé (Evangelink) merged 1 commit intoMay 20, 2026
Merged
Azure Pipelines / microsoft.testfx (Build MacOS Debug)
failed
May 20, 2026 in 28m 30s
Build MacOS Debug failed
Annotations
azure-pipelines / microsoft.testfx (Build MacOS Debug)
test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/CrashDumpTests.cs#L46
test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/CrashDumpTests.cs(46,1): error : CrashDump_TesthostAndChildBothCrash_CollectsAllDumps ("net10.0") [net11.0]
Assertion failed. Expected collection to contain a specific number of elements.
Expected dumps for both the testhost and the child process 'net10.0'.
Command: /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/bin/Release/net10.0/CrashDump --crashdump --results-directory /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/ecbb2bff1ea5483195748a03a8ecb0db
====================
ExitCode: 7
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 05/20/2026) [osx-x64 - net10.0]
[createdump] Gathering state for process 20394
[createdump] Crashing thread db23 signal 6 (0006)
[createdump] Gathering state for process 20384
[createdump] Crashing thread daab signal 6 (0006)
[createdump] Writing full dump to file /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/ecbb2bff1ea5483195748a03a8ecb0db/CrashDump_20394_crash.dmp
[createdump] Writing full dump to file /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/ecbb2bff1ea5483195748a03a8ecb0db/CrashDump_20384_crash.dmp
[createdump] Written 5648548120 bytes (1379040 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 398484ms
Test host process with PID '20384' crashed, a dump file was generated
Out of process file artifacts produced:
- /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/ecbb2bff1ea5483195748a03a8ecb0db/CrashDump_20384_crash.dmp
Test application process didn't exit gracefully, exit code is '134'
====================
StandardError:
Process terminated.
ChildCrashDump
at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)
at System.Environment.FailFast(System.Threading.StackCrawlMark ByRef, System.String, System.Exception, System.String)
at System.Environment.FailFast(System.String)
at Startup+<Main>d__0.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Startup+<Main>d__0, CrashDump, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]](<Main>d__0 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Int32, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Startup+<Main>d__0, CrashDump, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]](<Main>d__0 ByRef)
at Startup.Main(System.String[])
at Startup.<Main>(System.String[])
Unhandled exception. System.InvalidOperationException: Child process did not exit within the expected timeout (60s).
at DummyTestFramework.ExecuteRequestAsync(ExecuteRequestContext context) in /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/Program.cs:line 129
at Microsoft.Testing.Platform.Requests.TestHostTestFrameworkInvoker.ExecuteRequestAsync(ITestFramework testFramework, TestExecutionRequest request, IMessageBus messageBus, CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Requests/TestHostTestFrameworkInvoker.cs:line 92
at Microsoft.Testing.Platform.Requests.TestHostTestFrameworkInvoker.ExecuteAsync(ITestFramework testFramework, ClientInfo client, CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Requests/TestHostTestFrameworkInvoker.cs:line 73
at Microsoft.Testing.Platform.Hosts.CommonHost.ExecuteRequestAsync(ProxyOutputDevice outputDevice, ITestSessionContext testSessionInfo, ServiceProvider serviceProvider, BaseMessageBus baseMessageBus, ITestFramework testFramework, ClientInfo client) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 181
at Microsoft.Testing.Platform.Hosts.ConsoleTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ConsoleTestHost.cs:line 85
at Microsoft.Testing.Platform.Hosts.ConsoleTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ConsoleTestHost.cs:line 118
at Microsoft.Testing.Platform.Hosts.CommonHost.RunTestAppAsync(IPlatformOpenTelemetryService platformOTelService, CancellationToken testApplicationCancellationToken, List`1 alreadyDisposed) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 144
at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 45
at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 100
at Microsoft.Testing.Platform.Hosts.TestHostControlledHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/TestHostControlledHost.cs:line 24
at Microsoft.Testing.Platform.Builder.TestApplication.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Builder/TestApplication.cs:line 225
at Startup.Main(String[] args) in /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/r8dCd/CrashDumpFixture/Program.cs:line 38
at Startup.<Main>(String[] args)
[createdump] Error reading memory at 0000000108245000 size 00004000 FAILED (ipc/send) invalid destination port (10000003)
[createdump] Writing dump FAILED
[createdump] Target process terminated
[createdump] Failure took 62334ms
expected count: 2
actual count: 1
Assert.HasCount(2, dumpFiles)
Check failure on line 8058 in Build log
azure-pipelines / microsoft.testfx (Build MacOS Debug)
Build log #L8058
Bash exited with code '2'.
Loading