| Summary: | check-layer-nightly: No such file or directory: /.../repos/meta-riscv (whinlatter) | ||
|---|---|---|---|
| Product: | [QA/Testing] Tooling | Reporter: | Mathieu Dubois-Briand <mathieu.dubois-briand> |
| Component: | tooling | Assignee: | Paul Barker <paul> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | paul |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
check-layer-nightly fedora41-vk-1 2.16&whinlatter completed at 2025-12-26 02:01:09+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/880/steps/9/logs/stdio check-layer-nightly fedora40-vk-2 2.16&whinlatter completed at 2025-12-30 02:01:14+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/887/steps/9/logs/stdio We can fix this in one of two ways: - Cherry-pick https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=bb28c344660afc88a7a4c1edf8847041728a6654 on to the whinlatter branch so that check-layer-nightly runs for meta-riscv on the whinlatter branch. - Add "meta-riscv" to the list of "Repos is specified on the controller but not used in the helper config" in scripts/getproperties.py in yocto-autobuilder-helper so that the layer is silently ignored on the whinlatter branch. I've pinged tgamblin to ask if we should be testing the whinlatter branch of meta-riscv or not. check-layer-nightly opensuse156-vk-1 whinlatter&2.16 completed at 2026-01-02 02:01:26+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/893/steps/9/logs/stdio check-layer-nightly ubuntu2204-vk-2 whinlatter&2.16 completed at 2026-01-06 02:01:08+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/903/steps/9/logs/stdio This should be fixed by: getproperties: Ignore meta-riscv for nightly-check-layer https://lore.kernel.org/yocto-patches/20260106-riscv-whinlatter-v1-1-cb4210f7b674@pbarker.dev/T/#u Tested on autobuilder: https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/901 This build still failed due to issues in meta-intel, but it got past the "Load build revisions" step where it was previously failing. Patch merged as https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?h=whinlatter&id=fbc1691cedebd627810d5f6a7ffd4eb1e021befd so we can close. |
We got this issue on the autobuilder during check-layer-nightly, for whinlatter branch: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/check-layer-nightly/yocto-autobuilder-helper/scripts/getproperties.py", line 62, in <module> getrevs(jsonprops, layerpath, repo) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/check-layer-nightly/yocto-autobuilder-helper/scripts/getproperties.py", line 36, in getrevs jsonprops['commit_' + layername] = get_revision(layerpath) ~~~~~~~~~~~~^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/check-layer-nightly/yocto-autobuilder-helper/scripts/getproperties.py", line 21, in get_revision return subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=repopath).decode('utf-8').strip() ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 472, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ **kwargs).stdout ^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 554, in run with Popen(*popenargs, **kwargs) as process: ~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 1039, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pass_fds, cwd, env, ^^^^^^^^^^^^^^^^^^^ ...<5 lines>... gid, gids, uid, umask, ^^^^^^^^^^^^^^^^^^^^^^ start_new_session, process_group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 1969, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/srv/pokybuild/yocto-worker/check-layer-nightly/build/repos/meta-riscv'