Regression

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

Failing for the past 1 build (Since #752 )
Took 42 sec.

Stacktrace

lldb version 11.0.99 (http://labmaster3.local/git/llvm-project.git revision c969335abdb22284691e7cb2894820350cfe422b)
  clang revision c969335abdb22284691e7cb2894820350cfe422b
  llvm revision c969335abdb22284691e7cb2894820350cfe422b
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/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']
setting set target.prefer-dynamic-value no-dynamic-values

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs'
Command invoked: /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 /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/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-sanitized/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-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
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: 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: thread list
output: Process 66206 stopped
* thread #1: tid = 0x25251e, 0x000000010000483b a.out`main(argc=1, argv=0x00007ffeefbff490) at main.m:623:6, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  thread #2: tid = 0x252586, 0x00007fff775bc5be libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #3: tid = 0x252587, 0x00007fff775bc5be 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 = 0x00006030000038e0 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f90 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x0000603000003910 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes


Expecting sub string: (NSData *) immutableData = 
Matched

Expecting sub string:  4 bytes
Not matched

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_nsdata_with_run_command_dsym (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x123710090> >>: 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: 

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-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
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: 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: thread list
output: Process 66747 stopped
* thread #1: tid = 0x2528a5, 0x000000010000483b a.out`main(argc=1, argv=0x00007ffeefbff490) at main.m:623:6, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  thread #2: tid = 0x2528f0, 0x00007fff775bc5be libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #3: tid = 0x2528f1, 0x00007fff775bc5be 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 = 0x0000603000003880 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f90 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x00006030000038b0 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes


Expecting sub string: (NSData *) immutableData = 
Matched

Expecting sub string:  4 bytes
Not matched

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-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 0x10d01d630> >>: 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: 

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_nsdata_with_run_command_dwo (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate) (test case does not fall in any category of interest for this run) 
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-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
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: 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: thread list
output: Process 67008 stopped
* thread #1: tid = 0x252a7c, 0x000000010000483b a.out`main(argc=1, argv=0x00007ffeefbff490) at main.m:623:6, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  thread #2: tid = 0x252a8f, 0x00007fff775bc5be libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #3: tid = 0x252a90, 0x00007fff775bc5be 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 = 0x0000603000003880 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003eb0 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x00006030000038b0 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes


Expecting sub string: (NSData *) immutableData = 
Matched

Expecting sub string:  4 bytes
Not matched

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_nsdata_with_run_command_gmodules (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x123710210> >>: 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: 

Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test_nsdata_with_run_command_dsym (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
   Test formatters for  NSData.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 20, in test_nsdata_with_run_command
    self.appkit_tester_impl(self.nsdata_data_formatter_commands)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py", line 20, in appkit_tester_impl
    commands()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 33, in nsdata_data_formatter_commands
    ' 100000 bytes'
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2367, in expect
    msg if msg else EXP_MSG(str, output, exe))
AssertionError: False is not True : 'frame variable immutableData mutableData data_ref mutable_data_ref mutable_string_ref concreteData concreteMutableData' returns expected result, got '(NSData *) immutableData = 0x00006030000038e0 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f90 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x0000603000003910 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes'
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11
======================================================================
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-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 20, in test_nsdata_with_run_command
    self.appkit_tester_impl(self.nsdata_data_formatter_commands)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py", line 20, in appkit_tester_impl
    commands()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 33, in nsdata_data_formatter_commands
    ' 100000 bytes'
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2367, in expect
    msg if msg else EXP_MSG(str, output, exe))
AssertionError: False is not True : 'frame variable immutableData mutableData data_ref mutable_data_ref mutable_string_ref concreteData concreteMutableData' returns expected result, got '(NSData *) immutableData = 0x0000603000003880 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f90 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x00006030000038b0 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes'
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11
======================================================================
FAIL: test_nsdata_with_run_command_gmodules (TestDataFormatterObjCNSDate.ObjCDataFormatterNSDate)
   Test formatters for  NSData.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 20, in test_nsdata_with_run_command
    self.appkit_tester_impl(self.nsdata_data_formatter_commands)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py", line 20, in appkit_tester_impl
    commands()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py", line 33, in nsdata_data_formatter_commands
    ' 100000 bytes'
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2367, in expect
    msg if msg else EXP_MSG(str, output, exe))
AssertionError: False is not True : 'frame variable immutableData mutableData data_ref mutable_data_ref mutable_string_ref concreteData concreteMutableData' returns expected result, got '(NSData *) immutableData = 0x0000603000003880 5 bytes
(NSData *) mutableData = 0x0000604000002010 14 bytes
(CFDataRef) data_ref = 0x0000607000003eb0 @"5 bytes"
(CFMutableDataRef) mutable_data_ref = 0x0000607000003f20 @"5 bytes"
(CFMutableStringRef) mutable_string_ref = 0x00006040000020d0 @"Wish ya knew"
(NSData *) concreteData = 0x00006030000038b0 100000 bytes
(NSMutableData *) concreteMutableData = 0x0000604000002050 100000 bytes'
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11
----------------------------------------------------------------------
Ran 4 tests in 40.552s

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