You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci-scan] Test failure: baseservices/threading/regressions/2164/foreground-shutdown fails Expected 100 Actual 101 on R2R #131418
Stable across the scanned window: source build 1526910 and follow-up build 1527456 both reproduce this signature on the R2R windows arm64 checked leg.
Related: #131403 (area-System.Threading tracker for the same test, currently observed only on the optional jitstressregs leg and not labeled Known Build Error, so it does not dedupe required-gate PR CI). This KBE covers the required-gate r2r-extra occurrence.
Filed by the ci-failure-scan workflow (detection only). Mitigation — small fix PRs and owner hand-off — is handled by the companion ci-failure-fix workflow from the open [ci-scan] KBEs.
Note
This issue was generated with the assistance of GitHub Copilot (AI). The failure data was collected from public dnceng CI; please verify before acting.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
This Known Build Error has no producible automated code change (reason: JIT/codegen stress — the failure reproduces only on the R2R --method-layout:random composite leg, an outer-loop codegen configuration I must not auto-patch), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.
Root cause (best analysis)
baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd exits 101 instead of the expected 100 on the R2R windows arm64 checked leg (runtime-coreclr r2r-extra, def 114, --method-layout:random). Test 2164 is a foreground-thread-during-shutdown regression: the process is expected to complete shutdown with a specific ordering/exit result. An off-by-one exit code (101 = one assertion/return short of the expected 100 pass sentinel) under a randomized R2R method layout points to a shutdown-timing/ordering sensitivity that only surfaces with that codegen configuration, not a product bug in the test's own source. #131403 tracks the same test on the optional jitstressregs leg. Because the trigger is a codegen-stress layout, no safe mechanical diff is producible.
Area owners (area-System.Threading): @JulieLeeMSFT, @vsadov
A fix would likely involve determining whether foreground-thread shutdown ordering is racy under randomized R2R method layout, or whether the test's shutdown synchronization needs hardening for that leg.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Activity
dotnet-policy-service commentedon Jul 29, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @VSadov
See info in area-owners.md if you want to be subscribed.
github-actions commentedon Jul 30, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #131418
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: JIT/codegen stress — the failure reproduces only on the R2R
--method-layout:randomcomposite leg, an outer-loop codegen configuration I must not auto-patch), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.Root cause (best analysis)
baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmdexits101instead of the expected100on theR2R windows arm64 checkedleg (runtime-coreclr r2r-extra, def 114,--method-layout:random). Test 2164 is a foreground-thread-during-shutdown regression: the process is expected to complete shutdown with a specific ordering/exit result. An off-by-one exit code (101= one assertion/return short of the expected100pass sentinel) under a randomized R2R method layout points to a shutdown-timing/ordering sensitivity that only surfaces with that codegen configuration, not a product bug in the test's own source. #131403 tracks the same test on the optionaljitstressregsleg. Because the trigger is a codegen-stress layout, no safe mechanical diff is producible.Evidence
Suggested reviewers / area contacts
area-System.Threading):@JulieLeeMSFT,@vsadovA fix would likely involve determining whether foreground-thread shutdown ordering is racy under randomized R2R method layout, or whether the test's shutdown synchronization needs hardening for that leg.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
JulieLeeMSFT commentedon Jul 30, 2026
Duplicate #131403.