<?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>16453</bug_id>
          
          <creation_ts>2026-10-15 13:56:04 +0000</creation_ts>
          <short_desc>AB-INT: test_sdk_code_nfs_debug_rootfs: argparse: KeyError: &apos;gettext&apos;</short_desc>
          <delta_ts>2026-10-15 14:57:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=15957</see_also>
          <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.2</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>107071</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-15 13:56:04 +0000</bug_when>
    <thetext>Sorry for the title, it probably meaningless...

I fail to understand what&apos;s the root cause of the error and what is just a consequence.

&gt; 2026-10-15 07:26:38,773 - oe-selftest - INFO - devtool.DevtoolIdeSdkClangTests.test_sdk_code_nfs_debug_rootfs (subunit.RemotedTestCase)
&gt; 2026-10-15 07:26:38,774 - oe-selftest - INFO -  ... FAIL
&gt; ...
&gt; 2026-10-15 07:26:38,775 - oe-selftest - INFO - 11: 3/32 284/776 (250.58s) (0 failed) (devtool.DevtoolIdeSdkClangTests.test_sdk_code_nfs_debug_rootfs)
&gt; 2026-10-15 07:26:38,775 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
&gt;   File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 5131, in test_sdk_code_nfs_debug_rootfs
&gt;     self._test_code_nfs_debug_rootfs()
&gt;     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
&gt;   File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 3626, in _test_code_nfs_debug_rootfs
&gt;     runCmd(&apos;devtool ide-sdk %s%s %s -c --ide=code --nfs=rootfs-dbg&apos; %
&gt;     ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt;            (mode_opts, recipe_name, testimage), output_log=self._cmd_logger)
&gt;            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py&quot;, line 214, in runCmd
&gt;     raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
&gt; AssertionError: Command &apos;devtool ide-sdk cmake-example-clang oe-selftest-image -c --ide=code --nfs=rootfs-dbg&apos; returned non-zero exit status 1:
&gt; ...
&gt; ERROR: Unable to parse /tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30_tasks.py
&gt; Traceback (most recent call last):
&gt;   File &quot;/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30_tasks.py&quot;, line 12, in &lt;module&gt;
&gt;     import oe.sbom30
&gt;   File &quot;/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/sbom30.py&quot;, line 9, in &lt;module&gt;
&gt;     import oe.spdx30
&gt;   File &quot;/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30/__init__.py&quot;, line 7, in &lt;module&gt;
&gt;     from .cmd import main  # noqa: F401
&gt;     ^^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30/cmd.py&quot;, line 7, in &lt;module&gt;
&gt;     import argparse
&gt;   File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/argparse.py&quot;, line 92, in &lt;module&gt;
&gt;     from gettext import gettext as _, ngettext
&gt;   File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1360, in _find_and_load
&gt;   File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1331, in _find_and_load_unlocked
&gt;   File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 946, in _load_unlocked
&gt; KeyError: &apos;gettext&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107072</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-15 13:56:27 +0000</bug_when>
    <thetext>oe-selftest-fedora stream9-vk-1 mathieu/master-next completed at 2026-10-15 09:25:05+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4877/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107079</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-10-15 14:57:27 +0000</bug_when>
    <thetext>RP says this is a bug in upstream python.
Related or duplicate of:
   https://bugzilla.yoctoproject.org/show_bug.cgi?id=15957
but apparently this and that bug are using different versions of python.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>