hydra-evaluator: Reduce verbosity

This commit is contained in:
Eelco Dolstra 2014-09-30 00:29:36 +02:00
parent 09a96c642a
commit 5b4de2dee6
2 changed files with 5 additions and 5 deletions

View file

@ -477,7 +477,7 @@ sub checkBuild {
name => $firstOutputName, path => $firstOutputPath }, name => $firstOutputName, path => $firstOutputPath },
{ rows => 1, columns => ['id'], join => ['buildoutputs'] }); { rows => 1, columns => ['id'], join => ['buildoutputs'] });
if (defined $prevBuild) { if (defined $prevBuild) {
print STDERR " already scheduled/built as build ", $prevBuild->id, "\n"; #print STDERR " already scheduled/built as build ", $prevBuild->id, "\n";
$buildMap->{$prevBuild->id} = { id => $prevBuild->id, jobName => $jobName, new => 0, drvPath => $drvPath }; $buildMap->{$prevBuild->id} = { id => $prevBuild->id, jobName => $jobName, new => 0, drvPath => $drvPath };
return; return;
} }
@ -487,7 +487,7 @@ sub checkBuild {
# being added. # being added.
my $prev = $$jobOutPathMap{$jobName . "\t" . $firstOutputPath}; my $prev = $$jobOutPathMap{$jobName . "\t" . $firstOutputPath};
if (defined $prev) { if (defined $prev) {
print STDERR " already scheduled as build ", $prev, "\n"; #print STDERR " already scheduled as build ", $prev, "\n";
return; return;
} }
@ -555,11 +555,11 @@ sub checkBuild {
$$jobOutPathMap{$jobName . "\t" . $firstOutputPath} = $build->id; $$jobOutPathMap{$jobName . "\t" . $firstOutputPath} = $build->id;
if ($build->iscachedbuild) { if ($build->iscachedbuild) {
print STDERR " marked as cached build ", $build->id, "\n"; #print STDERR " marked as cached build ", $build->id, "\n";
addBuildProducts($db, $build); addBuildProducts($db, $build);
notifyBuildFinished($plugins, $build, []); notifyBuildFinished($plugins, $build, []);
} else { } else {
print STDERR " added to queue as build ", $build->id, "\n"; print STDERR "added build ${\$build->id} (${\$jobset->project->name}:${\$jobset->name}:$jobName)\n";
} }
}); });

View file

@ -164,7 +164,7 @@ sub checkJobsetWrapped {
my %buildMap; my %buildMap;
foreach my $job (permute(values %{$jobs})) { foreach my $job (permute(values %{$jobs})) {
next if defined $job->{error}; next if defined $job->{error};
print STDERR " considering job " . $project->name, ":", $jobset->name, ":", $job->{jobName} . "\n"; #print STDERR "considering job " . $project->name, ":", $jobset->name, ":", $job->{jobName} . "\n";
checkBuild($db, $jobset, $inputInfo, $nixExprInput, $job, \%buildMap, $prevEval, $jobOutPathMap, $plugins); checkBuild($db, $jobset, $inputInfo, $nixExprInput, $job, \%buildMap, $prevEval, $jobOutPathMap, $plugins);
} }