<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16307</bug_id>
          
          <creation_ts>2026-06-05 08:06:36 +0000</creation_ts>
          <short_desc>AB-INT: recipetool: Failure expanding variable do_rootfs[vardeps]</short_desc>
          <delta_ts>2026-06-18 23:36:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105741</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-05 08:06:36 +0000</bug_when>
    <thetext>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 &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/recipetool.py&quot;, line 654, in test_recipetool_create_python3_pep517_poetry_core_masonry_api
    result = runCmd(&apos;recipetool create -o %s %s&apos; % (temprecipe, srcuri))
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py&quot;, line 214, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;recipetool create -o /tmp/recipetoolqag1z56zfr/recipe https://files.pythonhosted.org/packages/b9/f3/ef59cee614d5e0accf6fd0cbba025b93b272e626ca89fb70a3e9187c5d15/iso8601-2.1.0.tar.gz&apos; 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(&apos;do_rootfs[vardeps]&apos;, &apos; ${@rootfs_variables(d)} PACKAGE_FEED_URIS PACKAGE_FEED_BASE_PATHS PACKAGE_FEED_ARCHS&apos;, 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 &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/recipetool&quot;, line 111, in &lt;module&gt;
    ret = main()
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/recipetool&quot;, line 100, in main
    ret = args.func(args)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/recipetool/create.py&quot;, line 525, in create_recipe
    checksums, ftmpdir = scriptutils.fetch_url(tinfoil, fetchuri, srcrev, srctree, logger, preserve_tmp=args.keep_temp)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/scriptutils.py&quot;, line 202, in fetch_url
    tinfoil.parse_recipes()
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/bitbake/lib/bb/tinfoil.py&quot;, line 585, in parse_recipes
    self.run_actions(config_params)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/bitbake/lib/bb/tinfoil.py&quot;, line 568, in run_actions
    raise TinfoilUIException(ret)
bb.tinfoil.TinfoilUIException: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105746</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-05 08:15:29 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105823</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-06-11 14:37:43 +0000</bug_when>
    <thetext>Thought to be a bug in the python host system on ubunutu-22.04, 
we&apos;re going to minimize use of that distro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105953</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-06-18 23:36:53 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>