The test "Automatic Job Purge" fails with the error "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger".
$ /usr/bin/pybot -i auto_job_purge /opt/cream_test/testsuite/cream_test_suite.html
INFO: The files of this testsuite will be stored under: /tmp/tmpk2GhTW.cream_testing/
INFO: Non-mandatory variable "sec_cert" has not been set.
INFO: Non-mandatory variable "sec_key" has not been set.
INFO: Non-mandatory variable "sec_proxy_pass" has not been set.
==============================================================================
Cream Test Suite :: This is the main testing module,needed for testing the ...
==============================================================================
Automatic Job Purge :: This test case is testing the functionality... | FAIL |
_error: JobDBAdminPurger non-zero return value detected! Check report file.
------------------------------------------------------------------------------
Cream Test Suite :: This is the main testing module,needed for tes... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
To fix it it is needed to add to /usr/sbin/JobDBAdminPurger.sh the row:
classPath=${classPath}:/usr/share/java/log4j.jar
|