[lldb-dev] [Bug 21142] New: test_with_dwarf_and_run_command (TestInlinedBreakpoints.InlinedBreakpointsTestCase) failing on FreeBSD 10.1

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 2 13:48:58 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21142

            Bug ID: 21142
           Summary: test_with_dwarf_and_run_command
                    (TestInlinedBreakpoints.InlinedBreakpointsTestCase)
                    failing on FreeBSD 10.1
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

Command invoked: dotest.py --executable /tank/emaste/src/llvm/build/bin/lldb -C
/usr/bin/clang -v -t -f
InlinedBreakpointsTestCase.test_with_dwarf_and_run_command
compilers=['/usr/bin/clang']

Configuration: arch=amd64 compiler=/usr/bin/clang
----------------------------------------------------------------------
Collected 1 test

Change dir to:
/tank/emaste/src/llvm/tools/lldb/test/functionalities/breakpoint/inlined_breakpoints
1: test_with_dwarf_and_run_command
(TestInlinedBreakpoints.InlinedBreakpointsTestCase)
   Test 'b basic_types.cpp:176' does break (where int.cpp includes
basic_type.cpp). ... 
os command: gmake clean ; gmake MAKE_DSYM=NO ARCH=amd64 CC="/usr/bin/clang" 
with pid: 92729
stdout: rm -f "a.out"  int.o int.d  
rm -f -r 
/usr/bin/clang++ -std=c++11 -g -O0 -m64  
-I/tank/emaste/src/llvm/tools/lldb/test/make/../../include   -c -o int.o
int.cpp
/usr/bin/clang++  int.o -g -O0 -m64  
-I/tank/emaste/src/llvm/tools/lldb/test/make/../../include   -o "a.out"

stderr: 
retcode: 0


runCmd: file
/tank/emaste/src/llvm/tools/lldb/test/functionalities/breakpoint/inlined_breakpoints/a.out
output: Current executable set to
'/tank/emaste/src/llvm/tools/lldb/test/functionalities/breakpoint/inlined_breakpoints/a.out'
(x86_64).


runCmd: breakpoint set -f "basic_type.cpp" -l 176
output: Breakpoint 1: where = a.out`main + 2000 at basic_type.cpp:176, address
= 0x0000000000401100


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+)
locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no)
locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where =
(?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}(
\[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+),
address = (?P<address>0x[0-9a-fA-F]+)$
Matched

FAILURE

os command: gmake clean 
with pid: 92771
stdout: rm -f "a.out"  int.o int.d  
rm -f -r 

stderr: 
retcode: 0


Restore dir to: /tank/emaste/src/llvm/tools/lldb/test

======================================================================
FAIL: test_with_dwarf_and_run_command
(TestInlinedBreakpoints.InlinedBreakpointsTestCase)
   Test 'b basic_types.cpp:176' does break (where int.cpp includes
basic_type.cpp).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 380, in
wrapper
    return func(self, *args, **kwargs)
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py",
line 28, in test_with_dwarf_and_run_command
    self.inlined_breakpoints()
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py",
line 42, in inlined_breakpoints
    lldbutil.run_break_set_by_file_and_line (self, "basic_type.cpp", self.line,
num_expected_locations=0)
  File "/tank/emaste/src/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 "/tank/emaste/src/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 0 locations, got 1.
Config=amd64-/usr/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.178s

FAILED (failures=1)

-- 
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/20141002/41120248/attachment.html>


More information about the lldb-dev mailing list