From matt at mattwynne.net Wed Mar 11 06:15:27 2009 From: matt at mattwynne.net (Matt Wynne) Date: Wed, 11 Mar 2009 10:15:27 +0000 Subject: [Cruisecontrolrb-users] Stopping builders Message-ID: <60FD2896-A9E0-4A12-8863-C563D0604DFC@mattwynne.net> Hi, When I call 'cruise stop' from the command line, this just sends a command to mongrel to stop the rails app. Some time later the builders also seem to stop, but I'm not sure how this is achieved. I'd like to get better control over the builders, ideally putting a cancel button on the UI so I can send a CTRL-C to the rake task. I'd also like the 'cruise stop' command to wait for each builder to stop, and let me know how that is going. I'm happy to hack on the code to do this but I could do with some guidance to get started. Can anyone give me some pointers as to how this would be achieved? Matt Wynne http://blog.mattwynne.net http://www.songkick.com From matt at mattwynne.net Wed Mar 11 06:17:27 2009 From: matt at mattwynne.net (Matt Wynne) Date: Wed, 11 Mar 2009 10:17:27 +0000 Subject: [Cruisecontrolrb-users] Test failures and errors Message-ID: How does the UI decide to put output from the build into the 'test failures and errors' section? I'd like our Cucumber acceptance tests failures to be shown in here, but I'm not sure what I need to do to the formatter so they are. Matt Wynne http://blog.mattwynne.net http://www.songkick.com From thewoolleyman at gmail.com Wed Mar 11 11:29:53 2009 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 11 Mar 2009 08:29:53 -0700 Subject: [Cruisecontrolrb-users] Stopping builders In-Reply-To: <60FD2896-A9E0-4A12-8863-C563D0604DFC@mattwynne.net> References: <60FD2896-A9E0-4A12-8863-C563D0604DFC@mattwynne.net> Message-ID: On Wed, Mar 11, 2009 at 3:15 AM, Matt Wynne wrote: > Hi, > > When I call 'cruise stop' from the command line, this just sends a command > to mongrel to stop the rails app. Some time later the builders also seem to > stop, but I'm not sure how this is achieved. > > I'd like to get better control over the builders, ideally putting a cancel > button on the UI so I can send a CTRL-C to the rake task. I'd also like the > 'cruise stop' command to wait for each builder to stop, and let me know how > that is going. > > I'm happy to hack on the code to do this but I could do with some guidance > to get started. Can anyone give me some pointers as to how this would be > achieved? This will probably be tricky to do in a cross-platform way, especially on windows. I'm planning (hopefully soon) to continue to improve the init script (under daemon dir) to make sure it kills all builders and sub-processes when cruise is stopped. Not sure if this will make it into 'cruise stop', that code is kinda weird anyway, and would have the same problems to make it works cross-platform. So, I'll probably just do it in the init script, which is currently unix- (maybe debian-)only anyway, so I don't have to worry about cross platform. -- Chad -- Chad From donnoman at gmail.com Wed Mar 11 21:10:50 2009 From: donnoman at gmail.com (Donovan Bray) Date: Wed, 11 Mar 2009 18:10:50 -0700 Subject: [Cruisecontrolrb-users] Test failures and errors In-Reply-To: References: Message-ID: <7789C905-CCE3-4CE6-9C32-E1DD3EDF3568@gmail.com> Try the HTML formatter and build an artifact On Mar 11, 2009, at 3:17 AM, Matt Wynne wrote: > How does the UI decide to put output from the build into the 'test > failures and errors' section? > > I'd like our Cucumber acceptance tests failures to be shown in here, > but I'm not sure what I need to do to the formatter so they are. > > Matt Wynne > http://blog.mattwynne.net > http://www.songkick.com > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From matt at mattwynne.net Thu Mar 12 04:22:27 2009 From: matt at mattwynne.net (Matt Wynne) Date: Thu, 12 Mar 2009 08:22:27 +0000 Subject: [Cruisecontrolrb-users] Test failures and errors In-Reply-To: <7789C905-CCE3-4CE6-9C32-E1DD3EDF3568@gmail.com> References: <7789C905-CCE3-4CE6-9C32-E1DD3EDF3568@gmail.com> Message-ID: <5C88580E-1733-4010-B877-1D58E41089CB@mattwynne.net> Sure, that would give me a similar effect, but it's not an answer to the question I asked. Is there a better place to talk to people who work on the codebase than this list? On 12 Mar 2009, at 01:10, Donovan Bray wrote: > Try the HTML formatter and build an artifact > > On Mar 11, 2009, at 3:17 AM, Matt Wynne wrote: > >> How does the UI decide to put output from the build into the 'test >> failures and errors' section? >> >> I'd like our Cucumber acceptance tests failures to be shown in >> here, but I'm not sure what I need to do to the formatter so they >> are. >> >> Matt Wynne >> http://blog.mattwynne.net >> http://www.songkick.com >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users Matt Wynne http://blog.mattwynne.net http://www.songkick.com From alexey.verkhovsky at gmail.com Thu Mar 12 07:45:25 2009 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 12 Mar 2009 07:45:25 -0400 Subject: [Cruisecontrolrb-users] Test failures and errors In-Reply-To: <5C88580E-1733-4010-B877-1D58E41089CB@mattwynne.net> References: <7789C905-CCE3-4CE6-9C32-E1DD3EDF3568@gmail.com> <5C88580E-1733-4010-B877-1D58E41089CB@mattwynne.net> Message-ID: <3945c4270903120445s41a240a4g32cd03d811a782@mail.gmail.com> On Thu, Mar 12, 2009 at 4:22 AM, Matt Wynne wrote: > Sure, that would give me a similar effect, but it's not an answer to the > question I asked. Is there a better place to talk to people who work on the > codebase than this list? CC.rb parses stdout/stderr of the build process for patterns that look like Test::Unit and RSpec test errors/failures. To add a capability to recognize Cucumber failures, you'll need to add more patterns to that parser. This is the place for questions like this. -- Alexey Verkhovsky http://alex-verkhovsky.blogspot.com/ CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bil.Kleb at NASA.gov Tue Mar 17 10:56:27 2009 From: Bil.Kleb at NASA.gov (Bil Kleb) Date: Tue, 17 Mar 2009 10:56:27 -0400 Subject: [Cruisecontrolrb-users] cruise start ignores some command line options Message-ID: <49BFBA1B.6050908@NASA.gov> Hi, I'm hacking on CC.rb^1 and would like it to reload source, but I can't seem to get it to run in development mode or to not start the builders, e.g., ./cruise start --daemon --without-builders --environment=development [builders started] [running production mode] Should I file a Lighthouse ticket, or am I using this incorrectly? Confused, -- Bil Kleb http://fun3d.larc.nasa.gov http://twitter.com/bil_kleb [1] http://github.com/kleb/cruisecontrol.rb/ From thewoolleyman at gmail.com Tue Mar 17 12:06:52 2009 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 17 Mar 2009 09:06:52 -0700 Subject: [Cruisecontrolrb-users] cruise start ignores some command line options In-Reply-To: <49BFBA1B.6050908@NASA.gov> References: <49BFBA1B.6050908@NASA.gov> Message-ID: I'm not sure. Why not just hack it locally to use development instead of production mode? Or just start it with script/server? On Tue, Mar 17, 2009 at 7:56 AM, Bil Kleb wrote: > Hi, > > I'm hacking on CC.rb^1 and would like it to reload source, > but I can't seem to get it to run in development mode or > to not start the builders, e.g., > > ?./cruise start --daemon --without-builders --environment=development > > ?[builders started] > ?[running production mode] > > Should I file a Lighthouse ticket, or am I using this incorrectly? > > Confused, > -- > Bil Kleb > http://fun3d.larc.nasa.gov > http://twitter.com/bil_kleb > > [1] http://github.com/kleb/cruisecontrol.rb/ > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From Bil.Kleb at NASA.gov Tue Mar 17 12:19:48 2009 From: Bil.Kleb at NASA.gov (Bil Kleb) Date: Tue, 17 Mar 2009 12:19:48 -0400 Subject: [Cruisecontrolrb-users] cruise start ignores some command line options In-Reply-To: References: <49BFBA1B.6050908@NASA.gov> Message-ID: <49BFCDA4.3050902@NASA.gov> Chad Woolley wrote: > I'm not sure. Why not just hack it locally to use development instead > of production mode? Or just start it with script/server? Can do, but then `cruise start` should not advertise these as options? Regards, -- Bil From thewoolleyman at gmail.com Thu Mar 19 12:41:23 2009 From: thewoolleyman at gmail.com (Chad Woolley) Date: Thu, 19 Mar 2009 09:41:23 -0700 Subject: [Cruisecontrolrb-users] cruise start ignores some command line options In-Reply-To: <49BFCDA4.3050902@NASA.gov> References: <49BFBA1B.6050908@NASA.gov> <49BFCDA4.3050902@NASA.gov> Message-ID: On Tue, Mar 17, 2009 at 9:19 AM, Bil Kleb wrote: > Can do, but then `cruise start` should not advertise these as options? Probably. Make it do what you want and submit a patch :) From coolramkumar at gmail.com Fri Mar 20 06:28:42 2009 From: coolramkumar at gmail.com (Ram Kumar Hariharan) Date: Fri, 20 Mar 2009 15:58:42 +0530 Subject: [Cruisecontrolrb-users] Unable to lock error Message-ID: <1bc05bd00903200328k76cb4c0avdfa8a021e57b7075@mail.gmail.com> What is the problem here ? Plz. help. [info] [2009-03-17 11:02:30] Builder for project 'myproj' started [error] svn: Unable to lock 'data/manifests' [error] ./script/../config/../lib/ subversion.rb:161:in `execute_with_error_log' [error] ./script/../config/../lib/command_line.rb:86:in `call' [error] ./script/../config/../lib/command_line.rb:86:in `e' [error] ./script/../config/../lib/command_line.rb:84:in `popen' [error] ./script/../config/../lib/command_line.rb:84:in `e' [error] ./script/../config/../lib/command_line.rb:71:in `execute' [error] ./script/../config/../lib/command_line.rb:70:in `chdir' [error] ./script/../config/../lib/command_line.rb:70:in `execute' [error] ./script/../config/../lib/subversion.rb:152:in `execute_with_error_log' [error] ./script/../config/../lib/subversion.rb:141:in `execute_in_local_copy' [error] ./script/../config/../lib/subversion.rb:140:in `chdir' [error] ./script/../config/../lib/subversion.rb:140:in `execute_in_local_copy' [error] ./script/../config/../lib/subversion.rb:127:in `svn' [error] ./script/../config/../lib/subversion.rb:98:in `externals' [error] ./script/../config/../lib/subversion.rb:77:in `up_to_date?' [error] ./script/../config/../app/models/change_in_source_control_trigger.rb:10:in `build_necessary?' [error] ./script/../config/../app/models/project.rb:231:in `build_necessary?' [error] ./script/../config/../vendor/rails/actionpack/lib/../../activesupport/lib/active_support/inflector.rb:250:in `any?' [error] ./script/../config/../app/models/project.rb:231:in `each' [error] ./script/../config/../app/models/project.rb:231:in `any?' [error] ./script/../config/../app/models/project.rb:231:in `build_necessary?' [error] ./script/../config/../app/models/project.rb:208:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:79 [error] ./script/builder:78:in `catch' [error] ./script/builder:78 [error] script/../config/../cruise:14:in `load' [error] script/../config/../cruise:14:in `builder' [error] script/../config/../cruise:68:in `send' [error] script/../config/../cruise:68 [error] /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir' [error] /usr/lib/ruby/1.8/fileutils.rb:121:in `cd' [error] script/../config/../cruise:67 -- Regards, Ram Kumar H -------------- next part -------------- An HTML attachment was scrubbed... URL: From thewoolleyman at gmail.com Fri Mar 20 11:53:45 2009 From: thewoolleyman at gmail.com (Chad Woolley) Date: Fri, 20 Mar 2009 08:53:45 -0700 Subject: [Cruisecontrolrb-users] Unable to lock error In-Reply-To: <1bc05bd00903200328k76cb4c0avdfa8a021e57b7075@mail.gmail.com> References: <1bc05bd00903200328k76cb4c0avdfa8a021e57b7075@mail.gmail.com> Message-ID: 2009/3/20 Ram Kumar Hariharan : > What is the problem here ? > Plz. help. > > [info]? [2009-03-17 11:02:30] Builder for project 'myproj' started > [error] svn: Unable to lock 'data/manifests' Something else has a lock on that file. Reboot and try again. If that doesn't work, google about how to find out what process is locking a file.