[oe-commits] [openembedded-core] branch master-next updated: oeqa/selftest/esdk: Ensure parent directory exists

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 14:11:52 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new 62e195a  oeqa/selftest/esdk: Ensure parent directory exists
62e195a is described below

commit 62e195a3fa939e9c3bd3ac7548e74a08fb7de409
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Dec 6 14:06:34 2018 +0000

    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'
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/cases/eSDK.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py
index 14f75d8..1e79d1d 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"
         cls.image = 'core-image-minimal'
 
         bb_vars = get_bb_vars(['SSTATE_DIR', 'WORKDIR'], cls.image)
+        bb.utils.mkdirhier(bb_vars["WORKDIR"])
         cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
         cls.tmpdir_eSDKQA = cls.tempdirobj.name
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list