Bug 16290 - AB-INT PTEST RISCV64: procps ptest failure (pgrep_match_against_full_process_name)
Summary: AB-INT PTEST RISCV64: procps ptest failure (pgrep_match_against_full_process_...
Status: RESOLVED FIXED
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: 6.0
Hardware: RISCV Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-05-20 20:34 UTC by Yoann Congal
Modified: 2026-08-28 10:56 UTC (History)
4 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 Yoann Congal 2026-05-20 20:34:29 UTC
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:
{'procps': ['pgrep_match_against_full_process_name']}
-------------------
		=== 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't match with bogus parent pid
PASS: pgrep matches with its own sid
PASS: pgrep doesn't match with bogus sid
PASS: pgrep matches on tty
PASS: pgrep doesn't match on tty and wrong runstate
PASS: pgrep doesn'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't find the global config file.
WARNING: Couldn'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)
Comment 1 Mathieu Dubois-Briand 2026-08-07 11:30:17 UTC
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
Comment 3 Yoann Congal 2026-08-28 08:12:41 UTC
(In reply to Mathieu Dubois-Briand from comment #2)
> Patch merged:
> https://git.openembedded.org/openembedded-core/commit/?id=b9166b8fda40bece8c2007ac1f06d51693ac617a

I will consider backporting this commit to wrynose
Comment 4 Pratik Farkase 2026-08-28 10:56:49 UTC
Ok I will send a patch soon