Issue 239322
Summary [lldb] Watch tests flaky on Windows buildbot
Labels lldb, test-suite
Assignees
Reporter Nerixyz
    After #227355, some tests are still flaky.

- https://github.com/llvm/llvm-project/blob/0dfa6b3bc0ab8150863af8a435eedea9f03d1776/lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py:
 - https://lab.llvm.org/buildbot/#/builders/211/builds/12106
  - https://lab.llvm.org/buildbot/#/builders/211/builds/12097
  - https://lab.llvm.org/buildbot/#/builders/211/builds/12090
  ```
  Traceback (most recent call last):
    File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 221, in wrapper
      return func(*args, **kwargs)
 ^^^^^^^^^^^^^^^^^^^^^
    File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\commands\watchpoints\watchpoint_set_command\TestWatchLocationWithWatchSet.py", line 88, in test_watchlocation_using_watchpoint_set
      self.expect(
 File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2905, in expect
      self.runCmd(
    File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1149, in runCmd
      self.assertTrue(self.res.Succeeded(), msg + output)
  AssertionError: False is not true : Process should be stopped due to watchpoint
  Error output:
  error: process must be launched
  ```
- https://github.com/llvm/llvm-project/blob/83ca6fc7d67979609fa30dbf0d919b7b2a5416fa/lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
 - https://lab.llvm.org/buildbot/#/builders/211/builds/12097

  ```
 Command Output (stdout):
  --

  Watchpoint 1 hit:
  old value: 0
  new value: 0

  Watchpoint 1 hit:
  old value: 0
  new value: 0

 Watchpoint 1 hit:
  old value: 0
  new value: 0
  Skipping the following test categories: lldb-dap, libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


  --
  Command Output (stderr):
 --
  FAIL: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_watchpoint_after_thread_launch (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase.test_watchpoint_after_thread_launch)

 Log Files:

  - C:\buildbot\as-builder-10\lldb-x86-64\build\lldb-test-build\commands\watchpoints\multiple_threads\TestWatchpointMultipleThreads\Failure_test_watchpoint_after_thread_launch.log

 PASS: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_watchpoint_after_thread_start (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase.test_watchpoint_after_thread_start)

 PASS: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_watchpoint_before_thread_start (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase.test_watchpoint_before_thread_start)

 PASS: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_watchpoint_multiple_threads_wp_set_and_then_delete (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase.test_watchpoint_multiple_threads_wp_set_and_then_delete)

 ======================================================================

 FAIL: test_watchpoint_after_thread_launch (TestWatchpointMultipleThreads.WatchpointForMultipleThreadsTestCase.test_watchpoint_after_thread_launch)

 Test that we can hit a watchpoint we set after launching another thread

 ----------------------------------------------------------------------

 Traceback (most recent call last):

    File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\commands\watchpoints\multiple_threads\TestWatchpointMultipleThreads.py", line 23, in test_watchpoint_after_thread_launch

 self.do_watchpoint_test("After launching the thread")

    File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\commands\watchpoints\multiple_threads\TestWatchpointMultipleThreads.py", line 46, in do_watchpoint_test

      self.runCmd("thread list")

 File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1149, in runCmd

      self.assertTrue(self.res.Succeeded(), msg + output)

  AssertionError: False is not true : Command 'thread list' did not return successfully

  Error output:

  error: process must be launched



 Config=x86_64-C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe

 ----------------------------------------------------------------------
 ```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to