aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2023-02-01 20:31:28 +0000
committerPascal Terjan <pterjan@mageia.org>2023-02-01 20:31:45 +0000
commit038b173945c77cb80c531dedb680565ebebe2955 (patch)
tree57c3ca88a90a4997f1dc4948d034feb277e7f998
parentc44235ae36864fde784a1c461966e0d4f0a86258 (diff)
downloadiurt-038b173945c77cb80c531dedb680565ebebe2955.tar
iurt-038b173945c77cb80c531dedb680565ebebe2955.tar.gz
iurt-038b173945c77cb80c531dedb680565ebebe2955.tar.bz2
iurt-038b173945c77cb80c531dedb680565ebebe2955.tar.xz
iurt-038b173945c77cb80c531dedb680565ebebe2955.zip
ulri: Fix a crash after build failures0.8.2.2
-rw-r--r--NEWS3
-rwxr-xr-xiurt2
-rwxr-xr-xulri2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 9524549..b816fba 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+0.8.2.2
+- ulri: Fix a crash after build failures
+
0.8.2.1
- Fix syntax checks to use local tree
diff --git a/iurt b/iurt
index 0a6e309..b8c374e 100755
--- a/iurt
+++ b/iurt
@@ -324,7 +324,7 @@ plog_init($program_name, $run{logfd} || $LOG, 7, 1); # For parsing command line
# Display version information
#
-my $version = '0.8.2.1';
+my $version = '0.8.2.2';
plog("MSG", "This is iurt version $version");
my $todo = parseCommandLine($program_name, \@ARGV, \@params);
diff --git a/ulri b/ulri
index 03c425b..b814708 100755
--- a/ulri
+++ b/ulri
@@ -306,7 +306,7 @@ foreach my $prefix (keys %pkg_tree) {
plog('FAIL', "$bot died on $host/$arch (status $proc_state), removing lock");
}
- fetch_and_delete_logs($remote, "$prefix_dir/log", "$fail_dir/$prefix");
+ fetch_logs_and_cleanup($remote, $prefix_dir, "$done_dir/$prefix");
record_bot_complete(\%run, $bot, $arch, $lock_file, $prefix, $ent, $media, $host, $pid);
next bot;