2
0
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:
Mark Gurevich
2021-11-15 11:23:04 -05:00
parent 3553d2b383
commit b96be8eebc

View File

@@ -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;