Repository navigation
[ci-scan] Test failure: baseservices/threading/regressions/2164/foreground-shutdown fails Expected 100 Actual 101 on R2R #131418
Description
Activity
- addedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tab
on Jul 27, 2026 - addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 27, 2026 dotnet-policy-service commented
on Jul 29, 2026 ContributorMore actionsTagging subscribers to this area: @JulieLeeMSFT, @VSadov
See info in area-owners.md if you want to be subscribed.github-actions commented
on Jul 30, 2026 on Jul 30, 2026 – with GitHub ActionsContributorAuthorMore actionsWorkflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #131418Note
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
- Failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1526910
- Also reproduces in follow-up build 1527456
- Possible related PR: none identified with sufficient confidence; related tracker Test failure: baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd #131403
Suggested reviewers / area contacts
- 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.allowedlist in your workflow frontmatter:network: allowed: - defaults - "awmgmcpg"
See Network Configuration for more information.
Generated by CI Outer-Loop Failure Fixer · 287.5 AIC · ⌖ 18.4 AIC · ⊞ 17.4K · ◷
Duplicate #131403.
- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 30, 2026 - locked and limited conversation to collaborators
on Aug 30, 2026
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1526910
Pipeline: runtime-coreclr r2r-extra (definition 114), branch
mainFailing leg:
R2R windows arm64 checked(--method-layout:randomR2R composite)Failing test:
baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmdError Message
Under the R2R windows-arm64 outer-loop leg the test exits with
101instead of the expected100:{ "ErrorMessage": "Failed test: baseservices/threading/regressions/2164/foreground-shutdown/foreground-shutdown.cmd", "BuildRetry": false, "ExcludeConsoleLog": false }Occurrences
Stable across the scanned window: source build 1526910 and follow-up build 1527456 both reproduce this signature on the R2R
windows arm64 checkedleg.Related: #131403 (area-System.Threading tracker for the same test, currently observed only on the optional
jitstressregsleg and not labeledKnown Build Error, so it does not dedupe required-gate PR CI). This KBE covers the required-gater2r-extraoccurrence.Filed by the
ci-failure-scanworkflow (detection only). Mitigation — small fix PRs and owner hand-off — is handled by the companionci-failure-fixworkflow 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:
awmgmcpgSee Network Configuration for more information.
Report
Summary