<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - TestRegisters.py fails on Linux (failed to write register 'mxcsr')"
href="https://bugs.llvm.org/show_bug.cgi?id=39958">39958</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TestRegisters.py fails on Linux (failed to write register 'mxcsr')
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martongabesz@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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 (<a href="https://llvm.org/svn/llvm-project/lldb/trunk">https://llvm.org/svn/llvm-project/lldb/trunk</a> 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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>