From ab35df37d8a0d528938fefd3b3c637d9b9b4c0d1 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Fri, 11 Mar 2016 04:06:50 -0500 Subject: [PATCH 1/2] version 1 --- xCAT-test/autotest/testcase/analyze_log/case0 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 xCAT-test/autotest/testcase/analyze_log/case0 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 From fc06dfa0888eb8c26f156c7f593d8b7db8f8b511 Mon Sep 17 00:00:00 2001 From: caomengmeng Date: Fri, 1 Apr 2016 13:54:16 +0800 Subject: [PATCH 2/2] Update OS information --- xCAT-test/autotest/testcase/analyze_log/case0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/analyze_log/case0 b/xCAT-test/autotest/testcase/analyze_log/case0 index 41b937f79..3f39c38a1 100644 --- a/xCAT-test/autotest/testcase/analyze_log/case0 +++ b/xCAT-test/autotest/testcase/analyze_log/case0 @@ -1,6 +1,6 @@ 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 +os:Linux +description:check known error message in /var/log/xcat/cluster.log file. Only for redhat and sles. 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"