| Summary: | AB-INT: test_sdk_code_nfs_debug_rootfs: argparse: KeyError: 'gettext' | ||
|---|---|---|---|
| Product: | [QA/Testing] Runtime Testing | Reporter: | Mathieu Dubois-Briand <mathieu.dubois-briand> |
| Component: | general | Assignee: | Unassigned <unassigned> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 6.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=15957 | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
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 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. |
Sorry for the title, it probably meaningless... I fail to understand what's the root cause of the error and what is just a consequence. > 2026-10-15 07:26:38,773 - oe-selftest - INFO - devtool.DevtoolIdeSdkClangTests.test_sdk_code_nfs_debug_rootfs (subunit.RemotedTestCase) > 2026-10-15 07:26:38,774 - oe-selftest - INFO - ... FAIL > ... > 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) > 2026-10-15 07:26:38,775 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): > File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py", line 5131, in test_sdk_code_nfs_debug_rootfs > self._test_code_nfs_debug_rootfs() > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ > File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py", line 3626, in _test_code_nfs_debug_rootfs > runCmd('devtool ide-sdk %s%s %s -c --ide=code --nfs=rootfs-dbg' % > ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > (mode_opts, recipe_name, testimage), output_log=self._cmd_logger) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/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 'devtool ide-sdk cmake-example-clang oe-selftest-image -c --ide=code --nfs=rootfs-dbg' returned non-zero exit status 1: > ... > ERROR: Unable to parse /tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30_tasks.py > Traceback (most recent call last): > File "/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30_tasks.py", line 12, in <module> > import oe.sbom30 > File "/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/sbom30.py", line 9, in <module> > import oe.spdx30 > File "/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30/__init__.py", line 7, in <module> > from .cmd import main # noqa: F401 > ^^^^^^^^^^^^^^^^^^^^^ > File "/tmp/devtoolqa9xm5c97c/core-copy/meta/lib/oe/spdx30/cmd.py", line 7, in <module> > import argparse > File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/argparse.py", line 92, in <module> > from gettext import gettext as _, ngettext > File "<frozen importlib._bootstrap>", line 1360, in _find_and_load > File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 946, in _load_unlocked > KeyError: 'gettext'