[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #30257 [Core Tor/Stem]: Propagate USR1 and ABRT signals from stem tests through to tor
#30257: Propagate USR1 and ABRT signals from stem tests through to tor
-----------------------------------+------------------------------------
Reporter: teor | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Stem | Version: Tor: 0.2.4.8-alpha
Severity: Normal | Resolution:
Keywords: tor-ci-fail-sometimes | Actual Points:
Parent ID: #29437 | Points:
Reviewer: | Sponsor:
-----------------------------------+------------------------------------
Comment (by atagar):
Hi teor. In theory propagating the signal to our tor process should be
easy. In the runner I tried adding the following...
{{{
try:
integ_runner = test.runner.get_runner()
os.kill(integ_runner.get_pid(), sig)
except test.runner.RunnerStopped:
pass # integ testing tor instance isn't running
except OSError as exc:
if exc.errno == errno.ESRCH:
pass # already exited, no such process
raise exc
}}}
However, when I send a SIGABRT while invoking the integ tests things don't
terminate as I'd expect. This is gonna need some more investigation on my
side.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30257#comment:1>
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