Regression

Test Clang 7.0.1 / lldb-api.functionalities/breakpoint/breakpoint_conditions.TestBreakpointConditions.py (from lldb-api)

Failing for the past 1 build (Since Unstable#1833 )
Took 11 sec.

Stacktrace

Script:
--
/usr/local/Frameworks/Python.framework/Versions/3.7/bin/python3.7 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --arch=x86_64 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/FileCheck --yaml2obj /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/yaml2obj --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -p TestBreakpointConditions.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 12.0.99
  clang revision 8aeb212887024a615ca02437cd12fa055bd54b6f
  llvm revision 8aeb212887024a615ca02437cd12fa055bd54b6f
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']

--
Command Output (stderr):
--

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs'
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

breakpoint: SBBreakpoint: id = 1, name = 'c', module = a.out, locations = 1

looking at: val == 3

Expecting start string: val == 3
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10b714a20> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_python_api_dsym (TestBreakpointConditions.BreakpointConditionsTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

breakpoint: SBBreakpoint: id = 1, name = 'c', module = a.out, locations = 1

looking at: val == 3

Expecting start string: val == 3
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1065e68a0> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_python_api_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_python_api_dwo (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_python_api_gmodules (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -n "c"
output: Breakpoint 1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7


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]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint modify -c 'val == 3' 1
output: 

runCmd: run
output: Process 10801 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 10801 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dsym/a.out' (x86_64)


runCmd: process status
output: Process 10801 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 3


Expecting start string: (int) val = 3
Matched

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
Condition: val == 3

  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Expecting sub string: resolved = 1
Matched

Expecting sub string: Condition: val == 3
Matched

Expecting sub string: hit count = 1
Matched

runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
    frame #1: 0x0000000100000e57 a.out`a(val=3) at main.c:16:16
    frame #2: 0x0000000100000f12 a.out`main(argc=1, argv=0x00007ffeefbff6e8) at main.c:39:14
    frame #3: 0x00007fff6906dcc9 libdyld.dylib`start + 1
    frame #4: 0x00007fff6906dcc9 libdyld.dylib`start + 1


Expecting pattern: frame #0.*main.c:28
Matched

Expecting pattern: frame #1.*main.c:16
Matched

runCmd: process kill
output: 

runCmd: breakpoint modify -c ''
output: 

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Not expecting sub string: Condition:
Not matched

runCmd: run
output: Process 11341 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 11341 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dsym/a.out' (x86_64)


runCmd: process status
output: Process 11341 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 1


Expecting start string: (int) val = 1
Matched

runCmd: process kill
output: 

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10b121360> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_run_command_dsym (TestBreakpointConditions.BreakpointConditionsTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dwarf/a.out' (x86_64).


runCmd: breakpoint set -n "c"
output: Breakpoint 1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7


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]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: breakpoint modify -c 'val == 3' 1
output: 

runCmd: run
output: Process 11768 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 11768 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dwarf/a.out' (x86_64)


runCmd: process status
output: Process 11768 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 3


Expecting start string: (int) val = 3
Matched

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
Condition: val == 3

  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Expecting sub string: resolved = 1
Matched

Expecting sub string: Condition: val == 3
Matched

Expecting sub string: hit count = 1
Matched

runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
    frame #1: 0x0000000100000e57 a.out`a(val=3) at main.c:16:16
    frame #2: 0x0000000100000f12 a.out`main(argc=1, argv=0x00007ffeefbff6e0) at main.c:39:14
    frame #3: 0x00007fff6906dcc9 libdyld.dylib`start + 1


Expecting pattern: frame #0.*main.c:28
Matched

Expecting pattern: frame #1.*main.c:16
Matched

runCmd: process kill
output: 

runCmd: breakpoint modify -c ''
output: 

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Not expecting sub string: Condition:
Not matched

runCmd: run
output: Process 12132 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 12132 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_and_run_command_dwarf/a.out' (x86_64)


runCmd: process status
output: Process 12132 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 1


Expecting start string: (int) val = 1
Matched

runCmd: process kill
output: 

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1065e6390> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_run_command_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_run_command_dwo (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_and_run_command_gmodules (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -n "c" -c 'val == 3'
output: Breakpoint 1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7


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]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 12598 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 12598 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dsym/a.out' (x86_64)


runCmd: process status
output: Process 12598 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 3


Expecting start string: (int) val = 3
Matched

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
Condition: val == 3

  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Expecting sub string: resolved = 1
Matched

Expecting sub string: Condition: val == 3
Matched

Expecting sub string: hit count = 1
Matched

runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
    frame #1: 0x0000000100000e57 a.out`a(val=3) at main.c:16:16
    frame #2: 0x0000000100000f12 a.out`main(argc=1, argv=0x00007ffeefbff6e0) at main.c:39:14
    frame #3: 0x00007fff6906dcc9 libdyld.dylib`start + 1


Expecting pattern: frame #0.*main.c:28
Matched

Expecting pattern: frame #1.*main.c:16
Matched

runCmd: process kill
output: 

runCmd: breakpoint modify -c ''
output: 

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Not expecting sub string: Condition:
Not matched

runCmd: run
output: Process 12880 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 12880 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dsym/a.out' (x86_64)


runCmd: process status
output: Process 12880 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=1) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 1


Expecting start string: (int) val = 1
Matched

runCmd: process kill
output: 

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10b121360> >>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_inline_and_run_command_dsym (TestBreakpointConditions.BreakpointConditionsTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dwarf/a.out' (x86_64).


runCmd: breakpoint set -n "c" -c 'val == 3'
output: Breakpoint 1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7


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]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 13238 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])

Process 13238 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_condition_inline_and_run_command_dwarf/a.out' (x86_64)


runCmd: process status
output: Process 13238 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
   25  	
   26  	int c(int val)
   27  	{
-> 28  	    return val + 3; // Find the line number of function "c" here.
    	           ^
   29  	}
   30  	
   31  	int main (int argc, char const *argv[])


Expecting pattern: Process .* stopped
Matched

runCmd: frame variable --show-types val
output: (int) val = 3


Expecting start string: (int) val = 3
Matched

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
Condition: val == 3

  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Expecting sub string: resolved = 1
Matched

Expecting sub string: Condition: val == 3
Matched

Expecting sub string: hit count = 1
Matched

runCmd: thread backtrace
output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x0000000100000ea7 a.out`c(val=3) at main.c:28:12
    frame #1: 0x0000000100000e57 a.out`a(val=3) at main.c:16:16
    frame #2: 0x0000000100000f12 a.out`main(argc=1, argv=0x00007ffeefbff6d8) at main.c:39:14
    frame #3: 0x00007fff6906dcc9 libdyld.dylib`start + 1
    frame #4: 0x00007fff6906dcc9 libdyld.dylib`start + 1


Expecting pattern: frame #0.*main.c:28
Matched

Expecting pattern: frame #1.*main.c:16
Matched

runCmd: process kill
output: 

runCmd: breakpoint modify -c ''
output: 

runCmd: breakpoint list -f
output: Current breakpoints:
1: name = 'c', locations = 1, resolved = 1, hit count = 1
  1.1: where = a.out`c + 7 at main.c:28:12, address = 0x0000000100000ea7, resolved, hit count = 1 



Not expecting sub string: Condition:
Not matched

runCmd: run
runCmd failed!
error: shell expansion failed (reason: lldb-argdumper exited with error -1). consider launching with 'process launch'.


Command 'run' failed!

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_inline_and_run_command_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_inline_and_run_command_dwo (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_condition_inline_and_run_command_gmodules (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_invalid_condition_and_python_api_dsym (TestBreakpointConditions.BreakpointConditionsTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: setting set target.prefer-dynamic-value no-dynamic-values
output: 

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_invalid_condition_and_python_api_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_invalid_condition_and_python_api_dwo (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12-x86_64) :: test_breakpoint_invalid_condition_and_python_api_gmodules (TestBreakpointConditions.BreakpointConditionsTestCase) (test case does not fall in any category of interest for this run) 
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
ERROR: test_breakpoint_invalid_condition_and_python_api_dsym (TestBreakpointConditions.BreakpointConditionsTestCase)
    Use Python APIs to set breakpoint conditions.
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_invalid_condition_and_python_api_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/Makefile MAKE_DSYM=YES ARCH=x86_64 CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12" DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil  CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api all 

Build Command Output:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12 -M -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -std=c99 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c -MF main.d -MT main.d -MT main.o
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12 -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -std=c99   -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c
make: *** [main.o] Killed: 9

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions
======================================================================
ERROR: test_breakpoint_invalid_condition_and_python_api_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
    Use Python APIs to set breakpoint conditions.
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.test_breakpoint_invalid_condition_and_python_api_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/Makefile MAKE_DSYM=NO ARCH=x86_64 CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12" DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil  CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api 

Build Command Output:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12 -M -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -std=c99 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c -MF main.d -MT main.d -MT main.o
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12 -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -std=c99   -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/main.c
make: *** [main.o] Killed: 9

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions
======================================================================
FAIL: test_breakpoint_condition_inline_and_run_command_dwarf (TestBreakpointConditions.BreakpointConditionsTestCase)
    Exercise breakpoint condition inline with 'breakpoint set'.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1728, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py", line 23, in test_breakpoint_condition_inline_and_run_command
    self.breakpoint_conditions(inline=True)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py", line 105, in breakpoint_conditions
    self.runCmd("run", RUN_SUCCEEDED)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2062, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Process is launched successfully
Error output:
error: shell expansion failed (reason: lldb-argdumper exited with error -1). consider launching with 'process launch'.

Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-12
----------------------------------------------------------------------
Ran 16 tests in 10.880s

RESULT: FAILED (5 passes, 1 failures, 2 errors, 8 skipped, 0 expected failures, 0 unexpected successes)

--