Skip to content

[wasm][debugger] HotReload test failures #72946

Closed

Description

@pavelsavara
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

Log

[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

Log

[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

Log

Activity

  1. added this to the 7.0.0 milestone on Jul 27, 2022
  2. ilonatommy commented on Aug 2, 2022

    @ilonatommy
    Member

    Head on 0ef117e, all of above are passing.

  3. ilonatommy commented on Aug 2, 2022

    @ilonatommy
    Member

    Might be random race as @pavelsavara says it was passing on CI re-run.

  4. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Aug 7, 2022
  5. changed the title [-][wasm][debugger] test failure[/-] [+][wasm][debugger] HotReload test failures[/+] on Aug 7, 2022
  6. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Aug 9, 2022
  7. lewing commented on Aug 15, 2022

    @lewing
    Member
    [xUnit.net 00:36:58.27]     DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload [FAIL]
      Failed DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload [1 s]
      Error Message:
       [pause1]
    
    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 1184
       at DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload() in /_/src/mono/wasm/debugger/DebuggerTestSuite/ExceptionTests.cs:line 251
    --- End of stack trace from previous location ---
    [Result: IsOk: True, IsErr: False, Value: {
      "breakpointId": "1:539:8:dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs",
      "locations": [
        {
          "scriptId": "dotnet://26565_1",
          "lineNumber": 542,
          "columnNumber": 8
        }
      ]
    }, Error:  ]
    [Result: IsOk: True, IsErr: False, Value: {
      "breakpointId": "1:1272:8:dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs",
      "locations": []
    }, Error:  ]
    Results File: C:\helix\work\workitem\uploads\xharness-output\logs\testResults.trx
    
  8. thaystg commented on Aug 15, 2022

    @thaystg
    Member

    Created a new issue to fix this: #73957

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions