[tor-bugs] #30117 [Core Tor/Tor]: Support stem's backtrace signals in Travis

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 11 02:23:20 UTC 2019


#30117: Support stem's backtrace signals in Travis
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  teor
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.1.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.4.8-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-ci-fail-sometimes,               |  Actual Points:  0.4
  035-backport, 040-backport                     |
Parent ID:  #29437                               |         Points:  0.2
 Reviewer:  nickm                                |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by teor):

 * status:  needs_revision => needs_review
 * reviewer:   => nickm
 * keywords:  tor-ci-fail-sometimes => tor-ci-fail-sometimes, 035-backport,
     040-backport
 * actualpoints:  0.3 => 0.4


Comment:

 I change timelimit's signals so they trigger a stem backtrace, and
 unwrapped "make test-stem" so that timelimit can signal python directly.

 See my pull request on 0.3.5:
 https://github.com/torproject/tor/pull/932

 Assigning review to nickm, because he's on CI this week.

 Replying to [comment:1 teor]:
 > Timelimit doesn't signal the whole process group, so we don't actually
 see the backtrace in the individual tests. We'll need to use `kill -pid`
 instead, with some kind of sleep command.

 We might need to make stem's tests propagate the signal to their child
 processes. See #30112 for that change in stem.

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


More information about the tor-bugs mailing list