Bug 16223 - AB-INT: indexing: destination path (bitbake) already exists and is not an empty directory
Summary: AB-INT: indexing: destination path (bitbake) already exists and is not an emp...
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-03-31 08:42 UTC by Mathieu Dubois-Briand
Modified: 2026-04-02 14:43 UTC (History)
4 users (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 2026-03-31 08:42:41 UTC
New AB-INT, did we change something in there recently?

====================================================================================================
Fetching repo bitbake (1774836906.6)
====================================================================================================

Checking for stash at: /srv/pokybuild/git/mirror/bitbake
Cloning from origin to /srv/pokybuild/yocto-worker/indexing/build/repos/bitbake...
fatal: destination path '/srv/pokybuild/yocto-worker/indexing/build/repos/bitbake' already exists and is not an empty directory.
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/shared-repo-unpack", line 74, in <module>
    utils.fetchgitrepo(targetsubdir, repo, repos[repo], stashdir)
  File "/srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/utils.py", line 274, in fetchgitrepo
    subprocess.check_call(["git", "clone", params["url"], sharedrepo] + depthopt)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'clone', 'ssh://git@push.openembedded.org/bitbake', '/srv/pokybuild/yocto-worker/indexing/build/repos/bitbake']' returned non-zero exit status 128.
program finished with exit code 1
elapsedTime=0.052158
Comment 1 Mathieu Dubois-Briand 2026-03-31 09:03:22 UTC
indexing stream9-vk-1 master completed at 2026-03-30 02:15:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/50547/steps/7/logs/stdio
Comment 2 Yoann Congal 2026-04-02 14:43:16 UTC
clobberdir was not working on stream9-vk-1 at the time, I fixed it.

For details, here is what I've sent to helpdesk:
> Subject: For info: fixed clobberdir on stream9-vk-1
> 
> During testing[0], I found that clobberdir on stream9-vk-1 was not
> properly set up:
> * /srv/pokybuild/yocto-autobuilder-helper/ was on commit
>   75ab3716 (9 months old)
>   * => fixed it by pulling the lastest master
> * /srv/pokybuild/git/trash did not exist
>   * => I created it
> 
> [0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/3585

Now clobberdir works fine on this host => Closing this bug.