Presentation is loading. Please wait.

Presentation is loading. Please wait.

3/5/2007Chris Green, FNAL / OSG VO-Level Site Validation.

Similar presentations


Presentation on theme: "3/5/2007Chris Green, FNAL / OSG VO-Level Site Validation."— Presentation transcript:

1 3/5/2007Chris Green, FNAL / OSG VO-Level Site Validation

2 3/5/2007Chris Green, FNAL / OSG Why another test suite? Fills a niche; (especially small) VOs have specific questions relevant to how their application(s) will run, eg: →Presence of particular tools or libraries on the CE or worker nodes (MPI, workflow management, Curl, DB clients, globus-url-copy, srmcp, Squid); →Various “grades” of network connectivity (incoming, outgoing, proxied web, external DB access); →Other site configuration specifics: writability of OSG_APP or OSG_DATA from worker nodes, even OS type; →Actual versus VORS-advertised support of VO or a specific user on a site (GRAM error 7, 47, 22).

3 3/5/2007Chris Green, FNAL / OSG Overview Perl: →Extensible through module inheritance and dynamic code evaluation; →Good chance of familiarity for VO admins; →Fast development / test cycle. Supports multiple discovery types: →Commands including globus-job-run (now); →Batch jobs (soon); →LDAP (soon).

4 3/5/2007Chris Green, FNAL / OSG Details Suite includes a VORS client to provide a list of sites supporting a particular VO. Obtains credentials (VOMS proxy). Summary page (text, HTML, CSV), and detailed results for each site / test.

5 3/5/2007Chris Green, FNAL / OSG my @module_list = ( { command => "gridSiteTest::Ping" }, { command => "gridSiteTest::Environment" }, { command => "gridSiteTest::ForkCommand", args => [ "CE user check", "/usr/bin/id" ], attributes => { "fork-options" => undef, "stage-command" => undef } }, { command => "gridSiteTest::ForkCommand", args => [ "DF check", "/bin/df", "-hP" ] }, { command => "gridSiteTest::CEGridFTPCheck", args => [ "/tmp" ] }, { command => "gridSiteTest::CEGUMSDetector" } ); Details: Configuration Shell command or module name arguments Other attributes (modules only)

6 3/5/2007Chris Green, FNAL / OSG Details: New tests package gridSiteTest::Ping; use strict; use vars qw(@ISA); require gridSiteTest::Test; @ISA = qw(gridSiteTest::Test); sub new { my $class = shift; my $self = gridSiteTest:: Test->new("CE ping test"); $self->mark_as_prerequisite(); return bless $self, $class; } Boiler plate This test must pass before others will run on the same site. Inheritance

7 3/5/2007Chris Green, FNAL / OSG Details: New tests (cont) sub execute { my ($self, $gatekeeper) = @_; $self->SUPER::execute(); $gatekeeper =~ s&:.*$&&; $self->set_status($self ->logged_system_command (undef, "ping", "-c", "1", "$gatekeeper")); if ($self->status() != 0) { $self-> set_status($self->logged_system_command (undef, "globusrun", "-r", "$gatekeeper", "-a")); } if ($self->status() == 0) { $self->add_result("Ping", "OK", $self->{SUCCESS}); } else { $self->add_result("Ping", sprintf("NO PING (%s)", $self->status()), $self->{FAILURE}); } } Boiler plate Address only, not jobmanager First command If failed, try second command Report Label result as success Label result as failure

8 3/5/2007Chris Green, FNAL / OSG Details: Test Results SITE: CIT_CMS_T2 GATEKEEPER: cit-gatekeeper.ultralight.org:2119/jobmanager-condor TEST: gridSiteTest::Environment DESCRIPTION: CE environment test DATE: Thu Mar 1 10:46:31 CST 2007 EXIT CODE: 0 ------------------------------------------------------------------------ Test results ------------ Status: 0 (PASS) AUTH OK?: YES (PASS) OSG_APP?: YES OSG_DATA?: YES OSG_WN_TMP?: YES ------------------------------------------------------------------------ Boiler plate Summary results

9 3/5/2007Chris Green, FNAL / OSG Details: Test Results (cont) Test details ------------ Command ------- globus-job-run cit-gatekeeper.ultralight.org /usr/bin/printenv ------------------------------------ Output ------ GLITE_LOCATION=/home/osgwn0.4.1/glite GLOBUS_GRAM_JOB_CONTACT=https://cithep170.ultralight.org:51879/11873/1172767589/ GLOBUS_GRAM_MYJOB_CONTACT=URLx-nexus://cithep170.ultralight.org:44994/ GLOBUS_LOCATION=/osg/0.4.1/globus ------------------------------------ Details, including STDOUT, STDERR (if applicable), command and test-specific details.

10 3/5/2007Chris Green, FNAL / OSG Colored according to test’s labeling of result’s significance: SUCCESS; FAILURE; INFO. Summary Page Links to detailed test results

11 3/5/2007Chris Green, FNAL / OSG Status Baseline features remaining to be added: →LDAP / ReSS discovery and associated examples. →Batch job management and associated examples. Still needs documentation, polish.


Download ppt "3/5/2007Chris Green, FNAL / OSG VO-Level Site Validation."

Similar presentations


Ads by Google