Bug 1787193 - Replace 'pstack' in volume.rc tests (not available in Fedora)
Summary: Replace 'pstack' in volume.rc tests (not available in Fedora)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: tests
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-01 09:40 UTC by Yaniv Kaul
Modified: 2020-01-17 06:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-13 08:27:28 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:
ykaul: needinfo+


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.