[tor-bugs] #5917 [Stem]: integ.control.base_controller hangs
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sun Jun 24 04:36:29 UTC 2012
#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
More information about the tor-bugs
mailing list