[ci-scan] Test failure: ARM64 LSRA rejects a conditional jump at block end under JitStress
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp
- Domain
- performance, testing
Research direction
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.
Written by the indexing model from the issue text.
Description
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 Detailsis 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. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables 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 |
- Dominant language
- C#
- Stars
- 18.5k
- Forks
- 5.8k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 588
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
area-CodeGen-coreclr untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dotnet/runtime#138181 · 1 comment ·
Maintainers usually reply within 1 day
-
area-System.Collections untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
dotnet/runtime#138090 · 1 comment ·
Maintainers usually reply within 1 day
-
area-System.Text.Json untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dotnet/runtime#138089 · 1 comment ·
Maintainers usually reply within 1 day
-
area-Setup untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
dotnet/runtime#137376 · 1 comment ·
Maintainers usually reply within 1 day
-
area-System.Memory untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/runtime#137334 · 4 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Add `net10.0`Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
dotnet-outdated/dotnet-outdated#871 ·
Maintainers usually reply within 1 day
-
triage/untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
unoplatform/uno#26676 ·
Maintainers usually reply within 1 day
-
.NET bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jhaizhou-ops/S2Arm#2177 · 3 comments ·
Maintainers usually reply within 1 day