mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +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:
commit
2d8394c495
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user