Console log: 'Microsoft.Extensions.Hosting.Unit.Tests' from job 657df5d1-8bca-4e47-b8fc-6718d6faca16 workitem 6456248d-5552-4b41-b1ba-13b0917efcb1 (windows.10.amd64.open.rt) executed on machine a002N4M running Windows-2016Server-10.0.14393-SP0 C:\h\w\B7E30A12\w\9B740906\e>set _NT_SYMBOL_PATH=C:\h\w\B7E30A12\p;C:\h\w\B7E30A12\p\PDB;C:\h\w\B7E30A12\p\shared\Microsoft.NETCore.App\11.0.0 C:\h\w\B7E30A12\w\9B740906\e>C:\h\w\B7E30A12\p\dotnet C:\h\w\B7E30A12\p\sos\tools\net6.0\any\dotnet-sos.dll install --architecture x86 Installing SOS to C:\Users\runner\.dotnet\sos Installing over existing installation... Creating installation directory... Copying files from C:\h\w\B7E30A12\p\sos\tools\net6.0\any\win-x86 Copying files from C:\h\w\B7E30A12\p\sos\tools\net6.0\any\lib Execute '.load C:\Users\runner\.dotnet\sos\sos.dll' to load SOS in your Windows debugger. Cleaning up... SOS install succeeded C:\h\w\B7E30A12\w\9B740906\e>taskkill.exe /f /im corerun.exe ERROR: The process "corerun.exe" not found. C:\h\w\B7E30A12\w\9B740906\e>set __TestArchitecture=x86 C:\h\w\B7E30A12\w\9B740906\e>call RunTests.cmd --runtime-path C:\h\w\B7E30A12\p ========================= Begin custom configuration settings ============================== set __IsXUnitLogCheckerSupported=1 set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1 ========================== End custom configuration settings =============================== ----- start Tue 07/07/2026 3:48:12.65 =============== To repro directly: ===================================================== pushd C:\h\w\B7E30A12\w\9B740906\e\ "C:\h\w\B7E30A12\p\dotnet.exe" exec --runtimeconfig Microsoft.Extensions.Hosting.Unit.Tests.runtimeconfig.json --depsfile Microsoft.Extensions.Hosting.Unit.Tests.deps.json xunit.console.dll Microsoft.Extensions.Hosting.Unit.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing popd =========================================================================================================== C:\h\w\B7E30A12\w\9B740906\e>"C:\h\w\B7E30A12\p\dotnet.exe" exec --runtimeconfig Microsoft.Extensions.Hosting.Unit.Tests.runtimeconfig.json --depsfile Microsoft.Extensions.Hosting.Unit.Tests.deps.json xunit.console.dll Microsoft.Extensions.Hosting.Unit.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing Discovering: Microsoft.Extensions.Hosting.Unit.Tests (method display = ClassAndMethod, method display options = None) Discovered: Microsoft.Extensions.Hosting.Unit.Tests (found 209 of 214 test cases) Starting: Microsoft.Extensions.Hosting.Unit.Tests (parallel test collections = on [4 threads], stop on fail = off) info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\h\w\B7E30A12\w\9B740906\e info: Microsoft.Hosting.Lifetime[0] Application is shutting down... Microsoft.Extensions.Hosting.Internal.HostTests.HostApplicationLifetimeEventsOrderedCorrectlyDuringShutdown [FAIL] Assert.True() Failure Expected: True Actual: False Stack Trace: /_/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs(844,0): at Microsoft.Extensions.Hosting.Internal.HostTests.HostApplicationLifetimeEventsOrderedCorrectlyDuringShutdown() at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) /_/src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs(1188,0): at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(37,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) info: Microsoft.Extensions.Hosting.Tests.HostTests[0] Request starting Finished: Microsoft.Extensions.Hosting.Unit.Tests === TEST EXECUTION SUMMARY === Microsoft.Extensions.Hosting.Unit.Tests Total: 283, Errors: 0, Failed: 1, Skipped: 0, Time: 47.504s ----- end Tue 07/07/2026 3:49:11.37 ----- exit code 1 ---------------------------------------------------------- C:\h\scripts\helix-scripts\azure\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources 2026-07-07T03:49:12.131Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-07-07T03:49:12.131Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-07-07T03:49:12.132Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '0cc565e7-a2e0-4a65-bee0-464a77bb449a' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.13.13 (Windows-2016Server-10.0.14393-SP0)' No body was attached to the request 2026-07-07T03:49:12.148Z INFO run.py _universal(581) on_response Response status: 200 Response headers: 'Content-Type': 'application/json; charset=utf-8' 'Server': 'IMDS/150.870.65.2118' 'x-ms-request-id': '0cc565e7-a2e0-4a65-bee0-464a77bb449a' 'Date': 'Tue, 07 Jul 2026 03:49:11 GMT' 'Content-Length': '2467' 2026-07-07T03:49:12.148Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token succeeded 2026-07-07T03:49:12.149Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token succeeded 2026-07-07T03:49:12.149Z INFO run.py azure_utils(64) get_credential_and_access_token Credentials are valid 2026-07-07T03:49:12.150Z INFO run.py msal_managed_identity_client(165) _get_token_base ImdsCredential.get_token_info succeeded 2026-07-07T03:49:12.150Z INFO run.py decorators(24) wrapper ManagedIdentityCredential.get_token_info succeeded 2026-07-07T03:49:12.700Z INFO run.py run(67) main Beginning reading of test results. 2026-07-07T03:49:12.701Z INFO run.py __init__(49) read_results Searching 'C:\h\w\B7E30A12\w\9B740906\e' for test results files 2026-07-07T03:49:12.703Z INFO run.py __init__(55) read_results Found results file C:\h\w\B7E30A12\w\9B740906\e\testResults.xml with format xunit 2026-07-07T03:49:12.707Z INFO run.py __init__(49) read_results Searching 'C:\h\w\B7E30A12\w\9B740906\uploads' for test results files 2026-07-07T03:49:12.707Z INFO run.py packing_test_reporter(30) report_results Packing 283 test reports to 'C:\h\w\B7E30A12\w\9B740906\e\__test_report.json' 2026-07-07T03:49:12.709Z INFO run.py packing_test_reporter(33) report_results Packed 90043 bytes 2026-07-07T03:49:12.709Z INFO run.py _helix_compat(255) report_results Writing 0 test results to 'C:\h\w\B7E30A12\w\9B740906\e\__test_report_v2.json' (JSON v1) 2026-07-07T03:49:12.710Z INFO run.py _helix_compat(261) report_results Wrote 2979 bytes to 'C:\h\w\B7E30A12\w\9B740906\e\__test_report_v2.json' ERROR: The process "corerun.exe" not found. gen-debug-dump-docs.py: Did not find dumps, skipping dump docs generation. ['Microsoft.Extensions.Hosting.Unit.Tests' END OF WORK ITEM LOG: Command exited with 0]