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

[WASI][Mono-AOT] Invariant.Tests.dll test failure #102128

Closed
jkotas opened this issue May 12, 2024 · 3 comments
Closed

[WASI][Mono-AOT] Invariant.Tests.dll test failure #102128

jkotas opened this issue May 12, 2024 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented May 12, 2024

[05:42:21] info: Using threadless Xunit runner
[05:42:21] info: Discovering: managed/Invariant.Tests.dll (method display = ClassAndMethod, method display options = None)
[05:42:21] info: Discovered:  managed/Invariant.Tests.dll (found 26 of 26 test cases)
[05:42:21] info: Starting:    managed/Invariant.Tests.dll
[05:42:21] info: Error: failed to run main module `dotnet.wasm`
[05:42:21] info: 
[05:42:21] info: Caused by:
[05:42:21] info:     0: failed to invoke command default
[05:42:21] info:     1: error while executing at wasm backtrace:
[05:42:21] info:            0: 0x10848bf - <unknown>!corlib_System_RuntimeType_CreateInstanceImpl_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo
[05:42:21] info:            1: 0x1150e5d - <unknown>!corlib_System_Activator_CreateInstance_System_Type_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo_object__
[05:42:21] info:            2: 0x1150554 - <unknown>!corlib_System_Activator_CreateInstance_System_Type_object__
[05:42:21] info:            3: 0x3658377 - <unknown>!xunit_execution_dotnet_Xunit_Sdk_ReflectionAttributeInfo_Instantiate_System_Reflection_CustomAttributeData
[05:42:21] info:            4: 0x3656de3 - <unknown>!xunit_execution_dotnet_Xunit_Sdk_ReflectionAttributeInfo__ctor_System_Reflection_CustomAttributeData
[05:42:21] info:            5: 0x366bcf4 - <unknown>!xunit_execution_dotnet_Xunit_Sdk_ReflectionMethodInfo_GetCustomAttributes_System_Reflection_MethodInfo_System_Type_System_AttributeUsageAttribute
[05:42:21] info:            6: 0x366a863 - <unknown>!xunit_execution_dotnet_Xunit_Sdk_ReflectionMethodInfo_GetCustomAttributes_System_Reflection_MethodInfo_string

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=766585&view=results
Build error leg or test failing: Invariant.Tests.WorkItemExecution
Pull request: #102084

Error Message

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

{
  "ErrorMessage": ["ProxyProjectForAOTOnHelix","wasmtime","error while executing at wasm backtrace"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
773418 dotnet/runtime Invariant.Tests.WorkItemExecution #106166
772993 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution #106084
766585 dotnet/runtime Invariant.Tests.WorkItemExecution #105995
763496 dotnet/runtime Invariant.Tests.WorkItemExecution #105846

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 4

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=766585
Error message validated: [ProxyProjectForAOTOnHelix wasmtime error while executing at wasm backtrace]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/7/2024 1:25:57 PM UTC

@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 May 12, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label May 12, 2024
@lewing lewing added this to the 9.0.0 milestone Jun 11, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jun 11, 2024
@pavelsavara pavelsavara changed the title Invariant.Tests.dll test failure on wasm [WASI] Invariant.Tests.dll test failure on wasm Jul 4, 2024
@pavelsavara pavelsavara added os-wasi Related to WASI variant of arch-wasm arch-wasm WebAssembly architecture labels Jul 4, 2024
@pavelsavara
Copy link
Member

There is 2: memory fault at wasm address 0x40000000 in linear memory of size 0x4a60000

@pavelsavara pavelsavara changed the title [WASI] Invariant.Tests.dll test failure on wasm [WASI][Mono-AOT] Invariant.Tests.dll test failure on wasm Jul 12, 2024
@pavelsavara pavelsavara changed the title [WASI][Mono-AOT] Invariant.Tests.dll test failure on wasm [WASI][Mono-AOT] Invariant.Tests.dll test failure Jul 12, 2024
@maraf maraf removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Jul 15, 2024
@lewing lewing modified the milestones: 9.0.0, 10.0.0 Jul 30, 2024
@pavelsavara
Copy link
Member

Log

[12:25:12] info: [FAIL] System.Globalization.Tests.InvariantModeTests.TestCultureData(cultureName: "tr-TR")
[12:25:12] info: Assert.Equal() Failure: Exception thrown during comparison
[12:25:12] info:                               ↓ (pos 4)
[12:25:12] info: Expected: [···, "Mon", "Tue", "Wed", "Fri", "Sat"]
[12:25:12] info: Actual:   [···, "Tue", "Wed", "Thu", "Fri", "Sat"]
[12:25:12] info:                               ↑ (pos 4)
[12:25:12] info: ---- System.NullReferenceException : Object reference not set to an instance of an object.
[12:25:12] info:    at System.Object.InvokeStub_InvariantModeTests.TestCultureData(Object , Span`1 )
[12:25:12] info:    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object , BindingFlags , Binder , Object[] , CultureInfo )
[12:25:12] info: ----- Inner Stack Trace -----

@pavelsavara
Copy link
Member

I hope the the root cause is #106200 and fix #106313

@lewing lewing closed this as completed Aug 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

4 participants