diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-03 11:29:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-03 20:16:20 +0100 |
commit | e15cc7801ec611f867f5b31028741722ac718c87 (patch) | |
tree | 52efd774d5c1a2f3420773cef6cc18912d6f9022 /meta-selftest/lib | |
parent | d603e2fd589e1edbc67c8c2fefb6337e728b9d01 (diff) | |
download | openembedded-core-contrib-e15cc7801ec611f867f5b31028741722ac718c87.tar.gz |
oeqa/targetcontrol: Attempt to fix log closure warning message
We continue to see the warning message:
WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper
name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821'
mode='a' encoding='UTF-8'>
I've been unable to reprodue this but believe its caused by garbage
collection of the FileHandler used in QemuTarget being delayed until
after a new tinfoil instance is created by a subseqent test.
Force the log file to be closed when we stop using it to avoid this.
[YOCTO #13961]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/lib')
0 files changed, 0 insertions, 0 deletions