diff options
author | Pascal Terjan <pterjan@mageia.org> | 2024-04-12 19:20:41 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2024-04-12 19:21:10 +0000 |
commit | 394650c206a83a9dd4c962ffb334750071cf0e5f (patch) | |
tree | 03c35378d79a322ef0c821f917c710cc148a2cc5 /ulri | |
parent | dece1249cfdf070c7f7fdd8e4eee099436d87ead (diff) | |
download | iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.gz iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.bz2 iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.tar.xz iurt-394650c206a83a9dd4c962ffb334750071cf0e5f.zip |
ulri: Add some logging
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |