[tor-bugs] #6248 [Stem]: test_get_pid_by_open_file fails

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jun 27 11:14:34 UTC 2012


#6248: test_get_pid_by_open_file fails
--------------------+-------------------------------------------------------
 Reporter:  neena   |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  normal  |      Milestone:        
Component:  Stem    |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 The test_get_pid_by_open_file test fails for me, because either pidgin or
 firefox seem to be claiming the /tmp dir.

 {{{
 ======================================================================
 FAIL: test_get_pid_by_open_file
 ----------------------------------------------------------------------
 Traceback:
   File "/home/neena/code/tors/stem/test/integ/util/system.py", line 303,
 in test_get_pid_by_open_file
     self.assertEquals(None, stem.util.system.get_pid_by_open_file("/tmp"))
 AssertionError: None != 894

 ----------------------------------------------------------------------
 Ran 18 tests in 0.939s

 FAILED
 }}}

 running "lsof /tmp" shows me this...

 {{{
 +4:30% lsof /tmp
 COMMAND PID  USER  FD   TYPE DEVICE SIZE/OFF  NODE NAME
 pidgin  894 neena DEL    REG   0,18          12715 /tmp/orcexec.xaaSkq
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6248>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list