Regression

Test Clang 7.0.1 / lldb-Suite.functionalities/deleted-executable.TestDeletedExecutable.py (from lldb-Suite)

Failing for the past 1 build (Since Unstable#270 )
Took 3.8 sec.

Stacktrace

lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision 1a3dd638c4a9173e53628b497a1aadc31c32eb50)
  clang revision daa79c5338228a746a7eba0cf2f2f356e1d45a5b
  llvm revision daa79c5338228a746a7eba0cf2f2f356e1d45a5b
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']

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/dotest.py --arch=x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/FileCheck -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang --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/tools/lldb/lldb-test-build.noindex --module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/deleted-executable -p TestDeletedExecutable.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/deleted-executable
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/tools/lldb/lldb-test-build.noindex/module-cache-lldb"
output: 

runCmd: settings set use-color false
output: 

Adding tearDown hook:             lambda: self.run_platform_command(
                "rm %s" %
                (pid_file_path)))


Adding tearDown hook:     def cleanupSubprocesses(self):
        # Ensure any subprocesses are cleaned up
        for p in self.subprocesses:
            p.terminate()
            del p
        del self.subprocesses[:]
        # Ensure any forked processes are cleaned up
        for pid in self.forkedProcessPids:
            if os.path.exists("/proc/" + str(pid)):
                os.kill(pid, signal.SIGTERM)


runCmd: process attach -p 12676
runCmd failed!
error: attach failed: Error 1


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7-x86_64) :: test (TestDeletedExecutable.TestDeletedExecutable)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10dcbb8d0> >>: success

Executing tearDown hook:     def cleanupSubprocesses(self):
        # Ensure any subprocesses are cleaned up
        for p in self.subprocesses:
            p.terminate()
            del p
        del self.subprocesses[:]
        # Ensure any forked processes are cleaned up
        for pid in self.forkedProcessPids:
            if os.path.exists("/proc/" + str(pid)):
                os.kill(pid, signal.SIGTERM)


Executing tearDown hook:             lambda: self.run_platform_command(
                "rm %s" %
                (pid_file_path)))


Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/lit
======================================================================
FAIL: test (TestDeletedExecutable.TestDeletedExecutable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 111, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 111, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/deleted-executable/TestDeletedExecutable.py", line 46, in test
    self.runCmd("process attach -p " + str(popen.pid))
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2068, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Command 'process attach -p 12676
Error output:
error: attach failed: Error 1
' returns successfully
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-7
----------------------------------------------------------------------
Ran 1 test in 3.267s

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