mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-24 20:20:33 +00:00
Display console log entries when genesis nodeset testcases fail
This commit is contained in:
@@ -277,6 +277,8 @@ sub testxdsh {
|
||||
if (($value == 1) || ($value == 2) || ($value == 3)) {
|
||||
`$xdsh_command`;
|
||||
if ($?) {
|
||||
# First attempt to run xdsh failed, display console log to see what happened, then try few more times
|
||||
`tail --lines 25 /var/log/consoles/$noderange.log`;
|
||||
my @i = (1..5);
|
||||
for (@i) {
|
||||
sleep 300;
|
||||
|
Reference in New Issue
Block a user