Note: This web site is only kept up to date for OSG Software 1.2 (VDT 2.0.0). If you are looking for information for the most recent release, the RPM-based OSG Software 3.0, please see the OSG documentation web site

Certification Tests

VDT (1.1.8 and later) currently provides a list of certification tests. The tests are unit tests of basic functionality of:

Click here for detailed information about each test.

These tests can be retrieved via Pacman by downloading VDT-Test from the VDT cache:
   pacman -get VDT:VDT-Test

The tests can be run independently or by the VDT test harness also available from the VDT 1.1.8 (or later). The test harness runs a specified series of tests and captures their results, saving the output of unsuccessfully completed tests. The test harness also includes a suite of tests written by Globus developers. However, they have not been fully integrated into our test framework.

The test harness and VDT Certification tests install into

${VDT_LOCATION}/vdt/tests
directory.

In order to run certification tests, do the following

  • Make sure VDT_LOCATION is defined
  • Make sure python 2.0 (or higher) is in your PATH
  • cd ${VDT_LOCATION}/vdt/tests
  • Modify VDTCertificationTests to choose the tests you wish to run and/or set environment variables required by the tests.
  • Make sure that globus-gatekeeper, gsiftp, gram and condor are running on the test machine. If any of these services are down the associated tests will fail.
  • test_harness/runTests.py VDTCertificationTests
  • After the globus_init_grid_proxy test starts enter your grid cert password
    START TEST Root
    START TEST globus_init_grid_proxy.pl
    <type your password here>
    

    The test suite should run for several minutes. You should see something like this (in case of a successfull run):


    [ckireyev@condor-unsup-7 tests]$ test_harness/runTests.py VDTCertificationTests
    START TEST Root
    START TEST globus_init_grid_proxy.pl
    END TEST globus_init_grid_proxy.pl
    globus_init_grid_proxy.pl success
    START TEST globus_run_condor_standard_job.pl
    END TEST globus_run_condor_standard_job.pl
    globus_run_condor_standard_job.pl success
    START TEST globus_run_condor_vanilla_job.pl
    END TEST globus_run_condor_vanilla_job.pl
    globus_run_condor_vanilla_job.pl success
    START TEST globus_run_fork_job.pl
    END TEST globus_run_fork_job.pl
    globus_run_fork_job.pl success
    START TEST globus_url_copy.pl
    END TEST globus_url_copy.pl
    globus_url_copy.pl success
    START TEST condor-g_run_condor_standard_job.pl
    END TEST condor-g_run_condor_standard_job.pl
    condor-g_run_condor_standard_job.pl success
    START TEST condor-g_run_globus_fork_job.pl
    END TEST condor-g_run_globus_fork_job.pl
    condor-g_run_globus_fork_job.pl success
    START TEST condor_run_scheduler_universe_job.pl
    END TEST condor_run_scheduler_universe_job.pl
    condor_run_scheduler_universe_job.pl success
    START TEST condor_run_standard_universe_job.pl
    END TEST condor_run_standard_universe_job.pl
    condor_run_standard_universe_job.pl success
    START TEST condor_run_vanilla_universe_job.pl
    END TEST condor_run_vanilla_universe_job.pl
    condor_run_vanilla_universe_job.pl success
    END TEST Root
    
    ------------------------------------------------
    
    Results of 'Root'
    
    Total Tests:  10
    Failures:     0
    Errors:       0
    Successes:    10
    Percent success: 100.0
    ------------------------------------------------

    The tests that fail will dump their output on screen together with explanation of failure. For more information about using the harness and the tests themselves see README files in test_harness and certification-tests directories.