[ci-scan] Test failure: ARM64 LSRA rejects a conditional jump at block end under JitStress

Đang mở
#137,995 2 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/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
Lĩnh vực
performance, testing

Hướng nghiên cứu

Start with the assertion in src/coreclr/jit/lsra.cpp:8555 and inspect the LSRA allocation logic around the conditional-jump block-end check. Reproduce with the reported ARM64 JitStress settings and the representative Helix console to trace the failing compilation. Done means the affected ARM64 tests compile without the assertion under JitStress 1 and 2 on Windows and Linux.

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

Mô tả

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

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1691611
Build error leg or test failing: windows-arm64 Release / linux-arm64 Release libraries-jitstress-System.Security.Cryptography.Pkcs.Tests and System.IO.Ports.Tests
Pipeline: runtime-coreclr libraries-jitstress, definition 138, main.
Queues: windows.11.arm64.open and azurelinux.3.arm64.open. DOTNET_JitStress=1 or 2; DOTNET_TieredCompilation=0.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1691611 (finished 2026-11-20T08:42:20Z; first verified occurrence in the sampled window, not a proven introducing commit).

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 checked ARM64 JIT asserts during LSRA allocation while compiling Rfc3161TimestampRequest.ProcessResponse, and the same assertion occurs in SerialStream's constructor. This is one JIT assertion shape, not independent cryptography and serial-port failures. Four Pkcs work items and one Ports work item contain it across Windows/Linux and JitStress 1/2.

One distinct build is verified. The ten preceding completed builds were examined: two succeeded, and all 24 failed-work-item consoles identified by the other eight builds' monitors were downloaded and checked without finding this assertion. The immediately preceding build is 1689546 (finished 2026-11-19T08:53:41Z). Multiple work items in this source build are not counted as independent build occurrences. Definition 138 qualifies for the scanner's JIT first-occurrence rule; no later completed build is available for a follow-up presence check.

Representative source console: https://helix.dot.net/api/jobs/646246b4-a1ba-418a-8a2e-ce734fb6bcf2/workitems/System.Security.Cryptography.Pkcs.Tests/console

Run-specific process identifiers and checkout paths are omitted:

Assertion failed '(lastNode == nullptr) || (!lastNode->OperIsConditionalJump() && !lastNode->OperIs(GT_SWITCH_TABLE, GT_SWITCH, GT_RETURN, GT_RETFILT, GT_SWIFT_ERROR_RET))' in 'System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest:ProcessResponse(System.ReadOnlyMemory`1[byte],byref,byref,byref,bool):bool:this' during 'LSRA allocate' (IL size 296; hash 0xa09d62c8; FullOpts)
    File: src/coreclr/jit/lsra.cpp:8555

Assertion failed '(lastNode == nullptr) || (!lastNode->OperIsConditionalJump() && !lastNode->OperIs(GT_SWITCH_TABLE, GT_SWITCH, GT_RETURN, GT_RETFILT, GT_SWIFT_ERROR_RET))' in 'System.IO.Ports.SerialStream:.ctor(System.String,int,int,int,int,int,int,int,bool,bool,bool,byte):this' during 'LSRA allocate' (IL size 390; hash 0x45f8efb8; FullOpts)

Error Message

{
  "ErrorMessage": "Assertion failed '(lastNode == nullptr) || (!lastNode->OperIsConditionalJump() && !lastNode->OperIs(GT_SWITCH_TABLE, GT_SWITCH, GT_RETURN, GT_RETFILT, GT_SWIFT_ERROR_RET))'",
  "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

The literal matches once in the saved canonical Pkcs console and also appears in each of the other four source consoles. Passing/skipped negative output is empty. The native assertion is present in the available Helix console itself, not inferred from a dump or absent xunit attachment.


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 · ~367 AIC · ⌖ ~13 AIC · ⊞ 33.5K · ◷

Report
Build Repository Test Pull Request
1694552 dotnet/runtime System.Security.Cryptography.Pkcs.Tests.WorkItemExecution
1693895 dotnet/runtime System.Security.Cryptography.Pkcs.Tests.WorkItemExecution
1693500 dotnet/runtime System.Security.Cryptography.Pkcs.Tests.WorkItemExecution
1693446 dotnet/runtime System.Security.Cryptography.Pkcs.Tests.WorkItemExecution
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 4
Ngôn ngữ chính
C#
Star
18.5k
Fork
5.8k
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
588

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.