[all-commits] [llvm/llvm-project] de94c1: The test: test_run_then_attach_wait_interrupt was ...

jimingham via All-commits all-commits at lists.llvm.org
Wed Sep 20 17:41:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de94c109b64d098c52ffc6f60daadb3eaa8fb944
      https://github.com/llvm/llvm-project/commit/de94c109b64d098c52ffc6f60daadb3eaa8fb944
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M lldb/test/API/commands/process/attach/TestProcessAttach.py

  Log Message:
  -----------
  The test: test_run_then_attach_wait_interrupt was flakey on Linux & Windows.

I changed the test so I could tell whether the problem was sometimes the
interrupt was failing, or maybe the was just racy.  It failed again, but
in the new failures we waited 20 seconds for the attach-wait to get interrupted
and that never happened.

So there seems to be some real raciness in the feature of interrupting an
attach-wait, but only on Linux & Windows.  The bug fix that this test was
testing was for a bug that would cause us to never try to interrupt in this
case.  So it looks like this test is uncovering some flakiness in the underlying
interrupt support when in this state.  That's a separate bug that needs fixing.

For now, I disabled the test except on macOS where it seems to run reliably.




More information about the All-commits mailing list