Bug 16307 - AB-INT: recipetool: Failure expanding variable do_rootfs[vardeps]
Summary: AB-INT: recipetool: Failure expanding variable do_rootfs[vardeps]
Status: NEW
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-06-05 08:06 UTC by Mathieu Dubois-Briand
Modified: 2026-06-18 23:36 UTC (History)
2 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 Mathieu Dubois-Briand 2026-06-05 08:06:36 UTC
2026-06-03 13:03:12,762 - oe-selftest - INFO - recipetool.RecipetoolCreateTests.test_recipetool_create_python3_pep517_poetry_core_masonry_api (subunit.RemotedTestCase)
2026-06-03 13:03:12,762 - oe-selftest - INFO -  ... FAIL
...
2026-06-03 13:03:12,762 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/recipetool.py", line 654, in test_recipetool_create_python3_pep517_poetry_core_masonry_api
    result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py", line 214, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'recipetool create -o /tmp/recipetoolqag1z56zfr/recipe https://files.pythonhosted.org/packages/b9/f3/ef59cee614d5e0accf6fd0cbba025b93b272e626ca89fb70a3e9187c5d15/iso8601-2.1.0.tar.gz' returned non-zero exit status 1:
...
Parsing recipes...WARNING: /srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/recipes-core/images/core-image-initramfs-boot.bb: Exception during build_dependencies for do_rootfs: ExpansionError('do_rootfs[vardeps]', ' ${@rootfs_variables(d)} PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS', KeyError(140098298938944))
WARNING: /srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/recipes-core/images/core-image-initramfs-boot.bb: Error during finalise of /srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/recipes-core/images/core-image-initramfs-boot.bb
ERROR: ExpansionError during parsing /srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/recipes-core/images/core-image-initramfs-boot.bb
bb.data_smart.ExpansionError: Failure expanding variable do_rootfs[vardeps], expression was  ${@rootfs_variables(d)} PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS which triggered exception KeyError: 140098298938944
The variable dependency chain for the failure is: do_rootfs[vardeps]

ERROR: Parsing halted due to errors, see error messages above

Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/recipetool", line 111, in <module>
    ret = main()
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/recipetool", line 100, in main
    ret = args.func(args)
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/recipetool/create.py", line 525, in create_recipe
    checksums, ftmpdir = scriptutils.fetch_url(tinfoil, fetchuri, srcrev, srctree, logger, preserve_tmp=args.keep_temp)
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/scriptutils.py", line 202, in fetch_url
    tinfoil.parse_recipes()
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/bitbake/lib/bb/tinfoil.py", line 585, in parse_recipes
    self.run_actions(config_params)
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/bitbake/lib/bb/tinfoil.py", line 568, in run_actions
    raise TinfoilUIException(ret)
bb.tinfoil.TinfoilUIException: 1
Comment 1 Mathieu Dubois-Briand 2026-06-05 08:15:29 UTC
oe-selftest-debian ubuntu2204-vk-2 mathieu/master-next completed at 2026-06-03 14:31:43+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3955/steps/15/logs/stdio
Comment 2 Randy MacLeod 2026-06-11 14:37:43 UTC
Thought to be a bug in the python host system on ubunutu-22.04, 
we're going to minimize use of that distro.
Comment 3 Yoann Congal 2026-06-18 23:36:53 UTC
This bug triggered on debian11:
qemuarm-tc debian11-vk-3 contrib/ycongal/wrynose-nut completed at 2026-06-18 18:03:36+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/3921

Python3 host version for reference:
ycongal@ubuntu2204-vk-1:~$ python3 --version
Python 3.10.12

ycongal@debian11-vk-3:~$ python3 --version
Python 3.9.2