Regression

Test Clang 7.0.1 / lldb-api.functionalities/exec.TestExec.py (from lldb-api)

Failing for the past 1 build (Since Unstable#969 )
Took 5.1 sec.

Stacktrace

Script:
--
/usr/local/bin/python /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --arch=x86_64 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/exec -p TestExec.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 11.0.99
  clang revision 70389be7a029bec3c45991a60b627445ef996120
  llvm revision 70389be7a029bec3c45991a60b627445ef996120
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']
setting set target.prefer-dynamic-value no-dynamic-values
thread #2: tid = 0x1379107, 0x000000010de19015, stop reason = EXC_BAD_ACCESS (code=1, address=0x10de9ae40)
thread #2: tid = 0x13795ff, 0x000000010ebacf58 secondprog`main at secondprog.cpp:4:3, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1

--
Command Output (stderr):
--

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs'
Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/test/logs -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --arch=x86_64 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/FileCheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/exec -p TestExec.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/exec
runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: settings show target.process.stop-on-exec
check of return status not required
output: target.process.stop-on-exec (boolean) = true


runCmd: bt
output: * thread #2, stop reason = EXC_BAD_ACCESS (code=1, address=0x10de9ae40)
  * frame #0: 0x000000010de19015


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-11-x86_64) :: test_hitting_exec (TestExec.ExecTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x101a2e3f0> >>: success

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

runCmd: settings show target.process.stop-on-exec
check of return status not required
output: target.process.stop-on-exec (boolean) = true


Adding tearDown hook:             def cleanup():
                self.runCmd("settings set target.process.stop-on-exec false",
                            check=False)


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

Executing tearDown hook:             def cleanup():
                self.runCmd("settings set target.process.stop-on-exec false",
                            check=False)


runCmd: settings set target.process.stop-on-exec false
check of return status not required
output: 

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-11-x86_64) :: test_skipping_exec (TestExec.ExecTestCase)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
FAIL: test_hitting_exec (TestExec.ExecTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 110, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py", line 25, in test_hitting_exec
    self.do_test(False)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py", line 113, in do_test
    "Stopped at breakpoint in exec'ed process.")
AssertionError: False is not True : Stopped at breakpoint in exec'ed process.
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-11
----------------------------------------------------------------------
Ran 2 tests in 4.631s

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

--