[Lldb-commits] [lldb] f2128ab - [LLDB] Skip flaky tests on Arm/AArch64 Linux bots

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 4 04:57:43 PDT 2021


Author: Muhammad Omair Javaid
Date: 2021-08-04T16:57:36+05:00
New Revision: f2128abec2030f6534d46f877e3ab2bcc3b5af4c

URL: https://github.com/llvm/llvm-project/commit/f2128abec2030f6534d46f877e3ab2bcc3b5af4c
DIFF: https://github.com/llvm/llvm-project/commit/f2128abec2030f6534d46f877e3ab2bcc3b5af4c.diff

LOG: [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

Added: 
    

Modified: 
    lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py
    lldb/test/API/commands/gui/expand-threads-tree/TestGuiExpandThreadsTree.py
    lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py
    lldb/test/API/functionalities/breakpoint/breakpoint_callback_command_source/TestBreakpointCallbackCommandSource.py
    lldb/test/API/iohandler/resize/TestIOHandlerResize.py
    lldb/test/API/terminal/TestEditline.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py b/lldb/test/API/commands/gui/breakpoints/TestGuiBreakpoints.py
index 3d075c013262a..70729594fde4e 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 0e095661d3ec8..c3ec4b285ecd0 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 d3f75757c743e..b1be950dd2006 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 9d1866d41fef6..d504c984855ce 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 488553fce7247..c1f303288d52e 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 8e1652a504160..26e43a2090cc4 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.
 


        


More information about the lldb-commits mailing list