llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.02k stars 11.96k forks source link

LLVM 14.0.0 AArch64 lldb failures #53697

Open rovka opened 2 years ago

rovka commented 2 years ago

Several lldb tests are failing on AArch64 when running the test-release.sh on Ubuntu bionic:

lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/unique_ptr/TestDataFormatterLibcxxUniquePtr.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
lldb-api :: functionalities/inferior-assert/TestInferiorAssert.py
lldb-api :: lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py

The output for TestInferiorAssert.py looks something like this:

AssertionError: False is not True : Command 'disassemble -a 281474838502275
Error output:
error: Could not find function bounds for address 0xfffff7c31b83

Most of the others are something along these lines:

  File "/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-jade-03/rc1/llvm-project/lldb/test/API/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py", line 40, in test
    self, "// Set break point at this line.", self.main_source_spec)
  File "/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-jade-03/rc1/llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 1029, in run_to_source_breakpoint
    only_one_thread, extra_images)
  File "/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-jade-03/rc1/llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 948, in run_to_breakpoint_do_run
    test.assertEqual(process.GetState(), lldb.eStateStopped)
AssertionError: 10 != 5
Config=aarch64-/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-jade-03/rc1/Phase3/Release/llvmCore-14.0.0-rc1.obj/bin/clang
llvmbot commented 2 years ago

@llvm/issue-subscribers-lldb

llvmbot commented 2 years ago

@llvm/issue-subscribers-backend-aarch64

tstellar commented 2 years ago

This issue was not resolved in time for 14.0.0 and will need to be fixed in the next release (14.0.1). If you disagree with this or you feel there was a mistake, please change the milestone back to 'LLVM 14.0.0 Release' so we can discuss.

rovka commented 2 years ago

As of 14.0.0-rc4, the only one of these failures left is lldb-api :: functionalities/inferior-assert/TestInferiorAssert.py. This might have something to do with the fact that we switched back to enabling libcxx in PROJECTS rather than RUNTIMES.

tstellar commented 2 years ago

@rovka Are these failures still present in 15.0.0-rc1 ?

rovka commented 2 years ago

@tstellar Yes, but @omjavaid says we can ignore them.