Failed
lldb-api.python_api/thread.TestThreadAPI.py (from lldb-api)
Failing for the past 20 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 a98662f4c15e91b697e589ac93a39777a62bfb64 llvm revision a98662f4c15e91b697e589ac93a39777a62bfb64 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: 0x10042de66 end addr: 0x10042de70 start addr: 0x10fddde66 end addr: 0x10fddde70 start addr: 0x108c70e66 end addr: 0x108c70e70 -- 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 15077 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x000000010e273f53 a.out`main(argc=1, argv=0x00007ffee198c4c8) 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 0x10ceccab0> >>: 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 15228 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000104e5df53 a.out`main(argc=1, argv=0x00007ffeeada2498) 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 0x10c230990> >>: 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 15377 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001052ecf53 a.out`main(argc=1, argv=0x00007ffeea913498) 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 0x10cecc8d0> >>: 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 0x10c230960> >>: 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 0x10c9172d0> >>: 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 0x10c230990> >>: 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: 0x000000010042de66 test_run_to_address_dsym`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010042de0d test_run_to_address_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010042dee0 test_run_to_address_dsym`main(argc=1, argv=0x00007ffeef7d2470) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 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 = 0x000000010042de66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010042de9d test_run_to_address_dsym`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010042de0d test_run_to_address_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010042dee0 test_run_to_address_dsym`main(argc=1, argv=0x00007ffeef7d2470) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: process status output: Process 15978 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x000000010042de66 frame #0: 0x000000010042de66 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 0x10c717de0> >>: 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: 0x000000010fddde66 test_run_to_address_dwarf`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010fddde0d test_run_to_address_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010fdddee0 test_run_to_address_dwarf`main(argc=1, argv=0x00007ffedfe22470) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 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 = 0x000000010fddde66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010fddde9d test_run_to_address_dwarf`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010fddde0d test_run_to_address_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010fdddee0 test_run_to_address_dwarf`main(argc=1, argv=0x00007ffedfe22470) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: process status output: Process 16213 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x000000010fddde66 frame #0: 0x000000010fddde66 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 0x10c230960> >>: 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: 0x0000000108c70e66 test_run_to_address_gmodules`b(val=1) at main2.cpp:21:17 frame #1: 0x0000000108c70e0d test_run_to_address_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000108c70ee0 test_run_to_address_gmodules`main(argc=1, argv=0x00007ffee6f8f460) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 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 = 0x0000000108c70e66, unresolved, hit count = 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x0000000108c70e9d test_run_to_address_gmodules`b(val=1) at main2.cpp:26:12 frame #1: 0x0000000108c70e0d test_run_to_address_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000108c70ee0 test_run_to_address_gmodules`main(argc=1, argv=0x00007ffee6f8f460) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: process status output: Process 16310 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = run to address: 0x0000000108c70e66 frame #0: 0x0000000108c70e66 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 0x10c9172d0> >>: 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 0x10c230990> >>: 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 0x10c717de0> >>: 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 0x10c230990> >>: 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: 0x000000010b7a8e66 test_step_over_3_times_dsym`b(val=1) at main2.cpp:21:17 frame #1: 0x000000010b7a8e0d test_step_over_3_times_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010b7a8ee0 test_step_over_3_times_dsym`main(argc=1, argv=0x00007ffee4457468) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 frame #4: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x000000010b7a8e9d test_step_over_3_times_dsym`b(val=1) at main2.cpp:26:12 frame #1: 0x000000010b7a8e0d test_step_over_3_times_dsym`a(val=1) at main2.cpp:11:16 frame #2: 0x000000010b7a8ee0 test_step_over_3_times_dsym`main(argc=1, argv=0x00007ffee4457468) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 frame #4: 0x00007fff742d5085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c717de0> >>: 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: 0x0000000104ab3e66 test_step_over_3_times_dwarf`b(val=1) at main2.cpp:21:17 frame #1: 0x0000000104ab3e0d test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000104ab3ee0 test_step_over_3_times_dwarf`main(argc=1, argv=0x00007ffeeb14c460) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x0000000104ab3e9d test_step_over_3_times_dwarf`b(val=1) at main2.cpp:26:12 frame #1: 0x0000000104ab3e0d test_step_over_3_times_dwarf`a(val=1) at main2.cpp:11:16 frame #2: 0x0000000104ab3ee0 test_step_over_3_times_dwarf`main(argc=1, argv=0x00007ffeeb14c460) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c230990> >>: 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: 0x00000001024c1e66 test_step_over_3_times_gmodules`b(val=1) at main2.cpp:21:17 frame #1: 0x00000001024c1e0d test_step_over_3_times_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x00000001024c1ee0 test_step_over_3_times_gmodules`main(argc=1, argv=0x00007ffeed73e458) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 frame #4: 0x00007fff742d5085 libdyld.dylib`start + 1 runCmd: thread backtrace output: * thread #1, queue = 'com.apple.main-thread', stop reason = step over * frame #0: 0x00000001024c1e9d test_step_over_3_times_gmodules`b(val=1) at main2.cpp:26:12 frame #1: 0x00000001024c1e0d test_step_over_3_times_gmodules`a(val=1) at main2.cpp:11:16 frame #2: 0x00000001024c1ee0 test_step_over_3_times_gmodules`main(argc=1, argv=0x00007ffeed73e458) at main2.cpp:36:14 frame #3: 0x00007fff742d5085 libdyld.dylib`start + 1 frame #4: 0x00007fff742d5085 libdyld.dylib`start + 1 <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c9172d0> >>: 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 42.363s RESULT: FAILED (12 passes, 0 failures, 3 errors, 5 skipped, 0 expected failures, 0 unexpected successes) --