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

[MT][Firefox] Wasm test failure: System.IO.FileNotFoundException : Could not load file or assembly xunit.assert #109945

Open
jkotas opened this issue Nov 19, 2024 · 4 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Infrastructure-libraries blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm untriaged New issue has not been triaged by the area owner

Comments

@jkotas
Copy link
Member

jkotas commented Nov 19, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=872333
Build error leg or test failing: System.Net.WebSockets.Client.Tests.AbortTest.ClientWebSocket_Abort_CloseOutputAsync(server: ws://127.0.0.1:44511/WebSocket/EchoWebSocket.ashx)
Pull request: #109929

Error Message

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

{
  "ErrorMessage": "System.IO.FileNotFoundException : Could not load file or assembly 'xunit.assert",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=872333
Error message validated: [System.IO.FileNotFoundException : Could not load file or assembly 'xunit.assert]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/19/2024 5:04:05 AM UTC

Report

Build Definition Test Pull Request
878663 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.XmlSerializer.Generator.Tests.WorkItemExecution #110156
879885 dotnet/runtime WasmTestOnFirefox-MT-System.Memory.Data.Tests.WorkItemExecution #108731
879438 dotnet/runtime WasmTestOnFirefox-MT-System.IO.UnmanagedMemoryStream.Tests.WorkItemExecution #109584
879353 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Metadata.Tests.WorkItemExecution
871580 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.XmlSerializer.Generator.Tests.WorkItemExecution #109895
877855 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Reader.Tests.WorkItemExecution #110117
877722 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Primitives.Tests.WorkItemExecution #109363
877652 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.XmlSerializer.Generator.Tests.WorkItemExecution #110105
877406 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.Numerics.Tests.WorkItemExecution #109996
877182 dotnet/runtime WasmTestOnFirefox-MT-System.Text.RegularExpressions.Unit.Tests.WorkItemExecution #109996
877066 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Configuration.Xml.Tests.WorkItemExecution
877039 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Thread.Tests.WorkItemExecution #109996
876750 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.InteropServices.RuntimeInformation.Tests.WorkItemExecution #109363
876481 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Dataflow.Tests.WorkItemExecution #110078
876518 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #110057
875889 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.VisualC.Tests.WorkItemExecution #109477
875425 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Pipelines.Tests.WorkItemExecution #109537
875892 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Memory.Tests.WorkItemExecution #109221
875656 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.ThreadPool.Tests.WorkItemExecution #109638
875701 dotnet/runtime WasmTestOnFirefox-MT-System.Memory.Data.Tests.WorkItemExecution #109540
875455 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebProxy.Tests.WorkItemExecution
873528 dotnet/runtime WasmTestOnFirefox-MT-System.Text.Encoding.Extensions.Tests.WorkItemExecution #109137
874703 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Reader.Tests.WorkItemExecution #110010
874640 dotnet/runtime WasmTestOnFirefox-MT-System.IO.Compression.ZipFile.Tests.WorkItemExecution #109540
874592 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Configuration.UserSecrets.Tests.WorkItemExecution #109638
874232 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Logging.EventSource.Tests.WorkItemExecution #109996
874192 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Primitives.Tests.WorkItemExecution #109861
873985 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Bcl.Cryptography.Tests.WorkItemExecution #109994
873080 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.Extensions.Configuration.FileExtensions.Tests.WorkItemExecution #109928
872333 dotnet/runtime WasmTestOnFirefox-MT-System.Net.WebSockets.Client.Tests.WorkItemExecution #109929

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
4 27 30
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Nov 19, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 19, 2024
Copy link
Contributor

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

@jkotas jkotas added the arch-wasm WebAssembly architecture label Nov 19, 2024
Copy link
Contributor

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

@jkotas jkotas added the os-browser Browser variant of arch-wasm label Nov 19, 2024
@ilonatommy ilonatommy changed the title Wasm test failure: System.IO.FileNotFoundException : Could not load file or assembly 'xunit.assert [MT][Firefox] Wasm test failure: System.IO.FileNotFoundException : Could not load file or assembly xunit.assert Nov 25, 2024
@ilonatommy
Copy link
Member

Tests that use reflection fail:

at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at System.Object.InvokeStub_ResourceReaderTests.ReadResource(Object , Span`1 )
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

@pavelsavara I am not sure what's the cause, I will try to block the failing ones

@pavelsavara
Copy link
Member

I think there would be too many to disable, because it's some race condition during startup.
Possibly same reason as #102615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Infrastructure-libraries blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants