Skip to content

[ci-scan] Test failure: TpaLoadFailureTest on iossimulator-arm64 #84

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1434964
Build error leg or test failing: iossimulator-arm64 Release AllSubsets_CoreCLR - System.Runtime.Loader.Tests

Error Details

TpaLoadFailureTest.NotFound_ExceptionContainsAssemblyPath and TpaLoadFailureTest.Corrupt_ExceptionContainsPathAndHResult fail on iossimulator-arm64 CoreCLR because Assert.Throws<FileNotFoundException>() does not observe an exception being thrown. On this platform, loading a non-existent or corrupt assembly apparently succeeds (or throws a different exception) rather than throwing FileNotFoundException.

[FAIL] System.Runtime.Loader.Tests.TpaLoadFailureTest.NotFound_ExceptionContainsAssemblyPath
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.IO.FileNotFoundException)
   at System.Runtime.Loader.Tests.TpaLoadFailureTest.NotFound_ExceptionContainsAssemblyPath()

[FAIL] System.Runtime.Loader.Tests.TpaLoadFailureTest.Corrupt_ExceptionContainsPathAndHResult
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.IO.FileNotFoundException)
   at System.Runtime.Loader.Tests.TpaLoadFailureTest.Corrupt_ExceptionContainsPathAndHResult()

Affected legs:

  • runtime-extra-platforms (def 154): iossimulator-arm64 Release AllSubsets_CoreCLR

First build it occurred: 1433744 (2026-05-25). 2 occurrences in scanned window (builds 1433744, 1434964).

Error Message

{
  "ErrorMessage": ["TpaLoadFailureTest", "Assert.Throws() Failure: No exception was thrown"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Generated by CI Outer-Loop Failure Scanner · ● 34.1M ·

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions