[lldb-dev] [Bug 18592] New: TestPlatformCommand fails on FreeBSD 9.x

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 23 08:09:02 PST 2014


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

            Bug ID: 18592
           Summary: TestPlatformCommand fails on FreeBSD 9.x
           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

lldb version 3.5 ( revision )                                                   

Session logs for test failures/errors/unexpected successes will go into
directory '2014-01-23-11_07_19'
Command invoked: python dotest.py --executable
/tank/emaste/src/llvm/tools/lldb/test/../../../b

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

Change dir to: /tank/emaste/src/llvm/tools/lldb/test/functionalities/platform   
1: test_shell (TestPlatformCommand.PlatformCommandTestCase)                     
   Test that the platform shell command can invoke ls. ... runCmd: platform
shell ls /
runCmd failed!                                                                  
error: error: ::posix_spawnp ( pid => 0, path = '/bin/sh', file_actions =
0x7fffffff68c8, attr = 0x7fffffff6d50, argv = 0x80bfffa60, envp = 0x0 ) err =
Invalid argument (0x00000016)


FAILURE                                                                         

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

retcode: 0                                                                      


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

======================================================================          
FAIL: test_shell (TestPlatformCommand.PlatformCommandTestCase)                  
   Test that the platform shell command can invoke ls.                          
----------------------------------------------------------------------          
Traceback (most recent call last):                                              
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/platform/TestPlatformCommand.py",
line 37, in test_shell
    substrs = ["dev", "tmp", "usr"])                                            
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1949, 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 1875, in
runCmd
    msg if msg else CMD_MSG(cmd))                                               
AssertionError: False is not True : Command 'platform shell ls /' returns
successfully
Config=amd64-/usr/bin/clang                                                     
----------------------------------------------------------------------          
Ran 1 test in 0.039s                                                            

FAILED (failures=1)                                                             
Session logs for test failures/errors/unexpected successes can be found in
directory '2014-01-23-11_07_19'
['dotest.py', '--executable',
'/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb', '-C',
'/usr/bin/clang', '-v', '-t', '-f', 'PlatformCommandTestCase.test_shell']
LLDB library dir:
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
lldb.pre_flight: None                                                           
lldb.post_flight: None                                                          
compilers=['/usr/bin/clang']

-- 
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/20140123/97bb3efd/attachment.html>


More information about the lldb-dev mailing list