[OE-core] packagefeed-stability.bbclass problems

Mike Looijmans mike.looijmans at topic.nl
Tue Oct 31 14:06:53 UTC 2017


As advised a few weeks ago, I tried out "packagefeed-stability" to 
reduct the load on feed servers.

However, I ran into several problems with that:
- Some recipes cause the class to crash.
- On a second (and third) run, it spends over 15 minutes of running 
"do_package_compare_ipk" tasks.

So for now my conclusion has to be that it's useless in its current 
form, it will just add more load on the build servers and it apparently 
is rather sensitive to things we did in the past for some recipes.

Below an example crash traceback:
(recipe: 
https://github.com/OpenPLi/openpli-oe-core/blob/develop/meta-openpli/recipes-openpli/enigma2-skins/enigma2-plugin-skins-magic.bb)


ERROR: enigma2-plugin-skins-magic-1.2+gitAUTOINC+8b5fb84750-r0 
do_package_compare_ipk: Error executing a python function in 
exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
      0001:
  *** 0002:do_package_compare_ipk(d)
      0003:
File: 
'/home/.../openembedded-core/meta/classes/packagefeed-stability.bbclass', 
lineno: 76, function: do_package_compare_ipk
      0072:# anonymous python code above
      0073:fakeroot python do_package_compare () {
      0074:    currenttask = d.getVar('BB_CURRENTTASK', True)
      0075:    pkgtype = currenttask.rsplit('_', 1)[1]
  *** 0076:    package_compare_impl(pkgtype, d)
      0077:}
      0078:
      0079:def package_compare_impl(pkgtype, d):
      0080:    import errno
File: 
'/home/.../openembedded-core/meta/classes/packagefeed-stability.bbclass', 
lineno: 163, function: package_compare_impl
      0159:                        if pkgbasename.startswith(rpkg):
      0160:                            pkgr = pkgrvalues[pkg]
      0161:                            destpathspec = 
destpath.replace(pkgr, '*')
      0162:                            if pvprefix:
  *** 0163:                                pkgv = pkgvvalues[pkg]
      0164:                                if pkgv.startswith(pvprefix):
      0165:                                    pkgvsuffix = 
pkgv[len(pvprefix):]
      0166:                                    if '+' in pkgvsuffix:
      0167:                                        newpkgv = pvprefix + 
'*+' + pkgvsuffix.split('+', 1)[1]
Exception: KeyError: 'font-valis-enigma'

ERROR: enigma2-plugin-skins-magic-1.2+gitAUTOINC+8b5fb84750-r0 
do_package_compare_ipk: Function failed: do_package_compare_ipk
ERROR: Logfile of failure stored in: 
/home/.../build/tmp/work/all-oe-linux/enigma2-plugin-skins-magic/1.2+gitAUTOINC+8b5fb84750-r0/temp/log.do_package_compare_ipk.22333
ERROR: Task 
(/home/.../meta-openpli/recipes-openpli/enigma2-skins/enigma2-plugin-skins-magic.bb:do_package_compare_ipk) 
failed with exit code '1'


-- 
Mike Looijmans


Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail


Visit us at the Space Tech Expo Europe (Stand E-71)



More information about the Openembedded-core mailing list