<?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>15308</bug_id>
          
          <creation_ts>2023-12-06 10:50:52 +0000</creation_ts>
          <short_desc>AB-INT: PTEST: mdadm ptest failures</short_desc>
          <delta_ts>2024-01-24 21:47:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>5.0 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Pavel Zhukov">pavel</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>joaomarcos.costa</cc>
    
    <cc>ovidiu.panait</cc>
    
    <cc>randy.macleod</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>97425</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-06 10:50:52 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5789/steps/13/logs/stdio

{&apos;mdadm&apos;: [&apos;/usr/lib/mdadm/ptest/tests/01replace&apos;]}


FAIL: /usr/lib/mdadm/ptest/tests/01replace
	ERROR: dmesg prints errors when testing 01replace! 

FAILED - see /usr/lib/mdadm/ptest/logs/01replace.log and /usr/lib/mdadm/ptest/logs/fail01replace.log for details

dmesg has:

[  171.621016] ------------[ cut here ]------------
[  171.623595] WARNING: CPU: 0 PID: 3532 at /drivers/md/raid5.c:5236 handle_stripe+0xc84/0x2158
[  171.625592] Modules linked in: loop
[  171.626528] CPU: 0 PID: 3532 Comm: md0_raid6 Not tainted 6.5.10-yocto-standard #1
[  171.632726] Hardware name: linux,dummy-virt (DT)
[  171.633969] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  171.636528] pc : handle_stripe+0xc84/0x2158
[  171.637720] lr : handle_stripe+0x14a0/0x2158
[  171.638755] sp : ffffffc089263b70
[  171.639549] x29: ffffffc089263c00 x28: 0000000000000001 x27: ffffff800576a888
[  171.641184] x26: ffffff800576ab1c x25: ffffffc089263ca8 x24: 0000000000000003
[  171.642791] x23: 0000000000000000 x22: 00000000ffffffff x21: ffffff800576a800
[  171.644440] x20: 0000000000000004 x19: ffffff802a5e4fa0 x18: 000000000000000f
[  171.646062] x17: ffffffbfbea9e000 x16: 0000000000000000 x15: 0000000000000000
[  171.647674] x14: 0000000000000220 x13: 0000000000000003 x12: 00000000fa83b2da
[  171.649402] x11: 0000000000000000 x10: ffffff802c4766d0 x9 : ffffffc080989328
[  171.651953] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000002
[  171.653882] x5 : 0000000000400000 x4 : 0000000000000004 x3 : 0000000000200010
[  171.655590] x2 : ffffff802a5e55b0 x1 : 0000000000000000 x0 : 0000000000200010
[  171.657324] Call trace:
[  171.658007]  handle_stripe+0xc84/0x2158
[  171.658969]  handle_active_stripes.isra.0+0x2f0/0x470
[  171.660109]  raid5d+0x2e0/0x670
[  171.661214]  md_thread+0xac/0x1a8
[  171.662440]  kthread+0x104/0x118
[  171.663703]  ret_from_fork+0x10/0x20
[  171.664606] ---[ end trace 0000000000000000 ]---


Not sure this is the actual cause</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97440</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-07 15:40:05 +0000</bug_when>
    <thetext>Randy will discuss with co-worker and either get the issue fixed or skip the test or all mdadm ptests even.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97609</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-18 17:09:19 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5869/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97610</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-18 17:09:50 +0000</bug_when>
    <thetext>This was

{&apos;mdadm&apos;: [&apos;/usr/lib/mdadm/ptest/tests/10ddf-fail-stop-readdFAILED_-_see_/usr/lib/mdadm/ptest/logs/10ddf-fail-stop-readd.log_and_/usr/lib/mdadm/ptest/logs/fail10ddf-fail-stop-readd.log_for_details&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97611</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-18 17:11:45 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5828/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1


{&apos;mdadm&apos;: [&apos;/usr/lib/mdadm/ptest/tests/13imsm-r0_r0_2d-grow-r0_r0_5dFAILED_-_see_/usr/lib/mdadm/ptest/logs/13imsm-r0_r0_2d-grow-r0_r0_5d.log_and_/usr/lib/mdadm/ptest/logs/fail13imsm-r0_r0_2d-grow-r0_r0_5d.log_for_details&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97639</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-21 20:09:42 +0000</bug_when>
    <thetext>Add Ovidiu so he knows what&apos;s going on.
Pavel is going to disable all the mdadm ptests and try to work to get some of the many patches merged upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97819</commentid>
    <comment_count>6</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-01-17 10:29:27 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6105/steps/13/logs/stdio

qemux86-64-ptest stream8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97834</commentid>
    <comment_count>7</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-01-17 13:00:37 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5776/steps/12/logs/stdio

qemuarm64-ptest ubuntu2004-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97849</commentid>
    <comment_count>8</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-01-17 13:59:28 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5642/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97977</commentid>
    <comment_count>9</comment_count>
    <who name="Pavel Zhukov">pavel</who>
    <bug_when>2024-01-24 21:47:31 +0000</bug_when>
    <thetext>This bug &quot;fixed&quot; 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>