From f2128abec2030f6534d46f877e3ab2bcc3b5af4c Mon Sep 17 00:00:00 2001 From: Muhammad Omair Javaid Date: Wed, 4 Aug 2021 16:53:07 +0500 Subject: [PATCH] [LLDB] Skip flaky tests on Arm/AArch64 Linux bots Following LLDB tests fail randomly on LLDB Arm/AArch64 Linux buildbots. We still not have a reliable solution for these tests to pass consistently. I am marking them skipped for now. TestBreakpointCallbackCommandSource.py TestIOHandlerResize.py TestEditline.py TestGuiViewLarge.py TestGuiExpandThreadsTree.py TestGuiBreakpoints.py --- lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py | 1 + .../commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py | 1 + lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py | 1 + .../TestBreakpointCallbackCommandSource.py | 1 + lldb/test/API/iohandler/resize/TestIOHandlerResize.py | 1 + lldb/test/API/terminal/TestEditline.py | 1 + 6 files changed, 6 insertions(+) diff --git a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py index 3d075c013262..70729594fde4 100644 --- a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py +++ b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py @@ -15,6 +15,7 @@ class TestGuiBasicDebugCommandTest(PExpectTest): # under ASAN on a loaded machine.. @skipIfAsan @skipIfCursesSupportMissing + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_gui(self): self.build() diff --git a/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py b/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py index 0e095661d3ec..c3ec4b285ecd 100644 --- a/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py +++ b/lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py @@ -17,6 +17,7 @@ class TestGuiExpandThreadsTree(PExpectTest): # under ASAN on a loaded machine.. @skipIfAsan @skipIfCursesSupportMissing + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_gui(self): self.build() diff --git a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py index d3f75757c743..b1be950dd200 100644 --- a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py +++ b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py @@ -17,6 +17,7 @@ class GuiViewLargeCommandTest(PExpectTest): @skipIfCursesSupportMissing @skipIfRemote # "run" command will not work correctly for remote debug @expectedFailureNetBSD + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_gui(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py b/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py index 9d1866d41fef..d504c984855c 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py @@ -19,6 +19,7 @@ class BreakpointCallbackCommandSource(PExpectTest): # under ASAN on a loaded machine.. @skipIfAsan @skipIfEditlineSupportMissing + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) @skipIf(oslist=["freebsd"], bugnumber="llvm.org/pr48316") def test_breakpoint_callback_command_source(self): self.build() diff --git a/lldb/test/API/iohandler/resize/TestIOHandlerResize.py b/lldb/test/API/iohandler/resize/TestIOHandlerResize.py index 488553fce724..c1f303288d52 100644 --- a/lldb/test/API/iohandler/resize/TestIOHandlerResize.py +++ b/lldb/test/API/iohandler/resize/TestIOHandlerResize.py @@ -17,6 +17,7 @@ class IOHandlerCompletionTest(PExpectTest): # under ASAN on a loaded machine.. @skipIfAsan @skipIfEditlineSupportMissing + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_resize(self): # Start with a small window diff --git a/lldb/test/API/terminal/TestEditline.py b/lldb/test/API/terminal/TestEditline.py index 8e1652a50416..26e43a2090cc 100644 --- a/lldb/test/API/terminal/TestEditline.py +++ b/lldb/test/API/terminal/TestEditline.py @@ -17,6 +17,7 @@ class EditlineTest(PExpectTest): @skipIfAsan @skipIfEditlineSupportMissing + @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) def test_left_right_arrow(self): """Test that ctrl+left/right arrow navigates words correctly.