aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-08-10 10:01:45 +0000
committerPascal Terjan <pterjan@mageia.org>2018-08-10 10:01:45 +0000
commit4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63 (patch)
treed3b4332234d8c524da9743ece5b43bc0e7c3e932
parent5e506f5fe70655782d99d376bcde8565e38d4f94 (diff)
downloadiurt-4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63.tar
iurt-4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63.tar.gz
iurt-4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63.tar.bz2
iurt-4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63.tar.xz
iurt-4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63.zip
Add/Update TODOs
-rwxr-xr-xulri2
1 files changed, 2 insertions, 0 deletions
diff --git a/ulri b/ulri
index 06742dc..41d7867 100755
--- a/ulri
+++ b/ulri
@@ -300,6 +300,7 @@ foreach my $prefix (keys %pkg_tree) {
next bot;
}
# TODO: In case of timeout, kill it!
+ # It should be a matter of kill -14 $pid, that should trigger cleanup
plog('FAIL', "$bot timed out on $host/$arch ($seconds sec) or " .
"it's dead (status $proc_state), removing lock");
$pkg_tree{$prefix}{media}{$media}{arch}{$arch} = 0;
@@ -329,6 +330,7 @@ foreach my $prefix (keys %pkg_tree) {
plog('FAIL', "install deps failure, rebuild later: $p");
$later{$prefix} = 1;
$later = 1;
+ # TODO: fetch/clean the logs
}
if ($r ne 'ok') {
plog('FAIL', "$r: $p");