Skip to content
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

LLDB test TestSectionAPI sporadicly fails in CI on Windows #9705

Open
weliveindetail opened this issue Dec 6, 2024 · 0 comments
Open

LLDB test TestSectionAPI sporadicly fails in CI on Windows #9705

weliveindetail opened this issue Dec 6, 2024 · 0 comments

Comments

@weliveindetail
Copy link

I never saw this test failing before and I don't see a recent change, that might have caused it. Needs investigation:

======================================================================
FAIL: test_compressed_section_data (TestSectionAPI.SectionAPITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 452, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\llvm-project\lldb\test\API\python_api\section\TestSectionAPI.py", line 67, in test_compressed_section_data
    self.assertEqual(section_data, [0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80, 0x90])
AssertionError: Lists differ: [] != [32, 48, 64, 80, 96, 112, 128, 144]

Apparently, we got an empty list from section.GetSectionData() but it's not clear why:

section_data = section.GetSectionData().uint8s
self.assertEqual(section_data, [0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80, 0x90])

CI failure was observed in this PR swiftlang/swift#76894 (comment)
Please find the full log attached here: swift-PR-windows-34070.txt
The parallel test run on Linux succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant