Bug 16166 - AB-INT: mdadm reproducibility issues
Summary: AB-INT: mdadm reproducibility issues
Status: RESOLVED WORKSFORME
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.0
Assignee: Ankur Tyagi
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-02-09 12:10 UTC by Mathieu Dubois-Briand
Modified: 2026-04-02 15:02 UTC (History)
3 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-02-09 12:10:02 UTC
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
Comment 1 Mathieu Dubois-Briand 2026-02-09 12:13:49 UTC
Sorry, clicked too quickly on the send button...

So we can see some path in mdcheck script is sometimes "BINDIR/mdadm", sometimes "/sbin/mdadm". 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/
Comment 3 Mathieu Dubois-Briand 2026-02-10 10:05:49 UTC
Revert has been sent by Alex: https://lists.openembedded.org/g/openembedded-core/message/230798
Comment 4 Mathieu Dubois-Briand 2026-02-10 10:19:50 UTC
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
Comment 5 Mathieu Dubois-Briand 2026-02-11 15:45:12 UTC
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
Comment 6 Ankur Tyagi 2026-02-13 01:39:15 UTC
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.
Comment 7 Ross Burton 2026-03-09 14:12:38 UTC
I glared at this recently and couldn't see how this can happen. The sed happens in a single target that doesn't get called repeatedly. I ran the install in a loop with lots of parallel and make shuffling enabled, and couldn't replicate it.
Comment 8 Randy MacLeod 2026-04-02 15:02:59 UTC
We've upgraded to 4.6 and haven't seen this issue so far.