Skip to content

[wasm][mt] fail: System.TypeLoadException: Could not load type of field" #102615

Open

Description

@lewing

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=685548
Build error leg or test failing: WasmTestOnFirefox-MT-Microsoft.Extensions.FileSystemGlobbing.Tests.WorkItemExecution
Pull request: #102489

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["WasmTestRunner","fail","Could not load type of field"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

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

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 10/1/2024 9:46:37 AM UTC

Activity

  1. added
    arch-wasm
    blocking-clean-ci
    Known Build Error
    on May 23, 2024
  2. dotnet-policy-service commented on May 23, 2024

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing
    See info in area-owners.md if you want to be subscribed.

  3. added
    untriaged
    on May 23, 2024
  4. removed
    untriaged
    on May 23, 2024
  5. added this to the 9.0.0 milestone on May 23, 2024
  6. ericstj commented on May 23, 2024

    @ericstj
    Member

    @lewing the ordering in your ErrorMessage array matters. In the log geckodriver INFO occurs before fail: System.TypeLoadException so the order in the query needs to swap. I fixed it.

  7. changed the title [-]Firefox MT typeload exceptions[/-] [+][wasm][mt] fail: System.TypeLoadException: Could not load type of field"[/+] on May 28, 2024
  8. lewing commented on May 28, 2024

    @lewing
    MemberAuthor

    similar to #102762

  9. removed
    blocking-clean-ci
    on Aug 14, 2024
  10. modified the milestones: 9.0.0, 10.0.0 on Aug 14, 2024
  11. lewing commented on Aug 14, 2024

    @lewing
    MemberAuthor

    This hasn't been hit in a couple of weeks, keeping open for now but moving to 10

  12. pavelsavara commented on Sep 24, 2024

    @pavelsavara
    Member

    Log

    System.TypeLoadException: Could not load type of field 'Mono.Options.OptionSet:ValueOption' (3) due to: 
    Could not resolve type with token 0100002f from typeref 
    (expected class 'System.Text.RegularExpressions.Regex' in assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51') assembly:netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:System.Text.RegularExpressions.Regex member:(null)
    

    Do we need memory barrier after we load the assembly from fetch ?

  13. self-assigned this
    on Nov 25, 2024
  14. added
    os-browser
    on Nov 25, 2024
  15. added
    in-pr
    on Nov 25, 2024
  16. added
    disabled-test
    and removed
    in-pr
    on Nov 27, 2024
  17. pavelsavara commented on Dec 9, 2024

    @pavelsavara
    Member

    I thought lot of those issues are only visible on FF, but here we have Chrome specimen.

    Log

    [09:18:53] fail: [0x000ebcc8--UI- 09:18:53.626] MONO_WASM: Could not set up parent class, due to: Could not load type of field 'Xunit.Xunit2Discoverer:<TestFrameworkAssemblyName>k__BackingField' (7) due to: Could not load file or assembly 'System.Reflection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. assembly:xunit.runner.utility.netcoreapp10.dll type:Xunit2Discoverer member:(null)
                        at Xunit.XunitFrontController.EnsureInitialized()
                        at Xunit.XunitFrontController.get_InnerController()
                        at Xunit.XunitFrontController.Find(Boolean includeSourceInformation, IMessageSink messageSink, ITestFrameworkDiscoveryOptions discoveryOptions)
                        at Microsoft.DotNet.XHarness.TestRunners.Xunit.XUnitTestRunner.Run(Assembly assembly, String assemblyPath)
    

    That means it's our problem, not FF

  18. modified the milestones: 10.0.0, Future on Feb 19, 2025
  19. removed
    Known Build Error
    on Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-VM-threading-monodisabled-testos-browser

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions