Skip to content

[ci-scan] Test failure: System.Runtime.Tests TypeLoadException for StructWithMutualGenericFieldA #135348

Description

@rzikm

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626454
Build error leg or test failing: WasmTestOnWasmtime-CLR-ST-System.Runtime.Tests
Pull request: #134418

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

Unhandled exception. System.TypeLoadException: Could not load type 'System.Tests.ValueTypeTests+StructWithMutualGenericFieldA' from assembly 'System.Runtime.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
   at System.Reflection.RuntimeAssembly.GetExportedTypes(QCallAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at System.Reflection.Assembly.get_ExportedTypes()
   at Xunit.Sdk.ReflectionAssemblyInfo.GetTypes(Boolean includePrivateTypes) in /_/src/xunit.execution/Sdk/Reflection/ReflectionAssemblyInfo.cs:line 80
   at Xunit.Sdk.TestCollectionFactoryHelper.GetTestCollectionDefinitions(IAssemblyInfo assemblyInfo, IMessageSink diagnosticMessageSink) in /_/src/xunit.execution/Sdk/Frameworks/TestCollectionFactoryHelper.cs:line 22

The same assembly-load failure was observed before test enumeration on WASI, Firefox, Android, and iOS work items in this build. The failing test types were introduced by #135029 (ea01cd94f644df0c4247f3a1bd995d4edbaf9245), which merged before this source build started. The affected PR changes only System.Net.Quic tests and is unrelated to System.Runtime.Tests.

Error Message

{
  "ErrorMessage": "System.TypeLoadException: Could not load type 'System.Tests.ValueTypeTests+StructWithMutualGenericFieldA' from assembly 'System.Runtime.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log

Note

This issue was drafted and filed by GitHub Copilot during Agent Merge CI triage.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626454
Error message validated: [System.TypeLoadException: Could not load type 'System.Tests.ValueTypeTests+StructWithMutualGenericFieldA' from assembly 'System.Runtime.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/7/2026 5:15:12 PM UTC

Report

Build Repository Test Pull Request
1627637 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135356
1627097 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135372
1626941 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135302
1627027 dotnet/runtime System.Runtime.Tests.WorkItemExecution #132727
1627077 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135370
1627043 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135367
1627048 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135357
1627054 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135363
1626997 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135250
1626990 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135364
1626966 dotnet/runtime System.Runtime.Tests.WorkItemExecution #134359
1626845 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135361
1626853 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135362
1626932 dotnet/runtime System.Runtime.Tests.WorkItemExecution
1626838 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135326
1626584 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135341
1626856 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135257
1626835 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135361
1626825 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135209
1626830 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135360
1626821 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135359
1626743 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135355
1626776 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135356
1626740 dotnet/runtime System.Runtime.Tests.WorkItemExecution #134883
1626565 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Runtime.Tests.WorkItemExecution #135311
1626704 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135351
1626567 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Runtime.Tests.WorkItemExecution #135312
1626658 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135295
1626661 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135318
1626639 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135209
1626618 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135344
1626607 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Runtime.Tests.WorkItemExecution #135326
1626557 dotnet/runtime WasmTestOnWasmtime-CLR-ST-System.Runtime.Tests.WorkItemExecution #135297
1626526 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135342
1626440 dotnet/runtime System.Runtime.Tests.WorkItemExecution #132788
1626454 dotnet/runtime System.Runtime.Tests.WorkItemExecution #134418
1626222 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135321

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 37 37

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Oct 7, 2026
  2. dotnet-policy-service commented on Oct 7, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
    See info in area-owners.md if you want to be subscribed.

  3. MihuBot commented on Oct 7, 2026

    @MihuBot

    I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):

  4. added a commit that references this issue on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Codegen-AOT-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions