dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.6k stars 4.56k forks source link

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

Open lewing opened 1 month ago

lewing commented 1 month ago

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: https://github.com/dotnet/runtime/pull/102489

Error Message

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

{
  "ErrorMessage": "fail: System.TypeLoadException: Could not load type of field",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
738834 dotnet/runtime WasmTestOnFirefox-MT-System.Security.Cryptography.ProtectedData.Tests.WorkItemExecution dotnet/runtime#104608
738681 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.Runtime.Tests.WorkItemExecution dotnet/runtime#104437
737108 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.AsyncInterfaces.Tests.WorkItemExecution dotnet/runtime#104696
735149 dotnet/runtime WasmTestOnFirefox-MT-System.Globalization.Calendars.Tests.WorkItemExecution dotnet/runtime#104611
733707 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.Unsafe.Tests.WorkItemExecution dotnet/runtime#103837
733547 dotnet/runtime WasmTestOnFirefox-MT-System.Collections.Specialized.Tests.WorkItemExecution
728826 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Memory.Tests.WorkItemExecution dotnet/runtime#104309
728979 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.Unsafe.Tests.WorkItemExecution dotnet/runtime#104111
727444 dotnet/runtime WasmTestOnFirefox-MT-Invariant.Tests.WorkItemExecution dotnet/runtime#104297
725595 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Numerics.Tests.WorkItemExecution dotnet/runtime#104217
726826 dotnet/runtime WasmTestOnFirefox-MT-System.Data.DataSetExtensions.Tests.WorkItemExecution dotnet/runtime#104060
724459 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Uri.Unit.Tests.WorkItemExecution dotnet/runtime#103915
724468 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Numerics.Tests.WorkItemExecution dotnet/runtime#104176
724194 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Numerics.Tests.WorkItemExecution dotnet/runtime#103752
723835 dotnet/runtime WasmTestOnFirefox-MT-System.Formats.Asn1.Tests.WorkItemExecution dotnet/runtime#104141
719238 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.InvokeInterpreted.Tests.WorkItemExecution dotnet/runtime#102403
717150 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Uri.ExtendedFunctional.Tests.WorkItemExecution dotnet/runtime#103837
712828 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.TypedParts.Tests.WorkItemExecution dotnet/runtime#103574
712064 dotnet/runtime WasmTestOnFirefox-MT-System.Memory.Data.Tests.WorkItemExecution dotnet/runtime#102670

Summary

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

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=685548 Error message validated: [fail: System.TypeLoadException: Could not load type of field] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 5/28/2024 2:31:27 PM UTC

dotnet-policy-service[bot] commented 1 month ago

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

ericstj commented 1 month ago

@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.

lewing commented 1 month ago

similar to https://github.com/dotnet/runtime/issues/102762