Repository navigation
[wasm][debugger] HotReload test failures #72946
Copy link
Copy link
Closed
Labels
Milestone
Description
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990
at mo (http://localhost:9400/dotnet.js:3:51791)
at wo (http://localhost:9400/dotnet.js:3:52354)
at _debugger_test__TestHotReloadUsingSDB_RunMethod (https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod:23:5)
at invoke_static_method (http://localhost:9400/debugger-driver.html:27:11)
at <anonymous>:1:32
seen on unrelated PR
[xUnit.net 00:34:34.87] DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload [FAIL]
Expected: DebuggerTests.ExceptionTestsClass.TestUncaughtException.run
Actual: invoke_static_method
Stack Trace:
at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1136
at DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload() in /_/src/mono/wasm/debugger/DebuggerTestSuite/ExceptionTests.cs:line 251
--- End of stack trace from previous location ---
[xUnit.net 00:42:02.91] DebuggerTests.HotReloadTests.DebugHotReloadMethodChangedUserBreak [FAIL]
Failed DebuggerTests.HotReloadTests.DebugHotReloadMethodChangedUserBreak [8 ms]
Error Message:
Assert.True() Failure
Expected: True
Actual: False
[xUnit.net 00:40:47.22] DebuggerTests.HotReloadTests.DebugHotReloadMethodChangedUserBreak [FAIL]
Failed DebuggerTests.HotReloadTests.DebugHotReloadMethodChangedUserBreak [15 ms]
Error Message:
Assert.True() Failure
Expected: True
Actual: False
Stack Trace:
at DebuggerTests.DebuggerTestBase.LoadAssemblyAndTestHotReload(String asm_file, String pdb_file, String asm_file_hot_reload, String class_name, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1387
at DebuggerTests.HotReloadTests.DebugHotReloadMethodChangedUserBreak() in /_/src/mono/wasm/debugger/DebuggerTestSuite/HotReloadTests.cs:line 21
Reactions are currently unavailable
Activity
ilonatommy commentedon Aug 2, 2022
Head on 0ef117e, all of above are passing.
ilonatommy commentedon Aug 2, 2022
Might be random race as @pavelsavara says it was passing on CI re-run.
[-][wasm][debugger] test failure[/-][+][wasm][debugger] HotReload test failures[/+][wasm][debugger] Fix some racy tests (#73524)
lewing commentedon Aug 15, 2022
saw it again on #73939 https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-73939-merge-646ef37e77d843aaa0/chrome-DebuggerTests/1/console.3ea30947.log?helixlogtype=result
lewing commentedon Aug 15, 2022
thaystg commentedon Aug 15, 2022
Created a new issue to fix this: #73957