From c7547ae68d616cc9adcdf634437bbff5c3c6fb98 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Fri, 5 Apr 2019 16:33:46 +0200 Subject: [PATCH] Improving test vm data collection Collecting xml file with the vm data. Change-Id: I2ba245a5ff545a23c6c5e943412e133357207feb --- scripts/collect-test-info.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/collect-test-info.sh b/scripts/collect-test-info.sh index 01055629e..9fcc27cea 100755 --- a/scripts/collect-test-info.sh +++ b/scripts/collect-test-info.sh @@ -65,6 +65,8 @@ fi sudo vbmc list &> ${LOG_LOCATION}/vbmc.txt sudo virsh list --all &> ${LOG_LOCATION}/virsh-list.txt +TEST_VM=$(sudo virsh list --all --name | head -1) +sudo virsh dumpxml ${TEST_VM} > ${LOG_LOCATION}/${TEST_VM}_dump.xml ps auxf &> ${LOG_LOCATION}/ps.txt sudo chown -R $USER ${LOG_LOCATION}