UML Class Structure Diagram For Tests
...
Initial Table of Test Cases
Test Case Type | Description | Test Step | Expected Result | Status |
Functionality: Read-Write | File transferred via Xrdcp to Ceph server should be correct /contain the correct data | Obtain and compare the checksum of the initial file and the file on the server after transfer | Both checksum values should be the same | Pass or Fail |
Functionality: Metadata | Verify output data format is compatible with Ceph server | Check format of previous stats | Current stat and previous stat formats should be the same | Pass or Fail |
Functionality: Metadata | Ensure xrdadler32 produced checksums are in the correct format (big-endian) | Produce checksum with xrdadler32 and compare with big-endian format checksum | Produced checksum should be in big-endian format | Pass or Fail |
Functionality: Read-Write | Verify deletion removes data from server (After closure with --posc) | Perform deletion with XRootD in CL | Returned Ceph_posix_unlink status should show successful deletion, without -EBUSY status | Pass or Fail |
Functionality: TPC | Verify file can be transferred via third party copy (TPC) from server to server (--tpc) | Obtain checksum of files on sender server and compare to checksum on receiving server | Both checksum values should be the same | Pass or Fail |
Functionality: Read-Write | Verify copy speed can be limited to a specified rate (--xrate) | Set a rate limit during copy/transfer, and measure file size and time taken for transfer to complete to obtain rate | Speed should not exceed specified rate limit | Pass or Fail |
Functionality: Read-Write, TPC | Determine if server load is redirected to another server | Check status of file and size on server 1, and/or load average on server for duration of reading /writing | Load on servers should show a split, i.e. non-zero on server 2 | Pass or Fail |
Functionality: Read-Write, TPC | Verify end server is reached after global server redirection | Obtain end URL from log and end server’s URL | End URL should match end server URL | Pass or Fail |
Functionality: Read-Write, TPC | Verify files with an ATLAS token can be transferred to ATLAS | Generate ATLAS token, use in XRootD config and read/write file to ATLAS | Transfer should succeed | Pass or Fail |
Functionality: Read-Write, TPC | Verify files without ATLAS tokens cannot be transferred to ATLAS | Generate non-ATLAS /dummy token, use in XRootD config to read/write file to ATLAS | Transfer should not succeed (=Pass) | Pass or Fail |
Functionality: Read-Write, TPC | Determine that XRootD sends data over DAVS protocol | Use xrdcp to send data over DAVS protocol | Transfer should succeed | Pass or Fail |
Functionality: Read-Write, TPC | Verify dcache/xrootd format data can be transferred to external sites to LHC1 | Use xrdcp to transfer dcache/xrootd data to external LHC1 sites | Transfer should succeed | Pass or Fail |
Functionality: Read-Write, TPC | Verify dcache/xrootd format data can be transferred to external sites to LHCOPN | Use xrdcp to transfer dcache/xrootd data to external LHCOPN sites | Transfer should succeed | Pass or Fail |
Functionality: Read-Write, TPC | Verify files of 0 bytes are not transferred | Transfer file of 0 bytes to server | Transfer should fail (=Pass) | Pass or Fail |
Performance: Read-Write, TPC | Obtain speed of reading data | Transfer file to server and obtain speed |
| Speed given in MB/s |
Performance: Read-Write, TPC | Obtain speed of writing data | Transfer file to server and obtain speed |
| Speed given in MB/s |
Performance: Read-Write, TPC | Check files of 64 MB can be transferred | Transfer file of 64 MB to server | Transfer to server should succeed | Pass or Fail |
Performance: Read-Write, TPC | Verify transfer of files up to 4 GB | Transfer file of 4 GB to server | Transfer to server should succeed | Pass or Fail |