tag:blogger.com,1999:blog-9238405.post113882280056587847..comments2026-04-17T02:13:19.234-07:00Comments on Agile Testing: Continuous integration with buildbotGrig Gheorghiuhttp://www.blogger.com/profile/17863511617654196370noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-9238405.post-38011114729341724292010-08-04T13:31:52.102-07:002010-08-04T13:31:52.102-07:00You should think about updating this. But even as ...You should think about updating this. But even as it is, this was very useful. Thank you! :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-69618757516341401532009-07-14T17:59:19.175-07:002009-07-14T17:59:19.175-07:00In 0.7.6 and later, c['slaves'] is used in...In 0.7.6 and later, c['slaves'] is used instead of c['bots']<br /><br />This is to help people who find this in the future. IMHO it's much easier to follow than the buildbot manual.mattacknoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-23140660513302553652008-10-24T10:35:00.000-07:002008-10-24T10:35:00.000-07:00Great stuff. Don't be shy to write more like this ...Great stuff. Don't be shy to write more like this ;-)drozzyhttps://www.blogger.com/profile/06962143421005350695noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-42563129618611295612007-11-27T13:33:00.000-08:002007-11-27T13:33:00.000-08:00The command buildbot master /home/buildmaster/APPs...The command <BR/><BR/>buildbot master /home/buildmaster/APP<BR/><BR/>should be <BR/><BR/>buildbot create-master /home/buildmaster/APPJimhttps://www.blogger.com/profile/11209694833990702154noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-30086752967259406352007-08-15T15:12:00.001-07:002007-08-15T15:12:00.001-07:00BuildFactory.addStep is not releasing spawned Proc...BuildFactory.addStep is not releasing spawned Process!!!!<BR/> <BR/>To put things in a gist :<BR/><BR/>In the master.cfg :<BR/><BR/>1) I start a checkout<BR/>2) I add a step to invoke a service (python.exe --serviceName--<BR/>3) start a build<BR/>4) Close a service<BR/><BR/>The problem arises when I invoke the service on step 2. BuildBot (actually<BR/>ShellCommand) keeps on hanging to the started process --serviceName-- , EVEN<BR/>THOUGH the process is an independent pytthon process.<BR/>IE, it executes (2) successfully and remains there and doesnt proceed to<BR/>(3). (2) is a standalone process...BB wont proceed to the next step until<BR/>it is killed.<BR/><BR/>Looking at the code, I see that Shell Command maintains an stdio that wont<BR/>close until the process exits.<BR/><BR/>Ive even tried the want_stdout=0 attribute of Factory.addStep() to prevent<BR/>output to be piped for THIS step to no avail.<BR/><B><BR/>f.addStep(ShellCommand, command=['C:/Python23/python.exe',<BR/>'administer_position_service.py', 'start'], description='Start the position<BR/>service script', want_stdout=0)<BR/></B><BR/>Please helpRajhttps://www.blogger.com/profile/14635617484128733396noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-22010305902055710792007-08-15T15:12:00.000-07:002007-08-15T15:12:00.000-07:00BuildFactory.addStep is not releasing spawned Proc...BuildFactory.addStep is not releasing spawned Process!!!!<BR/> <BR/>To put things in a gist :<BR/><BR/>In the master.cfg :<BR/><BR/>1) I start a checkout<BR/>2) I add a step to invoke a service (python.exe --serviceName--<BR/>3) start a build<BR/>4) Close a service<BR/><BR/>The problem arises when I invoke the service on step 2. BuildBot (actually<BR/>ShellCommand) keeps on hanging to the started process --serviceName-- , EVEN<BR/>THOUGH the process is an independent pytthon process.<BR/>IE, it executes (2) successfully and remains there and doesnt proceed to<BR/>(3). (2) is a standalone process...BB wont proceed to the next step until<BR/>it is killed.<BR/><BR/>Looking at the code, I see that Shell Command maintains an stdio that wont<BR/>close until the process exits.<BR/><BR/>Ive even tried the want_stdout=0 attribute of Factory.addStep() to prevent<BR/>output to be piped for THIS step to no avail.<BR/><B><BR/>f.addStep(ShellCommand, command=['C:/Python23/python.exe',<BR/>'administer_position_service.py', 'start'], description='Start the position<BR/>service script', want_stdout=0)<BR/></B><BR/>Please helpRajhttps://www.blogger.com/profile/14635617484128733396noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-80196397234874082202007-05-10T06:48:00.000-07:002007-05-10T06:48:00.000-07:00EXCELLENT explanation of the create-slave option t...EXCELLENT explanation of the create-slave option to buildbot(version 0.7.5). I never did get a clear explanation from the sourceforge buildbot documentation of just which port number was needed. Thank you so much for clarifying that tidbit of knowledge. They should mimick your presentation on that, at sourceforge, to help novices like me get going quicker.<BR/><BR/>Regards,<BR/>Carl E.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-84366097911300761492007-04-09T17:01:00.000-07:002007-04-09T17:01:00.000-07:00If only I came across this guide sooner, I would h...If only I came across this guide sooner, I would have saved myself a lot of headache about buildbot. :P Now, I just need to figure out how to get the build master to kick off a build when a change in a repository has been detectedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1156823339447605182006-08-28T20:48:00.000-07:002006-08-28T20:48:00.000-07:00You can avoid all mentioned installation hassles b...You can avoid all mentioned installation hassles by switching to our <A HFREF="http://www.viewtier.com/products/parabuild/index.htm">Parabuild</A> - it takes three minutes to install.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1154364842667474172006-07-31T09:54:00.000-07:002006-07-31T09:54:00.000-07:00Thanks you very much for this invaluable guide. It...Thanks you very much for this invaluable guide. It really saved me an headhacke ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1151902628862837242006-07-02T21:57:00.000-07:002006-07-02T21:57:00.000-07:00I installed Python 2.4.2 in /usr/local/bin, then I...I installed Python 2.4.2 in /usr/local/bin, then I renamed /usr/bin/python to something else, so I didn't have to worry about /usr/bin being in front of /usr/local/bin in PATH.Grig Gheorghiuhttps://www.blogger.com/profile/17863511617654196370noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1151871633321830702006-07-02T13:20:00.000-07:002006-07-02T13:20:00.000-07:00Cool.. did you replace the default Python installa...Cool.. did you replace the default Python installation or did you install 2.4.2 in parallel the to stock version?cowmixhttps://www.blogger.com/profile/08207760597337878091noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1151870247046200812006-07-02T12:57:00.000-07:002006-07-02T12:57:00.000-07:00More details about my setup on the RH9 box: - I co...More details about my setup on the RH9 box: <BR/><BR/>- I compiled and installed Python 2.4.2 from the tarball on python.org.<BR/>- I used the exact versions of Twisted and other required packages that are mentioned in the post.Grig Gheorghiuhttps://www.blogger.com/profile/17863511617654196370noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-1151428403675756422006-06-27T10:13:00.000-07:002006-06-27T10:13:00.000-07:00Can you go into more detail on how you got BuildBo...Can you go into more detail on how you got BuildBot working on RH9? Doesn't RH9 come with an older version of Python that the newer versions of Twisted will not work on?<BR/><BR/>Anyway.. this was a great post.cowmixhttps://www.blogger.com/profile/08207760597337878091noreply@blogger.com