[Gluster-devel] [regression tests] Aborted runs and diagnostic information

Raghavendra Gowdappa rgowdapp at redhat.com
Thu Sep 29 05:15:06 UTC 2016



----- Original Message -----
> From: "Nigel Babu" <nigelb at redhat.com>
> To: "Raghavendra Gowdappa" <rgowdapp at redhat.com>
> Cc: "gluster-infra" <gluster-infra at gluster.org>, "Gluster Devel" <gluster-devel at gluster.org>
> Sent: Wednesday, September 28, 2016 6:28:11 PM
> Subject: Re: [regression tests] Aborted runs and diagnostic information
> 
> We don't collect any information before aborting tests. However, if we can
> put together a list of things we'd like to do collect before aborting jobs,
> I can look into what can be done to collect it.

Thanks Nigel. Apart from what I mentioned in my previous mail, lets wait for sometime for others to comment on. If no new additions are done, we can go ahead and collect items in my list. Some points to note are

* to enable dumping of all objects we need to do,

echo "all=yes" >> $statedumpdir/glusterdump.options

before we issue commands to collect statedumps. 

* we need to do

# kill -SIGUSR1 <pid-of-mount-process>

to collect statedump of client process as there is no cli command to issue.

* for bricks,

[root at unused rhs-glusterfs]# gluster volume statedump
Usage: volume statedump <VOLNAME> [nfs|quotad] [all|mem|iobuf|callpool|priv|fd|inode|history]

> 
> On Wed, Sep 28, 2016 at 4:19 PM, Raghavendra Gowdappa <rgowdapp at redhat.com>
> wrote:
> 
> > Hi all,
> >
> > Do we collect any diagnostic information before aborting tests as in [1]?
> > If yes, where can I find them?
> >
> > If no, I think following information would be useful
> >
> > 1. ps output of all relevant gluster processes and tests running on them
> > (to find status of processes like 'D' etc)
> > 2. Statedump of client and brick processes (better to dump all information
> > like inodes, call-stack, etc)
> > 3. coredump of client and brick processes
> >
> > If you think any other information is helpful, please add to the list.
> >
> > In the specific case of [1], the test runs fine on my local machine, but
> > always hangs on build machines. So having this information is helpful.
> >
> > [1] https://build.gluster.org/job/netbsd7-regression/886/console
> >
> > regards,
> > Raghavendra
> >
> 
> 
> 
> --
> nigelb
> 


More information about the Gluster-devel mailing list