[Lldb-commits] [lldb] 8813bc0 - [LLDB] Skip random fails on Arm/AArch64 Linux buildbot
Muhammad Omair Javaid via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 9 01:53:58 PDT 2021
Author: Muhammad Omair Javaid
Date: 2021-08-09T13:53:48+05:00
New Revision: 8813bc02b40c90eeca0b30ec46aa898bd49e1522
URL: https://github.com/llvm/llvm-project/commit/8813bc02b40c90eeca0b30ec46aa898bd49e1522
DIFF: https://github.com/llvm/llvm-project/commit/8813bc02b40c90eeca0b30ec46aa898bd49e1522.diff
LOG: [LLDB] Skip random fails on Arm/AArch64 Linux buildbot
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.
Added:
Modified:
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
Removed:
################################################################################
diff --git a/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py b/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py
index 0cd0a5d447b56..369ae3fb57a4a 100644
--- a/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py
+++ b/lldb/test/API/commands/expression/multiline-navigation/TestMultilineNavigation.py
@@ -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 @@ def test_nav_arrow_up(self):
@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 @@ def test_nav_arrow_down(self):
@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()
diff --git a/lldb/test/API/driver/batch_mode/TestBatchMode.py b/lldb/test/API/driver/batch_mode/TestBatchMode.py
index e5364a460f9ce..d9d75f71de21a 100644
--- a/lldb/test/API/driver/batch_mode/TestBatchMode.py
+++ b/lldb/test/API/driver/batch_mode/TestBatchMode.py
@@ -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 @@ def test_batch_mode_run_crash(self):
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 @@ def test_batch_mode_run_exit(self):
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 @@ def closeVictim(self):
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):
diff --git a/lldb/test/API/iohandler/unicode/TestUnicode.py b/lldb/test/API/iohandler/unicode/TestUnicode.py
index c8ff9a6ab32dd..7d239341d59c9 100644
--- a/lldb/test/API/iohandler/unicode/TestUnicode.py
+++ b/lldb/test/API/iohandler/unicode/TestUnicode.py
@@ -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()
diff --git a/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py b/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py
index a39fc0fc99df5..0328003d8ce53 100644
--- a/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py
+++ b/lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py
@@ -59,6 +59,7 @@ def get_pid(self):
@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 @@ def test_signal_process_without_tid(self):
@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 @@ def test_signal_one_thread(self):
@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 @@ def test_signal_all_threads(self):
@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 @@ def test_signal_process_by_pid(self):
@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 @@ def test_signal_process_minus_one(self):
@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 @@ def test_signal_minus_one(self):
@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 @@ def test_signal_all_threads_by_pid(self):
@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 @@ def test_signal_minus_one_by_pid(self):
@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 @@ def test_signal_minus_one_by_minus_one(self):
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 @@ def test_signal_two_of_three_threads(self):
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()
More information about the lldb-commits
mailing list