Andy Howell | 5 Oct 02:06 2009
Picon

slave connection over ssl possible?

Hello,

Is is possible to setup buildbot slaves to create an encrypted session to the master?

Thanks,

	Andy

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
Dustin J. Mitchell | 6 Oct 17:04 2009

Re: Buildslave will not start ...

On Wed, Sep 23, 2009 at 9:36 AM, Kiffin Gish <kiffin.gish@...> wrote:
> I seem to remember having a similar problem in the past, but I cannot
> remember how I solved it.

Usually this involves a duplicate slave name/password, or an invalid
password.  In the first case, two slaves with the same name/password
will "compete" for access to the buildmaster, causing repeated
disconnections for both.  In the second case, with some versions of
Twisted the slave never gets the "your password is wrong" exception,
and just keeps retrying.

Dustin

--

-- 
Open Source Storage Engineer
http://www.zmanda.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
Marcus Lindblom | 6 Oct 22:20 2009
Picon

Re: slave connection over ssl possible?

Andy Howell wrote:
> Hello,
> 
> Is is possible to setup buildbot slaves to create an encrypted session to the master?

Not out-of-the-box, I think.

However, you could always setup an SSH-tunnel to the buildmaster host 
yourself first, then have the buildslave work through that.

Hope it helps,

/Marcus

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Andy Howell | 6 Oct 23:36 2009
Picon

Re: slave connection over ssl possible?


Marcus Lindblom wrote:
> Andy Howell wrote:
>> Hello,
>>
>> Is is possible to setup buildbot slaves to create an encrypted session to the master?
> 
> Not out-of-the-box, I think.
> 
> However, you could always setup an SSH-tunnel to the buildmaster host 
> yourself first, then have the buildslave work through that.
> 
> Hope it helps,
> 
> /Marcus
> 

Marcus,

	Thanks, I may go that route. I've been going through the code trying to see how to works. 
Looks like the master side should work by specifying a port specification like:

ssl:9989:privateKey=myket.pem:certKey=mycert.pem

I think the slave side needs some changes to make this work, as it explicitly opens 
TCPClient in buildbot/slave/bot.py. I've hacked that a bit, replace that call with a 
ClientConnectionFactory and SSSClinet, but its not working yet. Still trying to understand 
how twisted and buildbot work :)

Thanks,
(Continue reading)

Marcus Lindblom | 7 Oct 10:08 2009
Picon

Re: slave connection over ssl possible?

Andy Howell wrote:
> Marcus Lindblom wrote:
>> Andy Howell wrote:
>>> Hello,
>>>
>>> Is is possible to setup buildbot slaves to create an encrypted session to the master?
>> Not out-of-the-box, I think.
>>
>> However, you could always setup an SSH-tunnel to the buildmaster host 
>> yourself first, then have the buildslave work through that.
>>
>> Hope it helps,
>>
>> /Marcus
>>
> 
> Marcus,
> 
> 	Thanks, I may go that route. I've been going through the code trying to see how to works. 
> Looks like the master side should work by specifying a port specification like:
> 
> ssl:9989:privateKey=myket.pem:certKey=mycert.pem
> 
> I think the slave side needs some changes to make this work, as it explicitly opens 
> TCPClient in buildbot/slave/bot.py. I've hacked that a bit, replace that call with a 
> ClientConnectionFactory and SSSClinet, but its not working yet. Still trying to understand 
> how twisted and buildbot work :)

I was more thinking that you'd keep ssh out of buildbot completely, and 
manually ssh from client to master setting up a port-forwarding from 
(Continue reading)

Tim Couper | 7 Oct 12:33 2009
Picon

buildbot sprint <at> PyCon?

Thinking a little ahead, would there be any interest in having a 
buildbot sprint at Pycon next Feb? Those of you who are experienced long 
term developers of buildbot, do you a) have a list of idea of "user 
stories" or equivalent specs that you'd agree would be the most 
important next set of features that buildbot should have, and b) are any 
of you planning to be in Atlanta - and be willing to stay on to help 
lead this activity if it went ahead? Apols if I'm treading on people's 
toes here - not intentional at all, I'd just would like to see, and be 
part of, making this great tool even more a tool of choice in software 
development organisations.

Comments?

Tim

Dr Tim Couper

I

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Anthony Viallard | 7 Oct 14:39 2009

Extending buildbot to transmit xml result to the master

Hello everybody,

I have some difficulties to extend buildbot. I explain: after successful 
compile, i want to launch a functional test program. This program 
generate a xml file. So, after finishing the functionnal test, i want to 
transmit this xml file to the master to make it possible to see it in 
the webStatus interface (after a transformation in html with xsltproc).

I want this:

!-----------------!
!      tests      !
!                 !
!     [result]    !
!                 !
!-----------------!
!     compile     !
!                 !
!     [stdio]     !
!                 !
!-----------------!
....

And when clicking the result link, the html result page (generated with 
xml file transmited) is displayed.

If i use shellCommand, when clicking on "stdio" link in waterfall 
webStatus interface, there already a html header generate, some 
informations on environnement, etc and finaly the result "backquotted" :(

(Continue reading)

Andy Howell | 7 Oct 16:02 2009
Picon

Re: slave connection over ssl possible?

Marcus Lindblom wrote:
> Andy Howell wrote:
>> Marcus Lindblom wrote:
>>> Andy Howell wrote:
>>>> Hello,
>>>>
>>>> Is is possible to setup buildbot slaves to create an encrypted session to the master?
>>> Not out-of-the-box, I think.
>>>
>>> However, you could always setup an SSH-tunnel to the buildmaster host 
>>> yourself first, then have the buildslave work through that.
>>>
>>> Hope it helps,
>>>
>>> /Marcus
>>>
>> Marcus,
>>
>> 	Thanks, I may go that route. I've been going through the code trying to see how to works. 
>> Looks like the master side should work by specifying a port specification like:
>>
>> ssl:9989:privateKey=myket.pem:certKey=mycert.pem
>>
>> I think the slave side needs some changes to make this work, as it explicitly opens 
>> TCPClient in buildbot/slave/bot.py. I've hacked that a bit, replace that call with a 
>> ClientConnectionFactory and SSSClinet, but its not working yet. Still trying to understand 
>> how twisted and buildbot work :)
> 
> I was more thinking that you'd keep ssh out of buildbot completely, and 
> manually ssh from client to master setting up a port-forwarding from 
(Continue reading)

Andy Howell | 7 Oct 16:20 2009
Picon

Re: Extending buildbot to transmit xml result to the master

Anthony Viallard wrote:
> Hello everybody,
> 
> I have some difficulties to extend buildbot. I explain: after successful 
> compile, i want to launch a functional test program. This program 
> generate a xml file. So, after finishing the functionnal test, i want to 
> transmit this xml file to the master to make it possible to see it in 
> the webStatus interface (after a transformation in html with xsltproc).
> 
> I want this:
> 
> !-----------------!
> !      tests      !
> !                 !
> !     [result]    !
> !                 !
> !-----------------!
> !     compile     !
> !                 !
> !     [stdio]     !
> !                 !
> !-----------------!
> ....
> 
> And when clicking the result link, the html result page (generated with 
> xml file transmited) is displayed.
> 
> 
> If i use shellCommand, when clicking on "stdio" link in waterfall 
> webStatus interface, there already a html header generate, some 
(Continue reading)

Dustin J. Mitchell | 7 Oct 16:41 2009

Re: buildbot sprint <at> PyCon?

On Wed, Oct 7, 2009 at 6:33 AM, Tim Couper <tim@...> wrote:
> Thinking a little ahead, would there be any interest in having a
> buildbot sprint at Pycon next Feb? Those of you who are experienced long
> term developers of buildbot, do you a) have a list of idea of "user
> stories" or equivalent specs that you'd agree would be the most
> important next set of features that buildbot should have, and b) are any
> of you planning to be in Atlanta - and be willing to stay on to help
> lead this activity if it went ahead? Apols if I'm treading on people's
> toes here - not intentional at all, I'd just would like to see, and be
> part of, making this great tool even more a tool of choice in software
> development organisations.

We had a sprint at the last PyCon, which I crashed -- I happened to be
in Chicago at the time.  It was an interesting time to meet other
devs, but we didn't get a whole lot of work done.

Anyway, I don't expect to be in Atlanta any time soon, so I wouldn't
be able to make it, but given my experience last time I highly
recommend it!

Dustin

--

-- 
Open Source Storage Engineer
http://www.zmanda.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
(Continue reading)


Gmane