mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 03:41:25 +00:00
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. (From OE-Core rev: 68009f4eb323e07cec8c4421d546bd3125dec033) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e69665f3e5
commit
1ae1df3853
@ -93,7 +93,7 @@ SSTATE_MIRRORS = "file://.* file://%s/PATH"
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
shutil.rmtree(cls.tmpdir_eSDKQA)
|
||||
shutil.rmtree(cls.tmpdir_eSDKQA, ignore_errors=True)
|
||||
super(oeSDKExtSelfTest, cls).tearDownClass()
|
||||
|
||||
@OETestID(1602)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user