Skip to content

[lldb] ScriptedFrameProviders are failing on arm32 bots. #170412

@medismailben

Description

@medismailben

The scripted frame providers tests that landed as part of #170236 fail on arm32 bots: https://lab.llvm.org/buildbot/#/builders/18/builds/23010/steps/6/logs/stdio

stdio.txt

FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_circular_dependency_with_function_replacement (TestFrameProviderCircularDependency.FrameProviderCircularDependencyTestCase)
======================================================================
FAIL: test_circular_dependency_with_function_replacement (TestFrameProviderCircularDependency.FrameProviderCircularDependencyTestCase)
   Test the circular dependency fix with a provider that replaces function names.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py", line 83, in test_circular_dependency_with_function_replacement
    self.assertEqual(
AssertionError: 0 != 6 : Frame count should be unchanged (replacement, not addition)
Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.478s

FAILED (failures=1)

...

FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_scripted_frame_objects (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
======================================================================
FAIL: test_scripted_frame_objects (TestScriptedFrameProvider.ScriptedFrameProviderTestCase)
   Test that provider can return ScriptedFrame objects.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py", line 153, in test_scripted_frame_objects
    self.assertEqual(
AssertionError: 0 != 5 : Should have 5 custom scripted frames
Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang
----------------------------------------------------------------------
Ran 7 tests in 11.317s

FAILED (failures=1)

--

It looks like the frame provider isn't loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions