All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] oeqa/selftest/esdk: Ensure parent directory exists
@ 2018-12-07 12:06 Richard Purdie
  2018-12-07 12:06 ` [PATCH 2/2] nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg Richard Purdie
  0 siblings, 1 reply; 15+ messages in thread
From: Richard Purdie @ 2018-12-07 12:06 UTC (permalink / raw)
  To: openembedded-core

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@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 12bd710e2dc..d7aef939913 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.tmpdirobj.name
 
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread
[parent not found: <81618ab958486def551d22764d960944fb09b73d.camel () linuxfoundation ! org>]

end of thread, other threads:[~2019-06-29  8:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-07 12:06 [PATCH 1/2] oeqa/selftest/esdk: Ensure parent directory exists Richard Purdie
2018-12-07 12:06 ` [PATCH 2/2] nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg Richard Purdie
2018-12-08  0:07   ` Richard Purdie
2018-12-26  8:39     ` Andrej Valek
2018-12-26 11:09       ` richard.purdie
2018-12-31 19:56         ` Andrej Valek
2019-01-03 13:59           ` Richard Purdie
2019-02-07  2:32             ` Phil Reid
2019-02-11 14:35               ` Khem Raj
2019-02-11 14:41                 ` Valek, Andrej
2019-02-11 14:45                 ` Richard Purdie
2019-02-11 15:18                   ` Khem Raj
     [not found] <81618ab958486def551d22764d960944fb09b73d.camel () linuxfoundation ! org>
2019-06-28 16:52 ` Luca Boccassi
2019-06-28 16:57   ` richard.purdie
2019-06-28 17:08     ` Luca Boccassi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.