[tor-bugs] #27968 [Core Tor/Tor]: SIGNAL HALT race condition in test-rebind.py

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 6 20:29:56 UTC 2018


#27968: SIGNAL HALT race condition in test-rebind.py
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  teor
         Type:  defect        |     Status:  assigned
     Priority:  High          |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.5.1-alpha
     Severity:  Normal        |   Keywords:  ci
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 If tor exits due to SIGNAL HALT, before the python subprocess module
 terminates it, then test-rebind.py can fail with OSError 3 (no such
 process).

 This race condition causes make check failures on my laptop running
 Windows Subsystem for Linux. It could potentially cause CI failures on
 busy machines.

 I have a patch that rewrites test-rebind.py to be more reliable.

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


More information about the tor-bugs mailing list