<?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>15895</bug_id>
          
          <creation_ts>2025-06-09 06:56:05 +0000</creation_ts>
          <short_desc>AB-INT PTEST RISCV64: parted ptest failure</short_desc>
          <delta_ts>2026-08-24 21:26:05 +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>RISCV</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>6.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>tgamblin</cc>
    
    <cc>tim.orling</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>102213</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-09 06:56:05 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/87/steps/12/logs/stdio

Failed ptests:
{&apos;parted&apos;: &apos;START: ptest-runner\n&apos;
&apos;2025-06-06T22:36\n&apos;
&quot;make: Entering directory &apos;/usr/lib/parted/ptest/tests&apos;\n&quot;
&apos;PASS: help-version.sh\n&apos;
&apos;PASS: t0000-basic.sh\n&apos;
(...)
&apos;Mem:        1002052       98420      854964         448       &apos;           
&apos;48668      888312\n&apos;           
&apos;Swap:             0           0           0\n&apos;           &apos;\n&apos;           
&apos;ERROR: Exited from signal Killed (9)\n&apos;           &apos;DURATION: 1347\n&apos;}

Looking like a timeout.

qemuriscv64-ptest rocky9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102325</commentid>
    <comment_count>1</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-23 10:08:10 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/129/steps/12/logs/stdio

qemuriscv64-ptest rocky9-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102552</commentid>
    <comment_count>2</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-08-07 07:49:47 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/319/steps/13/logs/stdio

qemuriscv64-ptest opensuse155-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103034</commentid>
    <comment_count>3</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-10-23 12:18:13 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/662/steps/14/logs/stdio

qemuriscv64-ptest opensuse155-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103165</commentid>
    <comment_count>4</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-10-31 14:31:06 +0000</bug_when>
    <thetext>Some observations after running the ptests 50 times locally:

- No explicit failures
- The test suite will not be as easy to augment with an increased timeout as glib-2.0 was, since the tests are invoked from a Makefile target
- It outputs /usr/lib/parted/ptest/tests/test-suite.log, but this file doesn&apos;t have detailed duration info per test, just warnings about skipped tests (seem to depend on missing perl modules)
- About 10% of the time, the test duration increases somewhere between 10-40 seconds. Load on the host system was variable during the tests, so that probably plays a factor here and if there&apos;s a timeout, increased load could occasionally push the duration to exceed it like we&apos;ve seen in other bugs (e.g. https://bugzilla.yoctoproject.org/show_bug.cgi?id=15884)
- The test suite also seems to use cmp for some tests, and the ptest image includes the busybox version by default, so taking the same approach of adding diffutils to the ptest RDEPENDS (like in 15884) might help here. This still needs testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103183</commentid>
    <comment_count>5</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-11-04 14:11:56 +0000</bug_when>
    <thetext>I ran a test last night where diffutils was added to the ptest RDEPENDS for parted like in 15884, and compared to the prior runs I saw a much more consistent duration for the ptests, varying at most about 3-4 seconds from the ~390s mark.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103185</commentid>
    <comment_count>6</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-11-04 20:26:51 +0000</bug_when>
    <thetext>For the record, with diffutils installed the test seems to save 5-10 seconds of runtime under light or no load. Heavier loads make it seem more variable. Still testing. I can occasionally spot spikes as high as 760s (from a typical baseline of ~390s) without diffutils, while with it I&apos;ve seen a typical runtime of ~384s with a high of ~590s.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103189</commentid>
    <comment_count>7</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-11-05 13:24:00 +0000</bug_when>
    <thetext>With QEMU&apos;s process limited to a single core with taskset, I see &apos;ERROR: Exited from signal Killed (9)&apos; every time in 20 ptest runs. The failing tests in this case are:

t1100-busy-label.sh (19 times, every run after the first) - uses &quot;compare&quot; 4 times
t1104-remove-and-add-partition.sh (2 times, runs 5 and 6) - uses &quot;compare&quot; 0 times

where &quot;compare&quot; is a shell function that wraps a call to cmp through compare_.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103321</commentid>
    <comment_count>8</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-11-18 20:30:19 +0000</bug_when>
    <thetext>It has taken me a while to get back to this. I think I was looking in the wrong place before, because t1100-busy-label.sh seems fine. What isn&apos;t fine however is t9040-many-partitions.sh. I wrote a local patch just to add some echo calls before each command in the test script, and it seems that the hanging call is here:

https://gitweb.git.savannah.gnu.org/gitweb/?p=parted.git;a=blob;f=tests/t9040-many-partitions.sh;h=31b60302484cf28576e531bbef8b0e23d5c0e471;hb=HEAD#l56

Looks like parted is being passed a *long* list of prospective mkpart commands and stumbling on them...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104183</commentid>
    <comment_count>9</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-02-06 11:04:22 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/991/steps/13/logs/stdio

qemuriscv64-ptest ubuntu2204-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104184</commentid>
    <comment_count>10</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-02-06 12:08:19 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1014/steps/13/logs/stdio

qemuriscv64-ptest ubuntu2404-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104185</commentid>
    <comment_count>11</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-02-06 12:11:09 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1028/steps/13/logs/stdio

qemuriscv64-ptest fedora40-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104720</commentid>
    <comment_count>12</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-03-19 09:25:12 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian12-vk-5 master&amp;master-next completed at 2026-03-18 20:35:31+00:00
https://valkyrie.yocto.io/pub/non-release/20260318-109/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1275/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105037</commentid>
    <comment_count>13</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-10 07:10:26 +0000</bug_when>
    <thetext>qemuriscv64-ptest ubuntu2604-vk-1 master completed at 2026-04-10 03:11:59+00:00
https://valkyrie.yocto.io/pub/non-release/20260410-8/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1421/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105187</commentid>
    <comment_count>14</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-22 08:59:45 +0000</bug_when>
    <thetext>qemuriscv64-ptest alma9-vk-2 master&amp;master-next completed at 2026-04-21 16:57:16+00:00
https://valkyrie.yocto.io/pub/non-release/20260421-88/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1478/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105272</commentid>
    <comment_count>15</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-04-28 11:44:01 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1499/steps/14/logs/stdio

Results at https://valkyrie.yocto.io/pub/non-release/20260423-85/testresults/qemuriscv64-ptest/

qemuriscv64-ptest alma8-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105474</commentid>
    <comment_count>16</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-16 12:20:51 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian11-vk-1 master completed at 2026-05-16 03:12:19+00:00
https://valkyrie.yocto.io/pub/non-release/20260516-8/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1601/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105574</commentid>
    <comment_count>17</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-26 08:56:09 +0000</bug_when>
    <thetext>qemuriscv64-ptest fedora43-vk-1 master completed at 2026-05-19 03:20:21+00:00
https://valkyrie.yocto.io/pub/non-release/20260519-7/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1606/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105592</commentid>
    <comment_count>18</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-28 08:16:55 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian12-vk-7 master&amp;master-next completed at 2026-05-28 00:00:30+00:00
https://valkyrie.yocto.io/pub/non-release/20260527-115/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1641/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105784</commentid>
    <comment_count>19</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-09 09:10:51 +0000</bug_when>
    <thetext>qemuriscv64-ptest fedora43-vk-1 master completed at 2026-06-09 06:20:36+00:00
https://valkyrie.yocto.io/pub/non-release/20260609-8/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1705/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105791</commentid>
    <comment_count>20</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-06-10 07:15:18 +0000</bug_when>
    <thetext>qemuriscv64-ptest ubuntu2604-vk-2 wrynose completed at 2026-06-10 01:19:37+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/56/builds/1710</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105810</commentid>
    <comment_count>21</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-10 16:42:33 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian12-vk-1 mathieu/master-next completed at 2026-06-10 15:30:26+00:00
https://valkyrie.yocto.io/pub/non-release/20260610-87/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1718/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105932</commentid>
    <comment_count>22</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-06-18 11:40:58 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1710/steps/13/logs/stdio

qemuriscv64-ptest ubuntu2604-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106005</commentid>
    <comment_count>23</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-25 10:23:45 +0000</bug_when>
    <thetext>qemuriscv64-ptest fedora43-vk-1 master completed at 2026-06-25 02:25:55+00:00
https://valkyrie.yocto.io/pub/non-release/20260625-8/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1814/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106034</commentid>
    <comment_count>24</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-29 08:29:59 +0000</bug_when>
    <thetext>qemuriscv64-ptest fedora43-vk-1 master completed at 2026-06-27 02:21:33+00:00
https://valkyrie.yocto.io/pub/non-release/20260627-9/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1823/steps/13/logs/stdio

qemuriscv64-ptest rocky9-vk-2 master completed at 2026-06-28 02:45:05+00:00
https://valkyrie.yocto.io/pub/non-release/20260628-8/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1824/steps/14/logs/stdio

qemuriscv64-ptest fedora43-vk-1 mathieu/master-next completed at 2026-06-28 16:46:41+00:00
https://valkyrie.yocto.io/pub/non-release/20260628-86/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1826/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106109</commentid>
    <comment_count>25</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-07 12:51:48 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian12-vk-4 mathieu/master-next completed at 2026-07-06 12:14:00+00:00
https://valkyrie.yocto.io/pub/non-release/20260706-59/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1880/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106121</commentid>
    <comment_count>26</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-08 12:29:23 +0000</bug_when>
    <thetext>qemuriscv64-ptest ubuntu2604-vk-2 master&amp;master-next completed at 2026-07-08 08:17:13+00:00
https://valkyrie.yocto.io/pub/non-release/20260708-42/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1893/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106621</commentid>
    <comment_count>27</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-08-24 09:54:01 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/972/steps/13/logs/stdio

qemuriscv64-ptest stream9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106630</commentid>
    <comment_count>28</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-08-24 21:26:05 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=5a5f2ec43cbb9096f1fc52ba4c2a4f94526f103d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>