]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
run: do not block on greenlets after command exits 1216/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 30 Sep 2018 00:20:03 +0000 (17:20 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 1 Oct 2018 17:12:49 +0000 (10:12 -0700)
commitf3906070151993345168187341a4cf60972b66f0
treee4b2478c0815e236b7cceee35861c647bb94278c
parent40b83046328e04a21f1758159666f339f8120661
run: do not block on greenlets after command exits

The stdout/stderr greenlets will not necessarily exit when the command does if
child processes are stuck in an uninterruptible sleep. For example, the fsx.sh
workunit spawns fsx processes that may be left behind in the D state after
/bin/timeout kills fsx.sh. These are connected to the stdout/stderr pipes which
prevent the greenlets from exiting normally.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
teuthology/orchestra/run.py