Repository navigation
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm64area-System.Runtime.InteropServicesos-tvosApple tvOStest-failure
Description
Suggested labels: Known Build Error, test-failure, os-tvos, arch-arm64, untriaged
Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.
Build Information
Build: 20260401.5, 20260402.2
Build error leg or test failing: System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash, System.Security.Cryptography.Tests.WorkItemExecution
Affected CI jobs: build_tvos_arm64_Release_AllSubsets_CoreCLR
Causing Commit Range Information
Commit range: {TODO: Insert commit range or link to changes}
Summary
- TypeLoadException thrown: Could not load 'System.Runtime.InteropServices.Swift.SwiftSelf' from System.Private.CoreLib during IncrementalHash.Clone
- On tvos_arm64 (build_tvos_arm64_Release_AllSubsets_CoreCLR) running System.Security.Cryptography.Tests; test run fails with XHarness exit code 1 (TESTS_FAILED)
- Failure originates in native interop: Interop.AppleCrypto.DigestClone -> LiteHash.Clone -> AppleDigestProvider.Clone -> IncrementalHash.Clone
- Missing type reported from System.Private.CoreLib, Version=11.0.0.0 — suggests a runtime/assembly mismatch or absent Swift interop surface on this build
Failure Statistics
Note: These statistics are based on the configured time range and might not reflect the full history of the failure.
- Occurrence Count: 6
- First Failure: 2026-04-02 08:47:52 UTC
- Last Failure: 2026-04-03 15:06:06 UTC
Work Items
| Work Item | Console Log | Build | Job Name |
|---|---|---|---|
| System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash | View Extract[03:12:56.8352780] 2026-04-02 00:12:56.914 System.Security.Cryptography.Tests[801:323467] [PASS] System.Security.Cryptography.Tests.IncrementalHashTests.AppendDataAfterHashClose |
20260401.5 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
| System.Security.Cryptography.Tests Work Item | View Extract[03:22:53] dbug: [03:12:56.8352780] 2026-04-02 00:12:56.914 System.Security.Cryptography.Tests[801:323467] [PASS] System.Security.Cryptography.Tests.IncrementalHashTests.AppendDataAfterHashClose |
20260401.5 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
| System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash | View Extract[07:09:53.9678780] Test collection for System.Security.Cryptography.Tests.IncrementalHashTests |
20260402.2 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
| System.Security.Cryptography.Tests Work Item | View Extract[07:19:54] dbug: [07:09:54.0036210] 2026-04-03 04:09:54.038 System.Security.Cryptography.Tests[1122:562451] [FAIL] System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash(referenceAlgorithm: Implementation { CanReuseTransform = True, CanTransformMultipleBlocks = True, Hash = null, HashSize = 128, InputBlockSize = 1, ··· }, hashAlgorithmName: MD5) |
20260402.2 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
| System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash | View Extract[01:05:06] dbug: [00:56:18.5499990] 2026-04-02 21:56:18.693 System.Security.Cryptography.Tests[3982:2757948] [FAIL] System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash(referenceAlgorithm: ..., hashAlgorithmName: MD5) |
20260402.2 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
| System.Security.Cryptography.Tests Work Item | View Extract[00:56:18.5266610] 2026-04-02 21:56:18.669 System.Security.Cryptography.Tests[3982:2757948] [PASS] System.Security.Cryptography.X509Certificates.Tests.RevocationTests.AiaTests.EmptyAiaResponseIsIgnored |
20260402.2 | build_tvos_arm64_Release_AllSubsets_CoreCLR |
Error Message
{
"ErrorMessage": "System.TypeLoadException : Could not load type \u0027System.Runtime.InteropServices.Swift.SwiftSelf\u0027 from assembly \u0027System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e\u0027.",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 1369438 | dotnet/runtime | System.Security.Cryptography.Tests.IncrementalHashTests.Verify_Clone_Hash |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 1 | 1 |
Reacted by Copilot
Metadata
Metadata
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm64area-System.Runtime.InteropServicesos-tvosApple tvOStest-failure
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Apr 5, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Apr 5, 2026
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Apr 6, 2026
"Could not load 'System.Runtime.InteropServices.Swift.SwiftSelf' from System.Private.CoreLib" suggests a problem with interop
dotnet-policy-service commentedon Apr 6, 2026
Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.
vitek-karas commentedon Apr 8, 2026
I dug through the preserved Helix data for this one and here is the current picture.
Platform impact / where it fails vs passes
tvos-arm64 Release AllSubsets_CoreCLRtvossimulator-arm64 Release AllSubsets_CoreCLRiossimulator-arm64 Release AllSubsets_CoreCLRtvos-arm64 Release AllSubsets_MonoThe failing path is consistently:
with:
So this looks much more like a runtime/CoreCLR Apple interop regression than a test bug.
Timeframe / first known occurrence
20260401.5, but the same signature is already present in preserved data for20260327.5/ build1356164.a416018d3be3ef4d1ce5465d4f218eb561e0a67c.20260326.2/1354325does not show this tvOS CoreCLRSystem.Security.Cryptography.Testsfailure.That gives a practical regression window of:
67495bce3f413302a4f47820c03d81b67897da7ca416018d3be3ef4d1ce5465d4f218eb561e0a67cMost likely culprit
The strongest suspect in that window is:
c401a8e27545d5794f5ecf207320f5f5af970bcb/ [browser][coreCLR] no COM, no swift #125083 —[browser][coreCLR] no COM, no swiftReason: it touched CoreCLR's Swift type registration in
src/coreclr/vm/corelib.h, specifically wrapping theSwiftSelf/SwiftError/SwiftIndirectResultclass definitions in#ifdef TARGET_APPLE, which lines up unusually well with the exact runtime failure here (Could not load ... Swift.SwiftSelf).One caveat:
4c9414212e522a5e167068f55ab978a7049fb6f6/ #125950 (Revert "Disable iOS and tvOS jobs until infra issue is fixed") also landed in the same window and likely re-exposed the problem in CI by turning the Apple jobs back on. My current read is:Add TARGET_APPLE to System.Private.CoreLib DefineConstants for Apple …
Add TARGET_APPLE to System.Private.CoreLib DefineConstants for Apple …