diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-06 14:06:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-08 17:17:01 +0000 |
commit | 0985ac745f978396086417a25c1271e28ec65b2d (patch) | |
tree | 1e43a63f1649ec17e660ca3c92c4b206b16e6239 /meta/lib/oeqa/selftest/cases | |
parent | e5c713acb0c773a8fd238cdfe3b3882f2229f4f9 (diff) | |
download | poky-0985ac745f978396086417a25c1271e28ec65b2d.tar.gz |
oeqa/selftest/esdk: Ensure parent directory exists
INFO - ======================================================================
INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
clss.setUpClassMethod()
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py", line 76, in setUpClass
cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
File "/usr/lib/python3.5/tempfile.py", line 929, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/lib/python3.5/tempfile.py", line 507, in mkdtemp
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-debian/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-q7ln84gc'
(From OE-Core rev: 48719bc4d108df7e357e7f22f9f356cd72b3ebbd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/eSDK.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py index 12bd710e2d..d7aef93991 100644 --- a/meta/lib/oeqa/selftest/cases/eSDK.py +++ b/meta/lib/oeqa/selftest/cases/eSDK.py | |||
@@ -73,6 +73,7 @@ CORE_IMAGE_EXTRA_INSTALL = "perl" | |||
73 | cls.image = 'core-image-minimal' | 73 | cls.image = 'core-image-minimal' |
74 | 74 | ||
75 | bb_vars = get_bb_vars(['SSTATE_DIR', 'WORKDIR'], cls.image) | 75 | bb_vars = get_bb_vars(['SSTATE_DIR', 'WORKDIR'], cls.image) |
76 | bb.utils.mkdirhier(bb_vars["WORKDIR"]) | ||
76 | cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"]) | 77 | cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"]) |
77 | cls.tmpdir_eSDKQA = cls.tmpdirobj.name | 78 | cls.tmpdir_eSDKQA = cls.tmpdirobj.name |
78 | 79 | ||