Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-29 Thread Michael Scherer
Le mardi 29 mars 2016 à 12:55 +0200, Niels de Vos a écrit :
> On Tue, Mar 29, 2016 at 03:47:16PM +0530, Prasanna Kalever wrote:
> > On Tue, Mar 29, 2016 at 3:28 PM, Niels de Vos  wrote:
> > > On Tue, Mar 29, 2016 at 12:01:59PM +0530, Prasanna Kalever wrote:
> > >> On Tue, Mar 22, 2016 at 6:12 PM, Michael Scherer  
> > >> wrote:
> > >> > Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
> > >> >> Hello,
> > >> >>
> > >> >> W
> > >> >> e have integrated clang checker job in local Jenkins 10.70.41.41, 
> > >> >> thanks to
> > >> >> Raghavendra Talur for sitting with me.
> > >> >>
> > >> >> Can someone grant me the access to upstream Jenkins
> > >> >>
> > >> >> ? so that I can replicate the clang job there.
> > >> >> As part of this, I request to install '
> > >> >> clang-analyzer.noarch package in all the slaves
> > >> >
> > >> > I assume you mean "all the Linux slave", since I am not sure there is
> > >> > such package for netbsd and freebsd ?
> > >> >
> > >> > I pushed the change on salt and ansible.
> > >>
> > >> Thanks misc,
> > >> I am planning to use Centos slaves, so your assumption is right.
> > >>
> > >>
> > >> Can some one grant me credentials of upstream Jenkins please?
> > >> I am waiting for this...
> > >
> > > I might be late to the conversation...
> > >
> > > Should we run this on our Gluster slaves in our already difficult to
> > > maintain Jenkins infra. Or should this be a (scheduled) job that runs on
> > > the machines in the CentOS CI?
> > >
> > > Examples of jobs that we currently have in the CentOS CI:
> > >
> > >  - https://ci.centos.org/view/Gluster/
> > >  - 
> > > https://github.com/gluster/glusterfs-patch-acceptance-tests/tree/master/centos-ci
> > >
> > > We can also trigger on patch submissions, but if we do that, we need to
> > > decide how the reporting back to Gerrit should be done. Would it require
> > > a new label?
> > 
> > Hi Kaushal, Vishwanath Bhat,
> > 
> > I would like to do this as per Niels suggestions i.e. on CentOS CI,
> > 
> > As part of this I need your help in doing the following:
> > 
> > 1. Creating a new label "Clang-Check" in gerrit
> > 2. Adding ssh keys in CentOS CI side slaves
> > 3. Triggering part of the clang JOB
> 
> You can already write a script that checks out the change from Gerrit
> and runs the tests. This script runs on a cleanly installed CentOS
> machine, so it will need to install any dependencies for building with
> clang too. See the libgfapi test-case in the link above for an example.
> 
> Send the script as a pull-request to the GitHub repository, and we'll be
> able to put that in a Jenkins job in the CentOS CI. After a few
> test-runs, we can then enable the reporting back to Gerrit (assuming the
> label has been created).

I wonder if that wouldn't also benefit from having the latest clang (ie,
the one in Fedora), or even a git snapshot ?

Or is there a copr with the latest clang ?
-- 
Michael Scherer
Sysadmin, Community Infrastructure and Platform, OSAS




signature.asc
Description: This is a digitally signed message part
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-29 Thread Niels de Vos
On Tue, Mar 29, 2016 at 03:47:16PM +0530, Prasanna Kalever wrote:
> On Tue, Mar 29, 2016 at 3:28 PM, Niels de Vos  wrote:
> > On Tue, Mar 29, 2016 at 12:01:59PM +0530, Prasanna Kalever wrote:
> >> On Tue, Mar 22, 2016 at 6:12 PM, Michael Scherer  
> >> wrote:
> >> > Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
> >> >> Hello,
> >> >>
> >> >> W
> >> >> e have integrated clang checker job in local Jenkins 10.70.41.41, 
> >> >> thanks to
> >> >> Raghavendra Talur for sitting with me.
> >> >>
> >> >> Can someone grant me the access to upstream Jenkins
> >> >>
> >> >> ? so that I can replicate the clang job there.
> >> >> As part of this, I request to install '
> >> >> clang-analyzer.noarch package in all the slaves
> >> >
> >> > I assume you mean "all the Linux slave", since I am not sure there is
> >> > such package for netbsd and freebsd ?
> >> >
> >> > I pushed the change on salt and ansible.
> >>
> >> Thanks misc,
> >> I am planning to use Centos slaves, so your assumption is right.
> >>
> >>
> >> Can some one grant me credentials of upstream Jenkins please?
> >> I am waiting for this...
> >
> > I might be late to the conversation...
> >
> > Should we run this on our Gluster slaves in our already difficult to
> > maintain Jenkins infra. Or should this be a (scheduled) job that runs on
> > the machines in the CentOS CI?
> >
> > Examples of jobs that we currently have in the CentOS CI:
> >
> >  - https://ci.centos.org/view/Gluster/
> >  - 
> > https://github.com/gluster/glusterfs-patch-acceptance-tests/tree/master/centos-ci
> >
> > We can also trigger on patch submissions, but if we do that, we need to
> > decide how the reporting back to Gerrit should be done. Would it require
> > a new label?
> 
> Hi Kaushal, Vishwanath Bhat,
> 
> I would like to do this as per Niels suggestions i.e. on CentOS CI,
> 
> As part of this I need your help in doing the following:
> 
> 1. Creating a new label "Clang-Check" in gerrit
> 2. Adding ssh keys in CentOS CI side slaves
> 3. Triggering part of the clang JOB

You can already write a script that checks out the change from Gerrit
and runs the tests. This script runs on a cleanly installed CentOS
machine, so it will need to install any dependencies for building with
clang too. See the libgfapi test-case in the link above for an example.

Send the script as a pull-request to the GitHub repository, and we'll be
able to put that in a Jenkins job in the CentOS CI. After a few
test-runs, we can then enable the reporting back to Gerrit (assuming the
label has been created).

Niels


signature.asc
Description: PGP signature
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-29 Thread Prasanna Kalever
On Tue, Mar 29, 2016 at 3:28 PM, Niels de Vos  wrote:
> On Tue, Mar 29, 2016 at 12:01:59PM +0530, Prasanna Kalever wrote:
>> On Tue, Mar 22, 2016 at 6:12 PM, Michael Scherer  wrote:
>> > Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
>> >> Hello,
>> >>
>> >> W
>> >> e have integrated clang checker job in local Jenkins 10.70.41.41, thanks 
>> >> to
>> >> Raghavendra Talur for sitting with me.
>> >>
>> >> Can someone grant me the access to upstream Jenkins
>> >>
>> >> ? so that I can replicate the clang job there.
>> >> As part of this, I request to install '
>> >> clang-analyzer.noarch package in all the slaves
>> >
>> > I assume you mean "all the Linux slave", since I am not sure there is
>> > such package for netbsd and freebsd ?
>> >
>> > I pushed the change on salt and ansible.
>>
>> Thanks misc,
>> I am planning to use Centos slaves, so your assumption is right.
>>
>>
>> Can some one grant me credentials of upstream Jenkins please?
>> I am waiting for this...
>
> I might be late to the conversation...
>
> Should we run this on our Gluster slaves in our already difficult to
> maintain Jenkins infra. Or should this be a (scheduled) job that runs on
> the machines in the CentOS CI?
>
> Examples of jobs that we currently have in the CentOS CI:
>
>  - https://ci.centos.org/view/Gluster/
>  - 
> https://github.com/gluster/glusterfs-patch-acceptance-tests/tree/master/centos-ci
>
> We can also trigger on patch submissions, but if we do that, we need to
> decide how the reporting back to Gerrit should be done. Would it require
> a new label?

Hi Kaushal, Vishwanath Bhat,

I would like to do this as per Niels suggestions i.e. on CentOS CI,

As part of this I need your help in doing the following:

1. Creating a new label "Clang-Check" in gerrit
2. Adding ssh keys in CentOS CI side slaves
3. Triggering part of the clang JOB

Thanks,
--
Prasanna

>
> Niels
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-29 Thread Niels de Vos
On Tue, Mar 29, 2016 at 12:01:59PM +0530, Prasanna Kalever wrote:
> On Tue, Mar 22, 2016 at 6:12 PM, Michael Scherer  wrote:
> > Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
> >> Hello,
> >>
> >> W
> >> e have integrated clang checker job in local Jenkins 10.70.41.41, thanks to
> >> Raghavendra Talur for sitting with me.
> >>
> >> Can someone grant me the access to upstream Jenkins
> >>
> >> ? so that I can replicate the clang job there.
> >> As part of this, I request to install '
> >> clang-analyzer.noarch package in all the slaves
> >
> > I assume you mean "all the Linux slave", since I am not sure there is
> > such package for netbsd and freebsd ?
> >
> > I pushed the change on salt and ansible.
> 
> Thanks misc,
> I am planning to use Centos slaves, so your assumption is right.
> 
> 
> Can some one grant me credentials of upstream Jenkins please?
> I am waiting for this...

I might be late to the conversation...

Should we run this on our Gluster slaves in our already difficult to
maintain Jenkins infra. Or should this be a (scheduled) job that runs on
the machines in the CentOS CI?

Examples of jobs that we currently have in the CentOS CI:

 - https://ci.centos.org/view/Gluster/
 - 
https://github.com/gluster/glusterfs-patch-acceptance-tests/tree/master/centos-ci

We can also trigger on patch submissions, but if we do that, we need to
decide how the reporting back to Gerrit should be done. Would it require
a new label?

Niels


signature.asc
Description: PGP signature
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-28 Thread Prasanna Kalever
On Tue, Mar 22, 2016 at 6:12 PM, Michael Scherer  wrote:
> Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
>> Hello,
>>
>> W
>> e have integrated clang checker job in local Jenkins 10.70.41.41, thanks to
>> Raghavendra Talur for sitting with me.
>>
>> Can someone grant me the access to upstream Jenkins
>>
>> ? so that I can replicate the clang job there.
>> As part of this, I request to install '
>> clang-analyzer.noarch package in all the slaves
>
> I assume you mean "all the Linux slave", since I am not sure there is
> such package for netbsd and freebsd ?
>
> I pushed the change on salt and ansible.

Thanks misc,
I am planning to use Centos slaves, so your assumption is right.


Can some one grant me credentials of upstream Jenkins please?
I am waiting for this...

--
Prasanna

>
> --
> Michael Scherer
> Sysadmin, Community Infrastructure and Platform, OSAS
>
>
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Creation of Clang Job in Upstream Jenkins

2016-03-22 Thread Michael Scherer
Le mardi 22 mars 2016 à 15:48 +0530, Prasanna Kalever a écrit :
> Hello,
> 
> ​W​
> e have integrated clang checker job in local Jenkins 10.70.41.41, thanks to
> Raghavendra Talur for sitting with me.
> 
> Can someone grant me the access to upstream Jenkins
> ​​
> ? so that I can replicate the clang job there.
> ​As part of this, I request to install '
> clang-analyzer.noarch package​ in all the slaves​

I assume you mean "all the Linux slave", since I am not sure there is
such package for netbsd and freebsd ?

I pushed the change on salt and ansible.

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




signature.asc
Description: This is a digitally signed message part
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra