[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #5917 [Stem]: integ.control.base_controller hangs



#5917: integ.control.base_controller hangs
---------------------+------------------------------------------------------
 Reporter:  gsathya  |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by atagar):

 Good news and bad news. Good news is that I have a 'fix' to stop the tests
 from hanging...
 https://gitweb.torproject.org/user/atagar/stem.git/commitdiff/8206fe96c00fadf885d1d6c0be5970cad3537f2b

 Bad news is that the problem isn't that the readline() simply becomes
 blocking. Somehow our ability to talk with tor's control socket breaks,
 and all further calls fail. Even with new sockets...

 Traceback:
   File "/Users/atagar/stem/test/integ/control/base_controller.py", line
 95, in test_msg_repeatedly
     with test.runner.get_runner().get_tor_socket() as control_socket:
   File "/Users/atagar/stem/test/runner.py", line 497, in get_tor_socket
     stem.connection.authenticate(control_socket, CONTROL_PASSWORD,
 self.get_chroot())
   File "/Users/atagar/stem/stem/connection.py", line 291, in authenticate
     raise AuthenticationFailure("socket connection failed" % exc)
 AuthenticationFailure: socket connection failed

 Naturally all further tests fail. The tor instance itself is fine, I can
 still use telnet to connect and authenticate. This is... extremely weird.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5917#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs