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] Assertions in AOT tests are not failing the tests #53588

Closed
radekdoulik opened this issue Jun 2, 2021 · 4 comments
Closed

[wasm] Assertions in AOT tests are not failing the tests #53588

radekdoulik opened this issue Jun 2, 2021 · 4 comments
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Milestone

Comments

@radekdoulik
Copy link
Member

@akoeplinger noticed that some of the AOT tests fail with assert, while we don't detect that it fails.

Example builds from PRs #52870 and #53557 both fails like this (logs https://helix.dot.net/api/2019-06-17/jobs/f72ceeb4-313b-4c02-86e8-ccb006b5e71a/workitems/System.Buffers.Tests/console, https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-53557-merge-03621a4b99b842f8b2/System.Buffers.Tests/console.63585788.log?sv=2019-07-07&se=2021-06-21T23%3A55%3A04Z&sr=c&sp=rl&sig=NNdaRko4%2BgMhFxf17rDWIzsv%2BLx1r9IkKeUg%2B0oo2ic%3D):

00:08:27] info: Running v8 --expose_wasm --stack-trace-limit=1000 runtime.js -- --run WasmTestRunner.dll System.Buffers.Tests.dll -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
                 
                 
[00:08:29] fail: 
                 
[00:08:29] fail: ==== JS stack trace =========================================
                 
[00:08:29] fail: 
                 
[00:08:29] fail: Security context: 0x080c0820dca9 <JSObject>#0#
                 
[00:08:29] fail:     0: builtin exit frame: trace(this=0x080c08203701 <console map = 0x80c08240919>#1#,0x080c08085ea1 <String[98]: c"* Assertion at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3957, condition `<disabled>' not met\n">,0x080c08203701 <console map = 0x80c08240919>#1#)
                 
[00:08:29] fail: 
                 
[00:08:29] fail:     1: 4646751 [0x80c083d3e11] [dotnet.js:1440] [bytecode=0x80c088e055d offset=127](this=0x080c083c1a0d <JSGlobal Object>#2#,40982,37925816,4,0,0)
                 
[00:08:29] fail:     2: _emscripten_asm_const_int [0x80c08390595] [dotnet.js:5708] [bytecode=0x80c088e02c5 offset=33](this=0x080c083c1a0d <JSGlobal Object>#2#,4646751,10406184,10406160)
                 
[00:08:29] fail:     3: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:     4: WASM [0a15d542], function #67017 ('wasm_trace_logger'), pc=0x3a721ea1a5f (+0xdf), pos=22678300 (+78)
                 
[00:08:29] fail:     5: WASM [0a15d542], function #3664 ('eglib_log_adapter'), pc=0x3a7267eac3b (+0xdb), pos=642729 (+33)
                 
[00:08:29] fail:     6: WASM [0a15d542], function #6008 ('monoeg_g_logstr'), pc=0x3a7266fb281 (+0xe1), pos=932756 (+46)
                 
[00:08:29] fail:     7: WASM [0a15d542], function #6006 ('monoeg_g_logv_nofree'), pc=0x3a7266fb408 (+0xc8), pos=932678 (+62)
                 
[00:08:29] fail:     8: WASM [0a15d542], function #6011 ('monoeg_assertion_message'), pc=0x3a7266fafa6 (+0x66), pos=932880 (+32)
                 
[00:08:29] fail:     9: WASM [0a15d542], function #6013 ('mono_assertion_message'), pc=0x3a7266fae7c (+0x7c), pos=932947 (+39)
                 
[00:08:29] fail:    10: WASM [0a15d542], function #6012 ('mono_assertion_message_disabled'), pc=0x3a7266faef6 (+0x36), pos=932902 (+9)
                 
[00:08:29] fail:    11: WASM [0a15d542], function #5324 ('mono_llvm_match_exception'), pc=0x3a726742231 (+0x411), pos=847920 (+387)
                 
[00:08:29] fail:    12: WASM [0a15d542], function #19582 ('xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1__RunAsyncd'), pc=0x3a721702da5 (+0x8725), pos=3610012 (+12315)
                 
[00:08:29] fail:    13: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    14: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,8131,10407272,37904944)
                 
[00:08:29] fail:    15: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    16: WASM [0a15d542], function #21858 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMeth'), pc=0x3a725b386a4 (+0x4e4), pos=4769146 (+415)
                 
[00:08:29] fail:    17: WASM [0a15d542], function #21324 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTask'), pc=0x3a725bc3869 (+0x189), pos=4629327 (+106)
                 
[00:08:29] fail:    18: WASM [0a15d542], function #19573 ('xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1_TTestCase_'), pc=0x3a725e1da9b (+0x2bb), pos=3595446 (+252)
                 
[00:08:29] fail:    19: JsToWasmFrame [pc: 0x80c00082ca7]
                 
[00:08:29] fail:    20: invoke_iii [0x80c083925e9] [dotnet.js:11914] [bytecode=0x80c088a2935 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,3537,17286072,0)
                 
[00:08:29] fail:    21: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:    22: WASM [0a15d542], function #20147 ('xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor__Run'), pc=0x3a725d59c1d (+0xb3d), pos=4148148 (+1032)
                 
[00:08:29] fail:    23: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    24: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,8648,10407664,0)
                 
[00:08:29] fail:    25: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    26: WASM [0a15d542], function #21534 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMeth'), pc=0x3a725b84f29 (+0x369), pos=4694737 (+277)
                 
[00:08:29] fail:    27: WASM [0a15d542], function #20145 ('xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor_RunT'), pc=0x3a725d5bd9c (+0x3dc), pos=4146793 (+377)
                 
[00:08:29] fail:    28: WASM [0a15d542], function #20020 ('xunit_execution_dotnet_Xunit_Sdk_TestFrameworkExecutor_1_TTestCa'), pc=0x3a725d9156f (+0x62f), pos=4026543 (+526)
                 
[00:08:29] fail:    29: WASM [0a15d542], function #15947 ('xunit_runner_utility_netcoreapp10_Xunit_Xunit2_RunTests_System_C'), pc=0x3a7262f19e6 (+0x386), pos=2180117 (+253)
                 
[00:08:29] fail:    30: JsToWasmFrame [pc: 0x80c00085f84]
                 
[00:08:29] fail:    31: invoke_viiiii [0x80c08392859] [dotnet.js:12046] [bytecode=0x80c088b63d5 offset=46](this=0x080c083c1a0d <JSGlobal Object>#2#,4552,16784120,16994440,17283672,16783832,0)
                 
[00:08:29] fail:    32: WasmToJsFrame [pc: 0x3a721e91548]
                 
[00:08:29] fail:    33: WASM [0a15d542], function #61785 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a72161adda (+0xa51a), pos=20859468 (+15287)
                 
[00:08:29] fail:    34: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    35: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49569,10409624,0)
                 
[00:08:29] fail:    36: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    37: WASM [0a15d542], function #61906 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_Compi'), pc=0x3a72248a729 (+0x369), pos=20920775 (+278)
                 
[00:08:29] fail:    38: WASM [0a15d542], function #61772 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a7224bab86 (+0x286), pos=20839326 (+236)
                 
[00:08:29] fail:    39: JsToWasmFrame [pc: 0x80c00082a51]
                 
[00:08:29] fail:    40: invoke_iiiii [0x80c083926b9] [dotnet.js:11958] [bytecode=0x80c088b28ed offset=43](this=0x080c083c1a0d <JSGlobal Object>#2#,4197,16778928,1,16779648,0)
                 
[00:08:29] fail:    41: WasmToJsFrame [pc: 0x3a721e927b6]
                 
[00:08:29] fail:    42: WASM [0a15d542], function #61806 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a72170c3ef (+0x7bcf), pos=20883895 (+11100)
                 
[00:08:29] fail:    43: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    44: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49587,10410696,0)
                 
[00:08:29] fail:    45: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    46: WASM [0a15d542], function #61968 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_Compi'), pc=0x3a722480029 (+0x369), pos=20930526 (+278)
                 
[00:08:29] fail:    47: WASM [0a15d542], function #61803 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a7224b04f8 (+0x1d8), pos=20869323 (+152)
                 
[00:08:29] fail:    48: JsToWasmFrame [pc: 0x80c00082ca7]
                 
[00:08:29] fail:    49: invoke_iii [0x80c083925e9] [dotnet.js:11914] [bytecode=0x80c088a2935 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49585,16779584,0)
                 
[00:08:29] fail:    50: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:    51: WASM [0a15d542], function #23840 ('WasmTestRunner_SimpleWasmTestRunner__Maind__0_MoveNext'), pc=0x3a7216f792f (+0x77af), pos=5403025 (+10943)
                 
[00:08:29] fail:    52: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    53: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,12316,10411816,0)
                 
[00:08:29] fail:    54: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    55: WASM [0a15d542], function #23882 ('WasmTestRunner_System_Runtime_CompilerServices_AsyncMethodBuilde'), pc=0x3a7258ed989 (+0x369), pos=5419523 (+278)
                 
[00:08:29] fail:    56: WASM [0a15d542], function #23836 ('WasmTestRunner_SimpleWasmTestRunner_Main_string__'), pc=0x3a7258fcaf8 (+0x1d8), pos=5391548 (+152)
                 
[00:08:29] fail:    57: WASM [0a15d542], function #40848 ('corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_obj_obj'), pc=0x3a7245e53ee (+0x10e), pos=11560316 (+61)
                 
[00:08:29] fail:    58: JsToWasmFrame [pc: 0x80c0008323c]
                 
[00:08:29] fail:    59: invoke_viii [0x80c08392789] [dotnet.js:12002] [bytecode=0x80c088b1541 offset=40](this=0x080c083c1a0d <JSGlobal Object>#2#,28798,10412032,10412016,34349104)
                 
[00:08:29] fail:    60: WasmToJsFrame [pc: 0x3a721e932e6]
                 
[00:08:29] fail:    61: WASM [0a15d542], function #40604 ('corlib_wrapper_runtime_invoke_object_runtime_invoke_sig_void_int'), pc=0x3a72464af6b (+0xb8b), pos=11314746 (+1036)
                 
[00:08:29] fail:    62: WASM [0a15d542], function #4899 ('mono_llvmonly_runtime_invoke'), pc=0x3a72677bc58 (+0x498), pos=779573 (+453)
                 
[00:08:29] fail:    63: WASM [0a15d542], function #4871 ('mono_jit_runtime_invoke'), pc=0x3a726780371 (+0x6d1), pos=773310 (+615)
                 
[00:08:29] fail:    64: WASM [0a15d542], function #2226 ('do_runtime_invoke'), pc=0x3a72686bd2c (+0x10c), pos=495282 (+52)
                 
[00:08:29] fail:    65: WASM [0a15d542], function #2235 ('mono_runtime_try_invoke'), pc=0x3a72686a98d (+0x8d), pos=496807 (+35)
                 
[00:08:29] fail:    66: WASM [0a15d542], function #2310 ('mono_runtime_invoke'), pc=0x3a726862d58 (+0xb8), pos=505065 (+64)
                 
[00:08:29] fail:    67: WASM [0a15d542], function #67010 ('mono_wasm_invoke_method'), pc=0x3a721ea26a4 (+0x84), pos=22677052 (+42)
                 
[00:08:29] fail:    68: JsToWasmFrame [pc: 0x80c00082a51]
                 
[00:08:29] fail:    69: invoke_method [0x80c0839a829] [dotnet.js:11205] [bytecode=0x80c088b1451 offset=46](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#)
                 
[00:08:29] fail:    70: arguments adaptor frame: 4->0
                 
[00:08:29] fail:    71: _call_method_with_converted_args [0x80c083d10cd] [dotnet.js:9239] [bytecode=0x80c088b1199 offset=64](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,33400872,0,0x080c088d2bb9 <Object map = 0x80c08255841>#4#,34348608,0x080c080403e5 <true>,0x080c08040171 <null>)
                 
[00:08:29] fail:    72: call_method [0x80c083d102d] [dotnet.js:9199] [bytecode=0x80c088b092d offset=228](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,33400872,0,0x080c08210081 <String[1]: #m>,0x080c088d7265 <JSArray[1]>#5#)
                 
[00:08:29] fail:    73: /* anonymous */ [0x80c088d7219] [dotnet.js:9458] [bytecode=0x80c088ae961 offset=105](this=0x080c083c1a0d <JSGlobal Object>#2#)
                 
[00:08:29] fail:    74: arguments adaptor frame: 1->0
                 
[00:08:29] fail:    75: call_assembly_entry_point [0x80c083d11ad] [dotnet.js:9465] [bytecode=0x80c088a5315 offset=20](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,0x080c083d3941 <String[18]: "WasmTestRunner.dll">,0x080c088cd92d <JSArray[1]>#6#,0x080c08210081 <String[1]: #m>)
                 
[00:08:29] fail:    76: init [0x80c083d3075] [runtime.js:355] [bytecode=0x80c088a488d offset=787](this=0x080c083c2121 <Object map = 0x80c0824eb81>#7#)
                 
[00:08:29] fail:    77: loaded_cb [0x80c083ac165] [runtime.js:241] [bytecode=0x80c088a3c29 offset=105](this=0x080c083c329d <Object map = 0x80c08251a11>#8#)
                 
[00:08:29] fail:    78: _finalize_startup [0x80c083d1b49] [dotnet.js:7413] [bytecode=0x80c083d97b5 offset=474](this=0x080c083c39dd <Object map = 0x80c08255f99>#9#,0x080c083c329d <Object map = 0x80c08251a11>#8#,0x080c0823a7ed <Object map = 0x80c08251dd1>#10#)
                 
[00:08:29] fail:    79: onPendingRequestComplete [0x80c0821f3e9] [dotnet.js:7450] [bytecode=0x80c082159e5 offset=52](this=0x080c083c1a0d <JSGlobal Object>#2#)
                 
[00:08:29] fail:    80: processFetchResponseBuffer [0x80c0821f2e9] [dotnet.js:7465] [bytecode=0x80c08214f25 offset=99](this=0x080c083c1a0d <JSGlobal Object>#2#,0x080c083d46ed <Object map = 0x80c08245171>#11#,0x080c082129a5 <String[21]: #dotnet.timezones.blat>,0x080c083d3009 <Uint8Array map = 0x80c082404e1>#12#)
                 
[00:08:29] fail:    81: StubFrame [pc: 0x563b08b03ef8]
                 
[00:08:29] fail:    82: StubFrame [pc: 0x563b08a6ff24]
                 
[00:08:29] fail:    83: EntryFrame [pc: 0x563b08a4d8f8]
                 
[00:08:29] fail: =====================
                 
[00:08:29] fail: 
                 
[00:08:29] fail: console.error: * Assertion at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3957, condition `<disabled>' not met
                 
[00:08:29] fail: 
                 
[00:08:29] info: console.info: Arguments: --run,WasmTestRunner.dll,System.Buffers.Tests.dll,-notrait,category=IgnoreForCI,-notrait,category=OuterLoop,-notrait,category=failing
[00:08:29] info: console.debug: MONO_WASM: Initializing mono runtime
[00:08:29] info: console.debug: MONO_WASM: ICU data archive(s) loaded, disabling invariant mode
[00:08:29] info: console.debug: mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
[00:08:29] info: console.info: Initializing.....
[00:08:29] info: Discovering: System.Buffers.Tests.dll (method display = ClassAndMethod, method display options = None)
[00:08:29] info: Discovered:  System.Buffers.Tests.dll (found 42 of 44 test cases)
[00:08:29] info: Starting:    System.Buffers.Tests.dll
[00:08:29] info: Process v8 exited with 0
                 
[00:08:29] info: Application has finished with exit code: 0
XHarness exit code: 0
XHarness artifacts: /datadisks/disk1/work/A2B408E3/w/A810090F/uploads/xharness-output
+ export _commandExitCode=0
@ghost
Copy link

ghost commented Jun 2, 2021

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

@akoeplinger noticed that some of the AOT tests fail with assert, while we don't detect that it fails.

Example builds from PRs #52870 and #53557 both fails like this (logs https://helix.dot.net/api/2019-06-17/jobs/f72ceeb4-313b-4c02-86e8-ccb006b5e71a/workitems/System.Buffers.Tests/console, https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-53557-merge-03621a4b99b842f8b2/System.Buffers.Tests/console.63585788.log?sv=2019-07-07&se=2021-06-21T23%3A55%3A04Z&sr=c&sp=rl&sig=NNdaRko4%2BgMhFxf17rDWIzsv%2BLx1r9IkKeUg%2B0oo2ic%3D):

00:08:27] info: Running v8 --expose_wasm --stack-trace-limit=1000 runtime.js -- --run WasmTestRunner.dll System.Buffers.Tests.dll -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
                 
                 
[00:08:29] fail: 
                 
[00:08:29] fail: ==== JS stack trace =========================================
                 
[00:08:29] fail: 
                 
[00:08:29] fail: Security context: 0x080c0820dca9 <JSObject>#0#
                 
[00:08:29] fail:     0: builtin exit frame: trace(this=0x080c08203701 <console map = 0x80c08240919>#1#,0x080c08085ea1 <String[98]: c"* Assertion at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3957, condition `<disabled>' not met\n">,0x080c08203701 <console map = 0x80c08240919>#1#)
                 
[00:08:29] fail: 
                 
[00:08:29] fail:     1: 4646751 [0x80c083d3e11] [dotnet.js:1440] [bytecode=0x80c088e055d offset=127](this=0x080c083c1a0d <JSGlobal Object>#2#,40982,37925816,4,0,0)
                 
[00:08:29] fail:     2: _emscripten_asm_const_int [0x80c08390595] [dotnet.js:5708] [bytecode=0x80c088e02c5 offset=33](this=0x080c083c1a0d <JSGlobal Object>#2#,4646751,10406184,10406160)
                 
[00:08:29] fail:     3: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:     4: WASM [0a15d542], function #67017 ('wasm_trace_logger'), pc=0x3a721ea1a5f (+0xdf), pos=22678300 (+78)
                 
[00:08:29] fail:     5: WASM [0a15d542], function #3664 ('eglib_log_adapter'), pc=0x3a7267eac3b (+0xdb), pos=642729 (+33)
                 
[00:08:29] fail:     6: WASM [0a15d542], function #6008 ('monoeg_g_logstr'), pc=0x3a7266fb281 (+0xe1), pos=932756 (+46)
                 
[00:08:29] fail:     7: WASM [0a15d542], function #6006 ('monoeg_g_logv_nofree'), pc=0x3a7266fb408 (+0xc8), pos=932678 (+62)
                 
[00:08:29] fail:     8: WASM [0a15d542], function #6011 ('monoeg_assertion_message'), pc=0x3a7266fafa6 (+0x66), pos=932880 (+32)
                 
[00:08:29] fail:     9: WASM [0a15d542], function #6013 ('mono_assertion_message'), pc=0x3a7266fae7c (+0x7c), pos=932947 (+39)
                 
[00:08:29] fail:    10: WASM [0a15d542], function #6012 ('mono_assertion_message_disabled'), pc=0x3a7266faef6 (+0x36), pos=932902 (+9)
                 
[00:08:29] fail:    11: WASM [0a15d542], function #5324 ('mono_llvm_match_exception'), pc=0x3a726742231 (+0x411), pos=847920 (+387)
                 
[00:08:29] fail:    12: WASM [0a15d542], function #19582 ('xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1__RunAsyncd'), pc=0x3a721702da5 (+0x8725), pos=3610012 (+12315)
                 
[00:08:29] fail:    13: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    14: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,8131,10407272,37904944)
                 
[00:08:29] fail:    15: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    16: WASM [0a15d542], function #21858 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMeth'), pc=0x3a725b386a4 (+0x4e4), pos=4769146 (+415)
                 
[00:08:29] fail:    17: WASM [0a15d542], function #21324 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncTask'), pc=0x3a725bc3869 (+0x189), pos=4629327 (+106)
                 
[00:08:29] fail:    18: WASM [0a15d542], function #19573 ('xunit_execution_dotnet_Xunit_Sdk_TestAssemblyRunner_1_TTestCase_'), pc=0x3a725e1da9b (+0x2bb), pos=3595446 (+252)
                 
[00:08:29] fail:    19: JsToWasmFrame [pc: 0x80c00082ca7]
                 
[00:08:29] fail:    20: invoke_iii [0x80c083925e9] [dotnet.js:11914] [bytecode=0x80c088a2935 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,3537,17286072,0)
                 
[00:08:29] fail:    21: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:    22: WASM [0a15d542], function #20147 ('xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor__Run'), pc=0x3a725d59c1d (+0xb3d), pos=4148148 (+1032)
                 
[00:08:29] fail:    23: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    24: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,8648,10407664,0)
                 
[00:08:29] fail:    25: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    26: WASM [0a15d542], function #21534 ('xunit_execution_dotnet_System_Runtime_CompilerServices_AsyncMeth'), pc=0x3a725b84f29 (+0x369), pos=4694737 (+277)
                 
[00:08:29] fail:    27: WASM [0a15d542], function #20145 ('xunit_execution_dotnet_Xunit_Sdk_XunitTestFrameworkExecutor_RunT'), pc=0x3a725d5bd9c (+0x3dc), pos=4146793 (+377)
                 
[00:08:29] fail:    28: WASM [0a15d542], function #20020 ('xunit_execution_dotnet_Xunit_Sdk_TestFrameworkExecutor_1_TTestCa'), pc=0x3a725d9156f (+0x62f), pos=4026543 (+526)
                 
[00:08:29] fail:    29: WASM [0a15d542], function #15947 ('xunit_runner_utility_netcoreapp10_Xunit_Xunit2_RunTests_System_C'), pc=0x3a7262f19e6 (+0x386), pos=2180117 (+253)
                 
[00:08:29] fail:    30: JsToWasmFrame [pc: 0x80c00085f84]
                 
[00:08:29] fail:    31: invoke_viiiii [0x80c08392859] [dotnet.js:12046] [bytecode=0x80c088b63d5 offset=46](this=0x080c083c1a0d <JSGlobal Object>#2#,4552,16784120,16994440,17283672,16783832,0)
                 
[00:08:29] fail:    32: WasmToJsFrame [pc: 0x3a721e91548]
                 
[00:08:29] fail:    33: WASM [0a15d542], function #61785 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a72161adda (+0xa51a), pos=20859468 (+15287)
                 
[00:08:29] fail:    34: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    35: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49569,10409624,0)
                 
[00:08:29] fail:    36: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    37: WASM [0a15d542], function #61906 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_Compi'), pc=0x3a72248a729 (+0x369), pos=20920775 (+278)
                 
[00:08:29] fail:    38: WASM [0a15d542], function #61772 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a7224bab86 (+0x286), pos=20839326 (+236)
                 
[00:08:29] fail:    39: JsToWasmFrame [pc: 0x80c00082a51]
                 
[00:08:29] fail:    40: invoke_iiiii [0x80c083926b9] [dotnet.js:11958] [bytecode=0x80c088b28ed offset=43](this=0x080c083c1a0d <JSGlobal Object>#2#,4197,16778928,1,16779648,0)
                 
[00:08:29] fail:    41: WasmToJsFrame [pc: 0x3a721e927b6]
                 
[00:08:29] fail:    42: WASM [0a15d542], function #61806 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a72170c3ef (+0x7bcf), pos=20883895 (+11100)
                 
[00:08:29] fail:    43: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    44: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49587,10410696,0)
                 
[00:08:29] fail:    45: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    46: WASM [0a15d542], function #61968 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_System_Runtime_Compi'), pc=0x3a722480029 (+0x369), pos=20930526 (+278)
                 
[00:08:29] fail:    47: WASM [0a15d542], function #61803 ('Microsoft_DotNet_XHarness_TestRunners_Xunit_Microsoft_DotNet_XHa'), pc=0x3a7224b04f8 (+0x1d8), pos=20869323 (+152)
                 
[00:08:29] fail:    48: JsToWasmFrame [pc: 0x80c00082ca7]
                 
[00:08:29] fail:    49: invoke_iii [0x80c083925e9] [dotnet.js:11914] [bytecode=0x80c088a2935 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,49585,16779584,0)
                 
[00:08:29] fail:    50: WasmToJsFrame [pc: 0x3a721e93838]
                 
[00:08:29] fail:    51: WASM [0a15d542], function #23840 ('WasmTestRunner_SimpleWasmTestRunner__Maind__0_MoveNext'), pc=0x3a7216f792f (+0x77af), pos=5403025 (+10943)
                 
[00:08:29] fail:    52: JsToWasmFrame [pc: 0x80c000830a7]
                 
[00:08:29] fail:    53: invoke_vii [0x80c08392755] [dotnet.js:11991] [bytecode=0x80c088b16d9 offset=31](this=0x080c083c1a0d <JSGlobal Object>#2#,12316,10411816,0)
                 
[00:08:29] fail:    54: WasmToJsFrame [pc: 0x3a721e92f72]
                 
[00:08:29] fail:    55: WASM [0a15d542], function #23882 ('WasmTestRunner_System_Runtime_CompilerServices_AsyncMethodBuilde'), pc=0x3a7258ed989 (+0x369), pos=5419523 (+278)
                 
[00:08:29] fail:    56: WASM [0a15d542], function #23836 ('WasmTestRunner_SimpleWasmTestRunner_Main_string__'), pc=0x3a7258fcaf8 (+0x1d8), pos=5391548 (+152)
                 
[00:08:29] fail:    57: WASM [0a15d542], function #40848 ('corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_obj_obj'), pc=0x3a7245e53ee (+0x10e), pos=11560316 (+61)
                 
[00:08:29] fail:    58: JsToWasmFrame [pc: 0x80c0008323c]
                 
[00:08:29] fail:    59: invoke_viii [0x80c08392789] [dotnet.js:12002] [bytecode=0x80c088b1541 offset=40](this=0x080c083c1a0d <JSGlobal Object>#2#,28798,10412032,10412016,34349104)
                 
[00:08:29] fail:    60: WasmToJsFrame [pc: 0x3a721e932e6]
                 
[00:08:29] fail:    61: WASM [0a15d542], function #40604 ('corlib_wrapper_runtime_invoke_object_runtime_invoke_sig_void_int'), pc=0x3a72464af6b (+0xb8b), pos=11314746 (+1036)
                 
[00:08:29] fail:    62: WASM [0a15d542], function #4899 ('mono_llvmonly_runtime_invoke'), pc=0x3a72677bc58 (+0x498), pos=779573 (+453)
                 
[00:08:29] fail:    63: WASM [0a15d542], function #4871 ('mono_jit_runtime_invoke'), pc=0x3a726780371 (+0x6d1), pos=773310 (+615)
                 
[00:08:29] fail:    64: WASM [0a15d542], function #2226 ('do_runtime_invoke'), pc=0x3a72686bd2c (+0x10c), pos=495282 (+52)
                 
[00:08:29] fail:    65: WASM [0a15d542], function #2235 ('mono_runtime_try_invoke'), pc=0x3a72686a98d (+0x8d), pos=496807 (+35)
                 
[00:08:29] fail:    66: WASM [0a15d542], function #2310 ('mono_runtime_invoke'), pc=0x3a726862d58 (+0xb8), pos=505065 (+64)
                 
[00:08:29] fail:    67: WASM [0a15d542], function #67010 ('mono_wasm_invoke_method'), pc=0x3a721ea26a4 (+0x84), pos=22677052 (+42)
                 
[00:08:29] fail:    68: JsToWasmFrame [pc: 0x80c00082a51]
                 
[00:08:29] fail:    69: invoke_method [0x80c0839a829] [dotnet.js:11205] [bytecode=0x80c088b1451 offset=46](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#)
                 
[00:08:29] fail:    70: arguments adaptor frame: 4->0
                 
[00:08:29] fail:    71: _call_method_with_converted_args [0x80c083d10cd] [dotnet.js:9239] [bytecode=0x80c088b1199 offset=64](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,33400872,0,0x080c088d2bb9 <Object map = 0x80c08255841>#4#,34348608,0x080c080403e5 <true>,0x080c08040171 <null>)
                 
[00:08:29] fail:    72: call_method [0x80c083d102d] [dotnet.js:9199] [bytecode=0x80c088b092d offset=228](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,33400872,0,0x080c08210081 <String[1]: #m>,0x080c088d7265 <JSArray[1]>#5#)
                 
[00:08:29] fail:    73: /* anonymous */ [0x80c088d7219] [dotnet.js:9458] [bytecode=0x80c088ae961 offset=105](this=0x080c083c1a0d <JSGlobal Object>#2#)
                 
[00:08:29] fail:    74: arguments adaptor frame: 1->0
                 
[00:08:29] fail:    75: call_assembly_entry_point [0x80c083d11ad] [dotnet.js:9465] [bytecode=0x80c088a5315 offset=20](this=0x080c083c3b65 <Object map = 0x80c08255f49>#3#,0x080c083d3941 <String[18]: "WasmTestRunner.dll">,0x080c088cd92d <JSArray[1]>#6#,0x080c08210081 <String[1]: #m>)
                 
[00:08:29] fail:    76: init [0x80c083d3075] [runtime.js:355] [bytecode=0x80c088a488d offset=787](this=0x080c083c2121 <Object map = 0x80c0824eb81>#7#)
                 
[00:08:29] fail:    77: loaded_cb [0x80c083ac165] [runtime.js:241] [bytecode=0x80c088a3c29 offset=105](this=0x080c083c329d <Object map = 0x80c08251a11>#8#)
                 
[00:08:29] fail:    78: _finalize_startup [0x80c083d1b49] [dotnet.js:7413] [bytecode=0x80c083d97b5 offset=474](this=0x080c083c39dd <Object map = 0x80c08255f99>#9#,0x080c083c329d <Object map = 0x80c08251a11>#8#,0x080c0823a7ed <Object map = 0x80c08251dd1>#10#)
                 
[00:08:29] fail:    79: onPendingRequestComplete [0x80c0821f3e9] [dotnet.js:7450] [bytecode=0x80c082159e5 offset=52](this=0x080c083c1a0d <JSGlobal Object>#2#)
                 
[00:08:29] fail:    80: processFetchResponseBuffer [0x80c0821f2e9] [dotnet.js:7465] [bytecode=0x80c08214f25 offset=99](this=0x080c083c1a0d <JSGlobal Object>#2#,0x080c083d46ed <Object map = 0x80c08245171>#11#,0x080c082129a5 <String[21]: #dotnet.timezones.blat>,0x080c083d3009 <Uint8Array map = 0x80c082404e1>#12#)
                 
[00:08:29] fail:    81: StubFrame [pc: 0x563b08b03ef8]
                 
[00:08:29] fail:    82: StubFrame [pc: 0x563b08a6ff24]
                 
[00:08:29] fail:    83: EntryFrame [pc: 0x563b08a4d8f8]
                 
[00:08:29] fail: =====================
                 
[00:08:29] fail: 
                 
[00:08:29] fail: console.error: * Assertion at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3957, condition `<disabled>' not met
                 
[00:08:29] fail: 
                 
[00:08:29] info: console.info: Arguments: --run,WasmTestRunner.dll,System.Buffers.Tests.dll,-notrait,category=IgnoreForCI,-notrait,category=OuterLoop,-notrait,category=failing
[00:08:29] info: console.debug: MONO_WASM: Initializing mono runtime
[00:08:29] info: console.debug: MONO_WASM: ICU data archive(s) loaded, disabling invariant mode
[00:08:29] info: console.debug: mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
[00:08:29] info: console.info: Initializing.....
[00:08:29] info: Discovering: System.Buffers.Tests.dll (method display = ClassAndMethod, method display options = None)
[00:08:29] info: Discovered:  System.Buffers.Tests.dll (found 42 of 44 test cases)
[00:08:29] info: Starting:    System.Buffers.Tests.dll
[00:08:29] info: Process v8 exited with 0
                 
[00:08:29] info: Application has finished with exit code: 0
XHarness exit code: 0
XHarness artifacts: /datadisks/disk1/work/A2B408E3/w/A810090F/uploads/xharness-output
+ export _commandExitCode=0
Author: radekdoulik
Assignees: -
Labels:

arch-wasm, area-Infrastructure-mono

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 2, 2021
@akoeplinger akoeplinger added area-Codegen-AOT-mono and removed area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Jun 2, 2021
@akoeplinger akoeplinger added this to the 6.0.0 milestone Jun 2, 2021
@radical
Copy link
Member

radical commented Jun 4, 2021

PR: dotnet/xharness#625

@radekdoulik
Copy link
Member Author

PR: dotnet/xharness#625

ah, I was working on the same thing :-)

radekdoulik added a commit to radekdoulik/runtime that referenced this issue Jun 4, 2021
Context: dotnet#53588

This change makes the test in above issue fail:

    fail: console.error: * Assertion at C:/Users/rodo/git/wa-main/src/mono/mono/mini/mini-exceptions.c:3957, condition `<disabled>' not met

    fail:

    info: console.info: Arguments: --run,WasmTestRunner.dll,System.Buffers.Tests.dll,-notrait,category=OuterLoop,-notrait,category=failing
    info: console.debug: MONO_WASM: Initializing mono runtime
    info: console.debug: MONO_WASM: ICU data archive(s) loaded, disabling invariant mode
    info: console.debug: mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
    info: console.info: Initializing.....
    info: Discovering: System.Buffers.Tests.dll (method display = ClassAndMethod, method display options = None)
    info: Discovered:  System.Buffers.Tests.dll (found 42 of 44 test cases)
    info: Starting:    System.Buffers.Tests.dll
    info: Process v8.cmd exited with -1

    fail: Application has finished with exit code -1 but 0 was expected
    XHarness exit code: 71 (GENERAL_FAILURE)
@radekdoulik
Copy link
Member Author

Fixed by #53734

@ghost ghost locked as resolved and limited conversation to collaborators Jul 8, 2021
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
Projects
None yet
Development

No branches or pull requests

3 participants