mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +00:00
add one section to collect data to do xCAT product analyse, have nothing to do with auto test main job
This commit is contained in:
@@ -927,6 +927,8 @@ sub do_test {
|
||||
}else{
|
||||
#to do part
|
||||
}
|
||||
|
||||
|
||||
|
||||
return 2 if($casestop);
|
||||
return 0;
|
||||
@@ -1206,6 +1208,12 @@ if ( !defined($pid) ) {
|
||||
}
|
||||
send_msg(2, "[$$] Run do_test...............[OK]");
|
||||
|
||||
#below code has nothing to do with xCAT autotest main job
|
||||
#just in order to collect logs and data to do xCAT product further analyse
|
||||
#----------start----------------
|
||||
&runcmd("scp -r $mn:/var/log/messages $mn:/var/log/xcat/computes.log $mn:/var/log/xcat/cluster.log $mn:/var/log/xcat/commands.log $logfiledir >/dev/null 2>&1");
|
||||
#-----------end-----------------
|
||||
|
||||
send_msg(2, "[$$]:whole regression test on $cluster_name finished");
|
||||
syswrite MNWRITE,"[$$][$deployenvtime]:whole regression test are successful\n";
|
||||
close MNWRITE;
|
||||
|
Reference in New Issue
Block a user