Failed

lldb-api.functionalities/thread/step_out.TestThreadStepOut.py (from lldb-api)

Failing for the past 2 builds (Since Failed#747 )
Took 3 min 10 sec.

Stacktrace

lldb version 11.0.99 (http://labmaster3.local/git/llvm-project.git revision c1b13a1b17719aebace1b3be7a6ac7f90b1901a6)
  clang revision d629525597ebe3533d110ea288c2640f0dc24bf7
  llvm revision d629525597ebe3533d110ea288c2640f0dc24bf7
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/thread/step_out -p TestThreadStepOut.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out
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: 

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_python_dsym (TestThreadStepOut.ThreadStepOutTestCase)
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: 

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_python_dwarf (TestThreadStepOut.ThreadStepOutTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_python_dwo (TestThreadStepOut.ThreadStepOutTestCase) (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: 

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_python_gmodules (TestThreadStepOut.ThreadStepOutTestCase)
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 select 2
output: 

runCmd: thread step-out -m all-threads
output: Process 48176 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)



runCmd: process status
output: Process 48176 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)


Expecting sub string: stop reason = step out
Matched

runCmd: thread list
output: Process 48176 stopped
  thread #1: tid = 0x47d5cd, 0x00007fff77c32d32 libsystem_kernel.dylib`swtch_pri + 10, queue = 'com.apple.main-thread'
* thread #2: tid = 0x47d6aa, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5, stop reason = step out

  thread #3: tid = 0x47d6ac, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5


Expecting sub string: * thread #2
Matched

runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff77c32d32 libsystem_kernel.dylib`swtch_pri + 10
    frame #1: 0x00007fff77ceeef3 libsystem_pthread.dylib`sched_yield + 11
    frame #2: 0x0000000100145bc9 libclang_rt.asan_osx_dynamic.dylib`__sanitizer::internal_sched_yield() + 9
    frame #3: 0x0000000100128b55 libclang_rt.asan_osx_dynamic.dylib`wrap_pthread_create + 277
    frame #4: 0x00000001000011e4 a.out`std::__1::__libcpp_thread_create(__t=0x00007ffeefbff4a8, __func=(a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(void*) at thread:279), __arg=0x0000602000000110)(void*), void*) at __threading_support:394:10
    frame #5: 0x000000010000101b a.out`std::__1::thread::thread<void* (&)(), void>(this=0x00007ffeefbff4a8, __f=0x0000000100000b60)()) at thread:300:16
    frame #6: 0x0000000100000d1d a.out`std::__1::thread::thread<void* (&)(), void>(this=0x00007ffeefbff4a8, __f=0x0000000100000b60)()) at thread:292:1
    frame #7: 0x0000000100000c54 a.out`main at main.cpp:43:17
    frame #8: 0x00007fff77afa085 libdyld.dylib`start + 1
* thread #2, stop reason = step out

  * frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x00006020000000d8)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x0000700007670eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x00006020000000d0) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13
  thread #3
    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x0000602000000118)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x00007000076f3eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x0000602000000110) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13


Expecting sub string: main.cpp:30
Matched

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_all_threads_dsym (TestThreadStepOut.ThreadStepOutTestCase)
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 select 2
output: 

runCmd: thread step-out -m all-threads
output: Process 48999 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)



runCmd: process status
output: Process 48999 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)


Expecting sub string: stop reason = step out
Matched

runCmd: thread list
output: Process 48999 stopped
  thread #1: tid = 0x47dba8, 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10, queue = 'com.apple.main-thread'
* thread #2: tid = 0x47dc25, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5, stop reason = step out

  thread #3: tid = 0x47dc26, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5


Expecting sub string: * thread #2
Matched

runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10
    frame #1: 0x00007fff77cf070b libsystem_pthread.dylib`_pthread_join + 356
    frame #2: 0x00007fff7521a978 libc++.1.dylib`std::__1::thread::join() + 24
    frame #3: 0x0000000100000c62 a.out`main at main.cpp:46:14
    frame #4: 0x00007fff77afa085 libdyld.dylib`start + 1
* thread #2, stop reason = step out

  * frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x00006020000000d8)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000e555eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x00006020000000d0) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13
  thread #3
    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x0000602000000118)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000e5d8eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x0000602000000110) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13


Expecting sub string: main.cpp:30
Matched

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_all_threads_dwarf (TestThreadStepOut.ThreadStepOutTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_all_threads_dwo (TestThreadStepOut.ThreadStepOutTestCase) (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 select 2
output: 

runCmd: thread step-out -m all-threads
output: Process 49549 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)



runCmd: process status
output: Process 49549 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)


Expecting sub string: stop reason = step out
Matched

runCmd: thread list
output: Process 49549 stopped
  thread #1: tid = 0x47df6f, 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10, queue = 'com.apple.main-thread'
* thread #2: tid = 0x47e00c, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5, stop reason = step out

  thread #3: tid = 0x47e00d, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5


Expecting sub string: * thread #2
Matched

runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10
    frame #1: 0x00007fff77cf070b libsystem_pthread.dylib`_pthread_join + 356
    frame #2: 0x00007fff7521a978 libc++.1.dylib`std::__1::thread::join() + 24
    frame #3: 0x0000000100000c62 a.out`main at main.cpp:46:14
    frame #4: 0x00007fff77afa085 libdyld.dylib`start + 1
* thread #2, stop reason = step out

  * frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x00006020000000d8)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000acd7eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x00006020000000d0) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13
  thread #3
    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x0000602000000118)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000ad5aeb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x0000602000000110) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13


Expecting sub string: main.cpp:30
Matched

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_all_threads_gmodules (TestThreadStepOut.ThreadStepOutTestCase)
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 select 2
output: 

runCmd: thread step-out -m this-thread
output: Process 50520 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
   17  	volatile int g_test = 0;
   18  	
   19  	void step_out_of_here() {
-> 20  	  g_test += 5; // Set breakpoint here
    	         ^
   21  	}
   22  	
   23  	void *



runCmd: process status
output: Process 50520 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
   17  	volatile int g_test = 0;
   18  	
   19  	void step_out_of_here() {
-> 20  	  g_test += 5; // Set breakpoint here
    	         ^
   21  	}
   22  	
   23  	void *


Expecting sub string: stop reason = step out
Matched

runCmd: thread list
output: Process 50520 stopped
  thread #1: tid = 0x47e649, 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10, queue = 'com.apple.main-thread'
* thread #2: tid = 0x47e6fa, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5, stop reason = step out

  thread #3: tid = 0x47e6fb, 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10, stop reason = breakpoint 1.1


Expecting sub string: * thread #2
Matched

runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10
    frame #1: 0x00007fff77cf070b libsystem_pthread.dylib`_pthread_join + 356
    frame #2: 0x00007fff7521a978 libc++.1.dylib`std::__1::thread::join() + 24
    frame #3: 0x0000000100000c62 a.out`main at main.cpp:46:14
    frame #4: 0x00007fff77afa085 libdyld.dylib`start + 1
* thread #2, stop reason = step out

  * frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x00006020000000d8)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x0000700008a40eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x00006020000000d0) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
    frame #1: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #2: 0x0000000100001ad7 a.out`decltype(__f=0x0000602000000118)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #3: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x0000700008ac3eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #4: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x0000602000000110) at thread:284:5
    frame #5: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #6: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #7: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13


Expecting sub string: main.cpp:30
Matched

Expecting sub string: main.cpp:20
Matched

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_single_thread_dsym (TestThreadStepOut.ThreadStepOutTestCase)
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: 

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_single_thread_dwarf (TestThreadStepOut.ThreadStepOutTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1234457e0> >>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_single_thread_dwo (TestThreadStepOut.ThreadStepOutTestCase) (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 select 2
output: 

runCmd: thread step-out -m this-thread
output: Process 51742 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
   17  	volatile int g_test = 0;
   18  	
   19  	void step_out_of_here() {
-> 20  	  g_test += 5; // Set breakpoint here
    	         ^
   21  	}
   22  	
   23  	void *



runCmd: process status
output: Process 51742 stopped
* thread #2, stop reason = step out

    frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
   27  	    pseudo_barrier_wait(g_barrier);
   28  	
   29  	    // Do something
-> 30  	    step_out_of_here(); // Expect to stop here after step-out (clang)
    	    ^
   31  	
   32  	    // Return
   33  	    return NULL;  // Expect to stop here after step-out (icc and gcc; arm64)
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
   17  	volatile int g_test = 0;
   18  	
   19  	void step_out_of_here() {
-> 20  	  g_test += 5; // Set breakpoint here
    	         ^
   21  	}
   22  	
   23  	void *


Expecting sub string: stop reason = step out
Matched

runCmd: thread list
output: Process 51742 stopped
  thread #1: tid = 0x47eeda, 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10, queue = 'com.apple.main-thread'
* thread #2: tid = 0x47efdd, 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5, stop reason = step out

  thread #3: tid = 0x47efe0, 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10, stop reason = breakpoint 1.1


Expecting sub string: * thread #2
Matched

runCmd: thread backtrace all
output:   thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff77c3536a libsystem_kernel.dylib`__ulock_wait + 10
    frame #1: 0x00007fff77cf070b libsystem_pthread.dylib`_pthread_join + 356
    frame #2: 0x00007fff7521a978 libc++.1.dylib`std::__1::thread::join() + 24
    frame #3: 0x0000000100000c62 a.out`main at main.cpp:46:14
    frame #4: 0x00007fff77afa085 libdyld.dylib`start + 1
* thread #2, stop reason = step out

  * frame #0: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #1: 0x0000000100001ad7 a.out`decltype(__f=0x00006020000000d8)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #2: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000b8b9eb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #3: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x00006020000000d0) at thread:284:5
    frame #4: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #5: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #6: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13
  thread #3, stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`step_out_of_here() at main.cpp:20:10
    frame #1: 0x0000000100000b9e a.out`thread_func() at main.cpp:30:5
    frame #2: 0x0000000100001ad7 a.out`decltype(__f=0x0000602000000118)()>(fp)()) std::__1::__invoke<void* (*)()>(void* (*&&)()) at type_traits:3539:1
    frame #3: 0x0000000100001a45 a.out`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()>(__t=size=2, (null)=__tuple_indices<> @ 0x000070000b93ceb8)()>&, std::__1::__tuple_indices<>) at thread:273:5
    frame #4: 0x0000000100001266 a.out`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void* (*)()> >(__vp=0x0000602000000110) at thread:284:5
    frame #5: 0x00007fff77cec33d libsystem_pthread.dylib`_pthread_body + 126
    frame #6: 0x00007fff77cef2a7 libsystem_pthread.dylib`_pthread_start + 70
    frame #7: 0x00007fff77ceb425 libsystem_pthread.dylib`thread_start + 13


Expecting sub string: main.cpp:30
Matched

Expecting sub string: main.cpp:20
Matched

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

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_step_single_thread_gmodules (TestThreadStepOut.ThreadStepOutTestCase)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
ERROR: test_step_single_thread_dwarf (TestThreadStepOut.ThreadStepOutTestCase)
    Test thread step out on one thread via command interpreter.
----------------------------------------------------------------------
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/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py", line 31, in test_step_single_thread
    self.step_out_test(self.step_out_single_thread_with_cmd)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py", line 148, in step_out_test
    bkpt_threads = lldbutil.continue_to_breakpoint(bkpt)
TypeError: continue_to_breakpoint() missing 1 required positional argument: 'bkpt'
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10
----------------------------------------------------------------------
Ran 12 tests in 173.202s

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