-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[ci-scan] Test failure: Loader/classloader/regressions/InvalidFriendAssemblyName under R2R/crossgen2 #130569
Copy link
Copy link
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutagentic-workflowsarea-ReadyToRunblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsblocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabPriority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutagentic-workflowsarea-ReadyToRunblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'blocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsblocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runsBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
The threat detection results could not be parsed.
Review the workflow run logs for details.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1504535
Build error leg or test failing: coreclr Pri1 Runtime Tests Run R2R_CG2 (linux x64 / linux arm64 / linux_musl x64 / windows x64 / x86 / arm64) checked - Loader/classloader/regressions/InvalidFriendAssemblyName
The
InvalidFriendAssemblyNameloader regression test fails in the R2R / crossgen2 legs ofruntime-coreclr outerloop(definition 108). The test expects aSystem.IO.FileLoadExceptionto be thrown when an assembly declares an invalid friend reference, but under R2R/crossgen2 no exception is thrown, soAssert.Throws<FileLoadException>fails.This began reproducing after PR #127180 ("Preserve invalid friend assembly error", merged 2026-07-10T21:13Z) changed the invalid-friend-assembly error behavior. Both the source build (finished 2026-07-11T14:31Z) and the follow-up build 1504742 (finished 2026-07-11T21:43Z) failed with this signature across multiple queues, so the failure reproduces well after that merge. Related: #127180.
Error Details
Error Message
{ "ErrorMessage": [ "Assert.Throws() Failure: No exception was thrown", "Expected: typeof(System.IO.FileLoadException)", "at InvalidFriendAssemblyName.TestEntryPoint()" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Filed by
ci-failure-scan(detection only).ci-failure-fixwalks open[ci-scan]KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.Note
This issue was generated by an AI/Copilot CI triage workflow.
Report
Summary