[Lldb-commits] [lldb] [LLDB] Add a StackFrameRecognizer for the Darwin specific abort_with_payload… (PR #101365)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 5 03:17:11 PDT 2024


Michael137 wrote:

FYI, this is failing on x86 and matrix macOS bots: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake/4544/execution/node/97/log/?consoleFull
```
FAIL: LLDB (/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/lldb-build/bin/clang-x86_64) :: test_abort_with_reason (TestAbortWithPayload.TestAbortWithPayload)
Restore dir to: /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/lldb-build/tools/lldb/test
======================================================================
FAIL: test_abort_with_payload (TestAbortWithPayload.TestAbortWithPayload)
   There can be many tests in a test case - describe this test here.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py", line 20, in test_abort_with_payload
    self.abort_with_test(True)
  File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py", line 129, in abort_with_test
    self.assertEqual(
AssertionError: 140702053824792 != 46 : payload size value correct
Config=x86_64-/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/lldb-build/bin/clang
======================================================================
FAIL: test_abort_with_reason (TestAbortWithPayload.TestAbortWithPayload)
   There can be many tests in a test case - describe this test here.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py", line 26, in test_abort_with_reason
    self.abort_with_test(False)
  File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py", line 138, in abort_with_test
    self.assertEqual(
AssertionError: 140702053824776 != 0 : Got 0 payload size for reason call
Config=x86_64-/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 3.083s

FAILED (failures=2)
```

@jimingham could you take a look?

https://github.com/llvm/llvm-project/pull/101365


More information about the lldb-commits mailing list