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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs