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
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab
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
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
859273 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeBuilder.Tests.WorkItemExecution
859264 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Parallel.Tests.WorkItemExecution #108469
859186 dotnet/runtime WasmTestOnFirefox-MT-System.Data.DataSetExtensions.Tests.WorkItemExecution #109363
858983 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.InteropServices.RuntimeInformation.Tests.WorkItemExecution #108469
858887 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Schema.Extensions.Tests.WorkItemExecution #108401
858785 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Tests.WorkItemExecution
858426 dotnet/runtime WasmTestOnChrome-MT-System.ObjectModel.Tests.WorkItemExecution #109447
858442 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Tests.WorkItemExecution #109261
858382 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Extensions.Tests.WorkItemExecution #109232
858306 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Json.ReflectionOnly.Tests.WorkItemExecution
858226 dotnet/runtime WasmTestOnChrome-MT-System.Console.Manual.Tests.WorkItemExecution #109413
857959 dotnet/runtime WasmTestOnFirefox-MT-System.Diagnostics.Tools.Tests.WorkItemExecution
857523 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Parallel.Tests.WorkItemExecution #109278
857625 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109415
857511 dotnet/runtime WasmTestOnFirefox-MT-System.Security.SecureString.Tests.WorkItemExecution #109413
857377 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Timer.Tests.WorkItemExecution #109079
857318 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Primitives.Pal.Tests.WorkItemExecution #109406
857281 dotnet/runtime WasmTestOnFirefox-MT-System.Security.SecureString.Tests.WorkItemExecution
857266 dotnet/runtime WasmTestOnChrome-MT-System.Resources.Writer.Tests.WorkItemExecution #104097
856912 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109349
856935 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.xNodeReader.Tests.WorkItemExecution
856869 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tests.WorkItemExecution #109381
856325 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Hosting.Systemd.Tests.WorkItemExecution
856118 dotnet/runtime WasmTestOnFirefox-MT-System.Security.Cryptography.ProtectedData.Tests.WorkItemExecution #109362
854889 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Emit.ILGeneration.Tests.WorkItemExecution
854549 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Serialization.Primitives.Tests.WorkItemExecution #109185
853212 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.ReflectionInvokeEmit.Tests.WorkItemExecution #109221
853077 dotnet/runtime WasmTestOnFirefox-MT-System.Xml.Linq.Axes.Tests.WorkItemExecution #109079
852881 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Configuration.Functional.Tests.WorkItemExecution #108999
850951 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Writer.Tests.WorkItemExecution #108512
850566 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.FileSystemGlobbing.Tests.WorkItemExecution #108636
848876 dotnet/runtime WasmTestOnFirefox-MT-System.Diagnostics.TraceSource.Config.Tests.WorkItemExecution #108636
848282 dotnet/runtime WasmTestOnFirefox-MT-System.Net.Primitives.Pal.Tests.WorkItemExecution #109053
846994 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebProxy.Tests.WorkItemExecution #108990
845889 dotnet/runtime WasmTestOnChrome-MT-System.Runtime.Serialization.Json.Tests.WorkItemExecution #108512

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 22 67

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 Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

3 participants