[opensuse-buildservice] Find missing files reported by bs_sched
Hi, bs_sched reports missing files: looking at low prio SLES10:SP2/standard (0/0/2/0/4) - SLES10:SP2/standard packages found: 2122 (hits: 2115, misses: 7) expanding dependencies sorting 0 packages building: 0, notready: 0 took 0 seconds to check the packages leaf prp, freeing data With this patch I tried to get bs_sched more verbose. I don' t know if the patch reports the correct files, because the reported files exists. Any ideas, how to find out the missing files? --- /usr/lib/obs/server/bs_sched.orig 2008-10-06 23:59:27.000000000 +0200 +++ /usr/lib/obs/server/bs_sched 2008-10-07 00:10:54.000000000 +0200 @@ -339,10 +339,13 @@ my $id = "$s[9]/$s[7]/$s[1]"; my $data; $data = $cache->{$id} if $cache; +print "File: $dir/$bin: "; if ($data) { $hits++; +print "OK\n"; } else { $misses++; +print "Missing\n"; $data = Build::query("$dir/$bin"); next unless $data; $data->{'id'} = $id; Ulf -- GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/616919... -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On 2008-10-07 00:23:51 +0200, Ulf wrote:
Hi,
bs_sched reports missing files: looking at low prio SLES10:SP2/standard (0/0/2/0/4) - SLES10:SP2/standard packages found: 2122 (hits: 2115, misses: 7) expanding dependencies sorting 0 packages building: 0, notready: 0 took 0 seconds to check the packages leaf prp, freeing data
With this patch I tried to get bs_sched more verbose. I don' t know if the patch reports the correct files, because the reported files exists.
Any ideas, how to find out the missing files?
Hmm I'm not quite sure if it is useful to print out which files are "missing". "Missing" means in this context that these files don't exist in the internal cache/data structure. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Marcus Hüwe
-
Ulf