[lldb-dev] [Bug 17933] New: test_inferior_crashing_dwarf (TestInferiorChanged.ChangedInferiorTestCase) fails due to "error: Process must be launched."

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 14 12:34:56 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17933

            Bug ID: 17933
           Summary: test_inferior_crashing_dwarf
                    (TestInferiorChanged.ChangedInferiorTestCase) fails
                    due to "error: Process must be launched."
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

['dotest.py', '--executable',
'/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb', '-C',
'/usr/bin/clang', '-v', '-t', '-f',
'ChangedInferiorTestCase.test_inferior_crashing_dwarf']
LLDB library dir:
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
lldb version 3.4 (git at github.com:fbsd/lldb.git revision
0e531d37ffe067ffa0936ca483615ebd8b1a5dd5)
lldb.pre_flight: None
lldb.post_flight: None

Session logs for test failures/errors/unexpected successes will go into
directory '2013-11-14-15_16_22'
Command invoked: python dotest.py --executable
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb -C
/usr/bin/clang -v -t -f ChangedInferiorTestCase.test_inferior_crashing_dwarf
(python2.7)
compilers=['/usr/bin/clang']

Configuration: arch=amd64 compiler=/usr/bin/clang
----------------------------------------------------------------------
Collected 1 test

Change dir to:
/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed
1: test_inferior_crashing_dwarf (TestInferiorChanged.ChangedInferiorTestCase)
   Test lldb reloads the inferior after it was changed during the session. ... 
os command: [['/bin/sh', '-c', 'gmake clean;gmake MAKE_DSYM=NO ARCH=amd64
CC=/usr/bin/clang']]
with pid: 33034
stdout: rm -rf "a.out" ""  main.o main.d   *.d.[0-9] *.d.[0-9][0-9]
*.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9]
gmake: `a.out' is up to date.

stderr: 
retcode: 0


runCmd: file
/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed/a.out
output: Current executable set to
'/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed/a.out'
(x86_64).


runCmd: run
output: Process 33049 launched:
'/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed/a.out'
(x86_64)


runCmd: thread list
runCmd failed!
error: Process must be launched.


FAILURE

os command: [['/usr/bin/clang', '-v']]
with pid: 33050
stdout: 
stderr: FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd9.2
Thread model: posix

retcode: 0


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


os command: [['/bin/sh', '-c', 'gmake clean']]
with pid: 33051
stdout: rm -rf "a.out" ""  main.o main.d   *.d.[0-9] *.d.[0-9][0-9]
*.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9]

stderr: 
retcode: 0


Restore dir to: /tank/emaste/src/llvm/tools/lldb/test

======================================================================
FAIL: test_inferior_crashing_dwarf
(TestInferiorChanged.ChangedInferiorTestCase)
   Test lldb reloads the inferior after it was changed during the session.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py",
line 28, in test_inferior_crashing_dwarf
    self.inferior_crashing()
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py",
line 61, in inferior_crashing
    stop_reason])
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1892, in
expect
    self.runCmd(str, msg=msg, trace = (True if trace else False), check = not
error, inHistory=inHistory)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1818, in
runCmd
    msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Process should be stopped due to bad access
exception
Config=amd64-/usr/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.074s

FAILED (failures=1)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131114/cfe64c9a/attachment.html>


More information about the lldb-dev mailing list