[ci-scan] Hang: Microsoft.Extensions.Hosting.Unit.Tests times out on MacCatalyst after 4500 seconds

未关闭
#137,172 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp, github-actions
领域
ci-cd, testing

调研方向

Start with the MacCatalyst arm64 Release logs for builds 1668850 and 1669782 and the Microsoft.Extensions.Hosting.Unit.Tests test application. Compare the CoreCLR and NativeAOT runs with the earlier affected build inventories to locate where execution stops after the harness reports that tests started. Done means identifying the cause of the repeated 4500-second hang and confirming a fix; this issue proposes no mitigation.

由索引模型根据 Issue 内容生成。

描述

agentic-workflows area-Extensions-Hosting blocking-clean-ci Known Build Error untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1668850
Build error leg or test failing: maccatalyst-arm64 Release AllSubsets_CoreCLR-Microsoft.Extensions.Hosting.Unit.Tests
Also affected: maccatalyst-arm64 Release AllSubsets_NativeAOT, queue osx.26.arm64.open.
Pipeline: runtime-extra-platforms, definition 154, main.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1653767 (finished 2026-10-29; earliest verified occurrence in the sampled window, not a proven introducing build).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1669782 (finished 2026-11-08), same application-specific 4500-second timeout.

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

The hosting test application times out after 75 minutes on MacCatalyst arm64 on both CoreCLR and NativeAOT. The harness reports that test execution started, but no managed test-specific failure establishes the cause of the hang.

Ten prior completed build inventories were inspected. The same timeout was verified in seven prior builds (1653767, 1655451, 1657310, 1658360, 1659071, 1661087, 1663137), plus source 1668850 and follow-up 1669782: nine distinct builds. The inspected hosting consoles in 1665174 and 1667020 have different failure output and are not counted as this timeout. Multiple work items in one build count once.

Run-specific command paths and timestamps are omitted from this excerpt:

--app Microsoft.Extensions.Hosting.Unit.Tests.app --target maccatalyst
dbug: Test execution started
fail: Run timed out after 4500 seconds
dbug: Test run timed out after 75 minute(s).
warn: Application test run timed out. Use --timeout to adjust the configured timeout.

The matcher names the hosting application explicitly; the configuration-application KBE does not cover this assembly. No mitigation is proposed by this detection-only issue.

Error Message

{
  "ErrorMessage": [
    "--app Microsoft.Extensions.Hosting.Unit.Tests.app --target maccatalyst",
    "Run timed out after 4500 seconds"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

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

Both literal elements match once, in order, in the saved source console and the follow-up console. No element matches passing or skipped output. The complete source inventory was grouped before selecting the representative hosting console.


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.

[!NOTE]
Generated by GitHub Copilot.

Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~285 AIC · ⌖ ~15 AIC · ⊞ 33.3K · ◷

Report
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
主要语言
C#
星标
18.4k
派生
5.8k
平均合并
2 天 14 小时
30 天内合并 PR
585

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/runtime 的其他 Issue

查看 dotnet/runtime 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。