Skip to content

[lldb-dap] Breakpoints may not be correctly marked 'verified' after configurationDone is called #130863

@ashgti

Description

@ashgti

I've seen TestDAP_breakpointEvents.py flake a number of times for me locally on macOS. I haven't found a root cause yet but some examples include:

https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/21926/testReport/junit/lldb-api/tools_lldb-dap_breakpoint-events/TestDAP_breakpointEvents_py/

The failures always look like:

FAIL: test_breakpoint_events (TestDAP_breakpointEvents.TestDAP_breakpointEvents)
   This test sets a breakpoint in a shared library and runs and stops
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/tools/lldb-dap/breakpoint-events/TestDAP_breakpointEvents.py", line 90, in test_breakpoint_events
    self.assertEqual(len(self.dap_server.breakpoint_events), 1)
AssertionError: 0 != 1
Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions