summaryrefslogtreecommitdiff
path: root/.templateconf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-16 09:33:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-16 17:01:29 +0000
commitcc0471439aa0085ca87deccf061c5b676ef12388 (patch)
tree269a58f4b12201c5b245906dcfd8b2a4719a030d /.templateconf
parent8f5b6a3789a7fcbac0a384b84b4c7ef5994023b6 (diff)
downloadopenembedded-core-cc0471439aa0085ca87deccf061c5b676ef12388.tar.gz
openembedded-core-cc0471439aa0085ca87deccf061c5b676ef12388.tar.bz2
openembedded-core-cc0471439aa0085ca87deccf061c5b676ef12388.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions