2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

kdump testcase enhancements3

This commit is contained in:
Mark Gurevich 2020-02-03 09:48:08 -05:00
parent 4c025a7c9a
commit e20e5373cd

View File

@ -47,16 +47,16 @@ check:rc==0
cmd:chdef -t node $$CN -p postscripts=enablekdump
check:rc==0
# Verify kdump related attributes showup in the osimage and node definitions
cmd:lsdef -t node $$CN -i postscripts
cmd:lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -i crashkernelsize,dump
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
# Verify kdump related attributes showup in the osimage and node definitions
cmd:lsdef -t node $$CN -i postscripts
cmd:lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -i crashkernelsize,dump
cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
check:output=~Provision node\(s\)\: $$CN
@ -87,7 +87,7 @@ check:rc==0
cmd:xdsh $$CN df -H
# Verify enablekdump postscript was executed on the compute node
cmd:xdsh $$CN grep "enablekdump return with" /var/log/xcat/xcat.log
cmd:xdsh $$CN grep "enablekdump\ return\ with" /var/log/xcat/xcat.log
cmd:xdsh $$CN "at now +1 minutes <<< /tmp/kdump.trigger"
cmd:sleep 300