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-VM-threading-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' 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

@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
881304 dotnet/runtime WasmTestOnFirefox-MT-System.Resources.Writer.Tests.WorkItemExecution
881227 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.ThreadPool.Tests.WorkItemExecution #110232
879438 dotnet/runtime WasmTestOnFirefox-MT-System.Runtime.CompilerServices.VisualC.Tests.WorkItemExecution #109584
880415 dotnet/runtime WasmTestOnFirefox-MT-System.Threading.Tasks.Parallel.Tests.WorkItemExecution #110186
878663 dotnet/runtime WasmTestOnFirefox-MT-Microsoft.XmlSerializer.Generator.Tests.WorkItemExecution #110156
879885 dotnet/runtime WasmTestOnFirefox-MT-System.Memory.Data.Tests.WorkItemExecution #108731
879353 dotnet/runtime WasmTestOnFirefox-MT-System.Reflection.Metadata.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 7
@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

@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Nov 27, 2024
@ilonatommy ilonatommy added disabled-test The test is disabled in source code against the issue and removed in-pr There is an active PR which will close this issue when it is merged labels Nov 27, 2024
@ilonatommy ilonatommy added this to the 10.0.0 milestone Nov 28, 2024
@ilonatommy ilonatommy removed the untriaged New issue has not been triaged by the area owner label Nov 28, 2024
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 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' 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

No branches or pull requests

3 participants