Regression

Test Clang 7.0.1 / lldb-Suite.functionalities/data-formatter/data-formatter-objc.TestDataFormatterObjCNSDate.py (from lldb-Suite)

Failing for the past 1 build (Since Unstable#270 )
Took 8.5 sec.

Stacktrace

lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision 1a3dd638c4a9173e53628b497a1aadc31c32eb50)
  clang revision daa79c5338228a746a7eba0cf2f2f356e1d45a5b
  llvm revision daa79c5338228a746a7eba0cf2f2f356e1d45a5b
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/bin
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs'
Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/dotest.py --arch=x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/FileCheck -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang --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/tools/lldb/lldb-test-build.noindex --module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc -p TestDataFormatterObjCNSDate.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc
runCmd: settings set symbols.enable-external-lookup 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/tools/lldb/lldb-test-build.noindex/module-cache-lldb"
output: 

runCmd: settings set use-color false
output: 

runCmd: thread list
output: Process 89596 stopped
* thread #1: tid = 0x277410d, 0x0000000100004857 a.out`main(argc=1, argv=0x00007ffeefbffca0) at main.m:623:6, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  thread #2: tid = 0x2774328, 0x00007fff727da5be libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #3: tid = 0x277432a, 0x00007fff727da5be libsystem_kernel.dylib`__workq_kernreturn + 10


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 immutableData mutableData data_ref mutable_data_ref mutable_string_ref concreteData concreteMutableData
output: (NSData *) immutableData = 0x0000000101a0a030 4 bytes
(NSData *) mutableData = 0x0000000101a0a870 14 bytes
(CFDataRef) data_ref = 0x0000000101a0ac90 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000000101a0ace0 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x0000000101a0ad30 @"Wish ya knew"
(NSData *) concreteData = 0x0000000101a0a980 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000000101a0a9f0 100000 bytes


Expecting sub string: (NSData *) immutableData = 
Matched

Expecting sub string:  4 bytes
Matched

Expecting sub string: (NSData *) mutableData = 
Matched

Expecting sub string:  14 bytes
Matched

Expecting sub string: (CFDataRef) data_ref = 
Matched

Expecting sub string: @"5 bytes"
Matched

Expecting sub string: (CFMutableDataRef) mutable_data_ref = 
Matched

Expecting sub string: @"5 bytes"
Matched

Expecting sub string: (CFMutableStringRef) mutable_string_ref = 
Matched

Expecting sub string:  @"Wish ya knew"
Matched

Expecting sub string: (NSData *) concreteData = 
Matched

Expecting sub string:  100000 bytes
Matched

Expecting sub string: (NSMutableData *) concreteMutableData = 
Matched

Expecting sub string:  100000 bytes
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10fea8510> >>: 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-matrix/clang_701_build/bin/clang-7-x86_64) :: test_nsdata_with_run_command_dsym (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
runCmd: settings set symbols.enable-external-lookup 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/tools/lldb/lldb-test-build.noindex/module-cache-lldb"
output: 

runCmd: settings set use-color false
output: 

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7-x86_64) :: test_nsdata_with_run_command_dwarf (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10fddbcf0> >>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7-x86_64) :: test_nsdata_with_run_command_dwo (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7-x86_64) :: test_nsdata_with_run_command_gmodules (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate) (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/lit
======================================================================
FAIL: test_nsdata_with_run_command_dwarf (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
   Test formatters for  NSData.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1748, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 21, in test_nsdata_with_run_command
    self.appkit_tester_impl(self.nsdata_data_formatter_commands)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py", line 20, in appkit_tester_impl
    self.appkit_common_data_formatters_command()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py", line 27, in appkit_common_data_formatters_command
    lldb.SBFileSpec('main.m', False))
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 838, in run_to_source_breakpoint
    return run_to_breakpoint_do_run(test, target, breakpoint, launch_info)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py", line 781, in run_to_breakpoint_do_run
    test.assertTrue(len(threads) == 1, "Expected 1 thread to stop at breakpoint, %d did."%(len(threads)))
AssertionError: False is not True : Expected 1 thread to stop at breakpoint, 0 did.
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7
----------------------------------------------------------------------
Ran 4 tests in 7.961s

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