Bug 14287

Summary: failure self.tinfoil.find_providers too many value to unpack
Product: [QA/Testing] Functional (self) Testing Reporter: Köry Maincent <kory.maincent>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: alexandre.belloni, poky.bs.watcher, poky.watcher, richard.purdie
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 Köry Maincent 2021-03-09 08:46:34 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1865/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1863/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1883/steps/15/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1897/steps/14/logs/stdio


2021-02-26 23:00:43,002 - oe-selftest - INFO - 0: 2/33 17/424 (549.23s) (archiver.Archiver.test_archiver_filters_by_type)
2021-02-26 23:00:48,657 - oe-selftest - INFO - bblayers.BitbakeLayers.test_bitbakelayers_flatten (subunit.RemotedTestCase)
2021-02-26 23:00:48,657 - oe-selftest - INFO -  ... FAIL
2021-02-26 23:00:48,658 - oe-selftest - INFO - 1: 3/69 18/424 (295.27s) (bblayers.BitbakeLayers.test_bitbakelayers_flatten)
2021-02-26 23:00:48,658 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/bblayers.py", line 36, in test_bitbakelayers_flatten
    recipe_file = self.get_recipe_basename(recipe)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/bblayers.py", line 111, in get_recipe_basename
    result = runCmd("bitbake-layers show-recipes -f %s" % recipe)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 210, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake-layers show-recipes -f xcursor-transparent-theme' returned non-zero exit status 1:
NOTE: Starting bitbake server...
Loading cache...done.
Loaded 0 entries from dependency cache.
Parsing recipes...done.
Parsing of 851 .bb files complete (0 cached, 851 parsed). 1477 targets, 46 skipped, 0 masked, 0 errors.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/bin/bitbake-layers", line 93, in <module>
    ret = main()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/bin/bitbake-layers", line 86, in main
    return args.func(args)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bblayers/query.py", line 119, in do_show_recipes
    self.list_recipes(title, args.pnspec, False, False, args.filenames, args.recipes_only, args.multiple, args.layer, args.bare, inheritlist, args.mc)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bblayers/query.py", line 131, in list_recipes
    (latest_versions, preferred_versions) = self.tinfoil.find_providers(mc)
ValueError: too many values to unpack (expected 2)
Comment 1 Richard Purdie 2021-03-11 16:11:20 UTC
This has been fixed by fixup patches in master-next against the original patches.