Bug 1787193

Summary: Replace 'pstack' in volume.rc tests (not available in Fedora)
Product: [Community] GlusterFS Reporter: Yaniv Kaul <ykaul>
Component: testsAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, ndevos, pasik
Target Milestone: ---Flags: ykaul: needinfo+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-13 08:27:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Kaul 2020-01-01 09:40:13 UTC
Description of problem:
'pstack' has not been included in Fedora for ages (see https://koji.fedoraproject.org/koji/packageinfo?packageID=949 ).

I'm sure there's a replacement for it we can look at.

It is used in volume.rc:
function number_healer_threads_shd {
   local pid=$(get_shd_mux_pid $1)
   pstack $pid | grep $2 | wc -l
}

Comment 1 Niels de Vos 2020-01-13 08:14:47 UTC
pstack is part of the gdb package, so it should be on the list of requirements of the regression tests.

$ which pstack
/usr/bin/pstack
$ rpm -qf /usr/bin/pstack
gdb-8.3.50.20190824-25.fc31.x86_64

Comment 2 Yaniv Kaul 2020-01-13 08:27:28 UTC
ACK - closing.