mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Add labels for all installation test cases
This commit is contained in:
parent
d849e2f97c
commit
dfce294b2f
@ -1,6 +1,7 @@
|
||||
start:SN_diskless_setup_case
|
||||
description:this case is used to test diskless service node installation
|
||||
os:Linux
|
||||
label:sn_diskless,provision
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:SN_setup_case
|
||||
os:Linux
|
||||
label:sn_diskful,provision
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_diskfull_installation_flat
|
||||
os:Linux
|
||||
label:provision,flat_cn_diskful
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
@ -2,7 +2,7 @@ start:reg_linux_diskfull_installation_flat_postscripts_failed
|
||||
description:This case is for postscripts failed the status will return failed during diskfull installation.
|
||||
attribute:$$CN-The operation object of diskfull installation.
|
||||
os:Linux
|
||||
|
||||
label:others,invoke_provison,postscripts
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
cmd:MINIISO=NUll;if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu" ]] && [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]];then mkdir /tmp/iso; mount -o loop $$MINIISO /tmp/iso ; mkdir -p /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot; cp /tmp/iso/install/initrd.gz /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot;umount /tmp/iso; rmdir /tmp/iso; fi
|
||||
check:rc==0
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_diskfull_installation_hierarchy
|
||||
os:Linux
|
||||
label:provision,hierarchy_cn_diskful
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_diskless_installation_flat
|
||||
os:Linux
|
||||
label:provision,flat_cn_diskless
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
@ -2,6 +2,7 @@ start:reg_linux_diskless_installation_flat_postscripts_failed
|
||||
description:This case is for postscripts failed the status will return failed during diskless installation.
|
||||
attribute:$$CN-The operation object of diskless installation.
|
||||
os:Linux
|
||||
label:others,invoke_provison,postscripts
|
||||
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
@ -1,6 +1,7 @@
|
||||
start:reg_linux_diskless_installation_hierarchy
|
||||
os:Linux
|
||||
#stop:yes
|
||||
label:provision,hierarchy_cn_diskless
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
cmd:xdsh $$SN "echo "test"> /test.hierarchy"
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_statelite_installation_flat
|
||||
os:Linux
|
||||
label:others,provision,statelite
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_statelite_installation_hierarchy_by_nfs
|
||||
os:Linux
|
||||
label:provision,others,statelite
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:reg_linux_statelite_installation_hierarchy_by_ramdisk
|
||||
os:Linux
|
||||
label:provision,others,statelite
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
|
@ -1,7 +1,7 @@
|
||||
start:switch_to_dns_forward_mode
|
||||
description:The test case is used to switch the whole testing cluster to run in dns forward mode. This test case should run after service node deployment.
|
||||
os:Linux
|
||||
|
||||
label:others,dns
|
||||
##
|
||||
# Check if everything is fine
|
||||
##
|
||||
|
@ -1,5 +1,6 @@
|
||||
start:Full_installation_flat_docker
|
||||
os:Linux
|
||||
label:others,docker,invoke_provison
|
||||
cmd:copycds $$ISO
|
||||
check:rc==0
|
||||
cmd:makedns -n
|
||||
|
Loading…
x
Reference in New Issue
Block a user