<?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>14345</bug_id>
          
          <creation_ts>2021-04-14 22:43:07 +0000</creation_ts>
          <short_desc>Autobuilder rebuild button doesn&apos;t always work when using shared repos</short_desc>
          <delta_ts>2026-02-19 16:23:11 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro">alejandro</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jon.mason</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sakib.sajal</cc>
    
    <cc>tvgamblin</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>89934</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2021-04-14 22:43:07 +0000</bug_when>
    <thetext>The Unpack shared repositories step fails to copy the poky repo, it isnt able to find the directory: /srv/autobuilder/repos/a-full-2038

It only failed on the beaglebone-alt build (on two different servers, Ubuntu 1604 and Tumbleweed):

https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/2219
https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/2218

Hard to tell why such directory was unavailable at the time, or if it will happen again, but seemed okay to report it.


====================================================================================================
Copying in repo poky (1618170463.3)
====================================================================================================
rsync: [sender] change_dir &quot;/srv/autobuilder/repos/a-full-2038&quot; failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/beaglebone-alt/yocto-autobuilder-helper/scripts/shared-repo-unpack&quot;, line 57, in &lt;module&gt;
    subprocess.check_call([&quot;rsync&quot;, &quot;-a&quot;, &quot;%s/%s&quot; % (args.cache_dir, repo), targetsubdir])
  File &quot;/usr/lib64/python3.8/subprocess.py&quot;, line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command &apos;[&apos;rsync&apos;, &apos;-a&apos;, &apos;/srv/autobuilder/repos/a-full-2038/poky&apos;, &apos;/home/pokybuild/yocto-worker/beaglebone-alt/build/repos&apos;]&apos; returned non-zero exit status 23.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89953</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-15 14:40:56 +0000</bug_when>
    <thetext>Can be avoided by forcing a build rather than hitting the rebuild button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90421</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2021-05-20 13:44:35 +0000</bug_when>
    <thetext>Seen again on
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/2336/steps/6/logs/stdio
qemuarm-alt
debian10-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91887</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-11-04 13:35:19 +0000</bug_when>
    <thetext>Issue is from the conditional in http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/tree/scripts/shared-repo-unpack#n53

When the build completes, the sources are removed as otherwise the can pile up unbounded on the shared storage.

One simple fix would be for the code to check if the sources are there and then just checkout sources again if not. The worry is whether a &quot;rebuild&quot; could/would then rebuild something different and confuse the user?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96804</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:21 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104358</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-02-19 16:22:46 +0000</bug_when>
    <thetext>We believe the sources cache files are not being deleted which avoids this bug but creates a maintenance issue for cleaning them up</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>