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

Ouverte
#137,995 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
csharp
Domaine
performance, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
C#
Étoiles
18.5k
Forks
5.8k
Merge moyen
2 j 18 h
PR mergées (30 j)
588

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de dotnet/runtime

Toutes les issues de dotnet/runtime

Issues similaires

Plus d'issues C#

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.