[ci-scan] Test failure: EventPipe stop_session asserts ep_rt_providers_validate_all_disabled on macOS arm64

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, macos

調査の方向性

Start with the failing test output and the assertion at src/native/eventpipe/ep.c:895 in stop_session, then inspect the EventPipe session shutdown path and the two linked build logs for macOS arm64. Determine why providers remain enabled when the session stops and reproduce the failure; done means the test completes successfully on the affected leg without weakening or disabling it.

索引モデルが issue の本文から書いたものです。

説明

agentic-workflows area-Diagnostics-coreclr blocking-clean-ci Known Build Error untriaged

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1663860
Build error leg or test failing: osx-arm64 Release NoDynamicCodeCompiled-System.Diagnostics.Tracing.Tests
Pipeline: runtime-libraries-interpreter, definition 330, main.
Queue: osx.26.arm64.open.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1663860 (finished 2026-11-04; first verified occurrence in the sampled window).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1667701 (finished 2026-11-06), same assertion in the NoDynamicCodeCompiled leg.

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

System.Diagnostics.Tracing.Tests aborts after discovery with an EventPipe assertion in stop_session. The source discovers 32 of 37 test cases, then exits with code 133 without completing the run.

The assertion was verified in two distinct builds, source 1663860 and follow-up 1667701. Ten prior build inventories were inspected. Available earlier NoDynamicCodeCompiled tracing consoles complete without this assertion, including build 1659923 (finished 2026-11-02). Some older console blobs are unavailable; no passing result is inferred from an unavailable blob.

The complete assertion output below omits the per-user checkout prefix and process identifier:

ASSERT FAILED
    Expression: ep_rt_providers_validate_all_disabled ()
    Location:   src/native/eventpipe/ep.c:895
    Function:   stop_session
Trace/BPT trap: 5
exit code 133

The inspected open EventPipe filter-recomputation PR describes keyword/level narrowing while other sessions remain active, not this all-providers-disabled assertion. No underlying fix is established here.

Error Message

{
  "ErrorMessage": [
    "Expression: ep_rt_providers_validate_all_disabled ()",
    "Function:   stop_session"
  ],
  "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. Passing/skipped negative checks are empty. The native assertion itself is present in the raw Helix 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
Build Repository Test Pull Request
3133117 dotnet-runtime System.Diagnostics.Tracing.Tests.WorkItemExecution
1672437 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 2 2
主要言語
C#
スター
18.4k
フォーク
5.8k
平均マージ
2日 19時間
マージ済み PR(30日)
590

環境構築

Codespaces で開く

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

はじめの一歩

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

dotnet/runtime のほかの issue

dotnet/runtime の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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