[Gluster-infra] Core pattern change in centos regression machines

Michael Scherer mscherer at redhat.com
Tue Mar 15 11:09:12 UTC 2016


Le mardi 15 mars 2016 à 05:46 +0100, Niels de Vos a écrit :
> On Mon, Mar 14, 2016 at 09:04:04AM -0400, Prasanna Kumar Kalever wrote:
> > Hi,
> > 
> > As part of dumping back-trace of core files in console log of jenkins
> > we need executable name, finding executable name from the corefile is
> > not common across platfoms, hence lets make the executable name as
> > part of corefile name in all Centos jenkin slaves similar to netbsd
> > slaves.
> > 
> > Currently Core pattern in Netbsd slaves is
> > # /sbin/sysctl -n kern.defcorename
> > /%n-%p.core
> > 
> > Lets set same in Centos slaves as well
> > # /sbin/sysctl -w kernel.core_pattern="/%e-%p.core"
> > 
> > Once the above changes are done in CentOs machines, I shall push a
> > patch to glusterfs-patch-acceptance-tests making changes needed in
> > regression.sh
> 
> This most likely needs to be run by the regression test itself. Or at
> least have the check in the main script starting the regressions. On
> CentOS and other Fedora/RHEL based systems, we should probably integrate
> with abrt instead of writing our own solution? abrt generates everything
> we need, and it matches much more closely to what users have on their
> systems. It has a huge advantage to use existing tools so that
> developers and users can apply standard knowledge of the OS.
> 
> Not sure how NetBSD and FreeBSD do this, I do not think they have abrt.

IIRC, abrt is very RH-like specific. I am quite sure that for example,
Ubuntu/debian do not have it. 

-- 
Michael Scherer
Sysadmin, Community Infrastructure and Platform, OSAS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.gluster.org/pipermail/gluster-infra/attachments/20160315/84073281/attachment.sig>


More information about the Gluster-infra mailing list