Skip to content

[ci-scan] Test failure: Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke times out waiting for concurrent Gen2 GC (linu [Content truncated due to length] #132939

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1573173
Build error leg or test failing: linux-arm Checked NativeAOT_Pri1 - azurelinux.3.arm64.open — Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd

Pipeline: runtime-nativeaot-outerloop (definition 265), branch main. The GcRestrictedCalloutReversePInvoke test fails on the linux-arm NativeAOT_Pri1 leg because a forced background Gen2 GC never completes within the 30s test window, so Program.ForceBackgroundGen2Collection times out and the xunit assertion fails. The failure reproduces in follow-up build 1573628.

This is a post-close recurrence of #132072, which was filed for the same signature on the windows checked legs of the runtime-coreclr jit-cfg pipeline and closed as fixed on 2026-08-11. The source build 1573173 finished 2026-08-29, well after that close, and now fails on a different leg (linux-arm NativeAOT).

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

23:52:56.639 Running test: Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd

Return code:      1
BEGIN EXECUTION
/root/helix/work/correlation/nativeaottest.sh .../GcRestrictedCalloutReversePInvoke/ GcRestrictedCalloutReversePInvoke.dll ''
System.Exception: Timed out after 00:00:30 waiting for a concurrent Gen2 GC. Initial count: 0, final count: 157184.
   at Program.ForceBackgroundGen2Collection(TimeSpan)
   at Program.TestEntryPoint()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
   at Xunit.Assert.True(Nullable`1, String)
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String, String)
23:53:26.661 Failed test: Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd

Error Message

{
  "ErrorMessage": [
    "GcRestrictedCalloutReversePInvoke.cmd",
    "System.Exception: Timed out after 00:00:30 waiting for a concurrent Gen2 GC.",
    "at Program.ForceBackgroundGen2Collection(TimeSpan)"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log

First build it occurred

Source build 1573173 (2026-08-29); reproduces in follow-up build 1573628 (2026-08-29). Post-close recurrence of #132072 (closed 2026-08-11).

Duplicate search

Searched open/closed issues and PRs for waiting for a concurrent Gen2 GC, ForceBackgroundGen2Collection, and GcRestrictedCalloutReversePInvoke. The only prior Known Build Error for this signature, #132072, is closed-as-fixed and scoped to windows checked jit-cfg legs; this recurrence is on the linux-arm NativeAOT leg after that close. Only one closed predecessor exists, so this is a fresh regression rather than a recurring-signature reuse.

Related: #132072


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 · opus48 · 951 AIC · ⌖ 16 AIC · ⊞ 20.7K ·

Report

Build Repository Test Pull Request
1574104 dotnet/runtime Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd
1574041 dotnet/runtime Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd #132932
1574043 dotnet/runtime Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd #132933
1573869 dotnet/runtime Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke/GcRestrictedCalloutReversePInvoke.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 4 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-Interop-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions