Testing the tape-gateway

This Twiki page was primarily created to document the concrete evidence that the tape-gateway daemon is fit for release onto c2repack. This page is divided into two sections, the description of the tests and actual test results.

Description of tests

This section describes the tests which must be carried out on the tape-gateway in order to decide whether or not it is fit for production. This section should not contain any ambiguities. From reading the description of a test, a CASTOR developer or operator should know why they are carrying out the test, how it should be done and the results they should expect.

Each test is documented as a text file in the trunk of the CASTOR svn repository. This means the tests can be continually improved and “testers” can browse then them using the web interface to svn.

The documentation of each test uses the following 7 section headings as a template:

  • THE NAME OF TEST
  • THE PURPOSE OF THE TEST
  • THE PREREQUISITES OF THE TEST
  • INSTRUCTIONS DESCRIBING HOW TO SET UP THE ENVIRONMENT OF THE TEST
  • INSTRUCTIONS DESCRIBING HOW TO CARRY OUT THE TEST
  • EXPECTED RESULTS
  • INSTRUCTIONS DESCRIBING HOW TO TEAR DOWN THE ENVIRONMENT OF THE TEST

Description of good-day functional tests

Test name Documentation
Migrate and recall 10 single tape-copy files Text file in svn
Migrate and recall 10 dual tape-copy files Text file in svn

Description of bad-day functional tests

Test name Documentation
Migrate 10 files nsrm whilst TAPECOPY_WAITINSTREAMS Text file in svn
Migrate 10 files modifying ns checksum whilst TAPECOPY CREATED Text file in svn
Migrate 10 files with CNS HOST set to non existing host Text file in svn
Migrate 10 files with disk server rfiod down Text file in svn
Migrate 10 files with vdqm down Text file in svn
Migrate 10 files with vmgr down Text file in svn
Recall 10 files modifying ns checksum whilst TAPECOPY TOBERECALLED Text file in svn
Recall 10 files nsrm whilst TAPECOPY TOBERECALLED Text file in svn
Recall 10 files with CNS HOST set to non existing host Text file in svn
Recall 10 files with disk server rfiod down Text file in svn
Recall 10 files with tape ARCHIVED whilst TAPECOPY WAITINSTREAMS Text file in svn

Description of good-day stress tests

Test name Documentation
Migrate until end of 2 tapes Text file in svn
Migrate and recall stress test Text file in svn
Repack 2 tapes Text file in svn

Actual test results

Test name Svn branch tested with revision Test hardware Date of test Name of tester Result of test
Migrate and recall 10 single tape-copy files v2_1_9_7_gateway rev 20988 lxcastordev03 Tue Jul 12 Eric Cano PASSED
Migrate and recall 10 dual tape-copy files v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files nsrm whilst TAPECOPY_WAITINSTREAMS v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files modifying ns checksum whilst TAPECOPY CREATED v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files with CNS HOST set to non existing host v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files with disk server rfiod down v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files with vdqm down v2_1_9_7_gateway rev       TOBEDONE
Migrate 10 files with vmgr down v2_1_9_7_gateway rev       TOBEDONE
Recall 10 files modifying ns checksum whilst TAPECOPY TOBERECALLED v2_1_9_7_gateway rev       TOBEDONE
Recall 10 files nsrm whilst TAPECOPY TOBERECALLED v2_1_9_7_gateway rev       TOBEDONE
Recall 10 files with CNS HOST set to non existing host v2_1_9_7_gateway rev       TOBEDONE
Recall 10 files with disk server rfiod down v2_1_9_7_gateway rev       TOBEDONE
Recall 10 files with tape ARCHIVED whilst TAPECOPY WAITINSTREAMS v2_1_9_7_gateway rev       TOBEDONE
Migrate until end of 2 tapes v2_1_9_7_gateway rev       TOBEDONE
Migrate and recall stress test v2_1_9_7_gateway rev       TOBEDONE
Migrate until end of 2 tapes v2_1_9_7_gateway rev 20868 castorcert5 Wed Jun 30 Steven Murray PASSED
Migrate until end of 2 tapes v2_1_9_7_gateway rev 20988 castorcert5 Sat Jul 10 Steven Murray PASSED
Repack 2 tapes v2_1_9_7_gateway rev 20988 castorcert5 Mon Jul 12 Steven Murray PASSED
Migrate and recall stress test v2_1_9_7_gateway rev 20988 castorcert5 Fri Jul 16 Steven Murray PASSED
-- StevenMurray - 28-Jun-2010
Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r20 - 2010-07-17 - StevenMurray
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    DataManagement All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback