Repository navigation
Description
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1505077
Build error leg or test failing: coreclr Pri1 Runtime Tests Run GCStandAlone linux x64 checked - GC/API/Refresh/Refresh/Refresh.cmd
This standalone-GC regression test fails deterministically across all GCStandAlone / GCStandAloneServer legs (linux x64, linux arm64, windows x64, windows arm64) on every recent gc-standalone (definition 146) run. Reproduced in build 1505077 and again in the later build 1508088.
Tracking: #127667 (existing area-team tracker, not a Known Build Error, so Build Analysis does not match it).
Error Details
13:58:11.446 Running test: GC/API/Refresh/Refresh/Refresh.cmd
Fail
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual: 101
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 102
at __GeneratedMainWrapper.Main()
END EXECUTION - FAILED
Persistent across the entire scanned window (100% failure rate in the ~10-build sample); true origin predates 2026-07-08 and has been tracked since #127667 (opened 2026-05-01).
Error Message
{
"ErrorMessage": [
"GC/API/Refresh/Refresh/Refresh.cmd",
"Assert.Equal() Failure: Values differ",
"Actual: 101"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
Generated by CI Outer-Loop Failure Scanner · 546 AIC · ⊞ 19.5K · ◷
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1542549 | dotnet/runtime | GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd | |
| 1539211 | dotnet/runtime | GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd | |
| 1536423 | dotnet/runtime | GC/API/Refresh/Refresh/Refresh.cmd | |
| 1533113 | dotnet/runtime | GC/API/Refresh/Refresh/Refresh.cmd | |
| 1529665 | dotnet/runtime | GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd | |
| 1527159 | dotnet/runtime | GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd | |
| 1523377 | dotnet/runtime | GC/API/Refresh/Refresh/Refresh.cmd | |
| 1519705 | dotnet/runtime | GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd | |
| 1516626 | dotnet/runtime | GC/API/Refresh/Refresh/Refresh.cmd | |
| 1512417 | dotnet/runtime | GC/API/GC/GetConfigurationVariables/GetConfigurationVariables.cmd |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 3 | 10 |
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Jul 17, 2026
Tagging subscribers to this area: @anicka-net, @dotnet/gc
See info in area-owners.md if you want to be subscribed.
github-actions commentedon Jul 18, 2026
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
The threat detection results could not be parsed.
Review the workflow run logs for details.
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #130828
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (a standalone-GC product behavior difference in
GC.RefreshMemoryLimit()that must not be worked around in the test), so I am looping in the GC area owners to fix it forward rather than mute it.Root cause (best analysis)
GC/API/Refresh/Refresh.cmdfails deterministically on every GCStandAlone / GCStandAloneServer leg (linux x64/arm64, windows x64/arm64) undergc-standalone(definition 146), returning exit code101instead of100:The test (
src/tests/GC/API/Refresh/Refresh.cs) setsGCHeapHardLimitviaAppContext.SetData, callsGC.RefreshMemoryLimit(), then assertsGC.GetGCMemoryInfo().TotalAvailableMemoryBytesequals the newly-set limit:The first check already fails under the standalone GC, so
TotalAvailableMemoryBytesdoes not reflect the refreshed hard limit. This indicates theRefreshMemoryLimit/ hard-limit refresh path is not wired the same way in the standalone GC build as in the in-proc GC. Because the failure is 100% reproducible only on the standalone-GC legs (and passes on the default GC), this is a GC product issue, not a test defect. Per this workflow's rules, GC product fixes are out of bounds for an automated PR, so this is a hand-off (never a test-disable).Evidence
Suggested reviewers / area contacts
area-GC-coreclr):@anicka-net,@dotnet/gcNote
This root-cause hand-off was generated by an AI/Copilot agent. No code change was produced because the failure is a standalone-GC product behavior difference that must not be worked around in test code. Please verify before acting.
VincentBu commentedon Jul 28, 2026
Failed in: gc-standalone 20260726.1
Failed tests:
Error message:
Stack trace:
janvorli commentedon Aug 6, 2026
The test can never succeed with GC segments mode, because the the limits are not refreshed from the settings unless the USE_REGIONS is defined.
See
runtime/src/coreclr/gc/init.cpp
Lines 1555 to 1566 in 6b49b7a
janvorli commentedon Aug 6, 2026
There was even a PR that disabled the test for non-region platform and comment saying the test doesn't work on non-region platforms:
#97437 (comment)
So it was never meant to run with segments.
Disable GC/API/Refresh test when using segments GC flavor (dotnet#131967
Disable GC/API/Refresh test when using segments GC flavor (dotnet#131967