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

Đang mở
#137,171 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, macos
Lĩnh vực
operating-systems, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
C#
Star
18.4k
Fork
5.8k
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
590

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dotnet/runtime

Tất cả issue của dotnet/runtime

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.