diff --git a/xCAT-test/autotest/testcase/analyze_log/case0 b/xCAT-test/autotest/testcase/analyze_log/case0 new file mode 100644 index 000000000..41b937f79 --- /dev/null +++ b/xCAT-test/autotest/testcase/analyze_log/case0 @@ -0,0 +1,10 @@ +start:check_mn_cluster_log_file +os:linux,only support redhat and sles +description:check known error message in /var/log/xcat/cluster.log file +cmd:cat /var/log/xcat/cluster.log | grep "xcatd: Error happened when receiving data from DB access" +check:output!~xcatd: Error happened when receiving data from DB access +cmd:cat /var/log/xcat/cluster.log | grep "Undefined subroutine &main" +check:output!~ "Undefined subroutine &main" +cmd:cat /var/log/xcat/cluster.log | grep "xcatd: possible BUG encountered by xCAT UDP service" +check:output!~"xcatd: possible BUG encountered by xCAT UDP service" +end