[tor-bugs] #30122 [Core Tor/Stem]: Make stem's unit tests propagate the backtrace signals to child processes

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 17 00:57:37 UTC 2019


#30122: Make stem's unit tests propagate the backtrace signals to child processes
-----------------------------------+--------------------------
 Reporter:  teor                   |          Owner:  teor
     Type:  enhancement            |         Status:  reopened
 Priority:  Medium                 |      Milestone:
Component:  Core Tor/Stem          |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:  tor-ci-fail-sometimes  |  Actual Points:  0.4
Parent ID:  #29437                 |         Points:  0.5
 Reviewer:                         |        Sponsor:
-----------------------------------+--------------------------
Changes (by teor):

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


Comment:

 Thanks for the merge and improvements!

 I just noticed that there is still a race condition here, if the process
 is alive when the list is created, and for the is_alive() check, but exits
 before it is signalled:
 {{{
 -    # avoid race conditions
      if p.is_alive():
 }}}

 We should just ignore the exception instead:
 https://github.com/torproject/stem/pull/13

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


More information about the tor-bugs mailing list