[opensuse-buildservice] HTTP Error 500: Internal Server Error uncaught_exception execution expired
While attempting to build a very large C++ code (that takes literally hours to build here) I get the following error from the buildservice. Error: can't get 'https://api.opensuse.org/result/home:elvigia/openSUSE_10.2/crystalspace/x86_64/log?nostream=1&start=0' HTTP Error 500: Internal Server Error Debugging output follows. url: https://api.opensuse.org/result/home:elvigia/openSUSE_10.2/crystalspace/x86_64/log?nostream=1&start=0 response: <?xml version="1.0" encoding="UTF-8"?> <status code="uncaught_exception"> <summary>execution expired</summary> <details></details> <exception> <type>Timeout::Error</type> <message>execution expired</message> <backtrace> <line>/usr/lib64/ruby/1.8/timeout.rb:54:in `rbuf_fill'</line> <line>/usr/lib64/ruby/1.8/timeout.rb:56:in `timeout'</line> <line>/usr/lib64/ruby/1.8/timeout.rb:76:in `timeout'</line> <line>/usr/lib64/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'</line> <line>/usr/lib64/ruby/1.8/net/protocol.rb:116:in `readuntil'</line> <line>/usr/lib64/ruby/1.8/net/protocol.rb:126:in `readline'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:2195:in `read_chunked'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:2175:in `read_body_0'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:2141:in `read_body'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:2166:in `body'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:2105:in `reading_body'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:1048:in `request'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:944:in `request_get'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:375:in `get_response'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:545:in `start'</line> <line>/usr/lib64/ruby/1.8/net/http.rb:374:in `get_response'</line> <line>/srv/www/opensuse/frontend/current/public/../config/../lib/opensuse/backend.rb:116:in `do_get'</line> <line>/srv/www/opensuse/frontend/current/public/../config/../lib/opensuse/backend.rb:75:in `get_log_chunk'</line> <line>/srv/www/opensuse/frontend/current/public/../config/../app/controllers/result_controller.rb:130:in `log'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:910:in `perform_action_without_filters'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'</line> <line>/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in `perform_action'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in `process_without_filters'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in `process_without_session_management_support'</line> <line>/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in `process'</line> <line>/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in `dispatch'</line> <line>/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:150:in `process_request'</line> <line>/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:54:in `process!'</line> <line>/usr/lib64/ruby/1.8/fcgi.rb:612:in `each_cgi'</line> <line>/usr/lib64/ruby/1.8/fcgi.rb:609:in `each_cgi'</line> <line>/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:53:in `process!'</line> <line>/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:23:in `process!'</line> <line>/srv/www/opensuse/frontend/current/public/dispatch.fcgi:24</line> </backtrace> </exception> </status> is there a time limit for jobs in the buildservice ??
On Wed, Mar 21, 2007 at 07:32:24PM -0400, Cristian Rodriguez R. wrote:
While attempting to build a very large C++ code (that takes literally hours to build here) I get the following error from the buildservice.
Error: can't get 'https://api.opensuse.org/result/home:elvigia/openSUSE_10.2/crystalspace/x86_64/log?nostream=1&start=0' HTTP Error 500: Internal Server Error [...]
is there a time limit for jobs in the buildservice ??
No, I think the problem is that the api doesn't stream the logfile. I might be wrong, though. Andreas? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday, 22. March 2007 12:36, Michael Schroeder wrote:
On Wed, Mar 21, 2007 at 07:32:24PM -0400, Cristian Rodriguez R. wrote:
While attempting to build a very large C++ code (that takes literally hours to build here) I get the following error from the buildservice.
Error: can't get 'https://api.opensuse.org/result/home:elvigia/openSUSE_10.2/crystalspace/ x86_64/log?nostream=1&start=0' HTTP Error 500: Internal Server Error [...]
is there a time limit for jobs in the buildservice ??
No, I think the problem is that the api doesn't stream the logfile. I might be wrong, though. Andreas?
Might be. I'll investigate it.
Cheers, Michael.
-- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday, 22. March 2007 12:36, Michael Schroeder wrote:
On Wed, Mar 21, 2007 at 07:32:24PM -0400, Cristian Rodriguez R. wrote:
While attempting to build a very large C++ code (that takes literally hours to build here) I get the following error from the buildservice.
Error: can't get 'https://api.opensuse.org/result/home:elvigia/openSUSE_10.2/crystalspace/ x86_64/log?nostream=1&start=0' HTTP Error 500: Internal Server Error [...]
is there a time limit for jobs in the buildservice ??
No, I think the problem is that the api doesn't stream the logfile. I might be wrong, though. Andreas?
I don't think that's it. As far as I remember, nostream causes the backend to send all data it has, and if no data is ready, block until there is data. So, it could be the case that no log data is written in the backend for more than 1 minute, which causes the frontend to timeout. I'll catch the timeout exceptions and just send no data back to the client.
Cheers, Michael.
-- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Andreas Bauer
-
Cristian Rodriguez R.
-
Michael Schroeder