Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lewing opened this issue May 23, 2024 · 5 comments
Open

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

lewing opened this issue May 23, 2024 · 5 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@lewing
Copy link
Member

lewing commented May 23, 2024

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

Build Definition Test Pull Request
881162 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #110229
880906 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Intrinsics.Tests.WorkItemExecution #110117
880651 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.Extensions.Tests.WorkItemExecution
879438 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Reader.Tests.WorkItemExecution #109584
880336 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.InteropServices.RuntimeInformation.Tests.WorkItemExecution #110196
880415 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution #110186
880450 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #110208
880112 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Properties.Tests.WorkItemExecution
878663 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Hashing.Tests.WorkItemExecution #110156
879885 dotnet/runtime WasmTestOnChrome-MT-System.Collections.NonGeneric.Tests.WorkItemExecution #108731
879888 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Tests.WorkItemExecution #108886
879584 dotnet/runtime WasmTestOnFirefox-MT-Common.Tests.WorkItemExecution #110117
879353 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution
875301 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Uri.ExtendedFunctional.Tests.WorkItemExecution #109861
878834 dotnet/runtime WasmTestOnFirefox-MT-System.Data.DataSetExtensions.Tests.WorkItemExecution #109996
878201 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Properties.Tests.WorkItemExecution #109584
871580 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeReader.Tests.WorkItemExecution #109895
878139 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.SDMSample.Tests.WorkItemExecution
877992 dotnet/runtime WasmTestOnFirefox-MT-System.Linq.Queryable.Tests.WorkItemExecution
877880 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Dataflow.Tests.WorkItemExecution #110119
877855 dotnet/runtime WasmTestOnFirefox-MT-System.Text.RegularExpressions.Unit.Tests.WorkItemExecution #110117
877772 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Streaming.Tests.WorkItemExecution
877746 dotnet/runtime WasmTestOnFirefox-MT-System.Security.Claims.Tests.WorkItemExecution #109996
877722 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Misc.Tests.WorkItemExecution #109363
877701 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #110079
877691 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Schema.Tests.WorkItemExecution
877652 dotnet/runtime WasmTestOnFirefox-MT-System.Web.HttpUtility.Tests.WorkItemExecution #110105
877432 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Schema.Extensions.Tests.WorkItemExecution
877406 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.ReflectionInvokeEmit.Tests.WorkItemExecution #109996
877182 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.InteropServices.RuntimeInformation.Tests.WorkItemExecution #109996
877066 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Hashing.Tests.WorkItemExecution
877039 dotnet/runtime WasmTestOnFirefox-MT-System.IO.MemoryMappedFiles.Tests.WorkItemExecution #109996
876750 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeReader.Tests.WorkItemExecution #109363
876481 dotnet/runtime WasmTestOnFirefox-MT-System.Collections.Immutable.Tests.WorkItemExecution #110078
875889 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.Extensions.Tests.WorkItemExecution #109477
875425 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Events.Tests.WorkItemExecution #109537
875892 dotnet/runtime WasmTestOnFirefox-MT-System.Diagnostics.TextWriterTraceListener.Tests.WorkItemExecution #109221
875656 dotnet/runtime WasmTestOnFirefox-MT-System.Web.HttpUtility.Tests.WorkItemExecution #109638
875701 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.InvokeEmit.Tests.WorkItemExecution #109540
875455 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution
875307 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Overlapped.Tests.WorkItemExecution #109537
873985 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Timer.Tests.WorkItemExecution #109994
873528 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Numerics.Tests.WorkItemExecution #109137
874703 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.TreeManipulation.Tests.WorkItemExecution #110010
874640 dotnet/runtime WasmTestOnFirefox-MT-System.Web.HttpUtility.Tests.WorkItemExecution #109540
874592 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.Runtime.Tests.WorkItemExecution #109638
874394 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Xml.ReflectionOnly.Tests.WorkItemExecution
874232 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Xml.ReflectionOnly.Tests.WorkItemExecution #109996
874331 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Tests.WorkItemExecution #109972
874192 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.Unsafe.Tests.WorkItemExecution #109861
873817 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeBuilder.Tests.WorkItemExecution #109232
873781 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.DefaultContext.Tests.WorkItemExecution
873707 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Primitives.Functional.Tests.WorkItemExecution #109972
871972 dotnet/runtime WasmTestOnChrome-MT-Microsoft.Extensions.Configuration.Binder.Tests.WorkItemExecution #108178
873080 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.DefaultContext.Tests.WorkItemExecution #109928
873041 dotnet/runtime WasmTestOnFirefox-MT-System.Security.Claims.Tests.WorkItemExecution #109232
872665 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeBuilder.Tests.WorkItemExecution #109232
872372 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Events.Tests.WorkItemExecution #109928
872078 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.InteropServices.Tests.WorkItemExecution #109540
872164 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Axes.Tests.WorkItemExecution #109866
871946 dotnet/runtime WasmTestOnFirefox-MT-System.ComponentModel.Primitives.Tests.WorkItemExecution #109638
871735 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109891
871688 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109673
871623 dotnet/runtime WasmTestOnFirefox-MT-System.ComponentModel.TypeConverter.Tests.WorkItemExecution
870865 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeReader.Tests.WorkItemExecution #109638
869781 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109814
869615 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Channels.Tests.WorkItemExecution
869464 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Reader.Tests.WorkItemExecution #109638
869434 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109766
869235 dotnet/runtime WasmTestOnChrome-MT-System.Net.Mail.Unit.Tests.WorkItemExecution #109801
869149 dotnet/runtime WasmTestOnFirefox-MT-System.Security.SecureString.Tests.WorkItemExecution #109363
868930 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Extensions.Tests.WorkItemExecution #109137
868738 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109776
868709 dotnet/runtime WasmTestOnFirefox-MT-System.ComponentModel.Annotations.Tests.WorkItemExecution #109772
868643 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Http.Functional.Tests.WorkItemExecution #109769
868566 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.TypeExtensions.Tests.WorkItemExecution #109638
866912 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Intrinsics.Tests.WorkItemExecution #109707
866509 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Dataflow.Tests.WorkItemExecution #109540
865840 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Thread.Tests.WorkItemExecution #109678
866096 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Http.Json.Unit.Tests.WorkItemExecution #109137
865989 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Schema.Tests.WorkItemExecution #109638
865986 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Http.Functional.Tests.WorkItemExecution #109684
865898 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Schema.Extensions.Tests.WorkItemExecution
865724 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
865058 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Http.Functional.Tests.WorkItemExecution #109651
864790 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution #109634
864427 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.ThreadPool.Tests.WorkItemExecution
863922 dotnet/runtime WasmTestOnFirefox-MT-System.Memory.Data.Tests.WorkItemExecution
863764 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.RateLimiting.Tests.WorkItemExecution #109584
863562 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.CodePages.Tests.WorkItemExecution #109540
862974 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Schema.Extensions.Tests.WorkItemExecution
862813 dotnet/runtime WasmTestOnFirefox-MT-System.Text.RegularExpressions.Unit.Tests.WorkItemExecution #109584
862715 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.Unsafe.Tests.WorkItemExecution #109544
862338 dotnet/runtime WasmTestOnFirefox-MT-System.Security.SecureString.Tests.WorkItemExecution
861682 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #108806
861209 dotnet/runtime WasmTestOnFirefox-MT-System.Composition.Convention.Tests.WorkItemExecution #109477
861198 dotnet/runtime WasmTestOnFirefox-MT-System.Console.Tests.WorkItemExecution #109540
860443 dotnet/runtime WasmTestOnFirefox-MT-System.Private.Xml.Tests.WorkItemExecution
860035 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109507
859673 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.FileProviders.Physical.Tests.WorkItemExecution
Displaying 100 of 125 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 42 125

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

@lewing lewing added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab labels May 23, 2024
Copy link
Contributor

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

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label May 23, 2024
@lewing lewing removed the untriaged New issue has not been triaged by the area owner label May 23, 2024
@lewing lewing added this to the 9.0.0 milestone May 23, 2024
@ericstj
Copy link
Member

ericstj commented May 23, 2024

@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 lewing changed the title Firefox MT typeload exceptions [wasm][mt] fail: System.TypeLoadException: Could not load type of field" May 28, 2024
@lewing
Copy link
Member Author

lewing commented May 28, 2024

similar to #102762

@lewing lewing removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Aug 14, 2024
@lewing lewing modified the milestones: 9.0.0, 10.0.0 Aug 14, 2024
@lewing
Copy link
Member Author

lewing commented Aug 14, 2024

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

@pavelsavara
Copy link
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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants