<?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>16227</bug_id>
          
          <creation_ts>2026-04-02 08:04:45 +0000</creation_ts>
          <short_desc>AB-INT: test_devtool_rename: module &apos;importlib_metadata&apos; has no attribute &apos;EntryPoints&apos;</short_desc>
          <delta_ts>2026-04-02 14:47:20 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</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>
          
          
          <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>104915</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-02 08:04:45 +0000</bug_when>
    <thetext>Got this trace, only once:

2026-03-30 09:10:41,962 - 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/devtool.py&quot;, line 2517, in test_devtool_rename
    add_recipe()
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 2510, in add_recipe
    result = runCmd(&apos;devtool add %s&apos; % url)
  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;devtool add http://downloads.yoctoproject.org/mirror/sources/i2c-tools-3.1.2.tar.bz2&apos; returned non-zero exit status 1:
NOTE: Reconnecting to bitbake server...
INFO: Creating workspace layer in /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3591210/workspace
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
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 75, in main
    scriptutils.load_plugins(logger, plugins, pluginpath)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/scriptutils.py&quot;, line 96, in load_plugins
    plugin = load_plugin(name)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/scriptutils.py&quot;, line 85, in load_plugin
    spec.loader.exec_module(mod)
  File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 790, in exec_module
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 228, in _call_with_frames_removed
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/lib/recipetool/create_buildsys_python.py&quot;, line 11, in &lt;module&gt;
    import setuptools.command.build_py
  File &quot;/srv/pokybuild/buildbot-venv/lib/python3.9/site-packages/setuptools/__init__.py&quot;, line 26, in &lt;module&gt;
    from .dist import Distribution
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1007, in _find_and_load
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 986, in _find_and_load_unlocked
  File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 680, in _load_unlocked
  File &quot;/srv/pokybuild/buildbot-venv/lib/python3.9/site-packages/_virtualenv.py&quot;, line 89, in exec_module
    old(module)
  File &quot;/srv/pokybuild/buildbot-venv/lib/python3.9/site-packages/setuptools/dist.py&quot;, line 20, in &lt;module&gt;
    from . import (
  File &quot;/srv/pokybuild/buildbot-venv/lib/python3.9/site-packages/setuptools/_entry_points.py&quot;, line 49, in &lt;module&gt;
    def validate(eps: metadata.EntryPoints):
AttributeError: module &apos;importlib_metadata&apos; has no attribute &apos;EntryPoints&apos;
ERROR: Command &apos;recipetool --color=auto create --devtool -o /tmp/devtool3s7g63ln &apos;http://downloads.yoctoproject.org/mirror/sources/i2c-tools-3.1.2.tar.bz2&apos;  -x /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3591210/workspace/sources/devtoolsrcnb72yk22&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104918</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-02 08:11:17 +0000</bug_when>
    <thetext>oe-selftest-debian debian11-vk-1 mathieu/master-next completed at 2026-03-30 11:01:38+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3554/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104932</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-02 14:47:20 +0000</bug_when>
    <thetext>Fixed on the debian11 host manually and helpdesk has been emailed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>