aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2024-04-12 19:20:41 +0000
committerPascal Terjan <pterjan@mageia.org>2024-04-12 19:21:10 +0000
commit394650c206a83a9dd4c962ffb334750071cf0e5f (patch)
tree03c35378d79a322ef0c821f917c710cc148a2cc5
parentdece1249cfdf070c7f7fdd8e4eee099436d87ead (diff)
downloadiurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar
iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.gz
iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.bz2
iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.xz
iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.zip
ulri: Add some logging
-rwxr-xr-xulri2
1 files changed, 2 insertions, 0 deletions
diff --git a/ulri b/ulri
index fe5ad84..63c6586 100755
--- a/ulri
+++ b/ulri
@@ -163,6 +163,7 @@ foreach my $prefix (keys %pkg_tree) {
# Everything is fine, build is continuing!
# Kill it if that package had failed on a mandatory arch
if (check_if_mandatory_arch_failed($media, $ent, $config)) {
+ plog('INFO', "A mandatory arch had failed, killing the build on $host/$arch");
ssh($remote, "kill -TERM $pid");
$pkg_tree{$prefix}{media}{$media}{cancelled_arch}{$arch} = 1;
create_file("$done_dir/${prefix}_$arch.cancelled", "$bot $host");
@@ -250,6 +251,7 @@ foreach my $prefix (keys %pkg_tree) {
if (check_if_mandatory_arch_failed($media, $ent, $config)) {
# Discard this arch as another mandatory one failed
+ plog('INFO', "A mandatory arch had failed, discarding the successful build from $host/$arch");
cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent, $media, $arch, $config);
ssh($remote, "rm -rf $prefix_dir");
} else {