Failed

lldb-api.functionalities/data-formatter/data-formatter-objc/nsindexpath.TestDataFormatterNSIndexPath.py (from lldb-api)

Failing for the past 16 builds (Since Failed#1491 )
Took 39 sec.

Stacktrace

Script:
--
/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-system-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath -p TestDataFormatterNSIndexPath.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 11.0.99
  clang revision 01899bb4e41178af6f4cf7b32833e661fe1e3322
  llvm revision 01899bb4e41178af6f4cf7b32833e661fe1e3322

--
Command Output (stderr):
--

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs'
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath
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-sanitized/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: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -f "main.m" -l 15
output: Breakpoint 1: where = a.out`main + 301 at main.m:15:22, address = 0x0000000100000e9d


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 67465 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000e9d a.out`main(argc=1, argv=0x00007ffeefbff650) at main.m:15:22
   12  	        NSIndexPath* indexPath4 = [NSIndexPath indexPathWithIndexes:values length:4];
   13  	        NSIndexPath* indexPath5 = [NSIndexPath indexPathWithIndexes:values length:5];
   14  	        
-> 15  	        NSLog(@"%@", indexPath1); // break here
    	                     ^
   16  	        NSLog(@"%@", indexPath2);
   17  	        NSLog(@"%@", indexPath3);
   18  	        NSLog(@"%@", indexPath4);

Process 67465 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 67465 stopped
* thread #1: tid = 0x7b6ac1, 0x0000000100000e9d a.out`main(argc=1, argv=0x00007ffeefbff650) at main.m:15:22, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = breakpoint
Matched

Adding tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type synth clear', check=False)


runCmd: frame variable --ptr-depth=1 -d run -- indexPath1
output: (NSIndexPath *) indexPath1 = 0x3cdd3599011cff93 {
  [0] = 1
}


Expecting sub string: [0] = 1
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath2
output: (NSIndexPath *) indexPath2 = 0x3cdd3599051cfe13 {
  [0] = 1
  [1] = 2
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath3
output: (NSIndexPath *) indexPath3 = 0x3cdd3559051cfe93 {
  [0] = 1
  [1] = 2
  [2] = 3
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath4
output: (NSIndexPath *) indexPath4 = 0x3cfd3559051cfd13 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath5
output: (NSIndexPath *) indexPath5 = 0x0000603000002f20 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
  [4] = 5
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

Expecting sub string: [4] = 5
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath1
output: (NSIndexPath *) $0 = 0x3cdd3599011cff93 {
  [0] = 1
}


Expecting sub string: [0] = 1
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath2
output: (NSIndexPath *) $1 = 0x3cdd3599051cfe13 {
  [0] = 1
  [1] = 2
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath3
output: (NSIndexPath *) $2 = 0x3cdd3559051cfe93 {
  [0] = 1
  [1] = 2
  [2] = 3
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath4
output: (NSIndexPath *) $3 = 0x3cfd3559051cfd13 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath5
output: (NSIndexPath *) $4 = 0x0000603000002f20 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
  [4] = 5
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

Expecting sub string: [4] = 5
Matched

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

Executing tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type synth clear', check=False)


runCmd: type format clear
check of return status not required
output: 

runCmd: type summary clear
check of return status not required
output: 

runCmd: type synth clear
check of return status not required
output: 

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_nsindexpath_with_run_command_dsym (TestDataFormatterNSIndexPath.NSIndexPathDataFormatterTestCase)
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-sanitized/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: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dwarf/a.out' (x86_64).

Assertion failed: (tokenKind == tok::kw___bridge_retain), function ParseParenExpression, file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/clang/lib/Parse/ParseExpr.cpp, line 2819.

--