[llvm-bugs] [Bug 38457] New: LLDB: TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase (and 1 more) failing with UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 164: invalid continuation byte
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 6 03:05:39 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38457
Bug ID: 38457
Summary: LLDB:
TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterT
estCase (and 1 more) failing with UnicodeDecodeError:
'utf8' codec can't decode byte 0xd0 in position 164:
invalid continuation byte
Product: lldb
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mgorny at gentoo.org
CC: llvm-bugs at lists.llvm.org
Blocks: 38406
Created attachment 20644
--> https://bugs.llvm.org/attachment.cgi?id=20644&action=edit
Error-StdSmartPtrDataFoError-StdSmartPtrDataFormatterTestCase-test_with_run_command_dwarf.logrmatterTestCase-test_with_run_command_dwarf.log
FAIL: lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py
(210 of 1188)
******************** TEST 'lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py'
FAILED ********************
lldb version 7.0.0 ( revision 70c4484ad65f92d9d59deedbef65705e46c6987c)
LLDB library dir:
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/bin
LLDB import library dir:
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/bin
Skipping following debug info categories: ['dsym', 'gmodules']
Session logs for test failures/errors/unexpected successes will go into
directory
'/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/lldb-test-traces'
Command invoked:
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/test/dotest.py -q
--arch= -s
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/lldb-test-traces
--build-dir
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/lldb-test-build.noindex
-S nm -u CXXFLAGS -u CFLAGS --executable
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/./bin/lldb
--dsymutil
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999_build/./bin/dsymutil
-C /usr/lib/llvm/7/bin/clang --env ARCHIVER=/usr/bin/x86_64-pc-linux-gnu-ar
--env OBJCOPY=/usr/bin/objcopy
/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr
-p TestDataFormatterStdSmartPtr.py
UNSUPPORTED: LLDB (/usr/lib64/llvm/7/bin/clang-7-x86_64) ::
test_with_run_command_dsym
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase) (test case does
not fall in any category of interest for this run)
FAIL: LLDB (/usr/lib64/llvm/7/bin/clang-7-x86_64) ::
test_with_run_command_dwarf
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase)
FAIL: LLDB (/usr/lib64/llvm/7/bin/clang-7-x86_64) :: test_with_run_command_dwo
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase)
UNSUPPORTED: LLDB (/usr/lib64/llvm/7/bin/clang-7-x86_64) ::
test_with_run_command_gmodules
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase) (test case does
not fall in any category of interest for this run)
======================================================================
ERROR: test_with_run_command_dwarf
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 1757, in test_method
return attrvalue(self)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py",
line 33, in test_with_run_command
self.expect("frame variable ssp", substrs=['ssp = "foobar"'])
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 2185, in expect
inHistory=inHistory)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 2066, in runCmd
print(self.res.GetError(), file=sbuf)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 287, in __exit__
print(self.getvalue(), file=self.session)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/support/encoded_file.py",
line 34, in impl
s = s.decode(encoding)
File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 164:
invalid continuation byte
Config=x86_64-/usr/lib64/llvm/7/bin/clang-7
======================================================================
ERROR: test_with_run_command_dwo
(TestDataFormatterStdSmartPtr.StdSmartPtrDataFormatterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 1757, in test_method
return attrvalue(self)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py",
line 33, in test_with_run_command
self.expect("frame variable ssp", substrs=['ssp = "foobar"'])
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 2185, in expect
inHistory=inHistory)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 2066, in runCmd
print(self.res.GetError(), file=sbuf)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/test/lldbtest.py",
line 287, in __exit__
print(self.getvalue(), file=self.session)
File
"/var/tmp/portage/dev-util/lldb-7.0.9999/work/lldb-7.0.9999/packages/Python/lldbsuite/support/encoded_file.py",
line 34, in impl
s = s.decode(encoding)
File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 164:
invalid continuation byte
Config=x86_64-/usr/lib64/llvm/7/bin/clang-7
----------------------------------------------------------------------
Ran 4 tests in 9.178s
RESULT: FAILED (0 passes, 0 failures, 2 errors, 2 skipped, 0 expected failures,
0 unexpected successes)
********************
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=38406
[Bug 38406] [meta] 7.0.0 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180806/2ca816df/attachment.html>
More information about the llvm-bugs
mailing list