Skip to content

[wasm] Linux/AOT tests(9) broken #62362

Closed

Description

@radical

The fix(#62339) for AOT on windows seems to have broken tests on linux. The PR ran only System.Runtime.Tests by default, so these slipped through.

Found on #62352

Build

[21:18:42] info: ./dotnet.js:8092: RuntimeError: function signature mismatch
[21:18:42] info:     if (e !== e+0 && e !== 'longjmp') throw e;
[21:18:42] info:                                       ^
[21:18:42] info: RuntimeError: function signature mismatch
[21:18:42] info:     at System_Collections_Immutable_System_Collections_Immutable_SortedInt32KeyNode_1_Enumerator_TValue_INST_MoveNext_0 (<anonymous>:wasm-function[12535]:0x343583)
[21:18:42] info:     at System_Collections_Immutable_System_Collections_Immutable_ImmutableDictionary_2_Enumerator_TKey_REF_TValue_REF_MoveNext (<anonymous>:wasm-function[11431]:0x302c17)
[21:18:42] info:     at ut_System_Collections_Immutable_System_Collections_Immutable_ImmutableDictionary_2_Enumerator_TKey_REF_TValue_REF_MoveNext (<anonymous>:wasm-function[11433]:0x302ee4)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_Converters_DictionaryDefaultConverter_3_TDictionary_REF_TKey_REF_TValue_REF_OnWriteResume_System_Text_Json_Utf8JsonWriter_TDictionary_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88816]:0x13130b5)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_JsonDictionaryConverter_3_TDictionary_REF_TKey_REF_TValue_REF_OnTryWrite_System_Text_Json_Utf8JsonWriter_TDictionary_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88302]:0x12f7cb5)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_JsonConverter_1_T_REF_TryWrite_System_Text_Json_Utf8JsonWriter_T_REF__System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88362]:0x12f925e)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_Metadata_JsonPropertyInfo_1_T_REF_GetMemberAndWriteJson_object_System_Text_Json_WriteStack__System_Text_Json_Utf8JsonWriter (<anonymous>:wasm-function[88614]:0x1304edf)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_Converters_ObjectDefaultConverter_1_T_REF_OnTryWrite_System_Text_Json_Utf8JsonWriter_T_REF_System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88976]:0x132173d)
[21:18:42] info:     at System_Text_Json_System_Text_Json_Serialization_JsonConverter_1_T_REF_TryWrite_System_Text_Json_Utf8JsonWriter_T_REF__System_Text_Json_JsonSerializerOptions_System_Text_Json_WriteStack_ (<anonymous>:wasm-function[88362]:0x12f925e)
[21:18:42] info:     at System_Text_Json_Tests_aot_wrapper_gsharedvt_out_sig_u1_this_objbiiobjbii (<anonymous>:wasm-function[133311]:0x1cba97f)
[21:18:42] info:     at jit_call_cb (<anonymous>:wasm-function[158293]:0x21c5406)
...
21:06:42] fail: RuntimeError: function signature mismatch
[21:06:42] fail:     at System_Collections_Immutable_Tests_System_Collections_Immutable_ImmutableSortedSet_1_Enumerator_T_INT_MoveNext (<anonymous>:wasm-function[14188]:0x488649)
[21:06:42] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_u1_this_ (<anonymous>:wasm-function[51282]:0xd273f7)
...

Others that might be similar with corlib_aot_wrapper_gsharedvt_out_* near the top frames:

Others, hit on #61581, build

cc @vargaz @radekdoulik

Activity

  1. added
    arch-wasm
    blocking-clean-ci
    on Dec 3, 2021
  2. ghost added
    untriaged
    on Dec 3, 2021
  3. removed
    untriaged
    on Dec 3, 2021
  4. added this to the milestone on Dec 3, 2021
  5. lewing commented on Dec 3, 2021

    @lewing
    Member
  6. added a commit that references this issue on Dec 3, 2021
  7. agocke commented on Dec 3, 2021

    @agocke
    Member

    In order to run the full mono tests you need to run /azp run runtime-manual

  8. added a commit that references this issue on Dec 4, 2021
  9. lambdageek commented on Dec 4, 2021

    @lambdageek
    Member

    In order to run the full mono tests you need to run /azp run runtime-manual

    That's the intention, but at the moment it doesn't run everything. In particular, it doesn't run the runtime (src/tests) tests

  10. added
    disabled-test
    and removed
    blocking-clean-ci
    on Dec 4, 2021
  11. modified the milestones: , 7.0.0 on Dec 6, 2021
  12. radical commented on Dec 7, 2021

    @radical
    MemberAuthor

    Fixed by #62400 . The tests have been enabled, and passing on rolling builds.

  13. ghost locked as resolved and limited conversation to collaborators on Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Codegen-AOT-monodisabled-test

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions