Bug 15181

Summary: PTEST: mdadm 04update-uuid failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Pavel Zhukov <pavel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, alexis.lothore, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 5.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-08-02 15:44:15 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5225/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1

FAIL: /usr/lib/mdadm/ptest/tests/04update-uuidFAILED - see /mdadm-testing-dir/04update-uuid.log and /mdadm-testing-dir/fail04update-uuid.log for details
Comment 1 Randy MacLeod 2023-08-03 14:51:11 UTC
Alexis should collect this log when this fails?
Comment 2 Alexis Lothoré 2023-08-03 15:17:25 UTC
/usr/lib/mdadm/ptest directory should have indeed been retrieved since ptest failure has been detected

I suspect a lost patch. I do not see "core-image-ptest: append ptest directory to artifacts list" nor in oecore neither in poky. This patch is the one telling ptest images to retrieve ptest artifacts whenever a test fails.

[1] https://lore.kernel.org/openembedded-core/20230609064802.11777-5-alexis.lothore@bootlin.com/
Comment 3 Alexis Lothoré 2023-08-03 15:40:49 UTC
After discussing it with Alexandre, the patch may have been left because of ongoing discussions. I have to take a look back at those and possibly send an updated version
Comment 4 Ovidiu Panait 2023-08-18 13:19:29 UTC
A patch that skips running 04update-uuid and 07revert-inplace testcases has been sent to oe-core:
https://lists.openembedded.org/g/openembedded-core/message/186367

These two testcases are unreliable with mdadm-4.2 and have been failing intermittently on the AB. I was not able to reproduce the failures locally and the logs cannot be retrieved after an AB run, so I think they should just be skipped for now.
Comment 5 Richard Purdie 2023-09-06 21:13:44 UTC
Dropping AB-INT from whiteboard as test disabled on autobuilder
Comment 6 Pavel Zhukov 2024-01-24 21:47:30 UTC
This bug "fixed" by disabling ptests for mdadm [1]
Once upstream makes new release we may want to revisit this decisions and re-enable the tests together with cleaning up downstream patches.

[1] https://git.openembedded.org/openembedded-core/commit/?id=22ae573aa1a1244d4dea498d4fa4fcdf195bedf8