CREAM LSF module test plan
Unit tests
None
Deployment tests
Installation
The following should be tested:
- Fresh installation of a CREAM CE node with LSF, doing what is documented in the CREAM System administratror guide (Sections: "Installation of a CREAM CE node in no cluster mode" and "Installation of a CREAM CE node in cluster mode")
- Update from a previous version of the same EMI major release. This should be tested doing a simple
yum update
.
- Update from a previous EMI major release. TBD
The following installation and update scenarios should be tested:
- CREAM CE configured in cluster mode
- CREAM CE configured in no cluster mode
Configuration
The configuration via yaim should be tested.
The following scenarios should be tested:
- CREAM CE configured in cluster mode
- CREAM CE configured in no cluster mode
System tests
Basic functionality tests
Apel configuration test
Check in the CREAM CE node if the file
/etc/cron.d/glite-apel-lsf-parser
exists.
It should contain:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
35 01 * * * root env APEL_HOME=/ /usr/bin/apel-lsf-log-parser -f /etc/glite-apel-lsf/parser-config-yaim.xml >> /var/log/apel.log 2>&1
Verify that the file = /etc/glite-apel-lsf/parser-config-yaim.xml= exists.
Status:
Not Implemented
Dynamic information test
Log as root on the CREAM CE node and execute:
/sbin/runuser -s /bin/sh ldap -c "/var/lib/bdii/gip/plugin/glite-info-dynamic-ce"
If the CE is configured in cluster mode, this should print information for the glue1
GlueCE objectclasses
If the CE is configured in no cluster mode, this should print information for the glue1
GlueCE objectclasses, and for the glue2
GLUE2Manager and
Glue2Share objectclasses.
Check if the printed information is correct.
Query the resource BDII of the CREAM CE node and check if the published information is the same as the one returned by the glite-info-dynamic-ce script.
Status:
Not Implemented
Regression tests
See:
http://wiki.italiangrid.it/twiki/bin/view/CREAM/RegressionTestWorkPlan
Performance and scalability tests
None
Standard compliance and conformance tests
Glue 1 compliance
Glue 1 compliance of the information published by the CREAM CE resource bdii should be tested. This should be done using [[https://tomtools.cern.ch/confluence/display/IS/GLUEValidator]GlueValidator]].
Status:
Implemented in the GlueValidator testsuite
Glue 2 compliance
Glue 2 compliance of the information published by the CREAM CE resource bdii should be tested. This should be done using [[https://tomtools.cern.ch/confluence/display/IS/GLUEValidator]GlueValidator]].
Status:
Implemented in the GlueValidator testsuite
--
MassimoSgaravatto - 2011-12-30