<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16223</bug_id>
          
          <creation_ts>2026-03-31 08:42:41 +0000</creation_ts>
          <short_desc>AB-INT: indexing: destination path (bitbake) already exists and is not an empty directory</short_desc>
          <delta_ts>2026-04-02 14:43:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>paul</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104864</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-03-31 08:42:41 +0000</bug_when>
    <thetext>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 &apos;/srv/pokybuild/yocto-worker/indexing/build/repos/bitbake&apos; already exists and is not an empty directory.
Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/shared-repo-unpack&quot;, line 74, in &lt;module&gt;
    utils.fetchgitrepo(targetsubdir, repo, repos[repo], stashdir)
  File &quot;/srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/utils.py&quot;, line 274, in fetchgitrepo
    subprocess.check_call([&quot;git&quot;, &quot;clone&quot;, params[&quot;url&quot;], sharedrepo] + depthopt)
  File &quot;/usr/lib64/python3.9/subprocess.py&quot;, line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command &apos;[&apos;git&apos;, &apos;clone&apos;, &apos;ssh://git@push.openembedded.org/bitbake&apos;, &apos;/srv/pokybuild/yocto-worker/indexing/build/repos/bitbake&apos;]&apos; returned non-zero exit status 128.
program finished with exit code 1
elapsedTime=0.052158</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104867</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-03-31 09:03:22 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104929</commentid>
    <comment_count>2</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-02 14:43:16 +0000</bug_when>
    <thetext>clobberdir was not working on stream9-vk-1 at the time, I fixed it.

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

Now clobberdir works fine on this host =&gt; Closing this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>