[tor-bugs] #13904 [Stem]: unit tests do hang

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 6 20:42:49 UTC 2014


#13904: unit tests do hang
------------------------+----------------------
     Reporter:  toralf  |      Owner:  atagar
         Type:  defect  |     Status:  reopened
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------
Changes (by atagar):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Interesting! This is indicating that a recent-ish change to use the socket
 module to validate ip addresses is failing on your system for some reason.
 What happens if you open a python interpretor and do the following?

 {{{
 >>> import socket

 >>> socket.inet_pton(socket.AF_INET6, '1::1')
 '\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01'
 }}}

 I expect in your case it'll raise a socket.error of some kind. Little
 curious about that (... these failures seem to indicate your system
 doesn't know what an IPv6 address looks like).

 Pity. Thought we could rely on the python builtins for this but maybe not.

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


More information about the tor-bugs mailing list