Bug 11318

Summary: do_testsdkext failing on nightly-mips build on AutoBuilder
Product: [Yocto Project Subprojects] eSDK Reporter: Jose Perez C <jose.perez.carranza>
Component: eSDKAssignee: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: bluelightning, california.l.sullivan, leonardo.sandoval.gonzalez
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jose Perez C 2017-04-10 14:56:02 UTC
When running a nightly-mips build on main AB an error is present when executing do_testsdkext task. 

ERROR: core-image-minimal-1.0-r0 do_testsdkext: Error executing a python function in exec_python_func() autogenerated:


Log 

https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/1107/steps/Running%20ESDK%20Sanity%20Tests/logs/stdio
Comment 1 Jose Perez C 2017-04-10 15:06:43 UTC
May be related to Bug 11300
Comment 2 California Sullivan 2017-04-10 20:06:58 UTC
*** Bug 11325 has been marked as a duplicate of this bug. ***
Comment 3 Leonardo Sandoval Gonzalez 2017-04-11 20:25:30 UTC
Proposed patch (not yet sent to the community) current being test locally

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lsandov1/testsdkext-race&id=59460375808f3a5b5a2cf90f6076a743e8889777
Comment 4 Leonardo Sandoval Gonzalez 2017-04-11 21:04:48 UTC
(In reply to comment #3)
> Proposed patch (not yet sent to the community) current being test locally
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lsandov1/
> testsdkext-race&id=59460375808f3a5b5a2cf90f6076a743e8889777

RP suggested another approach using os.pid to ensure unique folders per runner process, currently tested


http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lsandov1/testsdkext-race&id=b0d991b1aedf5db4b5f815ba22a298e4f18e2abb
Comment 5 Leonardo Sandoval Gonzalez 2017-04-12 16:15:27 UTC
Patch sent to the mailing list, identical to the one in comment 4