<?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>16290</bug_id>
          
          <creation_ts>2026-05-20 20:34:29 +0000</creation_ts>
          <short_desc>AB-INT PTEST RISCV64: procps ptest failure (pgrep_match_against_full_process_name)</short_desc>
          <delta_ts>2026-08-28 10:56:49 +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>6.0</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>pratik.farkase</cc>
    
    <cc>randy.macleod</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>105505</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-05-20 20:34:29 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian11-vk-3 wrynose completed at 2026-05-20 10:30:47+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1616/steps/13/logs/stdio

qemuriscv64-ptest ubuntu2404-vk-1 contrib/ycongal/wrynose-nut completed at 2026-05-08 02:35:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1562/steps/13/logs/stdio

Logs (not really helpful):
-------------------
AssertionError: 
Failed ptests:
{&apos;procps&apos;: [&apos;pgrep_match_against_full_process_name&apos;]}
-------------------
		=== pgrep tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /usr/lib/procps/ptest/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /usr/lib/procps/ptest/testsuite/pgrep.test/pgrep.exp ...
PASS: pgrep with no arguments
PASS: pgrep find both test pids
PASS: pgrep counts 2 test pids
PASS: pgrep with : delimiter
FAIL: pgrep match against full process name
PASS: pgrep with matching gid
PASS: pgrep with not matching gid
PASS: pgrep with process name
PASS: pgrep with full command line
PASS: pgrep find newest test pid
PASS: pgrep find oldest test pid
PASS: prep with matching pid
PASS: pgrep pid and pidfile opption conflict
PASS: pgrep matches with parent pid
PASS: pgrep doesn&apos;t match with bogus parent pid
PASS: pgrep matches with its own sid
PASS: pgrep doesn&apos;t match with bogus sid
PASS: pgrep matches on tty
PASS: pgrep doesn&apos;t match on tty and wrong runstate
PASS: pgrep doesn&apos;t match with bogus tty
PASS: pgrep with matching euid
PASS: pgrep with not matching euid
PASS: pgrep with matching uid
PASS: pgrep with not matching uid
PASS: pgrep matches on substring
PASS: pgrep matches full string with exact
PASS: pgrep does not match substring with exact
PASS: pgrep with long non-matching pattern gives warning
PASS: pgrep quiet matching shows no output
PASS: pgrep quiet not matching shows no output too
PASS: pgrep shell quote for process name with spaces
PASS: pgrep shell quote for process name without spaces
PASS: pgrep shell quote for zero-length process name

		=== pgrep Summary ===

# of expected passes		32
# of unexpected failures	1
/usr/lib/procps/ptest/src/pgrep version 4.0.6

WARNING: Couldn&apos;t find the global config file.
WARNING: Couldn&apos;t find tool init file
Test run by root on Fri May  8 01:27:36 2026
Target is x86_64-pc-linux-gnu
Host   is riscv64-poky-linux-gnu
Build  is x86_64-pc-linux-gnu
-------------------

It is AB-INT: build #1616 failed but #1617 succeeded (same code)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106472</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-07 11:30:17 +0000</bug_when>
    <thetext>qemuriscv64-ptest debian12-vk-4 mathieu/master-next completed at 2026-08-06 15:23:51+00:00
https://valkyrie.yocto.io/pub/non-release/20260806-79/testresults/qemuriscv64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2097/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106672</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-28 07:21:10 +0000</bug_when>
    <thetext>Patch merged: https://git.openembedded.org/openembedded-core/commit/?id=b9166b8fda40bece8c2007ac1f06d51693ac617a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106677</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-08-28 08:12:41 +0000</bug_when>
    <thetext>(In reply to Mathieu Dubois-Briand from comment #2)
&gt; Patch merged:
&gt; https://git.openembedded.org/openembedded-core/commit/?id=b9166b8fda40bece8c2007ac1f06d51693ac617a

I will consider backporting this commit to wrynose</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106679</commentid>
    <comment_count>4</comment_count>
    <who name="Pratik Farkase">pratik.farkase</who>
    <bug_when>2026-08-28 10:56:49 +0000</bug_when>
    <thetext>Ok I will send a patch soon</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>