Skip to content

Commit

Permalink
[LLDB] Skip random fails on Arm/AArch64 Linux buildbot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
omjavaid committed Aug 9, 2021
1 parent 2bb4ebb commit 8813bc0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
Expand Up @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
4 changes: 4 additions & 0 deletions lldb/test/API/driver/batch_mode/TestBatchMode.py
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down Expand Up @@ -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):
Expand Down
1 change: 1 addition & 0 deletions lldb/test/API/iohandler/unicode/TestUnicode.py
Expand Up @@ -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()

Expand Down
Expand Up @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 8813bc0

Please sign in to comment.