[Lldb-commits] [PATCH] D111659: [lldb] Skip several lldb tests that are flaky on Windows
Stella Stamenova via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 12 10:03:39 PDT 2021
stella.stamenova created this revision.
stella.stamenova added a reviewer: labath.
stella.stamenova requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
These tests fail every 10 or so runs on Windows causing both local failures as well as buildbot failures.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111659
Files:
lldb/test/API/commands/process/attach/TestProcessAttach.py
lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
Index: lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemoteAttachWait.py
@@ -13,6 +13,7 @@
mydir = TestBase.compute_mydir(__file__)
+ @skipIfWindows # This test is flaky on Windows
def test_attach_with_vAttachWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
Index: lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemoteAttachOrWait.py
@@ -13,6 +13,7 @@
mydir = TestBase.compute_mydir(__file__)
+ @skipIfWindows # This test is flaky on Windows
def test_launch_before_attach_with_vAttachOrWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
self.build(dictionary={'EXE': exe})
@@ -57,6 +58,7 @@
reported_pid = int(pid_text, base=16)
self.assertEqual(reported_pid, inferior.pid)
+ @skipIfWindows # This test is flaky on Windows
def test_launch_after_attach_with_vAttachOrWait(self):
exe = '%s_%d' % (self.testMethodName, os.getpid())
self.build(dictionary={'EXE': exe})
Index: lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
===================================================================
--- lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
+++ lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
@@ -16,6 +16,7 @@
NO_DEBUG_INFO_TESTCASE = True
@skipIfRemote
+ @skipIfWindows # This test is flaky on Windows
def test_target_auto_install_main_executable(self):
if lldbgdbserverutils.get_lldb_server_exe() is None:
self.skipTest("lldb-server not found")
Index: lldb/test/API/commands/process/attach/TestProcessAttach.py
===================================================================
--- lldb/test/API/commands/process/attach/TestProcessAttach.py
+++ lldb/test/API/commands/process/attach/TestProcessAttach.py
@@ -101,6 +101,7 @@
process = target.GetProcess()
self.assertTrue(process, PROCESS_IS_VALID)
+ @skipIfWindows # This test is flaky on Windows
@expectedFailureNetBSD
def test_attach_to_process_by_id_correct_executable_offset(self):
"""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111659.379092.patch
Type: text/x-patch
Size: 2568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211012/83b3cd3f/attachment.bin>
More information about the lldb-commits
mailing list