Limiter mechanism - Not working
Not able to make the testsuite running. It seems to be a problem in the parsing of the return value of submission command.
$ python WMS-limiter-mechanism.py -c wms-command.conf -V testers.eu-emi.eu -d 3 -l -t 1,2,3,4,6,7,8
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service
===> + Description: WMS Limiter Mechanism
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
Test 1: Test option --load1 threshold for load average (1 min)
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 2: Test option --load5 threshold for load average (5 min)
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 3: Test option --load15 threshold for load average (15 min)
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 4: Test option --memusage threshold for memory usage (%)
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 6: Test option --ftpconn threshold for number of FTP connections
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 7: Test option --diskusage threshold for disk usage (%)
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
Test 8: Test option --fdnum threshold for used file descriptor
===> ERROR: Faulure reason is not 'System load is too high:' as expected.
===>
===> Test: WMS-limiter-mechanism.py
===> WMS: emitestbed44.cnaf.infn.it
===> Started: 13:46:10
===> Ended : 13:46:52
===>
===> >>> TEST FAILED <<<
===>
===> >>> failure reason: 7 test(s) fail(s): ['Test 1: Test option --load1 threshold for load average (1 min)', 'Test 2: Test option --load5 threshold for load average (5 min)', 'Test 3: Test option --load15 threshold for load average (15 min)', 'Test 4: Test option --memusage threshold for memory usage (%)', 'Test 6: Test option --ftpconn threshold for number of FTP connections', 'Test 7: Test option --diskusage threshold for disk usage (%)', 'Test 8: Test option --fdnum threshold for used file descriptor'] <<<
===>
===> Test log file is WMSService-TS_20130220134610.log
===> Error messages have been written in /home/bertocco/WMS-Test-Suite-new/WMS-service/WMSService-Test_20130220134610/errors.log
===>
===> Test directory /home/bertocco/WMS-Test-Suite-new/WMS-service/WMSService-Test_20130220134610 has not been cleaned for debug purpose
|