Skip to content

[wasm][debugger] Firefox tests cancelled or throwing KeyNotFoundException - test files cannot be found #70983

Closed

Description

@ilonatommy

Sample Run.

Around 80 tests on Firefox failing on CI and locally. There are different messages:

  • Test file not found, failing assert: e.g. MiscTests.CheckThatAllSourcesAreSent
Assert.Contains() Failure
Not found: dotnet://debugger-test.dll/debugger-test.cs
In value:  ValueCollection<String, String> ["debugger-driver.html", "debugger-driver.html", "debugger-driver.html", "debugger-driver.html", "debugger-driver.html", ...]
  • Test not found, throwing exception, e.g. DebuggerTests.ArrayTests.InspectGenericValueTypeArrayLocals
System.Collections.Generic.KeyNotFoundException : The given key 'dotnet://debugger-test.dll/debugger-array-test.cs' was not present in the dictionary.
  • Cannot set a breakpoint = test cancelled, e.g DebuggerTests.SteppingTests.BreakOnAwaitThenResumeToNextBreakpoint
 Failed DebuggerTests.AsyncTests.AsyncLocalsInNestedContinueWithStaticBlock [30 ms]
  Error Message:
   System.Threading.Tasks.TaskCanceledException : A task was canceled.
  Stack Trace:
     at DebuggerTests.DebuggerTestFirefox.SetBreakpointInMethod(String assembly, String type, String method, Int32 lineOffset, Int32 col, String condition) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestFirefox.cs:line 388
   at DebuggerTests.DebuggerTestBase.CheckInspectLocalsAtBreakpointSite(String type, String method, Int32 line_offset, String bp_function_name, String eval_expression, Func`2 locals_fn, Func`2 wait_for_event_fn, Boolean use_cfo, String assembly, Int32 col) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 231
   at DebuggerTests.AsyncTests.AsyncLocalsInNestedContinueWithStaticBlock() in /_/src/mono/wasm/debugger/DebuggerTestSuite/AsyncTests.cs:line 66
  • CallToEvaluateLocal name missmatch. e.g. InspectLocalsUsingClassFromLibraryUsingDebugTypeFull
  Failed DebuggerTests.MiscTests.InspectLocalsUsingClassFromLibraryUsingDebugTypeFull
  Error Message:
   [_debugger_test__DebugTypeFull_CallToEvaluateLocal]

Expected: CallToEvaluateLocal
Actual:   _debugger_test__DebugTypeFull_CallToEvaluateLocal

Introduced by #69072 and resetting before 56e58d3 fixes the issue.

Activity

  1. ghost added
    untriaged
    on Jun 20, 2022
  2. added this to the 7.0.0 milestone on Jun 20, 2022
  3. ghost removed
    untriaged
    on Jun 20, 2022
  4. ghost added
    in-pr
    on Jun 20, 2022
  5. ghost removed
    in-pr
    on Jun 20, 2022
  6. ghost locked as resolved and limited conversation to collaborators on Jul 21, 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-Debugger-mono

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions