Quoting Michael Schroeder
On Mon, Jan 28, 2013 at 10:34:30AM +0100, Dominique Leuenberger
It already splits the download into chunks of 50 packages, but there's a request to get the state of the binaries done at the beginning of the worker_getbinaries function that may result in a too bug URL. There's an easy way to fix this: we can simply ask for all the binaries if the list is too big (untested diff):
--- bs_srcserver.orig 2013-01-21 12:12:58.000000000 +0100 +++ bs_srcserver 2013-01-28 11:31:38.049503000 +0100 @@ -6718,7 +6718,10 @@ 'uri' => "$remoteurl/build/$remoteprojid/$repoid/$arch/_repository", 'proxy' => $remoteproxy, }; - my $binarylistcpio = BSWatcher::rpc($param, $BSXML::binarylist, "view=names", map {"binary=$_"} @binaries); + my @binaryfilter = @binaries; + # don't filter if too many binaries are used + @binaryfilter = () if length(join(',binary=', @binaries)) > 1024; + my $binarylistcpio = BSWatcher::rpc($param, $BSXML::binarylist, "view=names", map {"binary=$_"} @binaryfilter); return undef if $BSStdServer::isajax && !$binarylistcpio; $binarylist = {}; for my $b (@{$binarylistcpio->{'binary'} || []}) {
Does that fix your problem?
Michael, I applied this diff to my bs_srcserver (had a few lines offset.. but otherwise clean). Restarted src server and triggered a rebuild of the 'failed' packages... so far it looks better (build did not fail within 15 seconds)... Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org