kola/tests/misc: ignore unfinished systemd child listeners
@@ -68,9 +68,14 @@ func checkListeners(m platform.Machine, protocol string, filter string, listener
}
}
if valid != true {
+ // systemd renames child processes in parentheses before closing their fds
+ if processname[0] == '(' {
+ plog.Infof("Ignoring %q listener process: %q (pid %s) on %q", protocol, processname, pid, port)
+ } else {
return fmt.Errorf("Unexpected %q listener process: %q (pid %s) on %q", protocol, processname, pid, port)
}
}
+ }
return nil
}
