[Gluster-devel] [Gluster-infra] Changes to Regression script

Niels de Vos ndevos at redhat.com
Mon May 19 08:39:48 UTC 2014


On Mon, May 19, 2014 at 01:02:02AM -0400, Pranith Kumar Karampuri wrote:
> 
> 
> ----- Original Message -----
> > From: "Vijay Bellur" <vbellur at redhat.com>
> > To: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
> > Cc: "gluster-infra" <gluster-infra at gluster.org>, gluster-devel at gluster.org
> > Sent: Monday, 19 May, 2014 10:03:41 AM
> > Subject: Re: [Gluster-devel] Changes to Regression script
> > 
> > On 05/19/2014 09:41 AM, Pranith Kumar Karampuri wrote:
> > >
> > >
> > > ----- Original Message -----
> > >> From: "Vijay Bellur" <vbellur at redhat.com>
> > >> To: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
> > >> Cc: "gluster-infra" <gluster-infra at gluster.org>, gluster-devel at gluster.org
> > >> Sent: Saturday, 17 May, 2014 2:52:03 PM
> > >> Subject: Re: [Gluster-devel] Changes to Regression script
> > >>
> > >> On 05/17/2014 02:10 PM, Pranith Kumar Karampuri wrote:
> > >>>
> > >>>
> > >>> ----- Original Message -----
> > >>>> From: "Vijay Bellur" <vbellur at redhat.com>
> > >>>> To: "gluster-infra" <gluster-infra at gluster.org>
> > >>>> Cc: gluster-devel at gluster.org
> > >>>> Sent: Tuesday, May 13, 2014 4:13:02 PM
> > >>>> Subject: [Gluster-devel] Changes to Regression script
> > >>>>
> > >>>> Hi All,
> > >>>>
> > >>>> Me and Kaushal have effected the following changes on regression.sh in
> > >>>> build.gluster.org:
> > >>>>
> > >>>> 1. If a regression run results in a core and all tests pass, that
> > >>>> particular run will be flagged as a failure. Previously a core that
> > >>>> would cause test failures only would get marked as a failure.
> > >>>>
> > >>>> 2. Cores from a particular test run are now archived and are available
> > >>>> at /d/archived_builds/. This will also prevent manual intervention for
> > >>>> managing cores.
> > >>>>
> > >>>> 3. Logs from failed regression runs are now archived and are available
> > >>>> at /d/logs/glusterfs-<timestamp>.tgz
> > >>>>
> > >>>> Do let us know if you have any comments on these changes.
> > >>>
> > >>> This is already proving to be useful :-). I was able to debug one of the
> > >>> spurious failures for crypt.t. But the only problem is I was not able
> > >>> copy
> > >>> out the logs. Had to take avati's help to get the log files. Will it be
> > >>> possible to give access to these files so that anyone can download them?
> > >>>
> > >>
> > >> Good to know!
> > >>
> > >> You can access the .tgz files from:
> > >>
> > >> http://build.gluster.org:443/logs/
> > >
> > > I was able to access these yesterday. But now it gives 404.
> 
> Its working now. But how do we convert the timestamp to logs' 
> timestamp. I want to know the time difference.

In the 'Console Output' of the regression tests, the last lines contain 
the filename of the generated archive :)

I'm looking into some build failures in rpm.t that only seems to happen 
on build.gluster.org. For this, I have now modified the test-case to 
copy the mock logs to the standard log directory, and indeed these logs 
get included in the archive too. Awesome!

Thanks,
Niels



More information about the Gluster-devel mailing list