]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
supervisor: kill processes before gathering logs
authorJosh Durgin <jdurgin@redhat.com>
Tue, 9 Feb 2021 21:16:46 +0000 (21:16 +0000)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 9 Feb 2021 21:16:51 +0000 (21:16 +0000)
commit603b864ba0207ec6e3e30806dec0a7960e3a634e
tree0708d6a54eb3930edd50f16d862d0565e3a503bd
parent6f751efe557d2dfdb9a50b646321c84a9790d2bb
supervisor: kill processes before gathering logs

When we hit the max job timeout, we need to stop the test programs
before collecting logs or else we run into errors like 'file size
changed while zipping' trying to compress them, and we can't save them
or stop the job.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
teuthology/dispatcher/supervisor.py
teuthology/kill.py