From alexey.verkhovsky at gmail.com Fri Feb 1 07:04:07 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Fri, 1 Feb 2008 05:04:07 -0700 Subject: [Cruisecontrolrb-users] cruisecontrolrb.thoughtworks.com is back Message-ID: <3945c4270802010404n3f8001d7o77dd30f5a2190d2d@mail.gmail.com> Hi all, I have restored the site, sorry for the inconvenience. This downtime was caused by a massive update of everything gone wrong (and a not-so-disciplined sysadmining on my part, I'm afraid). I was trying to deploy the trunk as a kind of acceptance test before release. One thing I learned in the process is that running the current trunk as a service is problematic because it tries to keep its data in $HOME/.cruise now, and is not very gracious when that directory is not accessible. I also confirmed that CC.rb 1.2.1 (latest released) works with the latest version of RubyGems, so there is no need for an urgent release. So, my current plan is to fix everything that went wrong with the trunk deployment, redeploy, run it for a few weeks, then cut a new version. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From will.sargent at gmail.com Fri Feb 1 13:37:52 2008 From: will.sargent at gmail.com (Will Sargent) Date: Fri, 1 Feb 2008 10:37:52 -0800 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? In-Reply-To: References: Message-ID: On Jan 31, 2008 10:07 AM, Jeremy Stell-Smith wrote: > Is it possible that you created the project w/ different permissions than > you're running cruise from? Maybe you could remove the project directory > and recreate it "./cruise add ..." then try "./cruise start" again and see > if it still happens I did a global chown on the cruisecontrolrb directory, and then bounced it. That seems to have done the trick. Will. From will.sargent at gmail.com Sat Feb 2 15:01:39 2008 From: will.sargent at gmail.com (Will Sargent) Date: Sat, 2 Feb 2008 12:01:39 -0800 Subject: [Cruisecontrolrb-users] Best way to handle release branches? Message-ID: Hi all, This is a question I've had with CruiseControl in general, but as I'm going over it now I thought I'd throw it out there. When I was using CruiseControl in Java, I managed release branches by aliasing: I'd have three projects for each product: dev -- mapped to the trunk (mainline development) staging -- mapped to the release branch about to be released (Mostly QA checks out from this branch, dev merges fixes in) prod -- mapped to the release branch that has already been released. (Used for patches, mostly) This was a nice way to handle the multitudes of releases that we did, because we cut release branches fairly often, and it gives visibility to QA and management about what's been checked in. My question is: does cc.rb have any way to manage this internally? Or is the best way to handle this by using svn switch on the backend? Also, I'm curious to hear how other people structure their cruisecontrol around their release engineering process. What's the normal convention for agile projects? Will. From bketelsen at gmail.com Sat Feb 2 21:46:03 2008 From: bketelsen at gmail.com (Brian Ketelsen) Date: Sat, 2 Feb 2008 21:46:03 -0500 Subject: [Cruisecontrolrb-users] Best way to handle release branches? In-Reply-To: References: Message-ID: <768461F7-8CE4-4411-917F-8B2FEAA73130@gmail.com> I'm all ears for answers on this one too. We have trunk for local development, "integration" for the first integrated environment (still owned by developers), "qa" for the branch in testing at any given time, "UAT" for the branch that's passed QA and is going to production when accepted by the business users and "production" which is the currently released branch. It's painful. And so is merging in SVN. But I suppose that's off topic. Brian On Feb 2, 2008, at 3:01 PM, Will Sargent wrote: > Hi all, > > This is a question I've had with CruiseControl in general, but as I'm > going over it now I thought I'd throw it out there. > > When I was using CruiseControl in Java, I managed release branches by > aliasing: I'd have three projects for each product: > > dev -- mapped to the trunk (mainline development) > staging -- mapped to the release branch about to be released > (Mostly QA checks out from this branch, dev merges fixes in) > prod -- mapped to the release branch that has already been > released. (Used for patches, mostly) > > This was a nice way to handle the multitudes of releases that we did, > because we cut release branches fairly often, and it gives visibility > to QA and management about what's been checked in. > > My question is: does cc.rb have any way to manage this internally? Or > is the best way to handle this by using svn switch on the backend? > > Also, I'm curious to hear how other people structure their > cruisecontrol around their release engineering process. What's the > normal convention for agile projects? > > Will. > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From thewoolleyman at gmail.com Sun Feb 3 14:47:59 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Sun, 3 Feb 2008 12:47:59 -0700 Subject: [Cruisecontrolrb-users] Best way to handle release branches? In-Reply-To: References: Message-ID: On Feb 2, 2008 1:01 PM, Will Sargent wrote: > My question is: does cc.rb have any way to manage this internally? Or > is the best way to handle this by using svn switch on the backend? If you create a separate project with the branch URL, and give it an appropriate name (different than the trunk project), this should work fine. The only problems we've had is when some of our deploy task tests did a switch on the working copy - but if you don't do that, it should stay pointed to whatever branch URL you originally created with. So, bottom line, a separate project per branch. Reply to this thread if that doesn't work... -- Chad From jyri_vesalainen at hotmail.com Wed Feb 6 04:47:24 2008 From: jyri_vesalainen at hotmail.com (Jyri Vesalainen) Date: Wed, 6 Feb 2008 11:47:24 +0200 Subject: [Cruisecontrolrb-users] custom build artifacts Message-ID: Hi, How do you configure cruisecontrol.rb to leave out some custom artifacts like "test.log"? I'm also wondering what's the best way to include rcov HTML coverage reports as custom artifacts? _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From jeremystellsmith at gmail.com Wed Feb 6 12:04:28 2008 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Wed, 6 Feb 2008 09:04:28 -0800 Subject: [Cruisecontrolrb-users] custom build artifacts In-Reply-To: References: Message-ID: we set an environmental variable that you have access to, it's called CC_BUILD_ARTIFACTS any files you copy into that directory will be accessible from the build page. to see a non-trivial example, this is lib/tasks/cruise.rake inside of cruise which uses rcov and desc 'Continuous build target' task :cruise do out = ENV['CC_BUILD_ARTIFACTS'] mkdir_p out unless File.directory? out if out ENV['SHOW_ONLY'] = 'models,lib,helpers' Rake::Task["test:units:rcov"].invoke mv 'coverage/units', "#{out}/unit test coverage" if out ENV['SHOW_ONLY'] = 'controllers' Rake::Task["test:functionals:rcov"].invoke mv 'coverage/functionals', "#{out}/functional test coverage" if out Rake::Task["test:integration"].invoke end On Feb 6, 2008 1:47 AM, Jyri Vesalainen wrote: > > Hi, > > How do you configure cruisecontrol.rb to leave out some custom artifacts > like "test.log"? > > I'm also wondering what's the best way to include rcov HTML coverage > reports as custom artifacts? > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080206/12c03e41/attachment-0001.html From matt at leftclick.com Wed Feb 6 17:00:32 2008 From: matt at leftclick.com (Matt Powell, LeftClick Ltd) Date: Thu, 7 Feb 2008 11:00:32 +1300 Subject: [Cruisecontrolrb-users] Failing unit tests, but not failing Cruise? Message-ID: Hi all, I intentionally committed a dud build to Cruise Control just to test that everything was working, but although Cruise picks up on the fact that there were test failures in the build, it still says the build was completed successfully. Is this expected behaviour? I'm using Cruise 1.2.1, Rails 2.0.2 and Shoulda for my unit tests, and I have the growl plugin installed. Below is the output of the build in the Cruise Control dashboard (anonymised a bit). Any light anyone could shed on this would be fantastic. Thanks, Matt --- MyProject build 17.3 finished at 10:50 AM on 07 February 2008 Build Changeset Revision 17 committed by matt on 2008-02-06 21:36:08 Testing CruiseControl M /trunk/test/unit/test_element_test.rb Test Failures and Errors Name: test: Type: Failure Message: <0.5> and <0.107> expected to be within <0.05> of each other. ./test/unit/split_test_element_test.rb:27:in `__bind_1202334653_906151' /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work/ vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb:102:in `call' /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work/ vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb:102:in `test: A Test should be correctly distributed when its variants are unevenly weighted. ' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/testing/default.rb:7:in `run' Build Log /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work matt$ ruby -e require 'rubygems' rescue nil; require 'rake'; load '/usr/ local/src/cruisecontrolrb-1.2.1/tasks/cc_build.rake'; ARGV << '-- nosearch' << 'cc:build'; Rake.application.run /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/campaign_test.rb" "test/unit/client_test.rb" "test/unit/dynamic_choice_test.rb" "test/ unit/dynamic_element_test.rb" "test/unit/dynamic_variant_test.rb" "test/unit/form_field_test.rb" "test/unit/landing_experience_test.rb" "test/unit/landing_page_test.rb" "test/unit/site_test.rb" "test/unit/ test_element_test.rb" "test/unit/test_test.rb" "test/unit/ visitor_test.rb" (in /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work) [CruiseControl] Invoking Rake task "test:units" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ rake_test_loader Started ................................................F..... Finished in 3.260502 seconds. 1) Failure: test: A SplitTest should be correctly distributed when its variants are unevenly weighted. (SplitTestElementTest) [./test/unit/test_element_test.rb:27:in `__bind_1202334653_906151' /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work/ vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb:102:in `call' /usr/local/src/cruisecontrolrb-1.2.1/projects/MyProject/work/ vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb:102:in `test: A Test should be correctly distributed when its variants are unevenly weighted. ' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/testing/default.rb:7:in `run']: <0.5> and <0.107> expected to be within <0.05> of each other. 54 tests, 202 assertions, 1 failures, 0 errors From alexey.verkhovsky at gmail.com Wed Feb 6 17:30:31 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 6 Feb 2008 22:30:31 +0000 Subject: [Cruisecontrolrb-users] Failing unit tests, but not failing Cruise? In-Reply-To: References: Message-ID: <3945c4270802061430v225274b0u57bdecd82928cfd2@mail.gmail.com> On Feb 6, 2008 10:00 PM, Matt Powell, LeftClick Ltd wrote: >test failures in the build, it still says the build was completed successfully. this is a known bug in Ruby 1.8.6. Fixed in the most recent patch release (1.8.6 p111). -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From matt at leftclick.com Wed Feb 6 18:39:49 2008 From: matt at leftclick.com (Matt Powell, LeftClick Ltd) Date: Thu, 7 Feb 2008 12:39:49 +1300 Subject: [Cruisecontrolrb-users] Failing unit tests, but not failing Cruise? In-Reply-To: <3945c4270802061430v225274b0u57bdecd82928cfd2@mail.gmail.com> References: <3945c4270802061430v225274b0u57bdecd82928cfd2@mail.gmail.com> Message-ID: >> test failures in the build, it still says the build was completed >> successfully. > > this is a known bug in Ruby 1.8.6. > Fixed in the most recent patch release (1.8.6 p111). Ah, brilliant, thanks :) Might I suggest adding this to the FAQ or documentation somewhere? Thanks, Matt From arun at trusera.com Mon Feb 11 19:30:02 2008 From: arun at trusera.com (Arun Theivendirarajah) Date: Mon, 11 Feb 2008 16:30:02 -0800 Subject: [Cruisecontrolrb-users] reporting failures Message-ID: <2FDF7174-E8F4-4B6E-8A8F-FAD405274211@trusera.com> I have been runing CC.rb for a couple of days now. I notice that the dashboard claims that a build passed even when a few of my unit tests fail. I would like to enforce the condition that ALL tests need to pass, for the build to be successful. Is there a way to do that? I'm running ver 1.2.1 Thanks, Arun Theivendirarajah From alexey.verkhovsky at gmail.com Mon Feb 11 19:31:29 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Mon, 11 Feb 2008 17:31:29 -0700 Subject: [Cruisecontrolrb-users] reporting failures In-Reply-To: <2FDF7174-E8F4-4B6E-8A8F-FAD405274211@trusera.com> References: <2FDF7174-E8F4-4B6E-8A8F-FAD405274211@trusera.com> Message-ID: <3945c4270802111631j188f2d5cn22a4d4b5bed9a7a0@mail.gmail.com> On Feb 11, 2008 5:30 PM, Arun Theivendirarajah wrote: > I have been runing CC.rb for a couple of days now. I notice that the > dashboard claims that a build passed even when a few of my unit tests > fail. I would like to enforce the condition that ALL tests need to > pass, for the build to be successful. > > Is there a way to do that? Yup. Upgrade Ruby to 1.8.6 patchlevel 111, or downgrade to 1.8.5. This is a known bug in some of the earlier 1.8.6 releases. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From CWathing at thoughtworks.com Mon Feb 11 23:52:23 2008 From: CWathing at thoughtworks.com (Chad Wathington) Date: Mon, 11 Feb 2008 22:52:23 -0600 Subject: [Cruisecontrolrb-users] Chad Wathington is out of the office. Message-ID: I will be out of the office starting 02/11/2008 and will not return until 02/12/2008. I will check e-mail and voicemail throughout the day. From bill.walton at charter.net Tue Feb 12 12:28:06 2008 From: bill.walton at charter.net (Bill Walton) Date: Tue, 12 Feb 2008 12:28:06 -0500 Subject: [Cruisecontrolrb-users] will this work? Message-ID: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670> Greetings! I've inherited a CI environment that's not working on a number of levels. A quick review of the documentation for ccrb reveals.... Prerequisites Ruby 1.8.4 or 1.8.5 (Note: at the time of this writing there is a known problem with Ruby 1.8.6 that should be fixed in the next release of Ruby 1.8) Subversion client 1.4 or later A quick review of the CI environment reveals... ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux] svn, version 1.3.2 (r19776) Our needs at this point are very simple: just run rake and send email noting pass or fail. The note re: Ruby above makes no mention of whether the bug just limits cruisecontrolrb's capabilities or prevents it from running successfully at all under 1.8.6. Can I get anything working in the environment I'm currently stuck with? Or should I just move to another tool (e.g. Cerberus) until either I can get the environment straightened out or the Ruby bug gets fixed? Thanks in advance for any assistance, Bill From gilesb at gmail.com Tue Feb 12 12:34:44 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Tue, 12 Feb 2008 09:34:44 -0800 Subject: [Cruisecontrolrb-users] will this work? In-Reply-To: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670> References: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670> Message-ID: <2d81dedb0802120934m4c200762if797d2dd96a43cfc@mail.gmail.com> > Our needs at this point are very simple: just run rake and send email noting > pass or fail. The note re: Ruby above makes no mention of whether the bug > just limits cruisecontrolrb's capabilities or prevents it from running > successfully at all under 1.8.6. I've had CC.rb running on two or three boxes with Ruby 1.8.6, all with no problem at all. Whatever the bug is, I haven't encountered it. We're just running rake and pinging a Campfire chat room whenever a build fails. Slightly more involved, but only slightly. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From bill.walton at charter.net Tue Feb 12 12:36:56 2008 From: bill.walton at charter.net (Bill Walton) Date: Tue, 12 Feb 2008 12:36:56 -0500 Subject: [Cruisecontrolrb-users] will this work? References: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670> <2d81dedb0802120934m4c200762if797d2dd96a43cfc@mail.gmail.com> Message-ID: <004801c86d9d$dd5ef4e0$6401a8c0@Precision670> Giles Bowkett wrote: > I've had CC.rb running on two or three boxes with > Ruby 1.8.6, all with no problem at all. Whatever the > bug is, I haven't encountered it. We're just running > rake and pinging a Campfire chat room whenever a > build fails. Slightly more involved, but only slightly. Excellent news. Thanks, Giles. Are you at 1.4 of SVN ? Thanks, Bill From gilesb at gmail.com Tue Feb 12 12:52:38 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Tue, 12 Feb 2008 09:52:38 -0800 Subject: [Cruisecontrolrb-users] will this work? In-Reply-To: <004801c86d9d$dd5ef4e0$6401a8c0@Precision670> References: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670> <2d81dedb0802120934m4c200762if797d2dd96a43cfc@mail.gmail.com> <004801c86d9d$dd5ef4e0$6401a8c0@Precision670> Message-ID: <2d81dedb0802120952w1518e066v9e442decbbe1cfb3@mail.gmail.com> Yep, I just checked and it's 1.4.2. I'm on OS X and I probably have the oldest machine of all the people who've been running this, so it's a fair bet all the machines I'm talking about have been on 1.4 as well. On 2/12/08, Bill Walton wrote: > Giles Bowkett wrote: > > > I've had CC.rb running on two or three boxes with > > Ruby 1.8.6, all with no problem at all. Whatever the > > bug is, I haven't encountered it. We're just running > > rake and pinging a Campfire chat room whenever a > > build fails. Slightly more involved, but only slightly. > > Excellent news. Thanks, Giles. Are you at 1.4 of SVN ? > > Thanks, > Bill > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From emarceta at gmail.com Tue Feb 12 13:33:57 2008 From: emarceta at gmail.com (Emil Marceta) Date: Tue, 12 Feb 2008 19:33:57 +0100 Subject: [Cruisecontrolrb-users] Trac integration (https://oss.werkbold.de/trac-cc) Message-ID: <74b000990802121033i2ab25aeew67689261eadeb573@mail.gmail.com> Hi there, There is a Trac plugin for CruiseControl, and I was wandering if there is a way to produce the build result files as described on https://oss.werkbold.de/trac-cc/wiki/CruiseControlSection. Or is it that a plugin can only integrate with the Java CruiseControl? cheers, emil From bill.walton at charter.net Tue Feb 12 14:18:32 2008 From: bill.walton at charter.net (Bill Walton) Date: Tue, 12 Feb 2008 14:18:32 -0500 Subject: [Cruisecontrolrb-users] will this work? References: <000901c86d9c$a9c5fdf0$6401a8c0@Precision670><2d81dedb0802120934m4c200762if797d2dd96a43cfc@mail.gmail.com><004801c86d9d$dd5ef4e0$6401a8c0@Precision670> <2d81dedb0802120952w1518e066v9e442decbbe1cfb3@mail.gmail.com> Message-ID: <005401c86dac$0e7f5ed0$6401a8c0@Precision670> Thanks! ----- Original Message ----- From: "Giles Bowkett" To: Sent: Tuesday, February 12, 2008 12:52 PM Subject: Re: [Cruisecontrolrb-users] will this work? > Yep, I just checked and it's 1.4.2. From alexey.verkhovsky at gmail.com Tue Feb 12 14:51:15 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Tue, 12 Feb 2008 12:51:15 -0700 Subject: [Cruisecontrolrb-users] Trac integration (https://oss.werkbold.de/trac-cc) In-Reply-To: <74b000990802121033i2ab25aeew67689261eadeb573@mail.gmail.com> References: <74b000990802121033i2ab25aeew67689261eadeb573@mail.gmail.com> Message-ID: <3945c4270802121151v38533fe3y98bac296f6a0432@mail.gmail.com> On Feb 12, 2008 11:33 AM, Emil Marceta wrote: > There is a Trac plugin for CruiseControl, and I was wandering if there > is a way to produce the build result files as described on > https://oss.werkbold.de/trac-cc/wiki/CruiseControlSection. In all their angle-brackety glory (shudders)? :) I suppose it's doable (as a step in your build). Writing a Trac plugin that doesn't assume CC build log format may be a better option though. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From thewoolleyman at gmail.com Wed Feb 13 05:07:36 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 13 Feb 2008 03:07:36 -0700 Subject: [Cruisecontrolrb-users] gmail smtp config help? Message-ID: When I use this in my site_config: ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "cc-hostname.com", :authentication => :plain, :user_name => "username at gmail.com", :password => "password" } I get this error on a failing build: 535 5.7.1 Credentials Rejected h34sm2177938wxd.38 at /usr/local/lib/ruby/1.8/net/smtp.rb:577:in `auth_plain' I have verified the username/pw is valid, I can log in via gmail web interface. I have tried both username and username at gmail.com. Anyone have a working gmail example I can use? Thanks, -- Chad From bketelsen at gmail.com Wed Feb 13 05:19:55 2008 From: bketelsen at gmail.com (Brian Ketelsen) Date: Wed, 13 Feb 2008 05:19:55 -0500 Subject: [Cruisecontrolrb-users] gmail smtp config help? In-Reply-To: References: Message-ID: <3056B412-7252-49FA-AB87-1C736F6E38DC@gmail.com> gmail is port 995 for secure smtp. On Feb 13, 2008, at 5:07 AM, Chad Woolley wrote: > When I use this in my site_config: > > ActionMailer::Base.smtp_settings = { > :address => "smtp.gmail.com", > :port => 587, > :domain => "cc-hostname.com", > :authentication => :plain, > :user_name => "username at gmail.com", > :password => "password" > } > > I get this error on a failing build: > > 535 5.7.1 Credentials Rejected h34sm2177938wxd.38 at > /usr/local/lib/ruby/1.8/net/smtp.rb:577:in `auth_plain' > > I have verified the username/pw is valid, I can log in via gmail web > interface. I have tried both username and username at gmail.com. Anyone > have a working gmail example I can use? > > Thanks, > -- Chad > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From shlirmit at gmail.com Wed Feb 13 19:16:30 2008 From: shlirmit at gmail.com (Shuhu Li ( mike )) Date: Thu, 14 Feb 2008 11:16:30 +1100 Subject: [Cruisecontrolrb-users] How can i get successful build email from cruise control ruby? Message-ID: <925502290802131616x6b4f4b78t4c75999177172aae@mail.gmail.com> How can i get successful build email from cruise control ruby version? I can only email notification once the build failed. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080214/c6229e00/attachment.html From alexey.verkhovsky at gmail.com Wed Feb 13 19:44:35 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 13 Feb 2008 17:44:35 -0700 Subject: [Cruisecontrolrb-users] How can i get successful build email from cruise control ruby? In-Reply-To: <925502290802131616x6b4f4b78t4c75999177172aae@mail.gmail.com> References: <925502290802131616x6b4f4b78t4c75999177172aae@mail.gmail.com> Message-ID: <3945c4270802131644q2a9d71b6n695e7236aed5cba9@mail.gmail.com> On Feb 13, 2008 5:16 PM, Shuhu Li ( mike ) wrote: > How can i get successful build email from cruise control ruby version? > I can only email notification once the build failed. Look at email_notifier.rb, change the logic (and message text) in EmailNotifier#build_finished, and remove EmailNotifier#build_fixed -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From eoga at elctech.com Mon Feb 18 15:54:52 2008 From: eoga at elctech.com (Emmanuel Oga) Date: Mon, 18 Feb 2008 18:54:52 -0200 Subject: [Cruisecontrolrb-users] Ask for user / password to look in dashboard Message-ID: How is there a way to request user / password for dashboard users? Thanks -- Emmanuel Oga ELC Technologies (TM) 1921 State Street Santa Barbara, CA 93101 eoga at elctech.com (866)863-7365 Tel (866)893-1902 Fax +44 (0) 20 7504 1346 Tel - London Office +44 (0) 20 7504 1347 Fax - London Office http://www.elctech.com From ben at benburkert.com Mon Feb 18 17:53:58 2008 From: ben at benburkert.com (Ben Burkert) Date: Mon, 18 Feb 2008 16:53:58 -0600 Subject: [Cruisecontrolrb-users] git + cruisecontrolrb Message-ID: <13de14180802181453p5e2f5b12t920624bbc625437@mail.gmail.com> hey all, If anyone is interested, I've got a fork of cruisecontrolrb that works with git repositories. It's hosted on github: http://github.com/benburkert/cruisecontrolrb Big thanks to Sylvain Joyeux for the unexpected help. -Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080218/fc60f82a/attachment.html From t.lucas at toolmantim.com Mon Feb 18 18:56:01 2008 From: t.lucas at toolmantim.com (Tim Lucas) Date: Tue, 19 Feb 2008 10:56:01 +1100 Subject: [Cruisecontrolrb-users] git + cruisecontrolrb In-Reply-To: <13de14180802181453p5e2f5b12t920624bbc625437@mail.gmail.com> References: <13de14180802181453p5e2f5b12t920624bbc625437@mail.gmail.com> Message-ID: On 19/02/2008, at 9:53 AM, Ben Burkert wrote: > If anyone is interested, I've got a fork of cruisecontrolrb that > works with git repositories. It's hosted on github: http://github.com/benburkert/cruisecontrolrb > > Big thanks to Sylvain Joyeux for the unexpected help. noice! I started, but did a couple of refactorings before I even started: http://git.toolmantim.com/cc_rb.git?a=shortlog;h=git haven't done anything since. I was intending to check out Simon Moore's work he did in December before doing anything else: http://saimonmoore.net/2007/12/19/git-plugin-for-cruisecontrolrb His repo's down but was available here: git://saimonmoore.net:cruisecontrolrb.git Simon also had a JIRA ticket he was waiting on: http://jira.public.thoughtworks.org/browse/CCRB-167 -- tim From virginia.willett at recondotech.com Fri Feb 22 13:00:08 2008 From: virginia.willett at recondotech.com (Virginia Willett) Date: Fri, 22 Feb 2008 11:00:08 -0700 Subject: [Cruisecontrolrb-users] Running a Nightly Build with a different trigger Message-ID: <34BDFBE99738224A95074CB8A2C54D6E5790A3@recsbs1.RecondoTech.com> We currently have a project that does a build upon a checkin, but I was wondering if there's a way to configure a project to also trigger a nightly build, but using a different trigger from our rakefile than our normal configuration. Is this currently possible? -Virginia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080222/b08a6592/attachment.html From averkhov at thoughtworks.com Fri Feb 22 15:07:56 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 22 Feb 2008 14:07:56 -0600 Subject: [Cruisecontrolrb-users] Running a Nightly Build with a different trigger Message-ID: > We currently have a project that does a build upon a > checkin, but I was wondering if there?s a way to configure a project to > also trigger a nightly build Here is what I would do: 1. Create another project on the same CC.rb site, and call it something like MyProject-nightly-build 2. Write a custom build trigger to do nightly builds. See successful_build_trigger.rb for inspiration. 3. In MyProject-nightly-build, replace the default build trigger with your custom one, thus: project.build_triggers = [NightlyBuildTrigger.new] --Alex From pschless at mdlogix.com Mon Feb 25 17:55:04 2008 From: pschless at mdlogix.com (Patrick Schless) Date: Mon, 25 Feb 2008 16:55:04 -0600 Subject: [Cruisecontrolrb-users] no such file to load -- cc:build Message-ID: <14d766500802251455n7bc47cd5hbdd8260a84f5c977@mail.gmail.com> I have CC set up to monitor a handful of projects, and recently they started failing silently with the error: "no such file to load -- cc:build" (see trace below) The command CC is trying to run is: /srv/www/cc/projects/cr/work cruise$ ruby -e require 'rubygems' rescue nil; require 'rake'; load '/srv/www/cc/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run If I paste those commands into a script (newline-delimited) and run it, there is no exception. However, even when the exception does occur (when CC is building the project), all the tasks in :cruise seem to run correctly, and the build is marked as successful.. Google reports that I'm not the first person with this issue, but I haven't seen any answers to this question yet. Any thoughts/comments would be appreciated, Patrick Exception trace: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- cc:build (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' from /srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' from /srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:83:in `collect_file' from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:70:in `recursive_collect' from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:26:in `collect' from /usr/lib/ruby/1.8/test/unit/autorunner.rb:67 from /usr/lib/ruby/1.8/test/unit/autorunner.rb:198:in `[]' from /usr/lib/ruby/1.8/test/unit/autorunner.rb:198:in `run' from /usr/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run' from /usr/lib/ruby/1.8/test/unit.rb:278 from -e:1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080225/1bfdc923/attachment-0001.html From jsmorris at gmail.com Tue Feb 26 15:43:45 2008 From: jsmorris at gmail.com (jsmorris) Date: Tue, 26 Feb 2008 13:43:45 -0700 Subject: [Cruisecontrolrb-users] Best way to log output from custom plugin on build finish Message-ID: <30e162460802261243h1836c99cqf699fdbb02e249e2@mail.gmail.com> I have been trying to add some logging information from my custom plugin to the build output, but no luck. I have been using variations of CruiseControl::Log.event("...") CruiseControl::Log.info("...") but nothing I try seems to output anywhere. I have looked in the build.log, production.log, _builder.log, etc Any help explaining how to log and where the messages will show up will be appreciated. I am hoping for my plugin messages to end up in the build.log output, something like C:/tools/cruisecontrolrb/cruisecontrolrb-1.2.1/projects/xxxx-deploy/work jmorris2$ ruby -e "require 'rubygems' rescue nil; require 'rake'; load 'C:/tools/cruisecontrolrb/cruisecontrolrb-1.2.1/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run" (in C:/tools/cruisecontrolrb/cruisecontrolrb-1.2.1/projects/xxxx-deploy/work) [CruiseControl] Invoking Rake task "cruise:deploy:dev" deploying to development... <-- this message is from puts in my rakefile My custom message here... <-- this message would be from my custom plugin that runs after the build finishes Thanks, Jason From jseutter at gmail.com Tue Feb 26 17:16:32 2008 From: jseutter at gmail.com (Jerry Seutter) Date: Tue, 26 Feb 2008 15:16:32 -0700 Subject: [Cruisecontrolrb-users] Can't authenticate with mail server Message-ID: <2c8d48d70802261416t45b821bdhb5d61945aebd4b6b@mail.gmail.com> Hi, I am having difficulty sending notification emails through a mail server. Here is the trace output: Build 19829.2 FAILED -> "220 smtp.xxx.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830ready at Tue, 26 Feb 2008 14:43:52 -0700 \r\n" <- "EHLO xxx.com\r\n" -> "250-smtp.xxx.com Hello [172.16.2.27]\r\n" -> "250-TURN\r\n" -> "250-SIZE\r\n" -> "250-ETRN\r\n" -> "250-PIPELINING\r\n" -> "250-DSN\r\n" -> "250-ENHANCEDSTATUSCODES\r\n" -> "250-8bitmime\r\n" -> "250-BINARYMIME\r\n" -> "250-CHUNKING\r\n" -> "250-VRFY\r\n" -> "250-X-EXPS GSSAPI NTLM LOGIN\r\n" -> "250-X-EXPS=LOGIN\r\n" -> "250-AUTH GSSAPI NTLM LOGIN\r\n" -> "250-AUTH=LOGIN\r\n" -> "250-X-LINK2STATE\r\n" -> "250-XEXCH50\r\n" -> "250 OK\r\n" <- "STARTTLS\r\n" -> "554 5.7.3 Unable to initialize security subsystem\r\n" -> "220 smtp.xxx.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830ready at Tue, 26 Feb 2008 14:43:52 -0700 \r\n" <- "EHLO pason.com\r\n" -> "250-smtp.xxx.com Hello [172.16.2.27]\r\n" -> "250-TURN\r\n" -> "250-SIZE\r\n" -> "250-ETRN\r\n" -> "250-PIPELINING\r\n" -> "250-DSN\r\n" -> "250-ENHANCEDSTATUSCODES\r\n" -> "250-8bitmime\r\n" -> "250-BINARYMIME\r\n" -> "250-CHUNKING\r\n" -> "250-VRFY\r\n" -> "250-X-EXPS GSSAPI NTLM LOGIN\r\n" -> "250-X-EXPS=LOGIN\r\n" -> "250-AUTH GSSAPI NTLM LOGIN\r\n" -> "250-AUTH=LOGIN\r\n" -> "250-X-LINK2STATE\r\n" -> "250-XEXCH50\r\n" -> "250 OK\r\n" <- "AUTH PLAIN AGRoZW1haWwAfng2PGo8Xxx=\r\n" -> "504 5.7.4 Unrecognized authentication type.\r\n" I have verified the username, password and hostname. The server is not using TLS. Why is cruisecontrol issuing STARTTLS? Here is the relevant section from my site_config.rb: ActionMailer::Base.smtp_settings = { :address => "smtp.int.xxx.com", :port => 25, :domain => "xxx.com", :authentication => :plain, :user_name => "yyyyyyyy", :password => "xxxxxxxx", } The behaviour is the same with cruisecontrolrb 1.2.1 and trunk. Any ideas? Jerry Seutter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080226/e6f0ebc2/attachment.html From itsdave101 at gmail.com Wed Feb 27 01:15:56 2008 From: itsdave101 at gmail.com (itsdave101 at gmail.com) Date: Tue, 26 Feb 2008 22:15:56 -0800 Subject: [Cruisecontrolrb-users] reporting failures Message-ID: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> >>* I have been runing CC.rb for a couple of days now. I notice that the *>>* dashboard claims that a build passed even when a few of my unit tests *>>* fail. I would like to enforce the condition that ALL tests need to *>>* pass, for the build to be successful. *>>* *>>* Is there a way to do that? *> > Yup. Upgrade Ruby to 1.8.6 patchlevel 111, or downgrade to 1.8.5. This > is a known bug in some of the earlier 1.8.6 releases. i just upgraded to 1.8.6 patch level 111 and i still seem to be experiencing the same thing... Finished in 6.445108 seconds 450 examples, 2 failures, 91 pending rake aborted! yet, cruisecontrolrb still reports success. any ideas? Thanks, David Meiners -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080226/ad57de84/attachment.html From thewoolleyman at gmail.com Wed Feb 27 02:29:08 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 27 Feb 2008 00:29:08 -0700 Subject: [Cruisecontrolrb-users] reporting failures In-Reply-To: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> References: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> Message-ID: On Tue, Feb 26, 2008 at 11:15 PM, itsdave101 at gmail.com wrote: > Finished in 6.445108 seconds > > 450 examples, 2 failures, 91 pending > rake aborted! > > yet, cruisecontrolrb still reports success. > > > any ideas? Look closely at the return code of your rake tasks, or however you invoke your tests/specs. Try running them manually, outside of cruise, and inspect the return code ($?). See if you can track down the false positive return code. -- Chad From alexey.verkhovsky at gmail.com Wed Feb 27 16:20:08 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 27 Feb 2008 14:20:08 -0700 Subject: [Cruisecontrolrb-users] Can't authenticate with mail server In-Reply-To: <2c8d48d70802261416t45b821bdhb5d61945aebd4b6b@mail.gmail.com> References: <2c8d48d70802261416t45b821bdhb5d61945aebd4b6b@mail.gmail.com> Message-ID: <3945c4270802271320h2e01d233kfdb7a0c4c717987b@mail.gmail.com> On Tue, Feb 26, 2008 at 3:16 PM, Jerry Seutter wrote: > I am having difficulty sending notification emails through a mail server. > <- "AUTH PLAIN AGRoZW1haWwAfng2PGo8Xxx=\r\n" > -> "504 5.7.4 Unrecognized authentication type.\r\n" Awesome. The way I read it, your Microsoft Exchange Server is configured to not accept AUTH PLAIN. Try to add :authentication => :login to ActionMailer::Base.smtp_settings hash. If I read the ActionMailer and Net::SMTP code correctly, this should make CC.rb use AUTH LOGIN instead of AUTH PLAIN. Re STARTTLS. CC.rb (trunk) monkey-patches Net::SMTP to try and open a TLS connection. If server responds with an error code, CC.rb restarts the SMTP conversation from scratch (literally, closes the socket, opens another one, says EHLO again etc). Reasons: 1. We want to TLS because GMail SMTP server requires it. 2. Some old SMTP servers that don't have TLS drop the connection after rejecting STARTTLS. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From itsdave101 at gmail.com Wed Feb 27 17:33:30 2008 From: itsdave101 at gmail.com (itsdave101 at gmail.com) Date: Wed, 27 Feb 2008 14:33:30 -0800 Subject: [Cruisecontrolrb-users] reporting failures In-Reply-To: References: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> Message-ID: <53c1414f0802271433v8cfa6b3ocb904e9d15c9774a@mail.gmail.com> On Tue, Feb 26, 2008 at 11:29 PM, Chad Woolley wrote: > On Tue, Feb 26, 2008 at 11:15 PM, itsdave101 at gmail.com > wrote: > > Finished in 6.445108 seconds > > > > 450 examples, 2 failures, 91 pending > > rake aborted! > > > > yet, cruisecontrolrb still reports success. > > > > > > any ideas? > > Look closely at the return code of your rake tasks, or however you > invoke your tests/specs. Try running them manually, outside of > cruise, and inspect the return code ($?). See if you can track down > the false positive return code. > > -- Chad I think i figured it out. seems I should be using Rake::Task["spec"].invoke as opposed to system "rake spec" found my answer here: http://railsbros.de/2007/11/19/rake-code-cruise-code-task David. > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080227/4c6005fe/attachment.html From thewoolleyman at gmail.com Wed Feb 27 18:56:38 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 27 Feb 2008 16:56:38 -0700 Subject: [Cruisecontrolrb-users] reporting failures In-Reply-To: <53c1414f0802271433v8cfa6b3ocb904e9d15c9774a@mail.gmail.com> References: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> <53c1414f0802271433v8cfa6b3ocb904e9d15c9774a@mail.gmail.com> Message-ID: On Wed, Feb 27, 2008 at 3:33 PM, itsdave101 at gmail.com wrote: > I think i figured it out. seems I should be using > > Rake::Task["spec"].invoke > > as opposed to > > system "rake spec" > > found my answer here: > http://railsbros.de/2007/11/19/rake-code-cruise-code-task Here's what we do: execute "time rake spec --trace" def execute(cmd) system(cmd) || raise("Build failed") end ..but there are some drawbacks to that, so the Rake::Task.invoke may be better in some cases... BTW I just noticed your ID. Dave's not here!!! -- Chad From alexey.verkhovsky at gmail.com Wed Feb 27 19:24:45 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 27 Feb 2008 17:24:45 -0700 Subject: [Cruisecontrolrb-users] reporting failures In-Reply-To: References: <53c1414f0802262215r774e816bn4c59f8da787914df@mail.gmail.com> <53c1414f0802271433v8cfa6b3ocb904e9d15c9774a@mail.gmail.com> Message-ID: <3945c4270802271624o523824b2ia42d19a2b397f741@mail.gmail.com> On Wed, Feb 27, 2008 at 4:56 PM, Chad Woolley wrote: > Here's what we do: > execute "time rake spec --trace" Or you can just use FileUtils::sh() instead of system(). The only catch is that sh() prints out the command before executing it. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]