Mark Runtime_76219 GC regression test as CLRTestTargetUnsupported#125249
Mark Runtime_76219 GC regression test as CLRTestTargetUnsupported#125249
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-runtime |
…GC stress failures Co-authored-by: jkoritzinsky <1571408+jkoritzinsky@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR disables the Runtime_76219 GC regression test at the project level by marking it as unsupported, to avoid host-level crashes that occur before xUnit can apply [ActiveIssue] skip logic.
Changes:
- Add
<CLRTestTargetUnsupported>true</CLRTestTargetUnsupported>to prevent the test project from building/running. - Document the rationale with an XML comment referencing #78899.
| Mark as unsupported until https://github.com/dotnet/runtime/issues/78899 is resolved. --> | ||
| <CLRTestTargetUnsupported>true</CLRTestTargetUnsupported> |
There was a problem hiding this comment.
CLRTestTargetUnsupported is being set unconditionally to true, which disables building/running this test on all targets. The preceding comment says the crash is specific to OSX arm64 under GC stress; if the intent is to suppress only that platform/arch, make this property conditional (e.g., on $(TargetsOSX) and $(TargetArchitecture)), or update the comment to clearly state the test is disabled everywhere until the issue is resolved.
| Mark as unsupported until https://github.com/dotnet/runtime/issues/78899 is resolved. --> | |
| <CLRTestTargetUnsupported>true</CLRTestTargetUnsupported> | |
| Mark osx arm64 as unsupported until https://github.com/dotnet/runtime/issues/78899 is resolved. --> | |
| <CLRTestTargetUnsupported Condition="'$(TargetsOSX)' == 'true' and '$(TargetArchitecture)' == 'arm64'">true</CLRTestTargetUnsupported> |
Description
Runtime_76219has been consistently crashing on macOS arm64 under GC stress configurations with aSIGTRAP(exit 133), even though the test body is already disabled via[ActiveIssue("...#78899", TestRuntimes.CoreCLR)]. The crash occurs at the test host level, likely triggered by the custom GC stress env vars (DOTNET_GCStress=0x3,DOTNET_GCSegmentSize=8000) applied unconditionally viaCLRTestBashPreCommands— before xunit ever evaluates theActiveIssueskip logic.Changes
Runtime_76219.csproj: Added<CLRTestTargetUnsupported>true</CLRTestTargetUnsupported>with a comment referencing the tracking issue (Test failure GC\\Regressions\\Github\\Runtime_76219\\Runtime_76219\\Runtime_76219.cmd #78899). This causes_WillCLRTestProjectBuildto be set tofalseinDirectory.Build.targets, preventing the test from being built or executed entirely until the underlying issue is resolved.Security
No security-sensitive changes.
Original prompt
This section details on the original issue you should resolve
<issue_title>Test failure: GC/Regressions/Github/Runtime_76219/Runtime_76219/Runtime_76219.cmd</issue_title>
<issue_description>Failed in: runtime-coreclr gcstress-extra 20260222.1
Failed tests:
Error message:
Stack trace:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.