Skip to content

[lldb][test] Skip libsanitizers tests for now #130305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

Michael137
Copy link
Member

@Michael137 Michael137 commented Mar 7, 2025

These are macOS tests only and are currently failing on the x86_64 CI and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:

Process 17458 stopped
* thread #1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)

instead of the libsanitizers library. This seems to be related to -fsanitize-trivial-abi support

Skip these for now until we figure out the root cause.

These are macOS tests only and are currently failing on the x86_64 CI and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:
```
Process 17458 stopped
* thread llvm#1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)
```
instead of the libsanitizers library.

Skip these for now until we figure out the root cause.
@llvmbot
Copy link
Member

llvmbot commented Mar 7, 2025

@llvm/pr-subscribers-lldb

Author: Michael Buch (Michael137)

Changes

These are macOS tests only and are currently failing on the x86_64 CI and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:

Process 17458 stopped
* thread #<!-- -->1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)

instead of the libsanitizers library.

Skip these for now until we figure out the root cause.


Full diff: https://github.com/llvm/llvm-project/pull/130305.diff

2 Files Affected:

  • (modified) lldb/test/API/functionalities/asan/TestMemoryHistory.py (+1)
  • (modified) lldb/test/API/functionalities/asan/TestReportData.py (+1)
diff --git a/lldb/test/API/functionalities/asan/TestMemoryHistory.py b/lldb/test/API/functionalities/asan/TestMemoryHistory.py
index 41ab25823f5cc..b04182a543719 100644
--- a/lldb/test/API/functionalities/asan/TestMemoryHistory.py
+++ b/lldb/test/API/functionalities/asan/TestMemoryHistory.py
@@ -19,6 +19,7 @@ def test(self):
         self.asan_tests()
 
     @skipIf(oslist=no_match(["macosx"]))
+    @skipIf(bugnumber="rdar://144997976")
     def test_libsanitizers_asan(self):
         try:
             self.build(make_targets=["libsanitizers"])
diff --git a/lldb/test/API/functionalities/asan/TestReportData.py b/lldb/test/API/functionalities/asan/TestReportData.py
index 29bdf1fac8e73..3319677be9b51 100644
--- a/lldb/test/API/functionalities/asan/TestReportData.py
+++ b/lldb/test/API/functionalities/asan/TestReportData.py
@@ -20,6 +20,7 @@ def test(self):
         self.asan_tests()
 
     @skipIf(oslist=no_match(["macosx"]))
+    @skipIf(bugnumber="rdar://144997976")
     def test_libsanitizers_asan(self):
         try:
             self.build(make_targets=["libsanitizers"])

@Michael137 Michael137 merged commit 6cc8b0b into llvm:main Mar 7, 2025
12 checks passed
@Michael137 Michael137 deleted the lldb/skip-libsanitizers-tests branch March 7, 2025 21:04
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Mar 20, 2025
These are macOS tests only and are currently failing on the x86_64 CI
and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:
```
Process 17458 stopped
* thread #1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)
```
instead of the libsanitizers library. This seems to be related to
`-fsanitize-trivial-abi` support

Skip these for now until we figure out the root cause.

(cherry picked from commit 6cc8b0b)
jph-13 pushed a commit to jph-13/llvm-project that referenced this pull request Mar 21, 2025
These are macOS tests only and are currently failing on the x86_64 CI
and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:
```
Process 17458 stopped
* thread llvm#1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)
```
instead of the libsanitizers library. This seems to be related to
`-fsanitize-trivial-abi` support

Skip these for now until we figure out the root cause.
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Mar 24, 2025
These are macOS tests only and are currently failing on the x86_64 CI
and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:
```
Process 17458 stopped
* thread #1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)
```
instead of the libsanitizers library. This seems to be related to
`-fsanitize-trivial-abi` support

Skip these for now until we figure out the root cause.

(cherry picked from commit 6cc8b0b)
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Mar 24, 2025
These are macOS tests only and are currently failing on the x86_64 CI
and on arm64 on recent versions of macOS/Xcode.

The tests are failing because we're stopping in:
```
Process 17458 stopped
* thread #1: tid = 0xbda69a, 0x00000002735bd000
  libsystem_malloc.dylib`purgeable_print_self.cold.1, stop reason = EXC_BREAKPOINT (code=1, subcode=0x2735bd000)
```
instead of the libsanitizers library. This seems to be related to
`-fsanitize-trivial-abi` support

Skip these for now until we figure out the root cause.

(cherry picked from commit 6cc8b0b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants