]>
git.apps.os.sepia.ceph.com Git - teuthology.git/commit
stdin-killer: do not setpgrp if already leader
Fixes failure like:
2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr:Traceback (most recent call last):
2023-08-03T19:40:10.942 INFO:teuthology.orchestra.run.smithi100.stderr: File "/usr/bin/stdin-killer", line 213, in <module>
2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr: os.setpgrp()
2023-08-03T19:40:10.943 INFO:teuthology.orchestra.run.smithi100.stderr:PermissionError: [Errno 1] Operation not permitted
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>