CREAM Torque module test plan

Unit tests

None

Deployment tests

Installation

The following should be tested:

  • Fresh installation of a CREAM CE node with Torque, 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:

  • Torque server installed in the CREAM CE node
  • Torque server installed in a different node than the CREAM CE node
  • 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:

  • Torque server installed in the CREAM CE node
  • Torque server installed in a different node than the CREAM CE node
  • 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-pbs-parser exists.

It should contain:

 
PATH=/sbin:/bin:/usr/sbin:/usr/bin
35 01 * * * root env APEL_HOME=/ /usr/bin/apel-pbs-log-parser -f /etc/glite-apel-pbs/parser-config-yaim.xml >> /var/log/apel.log 2>&1

Verify that the file = /etc/glite-apel-pbs/parser-config-yaim.xml= exists.

Status: Not Implemented

NB: This test is obsolete in EMI 3

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

Topic revision: r2 - 2013-03-13 - SaraBertocco
 

This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback