[LLDB] Skip random fails on Arm/AArch64 Linux buildbot
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 9 Aug 2021 07:47:32 +0000 (12:47 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 9 Aug 2021 08:53:48 +0000 (13:53 +0500)
Following tests fail on Arm/AArch64 randomly with timeouts:

TestMultilineNavigation.py
TestBatchMode.py
TestUnicode.py
TestGdbRemote_vContThreads.py

I am marking them as skipped until we find a away make to pass reliably.

lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py
lldb/test/API/driver/batch_mode/TestBatchMode.py
lldb/test/API/iohandler/unicode/TestUnicode.py
lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py

index 0cd0a5d..369ae3f 100644 (file)
@@ -19,7 +19,7 @@ class TestCase(PExpectTest):
     @skipIfAsan
     @skipIfEditlineSupportMissing
     @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
-    @skipIf(oslist=["linux"], archs=["arm", "aarch64"])
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_nav_arrow_up(self):
         """Tests that we can navigate back to the previous line with the up arrow"""
         self.launch()
@@ -43,6 +43,7 @@ class TestCase(PExpectTest):
     @skipIfAsan
     @skipIfEditlineSupportMissing
     @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_nav_arrow_down(self):
         """Tests that we can navigate to the next line with the down arrow"""
         self.launch()
@@ -74,6 +75,7 @@ class TestCase(PExpectTest):
     @skipIfAsan
     @skipIfEditlineSupportMissing
     @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_nav_arrow_up_empty_pr49845(self):
         """Tests that navigating with the up arrow doesn't crash."""
         self.launch()
index e5364a4..d9d75f7 100644 (file)
@@ -16,6 +16,7 @@ class DriverBatchModeTest(PExpectTest):
     mydir = TestBase.compute_mydir(__file__)
     source = 'main.c'
 
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     @expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
     def test_batch_mode_run_crash(self):
         """Test that the lldb driver's batch mode works correctly."""
@@ -46,6 +47,7 @@ class DriverBatchModeTest(PExpectTest):
         self.expect_prompt()
         self.expect("frame variable touch_me_not", substrs=['(char *) touch_me_not'])
 
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     @expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
     def test_batch_mode_run_exit(self):
         """Test that the lldb driver's batch mode works correctly."""
@@ -75,6 +77,7 @@ class DriverBatchModeTest(PExpectTest):
         import pexpect
         child.expect(pexpect.EOF)
 
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     @expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
     def test_batch_mode_launch_stop_at_entry(self):
         """Test that the lldb driver's batch mode works correctly for process launch."""
@@ -109,6 +112,7 @@ class DriverBatchModeTest(PExpectTest):
             self.victim.close()
             self.victim = None
 
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     @expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the buildbot")
     @expectedFailureNetBSD
     def test_batch_mode_attach_exit(self):
index c8ff9a6..7d23934 100644 (file)
@@ -17,6 +17,7 @@ class TestCase(PExpectTest):
     # PExpect uses many timeouts internally and doesn't play well
     # under ASAN on a loaded machine..
     @skipIfAsan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_unicode_input(self):
         self.launch()
 
index a39fc0f..0328003 100644 (file)
@@ -59,6 +59,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @expectedFailureDarwin # No signals delivered
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_process_without_tid(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -71,6 +72,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @skipUnlessPlatform(["netbsd"])
     @expectedFailureNetBSD
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_one_thread(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -85,6 +87,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @expectedFailureDarwin # Only one signal delivered
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_all_threads(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -101,6 +104,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_process_by_pid(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -116,6 +120,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_process_minus_one(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -129,6 +134,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @skipIfWindows
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_minus_one(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -142,6 +148,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_all_threads_by_pid(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -159,6 +166,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_minus_one_by_pid(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -174,6 +182,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
     @expectedFailureNetBSD
     @add_test_categories(["llgs"])
     @skipIfAsan # Times out under asan
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_minus_one_by_minus_one(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -185,6 +194,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
             threads)
 
     @skipUnlessPlatform(["netbsd"])
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_two_of_three_threads(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -202,6 +212,7 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
         self.assertIsNotNone(context)
 
     @skipUnlessPlatform(["netbsd"])
+    @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
     def test_signal_two_signals(self):
         self.build()
         self.set_inferior_startup_launch()