Bug 14288 - too many value to unpack failure test_packageconfig_flags_options_preferred_only
Summary: too many value to unpack failure test_packageconfig_flags_options_preferred_only
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-03-09 08:58 UTC by Köry Maincent
Modified: 2021-03-11 16:08 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Köry Maincent 2021-03-09 08:58:01 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1884/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1898/steps/14/logs/stdio


2021-02-27 16:51:11,193 - oe-selftest - INFO - 2: 30/71 241/424 (56.55s) (devtool.DevtoolUpgradeTests.test_devtool_finish_upgrade_origlayer)
2021-02-27 16:51:18,914 - oe-selftest - INFO - oescripts.OEListPackageconfigTests.test_packageconfig_flags_options_preferred_only (subunit.RemotedTestCase)
2021-02-27 16:51:18,915 - oe-selftest - INFO -  ... FAIL
2021-02-27 16:51:18,915 - oe-selftest - INFO - 5: 10/22 242/424 (10.46s) (oescripts.OEListPackageconfigTests.test_packageconfig_flags_options_preferred_only)
2021-02-27 16:51:18,916 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/oescripts.py", line 181, in test_packageconfig_flags_options_preferred_only
    results = runCmd('%s/contrib/list-packageconfig-flags.py -p' % self.scripts_dir)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/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 '/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/contrib/list-packageconfig-flags.py -p' returned non-zero exit status 1:
Loading cache...done.
Loaded 1477 entries from dependency cache.
Gathering recipe data...
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/contrib/list-packageconfig-flags.py", line 167, in <module>
    main()
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/contrib/list-packageconfig-flags.py", line 154, in main
    data_dict = get_recipesdata(bbhandler, options.preferred)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/contrib/list-packageconfig-flags.py", line 52, in get_recipesdata
    for fn in get_fnlist(bbhandler, pkg_pn, preferred):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/contrib/list-packageconfig-flags.py", line 36, in get_fnlist
    (latest_versions, preferred_versions) = bb.providers.findProviders(bbhandler.config_data, bbhandler.cooker.recipecaches[''], pkg_pn)
ValueError: too many values to unpack (expected 2)
Comment 1 Richard Purdie 2021-03-11 16:08:30 UTC
This has been fixed by fixup patches in master-next against the original patches.