[tor-bugs] #27854 [Core Tor/Tor]: Integration test(s) for tor-resolve

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 15 14:00:13 UTC 2019


#27854: Integration test(s) for tor-resolve
---------------------------------------+-----------------------------------
 Reporter:  rl1987                     |          Owner:  rl1987
     Type:  enhancement                |         Status:  needs_information
 Priority:  Medium                     |      Milestone:  Tor:
                                       |  0.4.0.x-final
Component:  Core Tor/Tor               |        Version:  Tor: unspecified
 Severity:  Normal                     |     Resolution:
 Keywords:  socks tor-resolve testing  |  Actual Points:
Parent ID:                             |         Points:
 Reviewer:  dgoulet                    |        Sponsor:
---------------------------------------+-----------------------------------
Changes (by dgoulet):

 * status:  needs_review => needs_information


Comment:

 I keep getting this from running the .sh:

 {{{
 + uname -s
 + cut -d_ -f1
 + UNAME_OS=Linux
 + test Linux = CYGWIN
 + test Linux = MSYS
 + test Linux = MINGW
 + test  = clang
 + exitcode=0
 + python ./src/test/test_resolve.py ./src/tools/tor-resolve
 .
 Exception in thread Thread-2:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
     self.run()
   File "/usr/lib/python2.7/threading.py", line 754, in run
     self.__target(*self.__args, **self.__kwargs)
   File "./src/test/test_resolve.py", line 57, in mock_server
     s.bind(("127.0.0.1", socks_port))
   File "/usr/lib/python2.7/socket.py", line 228, in meth
     return getattr(self._sock,name)(*args)
 error: [Errno 98] Address already in use

 Traceback (most recent call last):
   File "./src/test/test_resolve.py", line 140, in <module>
     t.run()
   File "./src/test/test_resolve.py", line 101, in run
     assert l == self.expect_final_stdout
 AssertionError
 + exitcode=1
 + exit 1

 }}}

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


More information about the tor-bugs mailing list