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

2014-05-19 Thread Niels de Vos
On Mon, May 19, 2014 at 01:02:02AM -0400, Pranith Kumar Karampuri wrote:
> 
> 
> - Original Message -
> > From: "Vijay Bellur" 
> > To: "Pranith Kumar Karampuri" 
> > Cc: "gluster-infra" , gluster-devel@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" 
> > >> To: "Pranith Kumar Karampuri" 
> > >> Cc: "gluster-infra" , 
> > >> gluster-devel@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" 
> >  To: "gluster-infra" 
> >  Cc: gluster-devel@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-.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
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


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

2014-05-13 Thread Justin Clift
On 13/05/2014, at 12:47 PM, Kaushal M wrote:
> On Tue, May 13, 2014 at 4:20 PM, Justin Clift  wrote:
> On 13/05/2014, at 11:43 AM, Vijay Bellur wrote:

> > Do let us know if you have any comments on these changes.
> 
> Would you be ok to push these changes into the scripts on
> the Forge as well?
> 
>   https://forge.gluster.org/gluster-patch-acceptance-tests
> 
> Just sent a pull/merge request on forge.

Thanks Kaushal.  Just merged it.

After merging it, I then renamed /opt/qa out of the way, then
git cloned the repo into /opt/qa.  Then went through and chmod 775
the various files and dirs to match original /opt/qa permissions.

Hopefully things keep on "just working" and we don't need to put
the old directory back in place.

If anyone notices the build/smoke/regression tests start breaking
tonight/tomorrow, feel free to move the old /opt/qa directory back
into place.  It's still in /opt, would just need renaming.

+ Justin

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift

___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


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

2014-05-13 Thread Kaushal M
On Tue, May 13, 2014 at 4:20 PM, Justin Clift  wrote:

> On 13/05/2014, at 11:43 AM, Vijay Bellur wrote:
> > 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-.tgz
> >
> > Do let us know if you have any comments on these changes.
>
> Would you be ok to push these changes into the scripts on
> the Forge as well?
>
>   https://forge.gluster.org/gluster-patch-acceptance-tests


Just sent a pull/merge request on forge.


>
> We should also hook up that git repo to build.gluster.org /opt/qa
> directory, so it's easy to keep them in sync.  (feel free to
> do this too, I just haven't gotten around to it)
>
> + Justin
>
>
> > Thanks,
> > Vijay
> >
> >
> > ___
> > Gluster-infra mailing list
> > gluster-in...@gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-infra
>
> --
> Open Source and Standards @ Red Hat
>
> twitter.com/realjustinclift
>
> ___
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel


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

2014-05-13 Thread Justin Clift
On 13/05/2014, at 11:43 AM, Vijay Bellur wrote:
> 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-.tgz
> 
> Do let us know if you have any comments on these changes.

Would you be ok to push these changes into the scripts on
the Forge as well?

  https://forge.gluster.org/gluster-patch-acceptance-tests

We should also hook up that git repo to build.gluster.org /opt/qa
directory, so it's easy to keep them in sync.  (feel free to
do this too, I just haven't gotten around to it)

+ Justin


> Thanks,
> Vijay
> 
> 
> ___
> Gluster-infra mailing list
> gluster-in...@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift

___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-devel