]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/eSDK: Ignore errors during directory cleanup
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jul 2017 08:38:36 +0000 (09:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 07:44:19 +0000 (08:44 +0100)
commit68009f4eb323e07cec8c4421d546bd3125dec033
treea6dc2977443ea5e4949ddced7fcc31578b424992
parente124eb73e6a66abbf43dffd82b834e906163614b
oeqa/eSDK: Ignore errors during directory cleanup

The cleanup can fail with:

ERROR [0.000s]: tearDownClass (eSDK.oeSDKExtSelfTest)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'

which is due to bitbake taking a small amount of time to shut down the server.
The easiest fix is just to ignore these kinds of errors, bitbake shouldn't create
any new files during shutdown.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/eSDK.py