Failed
lldb-api.python_api/thread.TestThreadAPI.py (from lldb-api)
Failing for the past 6 builds
(Since
#1134 )

Stacktrace
Script: -- /usr/local/bin/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/python_api/thread -p TestThreadAPI.py -- Exit Code: 1 Command Output (stdout): -- lldb version 11.0.99 clang revision 1ac403bd145dadfa1004af29bd6c77f871caf42c llvm revision 1ac403bd145dadfa1004af29bd6c77f871caf42c 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/./lib libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx Skipping following debug info categories: ['dwo'] start addr: 0x10d882e66 end addr: 0x10d882e70 start addr: 0x10e57ce66 end addr: 0x10e57ce70 start addr: 0x10c5e8e66 end addr: 0x10c5e8e70 -- Command Output (stderr): -- 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 --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/python_api/thread -p TestThreadAPI.py Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/python_api/thread 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: breakpoint list output: Current breakpoints: 1: file = 'main.cpp', line = 17, exact_match = 0, locations = 1 1.1: where = a.out`main + 115 at main.cpp:17:5, address = a.out[0x0000000100000f53], unresolved, hit count = 0 runCmd: process status output: Process 7846 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001081f4f53 a.out`main(argc=1, argv=0x00007ffee7a0b4c8) at main.cpp:17:5 14 15 printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'. 16 -> 17 return 0; // Set break point at this line and check variable 'my_char'. ^ 18 } <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c96cab0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_process_dsym (TestThreadAPI.ThreadAPITestCase) 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: breakpoint list output: Current breakpoints: 1: file = 'main.cpp', line = 17, exact_match = 0, locations = 1 1.1: where = a.out`main + 115 at main.cpp:17:5, address = a.out[0x0000000100000f53], unresolved, hit count = 0 runCmd: process status output: Process 7986 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x000000010b2a4f53 a.out`main(argc=1, argv=0x00007ffee495b498) at main.cpp:17:5 14 15 printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'. 16 -> 17 return 0; // Set break point at this line and check variable 'my_char'. ^ 18 } <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2990> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_process_dwarf (TestThreadAPI.ThreadAPITestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_process_dwo (TestThreadAPI.ThreadAPITestCase) (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-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: breakpoint list output: Current breakpoints: 1: file = 'main.cpp', line = 17, exact_match = 0, locations = 1 1.1: where = a.out`main + 115 at main.cpp:17:5, address = a.out[0x0000000100000f53], unresolved, hit count = 0 runCmd: process status output: Process 8064 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001090b9f53 a.out`main(argc=1, argv=0x00007ffee6b46498) at main.cpp:17:5 14 15 printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'. 16 -> 17 return 0; // Set break point at this line and check variable 'my_char'. ^ 18 } <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c96c8d0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_process_gmodules (TestThreadAPI.ThreadAPITestCase) 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: <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2960> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_stop_description_dsym (TestThreadAPI.ThreadAPITestCase) 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: <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c2192d0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_stop_description_dwarf (TestThreadAPI.ThreadAPITestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_stop_description_dwo (TestThreadAPI.ThreadAPITestCase) (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-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: <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2990> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_get_stop_description_gmodules (TestThreadAPI.ThreadAPITestCase) 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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_run_to_address_dsym`b(int) + 22 at main2.cpp:21:17, address = test_run_to_address_dsym[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x000000010d882e66 test_run_to_address_dsym`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010d882e0d test_run_to_address_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010d882ee0 test_run_to_address_dsym`main(argc=1, argv=0x00007ffee237d470) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 Options: disabled 1.1: where = test_run_to_address_dsym`b(int) + 22 at main2.cpp:21:17, address = 0x000000010d882e66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010d882e9d test_run_to_address_dsym`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010d882e0d test_run_to_address_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010d882ee0 test_run_to_address_dsym`main(argc=1, argv=0x00007ffee237d470) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: process status output: Process 8453 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x000000010d882e66 frame #0: 0x000000010d882e66 test_run_to_address_dsym`b(val=2) at main2.cpp:21:17 18 int b(int val) 19 { 20 int rc = c(val); -> 21 void *ptr = malloc(1024); // thread step-out of malloc into function b. ^ 22 if (!ptr) 23 return -1; 24 else <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c19fde0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_run_to_address_dsym (TestThreadAPI.ThreadAPITestCase) 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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_run_to_address_dwarf`b(int) + 22 at main2.cpp:21:17, address = test_run_to_address_dwarf[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x000000010e57ce66 test_run_to_address_dwarf`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010e57ce0d test_run_to_address_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010e57cee0 test_run_to_address_dwarf`main(argc=1, argv=0x00007ffee1683470) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 Options: disabled 1.1: where = test_run_to_address_dwarf`b(int) + 22 at main2.cpp:21:17, address = 0x000000010e57ce66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010e57ce9d test_run_to_address_dwarf`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010e57ce0d test_run_to_address_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010e57cee0 test_run_to_address_dwarf`main(argc=1, argv=0x00007ffee1683470) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: process status output: Process 8595 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x000000010e57ce66 frame #0: 0x000000010e57ce66 test_run_to_address_dwarf`b(val=2) at main2.cpp:21:17 18 int b(int val) 19 { 20 int rc = c(val); -> 21 void *ptr = malloc(1024); // thread step-out of malloc into function b. ^ 22 if (!ptr) 23 return -1; 24 else <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2960> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_run_to_address_dwarf (TestThreadAPI.ThreadAPITestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_run_to_address_dwo (TestThreadAPI.ThreadAPITestCase) (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-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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_run_to_address_gmodules`b(int) + 22 at main2.cpp:21:17, address = test_run_to_address_gmodules[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x000000010c5e8e66 test_run_to_address_gmodules`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010c5e8e0d test_run_to_address_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010c5e8ee0 test_run_to_address_gmodules`main(argc=1, argv=0x00007ffee3617460) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 Options: disabled 1.1: where = test_run_to_address_gmodules`b(int) + 22 at main2.cpp:21:17, address = 0x000000010c5e8e66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010c5e8e9d test_run_to_address_gmodules`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010c5e8e0d test_run_to_address_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010c5e8ee0 test_run_to_address_gmodules`main(argc=1, argv=0x00007ffee3617460) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: process status output: Process 8706 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x000000010c5e8e66 frame #0: 0x000000010c5e8e66 test_run_to_address_gmodules`b(val=2) at main2.cpp:21:17 18 int b(int val) 19 { 20 int rc = c(val); -> 21 void *ptr = malloc(1024); // thread step-out of malloc into function b. ^ 22 if (!ptr) 23 return -1; 24 else <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c19fdb0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_run_to_address_gmodules (TestThreadAPI.ThreadAPITestCase) 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: FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_out_of_malloc_into_function_b_dsym (TestThreadAPI.ThreadAPITestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2990> >>: success 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: FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_out_of_malloc_into_function_b_dwarf (TestThreadAPI.ThreadAPITestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c19fde0> >>: success UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_out_of_malloc_into_function_b_dwo (TestThreadAPI.ThreadAPITestCase) (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-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: FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_out_of_malloc_into_function_b_gmodules (TestThreadAPI.ThreadAPITestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2990> >>: success 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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_step_over_3_times_dsym`b(int) + 22 at main2.cpp:21:17, address = test_step_over_3_times_dsym[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x00000001092cde66 test_step_over_3_times_dsym`b(val=1) at main2.cpp:21:17 frame #1: 0x00000001092cde0d test_step_over_3_times_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x00000001092cdee0 test_step_over_3_times_dsym`main(argc=1, argv=0x00007ffee6932468) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 frame #4: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x00000001092cde9d test_step_over_3_times_dsym`b(val=1) at main2.cpp:26:12 frame #1: 0x00000001092cde0d test_step_over_3_times_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x00000001092cdee0 test_step_over_3_times_dsym`main(argc=1, argv=0x00007ffee6932468) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 frame #4: 0x00007fff67d6a085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c19fde0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_over_3_times_dsym (TestThreadAPI.ThreadAPITestCase) 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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_step_over_3_times_dwarf`b(int) + 22 at main2.cpp:21:17, address = test_step_over_3_times_dwarf[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x0000000104b35e66 test_step_over_3_times_dwarf`b(val=1) at main2.cpp:21:17 frame #1: 0x0000000104b35e0d test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000104b35ee0 test_step_over_3_times_dwarf`main(argc=1, argv=0x00007ffeeb0ca460) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x0000000104b35e9d test_step_over_3_times_dwarf`b(val=1) at main2.cpp:26:12 frame #1: 0x0000000104b35e0d test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000104b35ee0 test_step_over_3_times_dwarf`main(argc=1, argv=0x00007ffeeb0ca460) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bca2990> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_over_3_times_dwarf (TestThreadAPI.ThreadAPITestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_over_3_times_dwo (TestThreadAPI.ThreadAPITestCase) (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-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: breakpoint list output: Current breakpoints: 1: file = 'main2.cpp', line = 21, exact_match = 0, locations = 1 1.1: where = test_step_over_3_times_gmodules`b(int) + 22 at main2.cpp:21:17, address = test_step_over_3_times_gmodules[0x0000000100000e66], unresolved, hit count = 0 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x000000010434ce66 test_step_over_3_times_gmodules`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010434ce0d test_step_over_3_times_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010434cee0 test_step_over_3_times_gmodules`main(argc=1, argv=0x00007ffeeb8b3458) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 frame #4: 0x00007fff67d6a085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010434ce9d test_step_over_3_times_gmodules`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010434ce0d test_step_over_3_times_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010434cee0 test_step_over_3_times_gmodules`main(argc=1, argv=0x00007ffeeb8b3458) at main2.cpp:36:14 frame #3: 0x00007fff67d6a085 libdyld.dylib`start + 1 frame #4: 0x00007fff67d6a085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c19fdb0> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_step_over_3_times_gmodules (TestThreadAPI.ThreadAPITestCase) Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test ====================================================================== ERROR: test_step_out_of_malloc_into_function_b_dsym (TestThreadAPI.ThreadAPITestCase) Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b(). ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1751, 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/test/API/python_api/thread/TestThreadAPI.py", line 50, in test_step_out_of_malloc_into_function_b self.step_out_of_malloc_into_function_b(self.exe_name) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/python_api/thread/TestThreadAPI.py", line 157, in step_out_of_malloc_into_function_b thread.IsValid(), AttributeError: 'NoneType' object has no attribute 'IsValid' Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ====================================================================== ERROR: test_step_out_of_malloc_into_function_b_dwarf (TestThreadAPI.ThreadAPITestCase) Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b(). ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1751, 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/test/API/python_api/thread/TestThreadAPI.py", line 50, in test_step_out_of_malloc_into_function_b self.step_out_of_malloc_into_function_b(self.exe_name) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/python_api/thread/TestThreadAPI.py", line 157, in step_out_of_malloc_into_function_b thread.IsValid(), AttributeError: 'NoneType' object has no attribute 'IsValid' Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ====================================================================== ERROR: test_step_out_of_malloc_into_function_b_gmodules (TestThreadAPI.ThreadAPITestCase) Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b(). ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1751, 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/test/API/python_api/thread/TestThreadAPI.py", line 50, in test_step_out_of_malloc_into_function_b self.step_out_of_malloc_into_function_b(self.exe_name) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/python_api/thread/TestThreadAPI.py", line 157, in step_out_of_malloc_into_function_b thread.IsValid(), AttributeError: 'NoneType' object has no attribute 'IsValid' Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ---------------------------------------------------------------------- Ran 20 tests in 39.537s RESULT: FAILED (12 passes, 0 failures, 3 errors, 5 skipped, 0 expected failures, 0 unexpected successes) --