[lldb-dev] [Bug 23012] New: failing tests for totclang, gcc4.8, and on i386
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 24 17:19:56 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23012
Bug ID: 23012
Summary: failing tests for totclang, gcc4.8, and on i386
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: chying at google.com
Classification: Unclassified
List of failing tests:
(clangtot-x86_64)
FAIL: LLDB (suite):: TestCPPThis.py
(gcc4.8.2-x86_64)
FAIL: LLDB (suite):: TestMiBreak.py
FAIL: LLDB (suite):: TestPluginCommands.py
FAIL: LLDB (suite):: TestRegisterVariables.py
FAIL: LLDB (suite):: TestTargetWatchAddress.py
FAIL: LLDB (suite):: TestTypedefArray.py
FAIL: LLDB (suite):: TestWatchLocation.py
FAIL: LLDB (suite):: TestWatchLocationWithWatchSet.py
FAIL: LLDB (suite):: TestWatchpointSetErrorCases.py
(clang-i386)
FAIL: LLDB (suite):: TestDataFormatterStdVBool.py
FAIL: LLDB (suite):: TestMiExec.py
FAIL: LLDB (suite):: TestNoreturnUnwind.py
xfail these tests to make buildbot green.
Error information:
FAIL: LLDB (/lldb-buildbot/lldbSlave/buildWorkingDir/build/bin/clang-x86_64) ::
test_with_dwarf_and_run_command (TestCPPThis.CPPThisTestCase)
======================================================================
FAIL: test_with_dwarf_and_run_command (TestCPPThis.CPPThisTestCase)
Test that the appropriate member variables are available when stopped in C++
static, inline, and const methods
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lang/cpp/this/TestCPPThis.py",
line 28, in test_with_dwarf_and_run_command
self.static_method_commands()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lang/cpp/this/TestCPPThis.py",
line 43, in static_method_commands
self.set_breakpoint(line_number('main.cpp', '// breakpoint 4'))
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lang/cpp/this/TestCPPThis.py",
line 34, in set_breakpoint
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", line,
num_expected_locations=1, loc_exact=False)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbutil.py",
line 328, in run_break_set_by_file_and_line
check_breakpoint_result (test, break_results, num_locations =
num_expected_locations)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbutil.py",
line 460, in check_breakpoint_result
test.assertTrue (num_locations == out_num_locations, "Expecting %d
locations, got %d."%(num_locations, out_num_locations))
AssertionError: False is not True : Expecting 1 locations, got 2.
Config=x86_64-/lldb-buildbot/lldbSlave/buildWorkingDir/build/bin/clang
FAIL: test_with_dwarf_and_run_command
(TestDataFormatterStdVBool.StdVBoolDataFormatterTestCase)
Test data formatter commands.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 702, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 717, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py",
line 30, in test_with_dwarf_and_run_command
self.data_formatter_commands()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py",
line 65, in data_formatter_commands
substrs = ['size=49','[0] = false','[1] = true','[18] = false','[27] =
true','[36] = false','[47] = true','[48] = true'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2146, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : '[47] = true' returns expected result
Config=i386-clang
ERROR: test_lldbmi_exec_next_instruction (TestMiExec.MiExecTestCase)
Test that 'lldb-mi --interpreter' works for instruction stepping.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 428, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 653, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/control/TestMiExec.py",
line 217, in test_lldbmi_exec_next_instruction
self.expect("\*stopped,reason=\"end-stepping-range\".*main.cpp\",line=\"28\"")
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/lldbmi_testcase.py",
line 43, in expect
return self.child.expect(pattern, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout,
searchwindowsize)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1414, in expect_loop
raise TIMEOUT (str(e) + '\n' + str(self))
TIMEOUT: Timeout exceeded in read_nonblocking().
ERROR: test_with_dwarf (TestNoreturnUnwind.NoreturnUnwind)
Test that we can backtrace correctly with 'noreturn' functions on the stack
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py",
line 27, in test_with_dwarf
self.noreturn_unwind_tests()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py",
line 49, in noreturn_unwind_tests
if f.GetFunctionName().endswith("abort"):
AttributeError: 'NoneType' object has no attribute 'endswith'
Config=i386-clang
ERROR: test_lldbmi_break_insert_file_line (TestMiBreak.MiBreakTestCase)
Test that 'lldb-mi --interpreter' works for file:line breakpoints.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 428, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 653, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/breakpoint/TestMiBreak.py",
line 101, in test_lldbmi_break_insert_file_line
self.expect("\*stopped,reason=\"breakpoint-hit\"")
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/lldbmi_testcase.py",
line 43, in expect
return self.child.expect(pattern, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout,
searchwindowsize)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
line 1414, in expect_loop
raise TIMEOUT (str(e) + '\n' + str(self))
TIMEOUT: Timeout exceeded in read_nonblocking().
FAIL: test_with_dwarf_and_run_command
(TestRegisterVariables.RegisterVariableTestCase)
Test expressions on register values.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lang/c/register_variables/TestRegisterVariables.py",
line 25, in test_with_dwarf_and_run_command
self.const_variable()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lang/c/register_variables/TestRegisterVariables.py",
line 76, in const_variable
substrs = ['(int) $2 = 5'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2082, in expect
self.runCmd(str, msg=msg, trace = (True if trace else False), check = not
error, inHistory=inHistory)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2008, in runCmd
msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Variable(s) displayed correctly
Config=x86_64-gcc4.8.2
ERROR: test_watch_address_with_invalid_watch_size_with_dwarf
(TestTargetWatchAddress.TargetWatchAddressAPITestCase)
Exercise SBTarget.WatchAddress() API but pass an invalid watch_size.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 411, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py",
line 54, in test_watch_address_with_invalid_watch_size_with_dwarf
self.do_set_watchaddress_with_invalid_watch_size()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py",
line 137, in do_set_watchaddress_with_invalid_watch_size
frame0 = thread.GetFrameAtIndex(0)
AttributeError: 'NoneType' object has no attribute 'GetFrameAtIndex'
FAIL: test_with_dwarf (lldbinline.TestTypedefArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbinline.py",
line 128, in __test_with_dwarf
self.do_test()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbinline.py",
line 148, in do_test
parser.handle_breakpoint(self, breakpoint_id)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbinline.py",
line 65, in handle_breakpoint
test.execute_user_command(breakpoint['command'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbinline.py",
line 131, in execute_user_command
exec __command in globals(), locals()
File "<string>", line 1, in <module>
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2146, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : '(Foo [3]) array = {' returns expected
result
Config=x86_64-gcc4.8.2
FAIL: test_watchlocation_with_dwarf_using_watchpoint_set
(TestWatchLocationWithWatchSet.WatchLocationUsingWatchpointSetTestCase)
Test watching a location with 'watchpoint set expression -w write -x size'
option.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py",
line 29, in test_watchlocation_with_dwarf_using_watchpoint_set
self.watchlocation_using_watchpoint_set()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py",
line 59, in watchlocation_using_watchpoint_set
'stop reason = breakpoint'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2146, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : Process should be stopped due to breakpoint
Config=x86_64-gcc4.8.2
FAIL: test_hello_watchlocation_with_dwarf
(TestWatchLocation.HelloWatchLocationTestCase)
Test watching a location with '-x size' option.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 479, in wrapper
return func(self, *args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py",
line 30, in test_hello_watchlocation_with_dwarf
self.hello_watchlocation()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py",
line 60, in hello_watchlocation
'stop reason = breakpoint'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2146, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : Process should be stopped due to breakpoint
FAIL: test_error_cases_with_watchpoint_set
(TestWatchpointSetErrorCases.WatchpointSetErrorTestCase)
Test error cases with the 'watchpoint set' command.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 543, in wrapper
func(*args, **kwargs)
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py",
line 20, in test_error_cases_with_watchpoint_set
self.error_cases_with_watchpoint_set()
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py",
line 48, in error_cases_with_watchpoint_set
'stop reason = breakpoint'])
File
"/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
line 2146, in expect
msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : Process should be stopped due to breakpoint
--
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/20150325/fb598f9e/attachment.html>
More information about the lldb-dev
mailing list