Skip to content

TestLinuxCore: two aarch64 reg test cases fail on FreeBSD/aarch64 #48759

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 49415
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @arichardson,@emaste,@JDevlieghere,@labath

Extended Description

FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) :: test_aarch64_regs (TestLinuxCore.LinuxCoreTestCase)
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) :: test_aarch64_sve_regs_fpsimd (TestLinuxCore.LinuxCoreTestCase)

The results look a bit suspicious -- like a rounding/printing problem. I wonder if it could be affected by some subtle stdlib difference.

======================================================================
FAIL: test_aarch64_regs (TestLinuxCore.LinuxCoreTestCase)

Traceback (most recent call last):
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper
return func(*args, **kwargs)
File "/home/mgorny/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py", line 348, in test_aarch64_regs
substrs=["{} = {}".format(regname, value)])
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2566, in expect
self.fail(log_msg)
AssertionError: Ran command:
"register read d4"

Got output:
d4 = 0

Expecting sub string: "d4 = 5.35161536149201e-315" (was not found)
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang

FAIL: test_aarch64_sve_regs_fpsimd (TestLinuxCore.LinuxCoreTestCase)

Traceback (most recent call last):
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper
return func(*args, **kwargs)
File "/home/mgorny/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py", line 435, in test_aarch64_sve_regs_fpsimd
substrs=["{} = {}".format(regname, value)])
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2566, in expect
self.fail(log_msg)
AssertionError: Ran command:
"register read d4"

Got output:
d4 = 0

Expecting sub string: "d4 = 5.35161536149201e-315" (was not found)
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang

Ran 18 tests in 37.985s

RESULT: FAILED (16 passes, 2 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions