Bug 16114 - check-layer-nightly: No such file or directory: /.../repos/meta-riscv (whinlatter)
Summary: check-layer-nightly: No such file or directory: /.../repos/meta-riscv (whinla...
Status: RESOLVED FIXED
Alias: None
Product: Tooling
Classification: QA/Testing
Component: tooling (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Paul Barker
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-12-30 10:06 UTC by Mathieu Dubois-Briand
Modified: 2026-01-08 15:46 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2025-12-30 10:06:03 UTC
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'
Comment 1 Mathieu Dubois-Briand 2025-12-30 10:07:21 UTC
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
Comment 2 Paul Barker 2026-01-03 10:59:30 UTC
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.
Comment 3 Mathieu Dubois-Briand 2026-01-05 08:32:32 UTC
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
Comment 4 Mathieu Dubois-Briand 2026-01-06 09:32:46 UTC
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
Comment 5 Paul Barker 2026-01-07 14:17:23 UTC
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.