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

オープン
#137,172 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
585

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/runtime のほかの issue

dotnet/runtime の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。