Test failure: baseservices/exceptions/unhandled/unhandledTester/unhandledTester.cmd

Open
#114,055 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
csharp

Research direction

Start with baseservices/exceptions/unhandled/unhandledTester/unhandledTester.cmd and reproduce it under the coreclr Windows ARM64 Checked gcstress0x3 configuration from the linked build. Inspect the test output around the one-hour timeout and the missing cdb.exe messages; done means the test completes with its expected output instead of timing out.

Written by the indexing model from the issue text.

Description

arch-arm64 area-VM-coreclr blocking-clean-ci-optional GCStress os-windows

Failed in: runtime-coreclr gcstress0x3-gcstress0xc 20250330.1

Failed tests:

coreclr windows arm64 Checked gcstress0x3 @ Windows.11.Arm64.Open
    - baseservices/exceptions/unhandled/unhandledTester/unhandledTester.cmd

Error message:

 
cmdLine:C:hw9DF20881wBC0209FCeaseservicesexceptionsaseservices-exceptions../unhandled/unhandledTester/unhandledTester.cmd Timed Out (timeout in milliseconds: 3600000 from variable __TestTimeout, start: 3/30/2025 2:43:44 PM, end: 3/30/2025 3:44:10 PM)

Return code:      -100
Raw output file:      C:hw9DF20881wBC0209FCuploadsunhandledunhandledTesteroutput.txt
Raw output:
BEGIN EXECUTION
 "C:hw9DF20881pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  unhandledTester.dll 
"Unhandled exception. System.Exception: Test"
""
"   at TestUnhandledException.Program.Main(String[] args)"
""
Test process unhandled.dll with argument main exited
Test process exited with expected error code and produced expected output
"Unhandled exception. System.Exception: Test"
""
"   at TestUnhandledException.Program.<>c.<Main>b__5_0()"
""
"   at System.Threading.Thread.StartCallback()"
""
Test process unhandled.dll with argument secondary exited
Test process exited with expected error code and produced expected output
"Unhandled exception. System.DllNotFoundException: Unable to load DLL '__internal' or one of its dependencies: The specified module could not be found. (0x8007007E)"
""
Test process unhandled.dll with argument foreign exited
Test process exited with expected error code and produced expected output

cmdLine:C:hw9DF20881wBC0209FCeaseservicesexceptionsaseservices-exceptions../unhandled/unhandledTester/unhandledTester.cmd Timed Out (timeout in milliseconds: 3600000 from variable __TestTimeout, start: 3/30/2025 2:43:44 PM, end: 3/30/2025 3:44:10 PM)
Unable to find cdb.exe at C:Program Files (x86)Windows Kits10Debuggersrm64cdb.exe
Unable to find cdb.exe at C:Program Files (x86)Windows Kits10Debuggersrm64cdb.exe
Test Harness Exitcode is : -100
To run the test:
Set up CORE_ROOT and run.
> C:hw9DF20881wBC0209FCeaseservicesexceptionsaseservices-exceptions../unhandled/unhandledTester/unhandledTester.cmd

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at Program.<<Main>$>g__TestExecutor141|0_142(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.