Skriloff, Nicholas
2007-May-10 20:59 UTC
[Cruisecontrolrb-users] build should break if tests do not pass.
Why does cruise control not report that the build is broken if the tests do NOT pass? How do I have cruise control send an email if the tests do not pass? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070510/01aab87d/attachment.html
Matt Deiters
2007-May-10 21:58 UTC
[Cruisecontrolrb-users] build should break if tests do not pass.
Are you using ruby 1.8.6? If so, there is an issue with exit codes. Try using ruby 1.8.4 or 1.8.5 and you will see the build status as broken when your tests don''t pass. Matt>From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu> >To: <cruisecontrolrb-users at rubyforge.org> >Subject: [Cruisecontrolrb-users] build should break if tests do not pass. >Date: Thu, 10 May 2007 16:59:18 -0400 > > > > > >Why does cruise control not report that the build is broken if the tests >do NOT pass? How do I have cruise control send an email if the tests >do not pass? > > > > > > > > >>_______________________________________________ >Cruisecontrolrb-users mailing list >Cruisecontrolrb-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Skriloff, Nicholas
2007-May-11 11:49 UTC
[Cruisecontrolrb-users] build should break if tests do not pass.
. That does not appear to be the problem. Is there a ticket number I can review that explains the bug? There is one installation of ruby on this box. Tests run against sql server. D:\>ruby -v ruby 1.8.5 (2006-08-25) [i386-mswin32] Is there a simple fix I can do to the code or a file you can give me to drop in some directory? -----Original Message----- From: Alexey Verkhovsky [mailto:alexey.verkhovsky at gmail.com] Sent: Thursday, May 10, 2007 5:20 PM To: Skriloff, Nicholas Subject: Re: [Cruisecontrolrb-users] build should break if tests do not pass. On 5/10/07, Skriloff, Nicholas <SkriloffN at darden.virginia.edu> wrote:> Why does cruise control not report that the build is broken if thetests do> NOT pass? How do I have cruise control send an email if the tests donot> pass?It''s a known Ruby 1.8,.6 bug that will be fixed in the 1.8.6 patch release, whenever that happens. Solution for now is to downgrade to Ruby 1.8.5. -- Alex Verkhovsky
Skriloff, Nicholas
2007-May-11 11:51 UTC
[Cruisecontrolrb-users] build should break if tests do not pass.
I will try ruby 1.8.4 because we are on ruby 1.8.5. If some of our applications on this box depend on ruby 1.8.5, can ruby 1.8.4 be run together with 1.8.5 if I install it in a different directory? Also, if you have done this are their any things I should know about? -----Original Message----- From: Matt Deiters [mailto:mdeiters at msn.com] Sent: Thursday, May 10, 2007 5:59 PM To: Skriloff, Nicholas; cruisecontrolrb-users at rubyforge.org Subject: RE: [Cruisecontrolrb-users] build should break if tests do not pass. Are you using ruby 1.8.6? If so, there is an issue with exit codes. Try using ruby 1.8.4 or 1.8.5 and you will see the build status as broken when your tests don''t pass. Matt>From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu> >To: <cruisecontrolrb-users at rubyforge.org> >Subject: [Cruisecontrolrb-users] build should break if tests do notpass.>Date: Thu, 10 May 2007 16:59:18 -0400 > > > > > >Why does cruise control not report that the build is broken if thetests>do NOT pass? How do I have cruise control send an email if the tests >do not pass? > > > > > > > > >>_______________________________________________ >Cruisecontrolrb-users mailing list >Cruisecontrolrb-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
Matt Deiters
2007-May-11 13:24 UTC
[Cruisecontrolrb-users] build should break if tests do not pass.
The problem was in ruby 1.8.6, if you are at 1.8.5...then it must be another issue. This is the bug I was referring to: http://rubyforge.org/pipermail/cruisecontrolrb-users/2007-April/000067.html Matt>From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu> >To: <cruisecontrolrb-users at rubyforge.org> >CC: "Matt Deiters" <mdeiters at msn.com> >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not >pass. >Date: Fri, 11 May 2007 07:51:55 -0400 > >I will try ruby 1.8.4 because we are on ruby 1.8.5. If some of our >applications on this box depend on ruby 1.8.5, can ruby 1.8.4 be run >together with 1.8.5 if I install it in a different directory? Also, if >you have done this are their any things I should know about? > >-----Original Message----- >From: Matt Deiters [mailto:mdeiters at msn.com] >Sent: Thursday, May 10, 2007 5:59 PM >To: Skriloff, Nicholas; cruisecontrolrb-users at rubyforge.org >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not >pass. > > >Are you using ruby 1.8.6? If so, there is an issue with exit codes. Try >using ruby 1.8.4 or 1.8.5 and you will see the build status as broken >when >your tests don''t pass. > >Matt > > >From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu> > >To: <cruisecontrolrb-users at rubyforge.org> > >Subject: [Cruisecontrolrb-users] build should break if tests do not >pass. > >Date: Thu, 10 May 2007 16:59:18 -0400 > > > > > > > > > > > >Why does cruise control not report that the build is broken if the >tests > >do NOT pass? How do I have cruise control send an email if the tests > >do not pass? > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > >Cruisecontrolrb-users mailing list > >Cruisecontrolrb-users at rubyforge.org > >http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >
Jeremy Stell-Smith
2007-May-11 14:51 UTC
[Cruisecontrolrb-users] Fwd: build should break if tests do not pass.
---------- Forwarded message ---------- From: Jeremy Stell-Smith <jeremystellsmith at gmail.com> Date: May 11, 2007 7:50 AM Subject: Re: [Cruisecontrolrb-users] build should break if tests do not pass. To: Matt Deiters <mdeiters at msn.com> there is no known problem with broken tests not failing a build on 1.8.5. if you want to check to see if you can fail a build add a task like this to your rake file task :cruise do exit 1 end the build should fail. after that it''s a question of how you are running your tests from rake. you can run the build manually and check the return code (it should be non-zero on a failed build) On 5/11/07, Matt Deiters <mdeiters at msn.com> wrote:> > > The problem was in ruby 1.8.6, if you are at 1.8.5...then it must be > another > issue. > > This is the bug I was referring to: > > http://rubyforge.org/pipermail/cruisecontrolrb-users/2007-April/000067.html > > > Matt > > >From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu > > >To: <cruisecontrolrb-users at rubyforge.org> > >CC: "Matt Deiters" <mdeiters at msn.com> > >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not > >pass. > >Date: Fri, 11 May 2007 07:51:55 -0400 > > > >I will try ruby 1.8.4 because we are on ruby 1.8.5. If some of our > >applications on this box depend on ruby 1.8.5, can ruby 1.8.4 be run > >together with 1.8.5 if I install it in a different directory? Also, if > >you have done this are their any things I should know about? > > > >-----Original Message----- > >From: Matt Deiters [mailto:mdeiters at msn.com] > >Sent: Thursday, May 10, 2007 5:59 PM > >To: Skriloff, Nicholas; cruisecontrolrb-users at rubyforge.org > >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not > >pass. > > > > > >Are you using ruby 1.8.6? If so, there is an issue with exit codes. Try > >using ruby 1.8.4 or 1.8.5 and you will see the build status as broken > >when > >your tests don''t pass. > > > >Matt > > > > >From: "Skriloff, Nicholas" <SkriloffN at darden.virginia.edu > > > >To: <cruisecontrolrb-users at rubyforge.org> > > >Subject: [Cruisecontrolrb-users] build should break if tests do not > >pass. > > >Date: Thu, 10 May 2007 16:59:18 -0400 > > > > > > > > > > > > > > > > > >Why does cruise control not report that the build is broken if the > >tests > > >do NOT pass? How do I have cruise control send an email if the tests > > >do not pass? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > > >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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070511/a93d2a1c/attachment.html
Skriloff, Nicholas
2007-May-11 15:47 UTC
[Cruisecontrolrb-users] Fwd: build should break if tests do notpass.
The problem I had was that I was calling rake test:coverage instead of rake:test . Coverage found a broken test but cruise control did not see it as a broken test. Thank you everyone. ________________________________ From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Jeremy Stell-Smith Sent: Friday, May 11, 2007 10:51 AM To: Cruise Users Subject: [Cruisecontrolrb-users] Fwd: build should break if tests do notpass. ---------- Forwarded message ---------- From: Jeremy Stell-Smith <jeremystellsmith at gmail.com> Date: May 11, 2007 7:50 AM Subject: Re: [Cruisecontrolrb-users] build should break if tests do not pass. To: Matt Deiters <mdeiters at msn.com> there is no known problem with broken tests not failing a build on 1.8.5. if you want to check to see if you can fail a build add a task like this to your rake file task :cruise do exit 1 end the build should fail. after that it''s a question of how you are running your tests from rake. you can run the build manually and check the return code (it should be non-zero on a failed build) On 5/11/07, Matt Deiters <mdeiters at msn.com> wrote: The problem was in ruby 1.8.6, if you are at 1.8.5...then it must be another issue. This is the bug I was referring to: http://rubyforge.org/pipermail/cruisecontrolrb-users/2007-April/000067.h tml Matt>From: "Skriloff, Nicholas" < SkriloffN at darden.virginia.edu<mailto:SkriloffN at darden.virginia.edu> >>To: <cruisecontrolrb-users at rubyforge.org> >CC: "Matt Deiters" < mdeiters at msn.com> >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not >pass. >Date: Fri, 11 May 2007 07:51:55 -0400 > >I will try ruby 1.8.4 because we are on ruby 1.8.5. If some of our >applications on this box depend on ruby 1.8.5, can ruby 1.8.4 be run >together with 1.8.5 if I install it in a different directory? Also,if>you have done this are their any things I should know about? > >-----Original Message----- >From: Matt Deiters [mailto:mdeiters at msn.com] >Sent: Thursday, May 10, 2007 5:59 PM >To: Skriloff, Nicholas; cruisecontrolrb-users at rubyforge.org >Subject: RE: [Cruisecontrolrb-users] build should break if tests do not >pass. > > >Are you using ruby 1.8.6? If so, there is an issue with exit codes. Try >using ruby 1.8.4 or 1.8.5 and you will see the build status as broken >when >your tests don''t pass. > >Matt > > >From: "Skriloff, Nicholas" < SkriloffN at darden.virginia.edu<mailto:SkriloffN at darden.virginia.edu> >> >To: <cruisecontrolrb-users at rubyforge.org> > >Subject: [Cruisecontrolrb-users] build should break if tests do not >pass. > >Date: Thu, 10 May 2007 16:59:18 -0400 > > > > > > > > > > > >Why does cruise control not report that the build is broken if the >tests > >do NOT pass? How do I have cruise control send an email if thetests> >do not pass? > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ > >Cruisecontrolrb-users mailing list > >Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users<http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users>> >_______________________________________________ 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/20070511/2f4498f8/attachment.html