diff options
author | Markos Chandras <mchandras@suse.de> | 2018-09-06 11:34:54 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-09-06 11:34:54 +0100 |
commit | d1198dfb66c99f89103cf2ed219f2f82c0fca224 (patch) | |
tree | be7711287fafab7c7f615e447d427a667632ec58 /jjb/xci | |
parent | bb2c391860925d09fe43aba926926a9b436459c2 (diff) |
jjb: xci: Make sure all virtualbmc process are gone
Daily jobs run on the actual slave so they leave virtualbmc processes
running even when the job is finished. As such, we need to make sure
that such artifacts are gone as soon as we start a new job.
Change-Id: I82f49279cc105e788db466e5040e6a31c537af5c
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/xci')
-rw-r--r-- | jjb/xci/xci-daily-jobs.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/xci/xci-daily-jobs.yaml b/jjb/xci/xci-daily-jobs.yaml index 5f75b0e28..2c692dd45 100644 --- a/jjb/xci/xci-daily-jobs.yaml +++ b/jjb/xci/xci-daily-jobs.yaml @@ -324,6 +324,8 @@ echo "Removing $vm" sudo virsh destroy $vm > /dev/null 2>&1 || true sudo virsh undefine $vm > /dev/null 2>&1 || true + sudo killall -r vbmc > /dev/null 2>&1 || true + sudo rm -rf /root/.vbmc > /dev/null 2>&1 || true done echo "---------------------------------------------------------------------------------" |