Hello guys, Looks like latests commits (either to trunk or stable_1-2) broke the build completely (at least, for me). trunk: 996 (normalperson) ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] 61 tests, 494 assertions, 2 failures, 1 errors == 1) Failure: test_base_handler_config(ConfiguratorTest) [./test/test_configurator.rb:82]: <[Errno::EBADF, Errno::ECONNREFUSED]> exception expected but was Class: <Errno::ECONNRESET> Message: <"An existing connection was forcibly closed by the remote host."> ---Backtrace--- C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' C:/Ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' C:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' C:/Ruby/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' C:/Ruby/lib/ruby/1.8/net/http.rb:2018:in `read_new'' C:/Ruby/lib/ruby/1.8/net/http.rb:1059:in `request'' C:/Ruby/lib/ruby/1.8/net/http.rb:957:in `request_get'' C:/Ruby/lib/ruby/1.8/net/http.rb:380:in `get_response'' C:/Ruby/lib/ruby/1.8/net/http.rb:547:in `start'' C:/Ruby/lib/ruby/1.8/net/http.rb:379:in `get_response'' C:/Ruby/lib/ruby/1.8/net/http.rb:356:in `get'' ./test/test_configurator.rb:83:in `test_base_handler_config'' ./test/test_configurator.rb:82:in `test_base_handler_config'' --------------- 2) Failure: test_horrible_queries(HttpParserTest) [./test/test_http11.rb:221:in `test_horrible_queries'' ./test/test_http11.rb:219:in `times'' ./test/test_http11.rb:219:in `test_horrible_queries'']: <Mongrel::HttpParserError> exception expected but none was thrown. 3) Error: test_parse_ie6_urls(HttpParserTest): Mongrel::HttpParserError: Invalid HTTP format, parsing fails. ./test/test_http11.rb:67:in `execute'' ./test/test_http11.rb:67:in `test_parse_ie6_urls'' ./test/test_http11.rb:58:in `each'' ./test/test_http11.rb:58:in `test_parse_ie6_urls'' == "stable", on the other hand, is doom, pastie follows: http://pastie.caboo.se/172564 Don''t know what happened, or maybe it''s me :-P regards, -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams
Port already in use? Evan On Sat, Mar 29, 2008 at 5:56 PM, Luis Lavena <luislavena at gmail.com> wrote:> Hello guys, > > Looks like latests commits (either to trunk or stable_1-2) broke the > build completely (at least, for me). > > trunk: 996 (normalperson) > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > 61 tests, 494 assertions, 2 failures, 1 errors > > ==> > 1) Failure: > test_base_handler_config(ConfiguratorTest) [./test/test_configurator.rb:82]: > <[Errno::EBADF, Errno::ECONNREFUSED]> exception expected but was > Class: <Errno::ECONNRESET> > Message: <"An existing connection was forcibly closed by the remote host."> > ---Backtrace--- > C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' > C:/Ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' > C:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' > C:/Ruby/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' > C:/Ruby/lib/ruby/1.8/net/http.rb:2018:in `read_new'' > C:/Ruby/lib/ruby/1.8/net/http.rb:1059:in `request'' > C:/Ruby/lib/ruby/1.8/net/http.rb:957:in `request_get'' > C:/Ruby/lib/ruby/1.8/net/http.rb:380:in `get_response'' > C:/Ruby/lib/ruby/1.8/net/http.rb:547:in `start'' > C:/Ruby/lib/ruby/1.8/net/http.rb:379:in `get_response'' > C:/Ruby/lib/ruby/1.8/net/http.rb:356:in `get'' > ./test/test_configurator.rb:83:in `test_base_handler_config'' > ./test/test_configurator.rb:82:in `test_base_handler_config'' > --------------- > > 2) Failure: > test_horrible_queries(HttpParserTest) > [./test/test_http11.rb:221:in `test_horrible_queries'' > ./test/test_http11.rb:219:in `times'' > ./test/test_http11.rb:219:in `test_horrible_queries'']: > <Mongrel::HttpParserError> exception expected but none was thrown. > > 3) Error: > test_parse_ie6_urls(HttpParserTest): > Mongrel::HttpParserError: Invalid HTTP format, parsing fails. > ./test/test_http11.rb:67:in `execute'' > ./test/test_http11.rb:67:in `test_parse_ie6_urls'' > ./test/test_http11.rb:58:in `each'' > ./test/test_http11.rb:58:in `test_parse_ie6_urls'' > > ==> > "stable", on the other hand, is doom, pastie follows: > > http://pastie.caboo.se/172564 > > > Don''t know what happened, or maybe it''s me :-P > > regards, > -- > Luis Lavena > Multimedia systems > - > Human beings, who are almost unique in having the ability to learn from > the experience of others, are also remarkable for their apparent > disinclination to do so. > Douglas Adams > _______________________________________________ > Mongrel-development mailing list > Mongrel-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-development >-- Evan Weaver Cloudburst, LLC
On Sat, Mar 29, 2008 at 6:56 PM, Luis Lavena <luislavena at gmail.com> wrote:> Hello guys, > > Looks like latests commits (either to trunk or stable_1-2) broke the > build completely (at least, for me).Updated, it seems the sequence of rake tasks matters: rake clobber compile test (trunk) 1) Failure: test_base_handler_config(ConfiguratorTest) [./test/test_configurator.rb:82]: <[Errno::EBADF, Errno::ECONNREFUSED]> exception expected but was Class: <Errno::ECONNRESET> Message: <"An existing connection was forcibly closed by the remote host."> ---Backtrace--- C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' C:/Ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' C:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' C:/Ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' C:/Ruby/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' C:/Ruby/lib/ruby/1.8/net/http.rb:2018:in `read_new'' C:/Ruby/lib/ruby/1.8/net/http.rb:1059:in `request'' C:/Ruby/lib/ruby/1.8/net/http.rb:957:in `request_get'' C:/Ruby/lib/ruby/1.8/net/http.rb:380:in `get_response'' C:/Ruby/lib/ruby/1.8/net/http.rb:547:in `start'' C:/Ruby/lib/ruby/1.8/net/http.rb:379:in `get_response'' C:/Ruby/lib/ruby/1.8/net/http.rb:356:in `get'' ./test/test_configurator.rb:83:in `test_base_handler_config'' ./test/test_configurator.rb:82:in `test_base_handler_config'' --------------- 61 tests, 541 assertions, 1 failures, 0 errors == stable_1-2, on the other hand, still highly broken: 59 tests, 416 assertions, 2 failures, 35 errors -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams
Can you try binary searching stable to see when it broke? (Probably 995 though.) Evan On Sat, Mar 29, 2008 at 6:03 PM, Luis Lavena <luislavena at gmail.com> wrote:> On Sat, Mar 29, 2008 at 6:56 PM, Luis Lavena <luislavena at gmail.com> wrote: > > > Hello guys, > > > > Looks like latests commits (either to trunk or stable_1-2) broke the > > build completely (at least, for me). > > > Updated, it seems the sequence of rake tasks matters: > > rake clobber compile test > (trunk) > > > 1) Failure: > test_base_handler_config(ConfiguratorTest) [./test/test_configurator.rb:82]: > <[Errno::EBADF, Errno::ECONNREFUSED]> exception expected but was > Class: <Errno::ECONNRESET> > Message: <"An existing connection was forcibly closed by the remote host."> > ---Backtrace--- > C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' > C:/Ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' > C:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'' > C:/Ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' > C:/Ruby/lib/ruby/1.8/net/http.rb:2029:in `read_status_line'' > C:/Ruby/lib/ruby/1.8/net/http.rb:2018:in `read_new'' > C:/Ruby/lib/ruby/1.8/net/http.rb:1059:in `request'' > C:/Ruby/lib/ruby/1.8/net/http.rb:957:in `request_get'' > C:/Ruby/lib/ruby/1.8/net/http.rb:380:in `get_response'' > C:/Ruby/lib/ruby/1.8/net/http.rb:547:in `start'' > C:/Ruby/lib/ruby/1.8/net/http.rb:379:in `get_response'' > C:/Ruby/lib/ruby/1.8/net/http.rb:356:in `get'' > ./test/test_configurator.rb:83:in `test_base_handler_config'' > ./test/test_configurator.rb:82:in `test_base_handler_config'' > --------------- > > 61 tests, 541 assertions, 1 failures, 0 errors > > ==> > stable_1-2, on the other hand, still highly broken: > > 59 tests, 416 assertions, 2 failures, 35 errors > > > > -- > Luis Lavena > Multimedia systems > - > Human beings, who are almost unique in having the ability to learn from > the experience of others, are also remarkable for their apparent > disinclination to do so. > Douglas Adams > _______________________________________________ > Mongrel-development mailing list > Mongrel-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-development >-- Evan Weaver Cloudburst, LLC
On Sat, Mar 29, 2008 at 7:02 PM, Evan Weaver <evan at cloudbur.st> wrote:> Port already in use? >Yep, looks like one test isn''t teardown properly, but that only happens on stable branch, not in trunk (on trunk only one failure remains). It seems the merge didn''t happen properly? (or something is missing). -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams
It is possible that I just plain broke it--maybe related to the order of the tests, which could be different for you than for me. Try reverting the change around the method mentioned in http://mongrel.rubyforge.org/ticket/19 . The solution in the ticket didn''t really make sense and I need someone else to verify my change. Evan On Sat, Mar 29, 2008 at 6:07 PM, Luis Lavena <luislavena at gmail.com> wrote:> On Sat, Mar 29, 2008 at 7:02 PM, Evan Weaver <evan at cloudbur.st> wrote: > > Port already in use? > > > > Yep, looks like one test isn''t teardown properly, but that only > happens on stable branch, not in trunk (on trunk only one failure > remains). > > It seems the merge didn''t happen properly? (or something is missing). > > -- > > > Luis Lavena > Multimedia systems > - > Human beings, who are almost unique in having the ability to learn from > the experience of others, are also remarkable for their apparent > disinclination to do so. > Douglas Adams > _______________________________________________ > Mongrel-development mailing list > Mongrel-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-development >-- Evan Weaver Cloudburst, LLC
On Sat, Mar 29, 2008 at 7:12 PM, Evan Weaver <evan at cloudbur.st> wrote:> It is possible that I just plain broke it--maybe related to the order > of the tests, which could be different for you than for me. > > Try reverting the change around the method mentioned in > http://mongrel.rubyforge.org/ticket/19 . The solution in the ticket > didn''t really make sense and I need someone else to verify my change. >Can you try this in latest version? ruby -Ilib;ext;bin;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/test_helper.rb" "test/unit/test_cgi_wrapper.rb" "test/unit/test_command.rb" "test/unit/test_conditional.rb" "test/unit/test_configurator.rb" "test/unit/test_debug.rb" "test/unit/test_handlers.rb" "test/unit/test_http_parser.rb" "test/unit/test_redirect_handler.rb" "test/unit/test_request_progress.rb" "test/unit/test_response.rb" "test/unit/test_stats.rb" "test/unit/test_uriclassifier.rb" "test/unit/test_ws.rb" (only change the rake_test_loader.rb location). -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams