diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-16 09:33:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-24 22:02:47 +0000 |
commit | 1c88c939f8448527ad908d3fecad549bfd65a161 (patch) | |
tree | ab27da2c3c1dba05529804c1a66edf8dd670810b /meta/classes/toolchain-scripts-base.bbclass | |
parent | 7692a65189c71748af1d792dda7ee08fde7e561a (diff) | |
download | poky-1c88c939f8448527ad908d3fecad549bfd65a161.tar.gz |
oeqa/utils/httpserver: Rework to avoid hangs and improve logging
testimage.bbclass installs a SIGTERM handler which conflicts with the
use of multiprocessing here. This is paritcularly problematic if the http
service is terminated before its started and hence before its had a chance
to reset the default signal handler (as the code was written).
Instead, temporarily remove testimage's handler whilst forking the http process
which means the correct handler is installed and won't deadlock.
Also take the opportunity to add in some log messages about the server start
and shutdown so that future debugging is easier and its clearer what the code
is doing.
(From OE-Core rev: cc0471439aa0085ca87deccf061c5b676ef12388)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts-base.bbclass')
0 files changed, 0 insertions, 0 deletions