[yocto] [[RFC][PATCH]] yocto-compat-layer.py: Add script to YP Compatible Layer validation

Aníbal Limón anibal.limon at linux.intel.com
Fri Feb 17 13:27:35 PST 2017



On 02/13/2017 10:27 AM, Aníbal Limón wrote:
> 
> 
> On 02/11/2017 08:04 PM, Christopher Larson wrote:
>> On Sat, Feb 11, 2017 at 10:55 AM, Aníbal Limón <anibal.limon at linux.intel.com
>>> wrote:
>>
>>> During the development of this script based on OEQA framework i found a
>>> bug causing don't display stack traces, i sent a fix to the ML [1] also
>>> is on my branch at [2].
>>>
>>> I attached and example of how a log file looks, the example log results
>>> are based on meta-yocto-bsp.
>>>
>>> Cheers,
>>>         alimon
>>>
>>> [1]
>>> http://lists.openembedded.org/pipermail/openembedded-core/
>>> 2017-February/132494.html
>>> [2]
>>> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/
>>> log/?h=alimon/yp_compatible
>>>
>>
>> This seems like a good start, but this isn’t useful:
>>
>>     AssertionError: True is not false : Layer meta-yocto-bsp changed
>> signatures.
>>
>> Presumably this is telling the user it’s modifying things without using the
>> appropriate overrides for machine or distro, but it doesn’t actually tell
>> them that, and displaying the changed checksums isn’t of a great deal of
>> use on its own either, I’d suggest at least capturing the changed variables
>> via bitbake-diffsigs or bitbake -S printdiff.
> 
> Ok i can add another tests using bitbake -S printdiff.

Hi Christopher,

Currently the printdiff is broke, i agree with the idea to show what
actually changes in the signature but there are some work to be done in
printdiff.

	alimon

> 
> I have a question, did you see the changed signatures like the attached
> results log ones?
> 
> Example,
> 
> AssertionError: True is not false : Layer meta-yocto-bsp changed signatures.
> packagegroup-core-lsb:do_build changed 3a1b91e693c766befca17e00ca69cfe9
> -> 1153f4c44d409486e10a19449981aef7
> packagegroup-core-lsb:do_package_write_rpm changed
> 7fafda279503fb441f957fe88981cbc9 -> 45845055584bad62e1b6d67b12e668bd
> packagegroup-core-lsb:do_package changed
> c312cfe0956cecd9af010de2de09dc89 -> 3d00ea36ae703c99c2e8be57ad309a04
> meta-world-pkgdata:do_build changed d62a25aedc0adc4ed0832ea20141c4b7 ->
> e8ee6e0e34122c095bc62a26e90be51f
> packagegroup-core-lsb:do_packagedata changed
> 9a63506a1764a11a5177c206839ce8ba -> 919b5c641cc779e59bd8df94b50a3d07
> packagegroup-core-lsb:do_package_qa changed
> 53a4bafbdea1fc41098ae48aef584b12 -> babec54733e94d0df008e237927552e7
> 
> 
> If not please apply this patch [1]
> 
> Best regards,
> 	alimon
> 
> [1]
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=alimon/yp_compatible&id=f35f9b2bc068ee4e50acdc163464da4aaadda956
> 
>>
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170217/eb49385d/attachment.pgp>


More information about the yocto mailing list