| Summary: | AB-INT: oe-selftest: No such file or directory bbpath.py | ||
|---|---|---|---|
| Product: | [QA/Testing] Functional (self) Testing | Reporter: | Mathieu Dubois-Briand <mathieu.dubois-briand> |
| Component: | oe-selftest | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | randy.macleod, richard.purdie, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 5.3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
oe-selftest-ubuntu ubuntu2404-vk-2 mathieu/master-next completed at 2025-03-07T16:38:06Z https://autobuilder.yoctoproject.org/valkyrie/#/builders/54/builds/1141/steps/14/logs/stdio Some observations: a) It is only one selftest thread that fails, you can tell by the build-st-XXXX where XXXX is a pid being the same for all failures. b) In poky, this path never exists: $ find -name bbpath.py ./meta-selftest/lib/devtool/bbpath.py ./meta-selftest/lib/recipetool/bbpath.py So the question is why it seemed to end up with a bad data. Some kind of cached path problem? Do any of the tests manipulate/add bbpath.py files? Could it be a test removing meta-selftest from bblayers and then breaking future tests that assume it is present? oe-selftest-armhost ubuntu2404-vk-arm1 master completed at 2025-04-05T03:34:50Z https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/1387/steps/14/logs/stdio What do we do with bugs that happen once every ~13 months ? Seems to be have gone away. We've changed some things in memory resident bitbake, and devtool path handling. Re-open if seen again. |
First time I see this one. Is it some FS issue on the worker? 1981 2025-03-07 16:37:17,580 - oe-selftest - INFO - ERROR: setUpModule (devtool) [ (subunit.RemotedTestCase) 1982 2025-03-07 16:37:17,580 - oe-selftest - INFO - ---------------------------------------------------------------------- 1983 2025-03-07 16:37:17,580 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): 1984 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 87, in setUpModule 1985 bb.utils.edit_bblayers_conf(bblayers_conf, None, None, bblayers_edit_cb) 1986 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1550, in edit_bblayers_conf 1987 (updated, newlines) = edit_metadata(newlines, ['BBLAYERS'], handle_bblayers) 1988 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1989 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1382, in edit_metadata 1990 if handle_var_end(): 1991 ^^^^^^^^^^^^^^^^ 1992 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1307, in handle_var_end 1993 (newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines) 1994 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1995 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1515, in handle_bblayers 1996 res = edit_cb(layer, canonicalise_path(layer)) 1997 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1998 File "/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 83, in bblayers_edit_cb 1999 shutil.copy2(pth, destdir) 2000 File "/usr/lib/python3.12/shutil.py", line 476, in copy2 2001 copystat(src, dst, follow_symlinks=follow_symlinks) 2002 File "/usr/lib/python3.12/shutil.py", line 382, in copystat 2003 st = lookup("stat")(src, follow_symlinks=follow) 2004 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2005 FileNotFoundError: [Errno 2] No such file or directory: '/srv/pokybuild/yocto-worker/oe-selftest-ubuntu/build/scripts/lib/devtool/bbpath.py' And this does repeat for all following tests.