<?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>16166</bug_id>
          
          <creation_ts>2026-02-09 12:10:02 +0000</creation_ts>
          <short_desc>AB-INT: mdadm reproducibility issues</short_desc>
          <delta_ts>2026-04-02 15:02:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Ankur Tyagi">ankur.tyagi85</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>104200</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-09 12:10:02 +0000</bug_when>
    <thetext>AssertionError: The following deb packages are different and not in exclusion list:
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/deb/./x86-64-v3/mdadm_4.5-r0_amd64.deb
The following ipk packages are different and not in exclusion list:
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/ipk/./x86-64-v3/mdadm_4.5-r0_x86-64-v3.ipk
The following rpm packages are different and not in exclusion list:
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/mdadm-4.5-r0.x86_64_v3.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104201</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-09 12:13:49 +0000</bug_when>
    <thetext>Sorry, clicked too quickly on the send button...

So we can see some path in mdcheck script is sometimes &quot;BINDIR/mdadm&quot;, sometimes &quot;/sbin/mdadm&quot;. This is probably the source issue, which then change data all around package metadata.

https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260207-1x39j7rf/packages/diff-html/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104202</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-09 12:14:28 +0000</bug_when>
    <thetext>reproducible debian12-vk-1 master completed at 2026-02-07 02:39:58+00:00
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260207-1x39j7rf
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3310/steps/13/logs/stdio

reproducible fedora41-vk-1 master completed at 2026-02-08 02:28:01+00:00
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260208-00rfa3je
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3313/steps/13/logs/stdio

reproducible opensuse156-vk-1 master completed at 2026-02-09 02:31:23+00:00
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260209-a0dgcw5d
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3317/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104208</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-10 10:05:49 +0000</bug_when>
    <thetext>Revert has been sent by Alex: https://lists.openembedded.org/g/openembedded-core/message/230798</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104209</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-10 10:19:50 +0000</bug_when>
    <thetext>reproducible ubuntu2204-vk-1 master completed at 2026-02-10 02:45:10+00:00
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260210-mvxmxr1o
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3320/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104232</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-11 15:45:12 +0000</bug_when>
    <thetext>reproducible ubuntu2204-vk-4 master completed at 2026-02-11 02:25:44+00:00
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260211-7w04g33o
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3328/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104287</commentid>
    <comment_count>6</comment_count>
    <who name="Ankur Tyagi">ankur.tyagi85</who>
    <bug_when>2026-02-13 01:39:15 +0000</bug_when>
    <thetext>I would also like to rule out a possible race condition during install.
Will add check to fail build if sed substitution still fails when installing files serially.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104568</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-03-09 14:12:38 +0000</bug_when>
    <thetext>I glared at this recently and couldn&apos;t see how this can happen. The sed happens in a single target that doesn&apos;t get called repeatedly. I ran the install in a loop with lots of parallel and make shuffling enabled, and couldn&apos;t replicate it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104935</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-02 15:02:59 +0000</bug_when>
    <thetext>We&apos;ve upgraded to 4.6 and haven&apos;t seen this issue so far.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>