Skip to content

Commit

Permalink
[lldb][Test] Disable concurrent vfork tests on Arm and AArch64 Linux …
Browse files Browse the repository at this point in the history
…(again)

5f3e106 made them a lot more stable but
there are still occasions where they will timeout and leave behind stale
processes.

For example https://lab.llvm.org/buildbot/#/builders/96/builds/56699.
  • Loading branch information
DavidSpickett committed Apr 29, 2024
1 parent d72146f commit 0c8151a
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def follow_child_helper(self, use_fork, call_exec):
self.expect("continue", patterns=[r"exited with status = 1[0-4]"])

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_parent_vfork_no_exec(self):
"""
Make sure that debugging concurrent vfork() from multiple threads won't crash lldb during follow-parent.
Expand All @@ -56,6 +58,8 @@ def test_follow_parent_vfork_no_exec(self):
self.follow_parent_helper(use_fork=False, call_exec=False)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_parent_fork_no_exec(self):
"""
Make sure that debugging concurrent fork() from multiple threads won't crash lldb during follow-parent.
Expand All @@ -64,6 +68,8 @@ def test_follow_parent_fork_no_exec(self):
self.follow_parent_helper(use_fork=True, call_exec=False)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_parent_vfork_call_exec(self):
"""
Make sure that debugging concurrent vfork() from multiple threads won't crash lldb during follow-parent.
Expand All @@ -72,6 +78,8 @@ def test_follow_parent_vfork_call_exec(self):
self.follow_parent_helper(use_fork=False, call_exec=True)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_parent_fork_call_exec(self):
"""
Make sure that debugging concurrent vfork() from multiple threads won't crash lldb during follow-parent.
Expand All @@ -80,6 +88,8 @@ def test_follow_parent_fork_call_exec(self):
self.follow_parent_helper(use_fork=True, call_exec=True)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_child_vfork_no_exec(self):
"""
Make sure that debugging concurrent vfork() from multiple threads won't crash lldb during follow-child.
Expand All @@ -88,6 +98,8 @@ def test_follow_child_vfork_no_exec(self):
self.follow_child_helper(use_fork=False, call_exec=False)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_child_fork_no_exec(self):
"""
Make sure that debugging concurrent fork() from multiple threads won't crash lldb during follow-child.
Expand All @@ -96,6 +108,8 @@ def test_follow_child_fork_no_exec(self):
self.follow_child_helper(use_fork=True, call_exec=False)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_child_vfork_call_exec(self):
"""
Make sure that debugging concurrent vfork() from multiple threads won't crash lldb during follow-child.
Expand All @@ -104,6 +118,8 @@ def test_follow_child_vfork_call_exec(self):
self.follow_child_helper(use_fork=False, call_exec=True)

@skipUnlessPlatform(["linux"])
# https://github.com/llvm/llvm-project/issues/85084.
@skipIf(oslist=["linux"], archs=["aarch64", "arm"])
def test_follow_child_fork_call_exec(self):
"""
Make sure that debugging concurrent fork() from multiple threads won't crash lldb during follow-child.
Expand Down

0 comments on commit 0c8151a

Please sign in to comment.