mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #6560 from gurevichmark/kdump_testcase_update
kdump testcase enhancements3
This commit is contained in:
commit
ca83c09e76
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user