From a49a6ef46fcdf7ebf7e83b539bc208e47a45e1a0 Mon Sep 17 00:00:00 2001 From: "litingt@cn.ibm.com" Date: Tue, 25 Oct 2016 22:22:53 -0400 Subject: [PATCH 1/2] updaet for debug SN failed case --- xCAT-test/autotest/testcase/installation/SN_setup_case | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-test/autotest/testcase/installation/SN_setup_case b/xCAT-test/autotest/testcase/installation/SN_setup_case index e2746d592..e036411c4 100644 --- a/xCAT-test/autotest/testcase/installation/SN_setup_case +++ b/xCAT-test/autotest/testcase/installation/SN_setup_case @@ -1,5 +1,6 @@ start:SN_setup_case os:Linux +stop:yes cmd:/opt/xcat/share/xcat/tools/autotest/testcase/installation/pre_deploy_sn __GETNODEATTR($$SN,os)__ __GETNODEATTR($$SN,arch)__ check:rc==0 From 4dc05c0b6e6dd27b83c3dd9ff57816fccecfe850 Mon Sep 17 00:00:00 2001 From: "litingt@cn.ibm.com" Date: Tue, 25 Oct 2016 22:38:17 -0400 Subject: [PATCH 2/2] update for SN failed case debug --- xCAT-test/autotest/testcase/installation/SN_setup_case | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-test/autotest/testcase/installation/SN_setup_case b/xCAT-test/autotest/testcase/installation/SN_setup_case index e036411c4..773d00d3c 100644 --- a/xCAT-test/autotest/testcase/installation/SN_setup_case +++ b/xCAT-test/autotest/testcase/installation/SN_setup_case @@ -9,6 +9,10 @@ cmd:chtab key=nameservers site.value="" check:rc==0 #cmd:if [ "__GETNODEATTR($$SN,arch)__" != "ppc64" -a "__GETNODEATTR($$SN,mgt)__" != "ipmi" ];then if [[ "__GETNODEATTR($$SN,vmstorage)__" =~ "phy" ]]; then rmvm $$SN -f -p && mkvm $$SN; else rmvm $$SN -f -p && mkvm $$SN -s 20G; fi;fi #Add for debug rmvm issue +cmd:tabdump -w node==$$SN kvm_nodedata |grep -i $$SN +check:rc==0 +cmd:kvmhost=__GETNODEATTR($$SN,vmhost)__;xdsh $kvmhost ls -l /var/lib/libvirt/images/ +check:rc==0 cmd:if [ "__GETNODEATTR($$SN,arch)__" != "ppc64" -a "__GETNODEATTR($$SN,mgt)__" != "ipmi" ];then if [[ "__GETNODEATTR($$SN,vmstorage)__" =~ "phy" ]]; then rmvm $$SN -f -p && mkvm $$SN; else rmvm $$SN -f -p;mkvm $$SN;rmvm $$SN -f -p;mkvm $$SN -s 20G; fi;fi cmd:makedns -n