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

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

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.

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

説明

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
主要言語
C#
スター
18.5k
フォーク
5.8k
平均マージ
2日 18時間
マージ済み PR(30日)
588

環境構築

Codespaces で開く

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

はじめの一歩

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

dotnet/runtime のほかの issue

dotnet/runtime の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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