<?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>16154</bug_id>
          
          <creation_ts>2026-01-27 20:38:33 +0000</creation_ts>
          <short_desc>Mirroring process fails if an archive changes hash without changing name</short_desc>
          <delta_ts>2026-05-21 15:00:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure General</product>
          <component>infrastructure-general</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>antonin.godard</cc>
    
    <cc>mhalstead</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104083</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-01-27 20:38:33 +0000</bug_when>
    <thetext>If, in the life of a recipe, a SRC_URI change hash without changing name, the mirroring test for that recipe fails.

For example, it happens for upstreams which does not put a version in their filenames (see this meta-oe fix[0]

This is because the DL_DIR -&gt; https://downloads.yoctoproject.org/mirror/sources/ deploy process uses &quot;rsync --ignore-existing&quot; (as per [1]). The new archive won&apos;t be copied to yp.org (overwriting the old one). So, in the mirroring test, the archive will not match.

This is most likely by design: the old archive may be referenced by other branches (ie stables) and a new archive being uploaded should not break their mirroring tests.

I wonder if we could somehow address the mirrored files by their hash (which we know from the recipe) instead of the filename (which might have multiple possible content). 

[0]: https://git.openembedded.org/meta-openembedded/commit/?id=08e414d496206d0959c2663fad7214596fad3cef
[1]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15994#c4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104100</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-01-29 15:51:38 +0000</bug_when>
    <thetext>We should document why the infrastructure works this way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>