diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-20 09:38:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 08:44:19 +0100 |
commit | 68009f4eb323e07cec8c4421d546bd3125dec033 (patch) | |
tree | a6dc2977443ea5e4949ddced7fcc31578b424992 /meta/lib/oeqa | |
parent | e124eb73e6a66abbf43dffd82b834e906163614b (diff) | |
download | openembedded-core-68009f4eb323e07cec8c4421d546bd3125dec033.tar.gz openembedded-core-68009f4eb323e07cec8c4421d546bd3125dec033.tar.bz2 openembedded-core-68009f4eb323e07cec8c4421d546bd3125dec033.zip |
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/eSDK.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py index f36c3ccd3b..d03188f2f7 100644 --- a/meta/lib/oeqa/selftest/cases/eSDK.py +++ b/meta/lib/oeqa/selftest/cases/eSDK.py @@ -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) |