diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-25 22:20:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-26 14:00:51 +0100 |
commit | ccb009e9a728ed73f2bf5079e970868b9d7197cc (patch) | |
tree | 49211fc2bfb19b135b83da5c0a1b93d7ec0d90eb /meta-poky | |
parent | a3f1d619f327cdbabc8f87fe3e48ebbd288c7894 (diff) | |
download | poky-ccb009e9a728ed73f2bf5079e970868b9d7197cc.tar.gz |
targetcontrol: Fix leaking log handler
We had a mystery failure on the autobuilder where runqemu appeared to
be failing as a logfile directory no longer existed. The key to
reproducing was running a runqemu where the image was deleted (as
devtool does), then running another runqemu test. E.g.:
'oe-selftest -r devtool.DevtoolExtractTests.test_devtool_deploy_target wic.Wic2.test_qemu_efi'
This then tries to write to the logfile from the first test, the
image directory was deleted and we get strange failures.
The fix is to remove the logging handler when qemu is stopped.
(From OE-Core rev: b59a2bbbf3c56b71f6118970ed2269dddfbdbe0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
0 files changed, 0 insertions, 0 deletions