Bug 15817

Summary: pv-1.9.31: pv ptests using valgrind fail for pv-1.9.31 from meta-oe
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Randy MacLeod <randy.macleod>
Component: devtools / tool chainAssignee: Randy MacLeod <randy.macleod>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 5.2   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Randy MacLeod 2025-03-26 21:42:20 UTC
There are some pv-1.9.31 (pipe viewer) tests that look for memory leaks.
The tests pass on natively on PopOS with valgrind-3.18.1 but 
fail with 3.24.0 from oe-core. 

Randy should skip some meetings and figure out if there's a problem with valgrind or with pv.

Reproducer:

Setup poky/master (2d66669b8c) 
with meta-oe (868c11831b +  with pv-1.9.31 update):

Add to conf/local.conf:
   IMAGE_INSTALL:append = " pv-ptest"

In the pv_1.9.31.bb file, comment out:
   rm -f ${testsdir}/Memory*
build and boot qemux86-64, cd /usr/lib/pv/ptest
Save yourself some time by modifying run-ptests to just run: 
   tests/Memory*