[lldb-dev] [Bug 39958] New: TestRegisters.py fails on Linux (failed to write register 'mxcsr')
via lldb-dev
lldb-dev at lists.llvm.org
Tue Dec 11 06:13:58 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39958
Bug ID: 39958
Summary: TestRegisters.py fails on Linux (failed to write
register 'mxcsr')
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: martongabesz at gmail.com
CC: llvm-bugs at lists.llvm.org
Ubuntu 16.04, x86_64
FAIL: lldb-Suite :: functionalities/register/register_command/TestRegisters.py
(419 of 1400)
******************** TEST 'lldb-Suite ::
functionalities/register/register_command/TestRegisters.py' FAILED
********************
lldb version 8.0.0 (https://llvm.org/svn/llvm-project/lldb/trunk revision
348711)
clang revision 348755
llvm revision 348757
LLDB library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
LLDB import library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
The 'lldb-vscode' executable cannot be located. The lldb-vscode tests can not
be run as a result.
Skipping following debug info categories: ['dsym', 'gmodules']
Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/register/register_command
-p TestRegisters.py
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_convenience_registers (TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_convenience_registers_16bit_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_convenience_registers_with_process_attach
(TestRegisters.RegisterCommandsTestCase)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_fp_register_write (TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_fp_special_purpose_register_read
(TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_register_commands (TestRegisters.RegisterCommandsTestCase)
PASS: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_register_expressions (TestRegisters.RegisterCommandsTestCase)
======================================================================
FAIL: test_fp_register_write (TestRegisters.RegisterCommandsTestCase)
Test commands that write to registers, in particular floating-point
registers.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 143, in wrapper
func(*args, **kwargs)
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 143, in wrapper
func(*args, **kwargs)
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 143, in wrapper
func(*args, **kwargs)
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/decorators.py",
line 113, in wrapper
func(*args, **kwargs)
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py",
line 66, in test_fp_register_write
self.fp_register_write()
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py",
line 378, in fp_register_write
self.write_and_read(currentFrame, reg, val, must)
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py",
line 185, in write_and_read
self.runCmd("register write " + register + " \'" + new_value + "\'")
File
"/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2072, in runCmd
msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Command 'register write mxcsr '0x0000ff0e'
Error output:
error: Failed to write register 'mxcsr' with value '0x0000ff0e'
' returns successfully
Config=x86_64-/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8
----------------------------------------------------------------------
Ran 7 tests in 12.127s
RESULT: FAILED (6 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20181211/4730da61/attachment.html>
More information about the lldb-dev
mailing list