2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-30 01:45:32 +00:00

Merge pull request #7075 from gurevichmark/nodeset_shell_debug2

Testcase script needs to capture output and display using send_msg()
This commit is contained in:
besawn
2021-12-06 17:18:47 -05:00
committed by GitHub

View File

@ -278,7 +278,8 @@ sub testxdsh {
`$xdsh_command`;
if ($?) {
# First attempt to run xdsh failed, display console log to see what happened, then try few more times
`nodels $noderange | xargs -I % tail -v --lines 25 /var/log/consoles/%.log`;
my $console_log = `nodels $noderange | xargs -I % tail -v --lines 25 /var/log/consoles/%.log`;
send_msg(2, "Console log: $console_log \n");
my @i = (1..5);
for (@i) {
sleep 300;