Certification report for LFC 1.8.2 (patch #5003, patch #5004; gLite 3.2 release)

Installation

During clean installation, the gpt package was installed from the production repository in advance:

# rpm -i http://linuxsoft.cern.ch/EGEE/gLite/R3.2/glite-SE_dpm_disk/sl5/x86_64/RPMS.externals/gpt-3.2autotools2004_NMI_9.0_x86_64_rhap_5-1.x86_64.rpm
Using system tar and gzip programs to unpack packages
GNU tar located at /bin/tar
GNU zip located at /bin/gzip
GNU unzip located at /bin/gunzip
GNU make located at /usr/bin/make
Perl located at /usr/bin/perl
rpm located at /bin/rpm
rpmbuild located at /bin/rpm
RPM Package License set to GNU
RPM Package Vendor set to NCSA
RPM Package FTP Site set to ftp.ncsa.uiuc.edu
RPM Package URL set to http://www.gridpackaging.org
RPM Packager set to NCSA
RPM Prefix set to /usr/grid
GNU target platform set to x86_64-unknown-linux-gnu

LFC MySQL

LFC Oracle

Configuration

LFC MySQL

LFC Oracle

Information system

MySQL

# resource, grid
dn: Mds-Vo-name=resource,o=grid
objectClass: Mds
Mds-Vo-name: resource

# lfc64m.cern.ch, resource, grid
dn: GlueServiceUniqueID=lfc64m.cern.ch,Mds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:email
GlueServiceAccessControlBaseRule: VO:org.glite.voms-email
GlueServiceStatus: OK
GlueServiceStatusInfo: No Problems
objectClass: GlueTop
objectClass: GlueService
GlueServiceUniqueID: lfc64m.cern.ch
GlueServiceAccessControlRule: email
GlueServiceAccessControlRule: org.glite.voms-email
GlueServiceStartTime: 2011-09-15 01:17:43.000000000 +0200
GlueServiceEndpoint: lfc64m.cern.ch
GlueServiceVersion: 1.8.2
GlueServiceName: SITE-1-lfc
GlueServiceType: lcg-file-catalog
GlueServiceWSDL: unset
GlueServiceSemantics: unset
GlueForeignKey: GlueSiteUniqueID=SITE-1
GlueServiceOwner: email
GlueServiceOwner: org.glite.voms-email
GlueServiceAccessPointURL: lfc64m.cern.ch
GlueServiceURI: lfc64m.cern.ch

# http://lfc64m.cern.ch:8085/, resource, grid
dn: GlueServiceUniqueID=http://lfc64m.cern.ch:8085/,Mds-Vo-name=resource,o=gri
 d
GlueServiceAccessControlBaseRule: VO:email
GlueServiceAccessControlBaseRule: VO:org.glite.voms-email
GlueServiceStatus: OK
GlueServiceStatusInfo: No Problems
objectClass: GlueTop
objectClass: GlueService
GlueServiceUniqueID: http://lfc64m.cern.ch:8085/
GlueServiceAccessControlRule: email
GlueServiceAccessControlRule: org.glite.voms-email
GlueServiceStartTime: 2011-09-15 01:17:43.000000000 +0200
GlueServiceEndpoint: http://lfc64m.cern.ch:8085/
GlueServiceVersion: 1.8.2
GlueServiceName: SITE-1-lfc-dli
GlueServiceType: data-location-interface
GlueServiceWSDL: unset
GlueServiceSemantics: unset
GlueForeignKey: GlueSiteUniqueID=SITE-1
GlueServiceOwner: email
GlueServiceOwner: org.glite.voms-email
GlueServiceAccessPointURL: http://lfc64m.cern.ch:8085/
GlueServiceURI: http://lfc64m.cern.ch:8085/

# glite-version, lfc64m.cern.ch, resource, grid
dn: GlueServiceDataKey=glite-version,GlueServiceUniqueID=lfc64m.cern.ch,Mds-Vo
 -name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: glite-version
GlueServiceDataValue: 3.2.0
GlueChunkKey: GlueServiceUniqueID=lfc64m.cern.ch

# glite-version, http://lfc64m.cern.ch:8085/, resource, grid
dn: GlueServiceDataKey=glite-version,GlueServiceUniqueID=http://lfc64m.cern.ch
 :8085/,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: glite-version
GlueServiceDataValue: 3.2.0
GlueChunkKey: GlueServiceUniqueID=http://lfc64m.cern.ch:8085/

# metapackage_glite-LFC_mysql, lfc64m.cern.ch, resource, grid
dn: GlueServiceDataKey=metapackage_glite-LFC_mysql,GlueServiceUniqueID=lfc64m.
 cern.ch,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: metapackage_glite-LFC_mysql
GlueServiceDataValue: 1.8.2-2
GlueChunkKey: GlueServiceUniqueID=lfc64m.cern.ch

# metapackage_glite-LFC_mysql, http://lfc64m.cern.ch:8085/, resource, grid
dn: GlueServiceDataKey=metapackage_glite-LFC_mysql,GlueServiceUniqueID=http://
 lfc64m.cern.ch:8085/,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: metapackage_glite-LFC_mysql
GlueServiceDataValue: 1.8.2-2
GlueChunkKey: GlueServiceUniqueID=http://lfc64m.cern.ch:8085/

# search result
search: 2
result: 0 Success

# numResponses: 8
# numEntries: 7

Oracle

# resource, grid
dn: Mds-Vo-name=resource,o=grid
objectClass: Mds
Mds-Vo-name: resource

# lfc64o.cern.ch, resource, grid
dn: GlueServiceUniqueID=lfc64o.cern.ch,Mds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:email
GlueServiceAccessControlBaseRule: VO:org.glite.voms-email
GlueServiceStatus: OK
GlueServiceStatusInfo: No Problems
objectClass: GlueTop
objectClass: GlueService
GlueServiceUniqueID: lfc64o.cern.ch
GlueServiceAccessControlRule: email
GlueServiceAccessControlRule: org.glite.voms-email
GlueServiceStartTime: 2011-09-15 01:20:05.000000000 +0200
GlueServiceEndpoint: lfc64o.cern.ch
GlueServiceVersion: 1.8.2
GlueServiceName: SITE-1-lfc
GlueServiceType: lcg-file-catalog
GlueServiceWSDL: unset
GlueServiceSemantics: unset
GlueForeignKey: GlueSiteUniqueID=SITE-1
GlueServiceOwner: email
GlueServiceOwner: org.glite.voms-email
GlueServiceAccessPointURL: lfc64o.cern.ch
GlueServiceURI: lfc64o.cern.ch

# http://lfc64o.cern.ch:8085/, resource, grid
dn: GlueServiceUniqueID=http://lfc64o.cern.ch:8085/,Mds-Vo-name=resource,o=gri
 d
GlueServiceAccessControlBaseRule: VO:email
GlueServiceAccessControlBaseRule: VO:org.glite.voms-email
GlueServiceStatus: OK
GlueServiceStatusInfo: No Problems
objectClass: GlueTop
objectClass: GlueService
GlueServiceUniqueID: http://lfc64o.cern.ch:8085/
GlueServiceAccessControlRule: email
GlueServiceAccessControlRule: org.glite.voms-email
GlueServiceStartTime: 2011-09-15 01:20:05.000000000 +0200
GlueServiceEndpoint: http://lfc64o.cern.ch:8085/
GlueServiceVersion: 1.8.2
GlueServiceName: SITE-1-lfc-dli
GlueServiceType: data-location-interface
GlueServiceWSDL: unset
GlueServiceSemantics: unset
GlueForeignKey: GlueSiteUniqueID=SITE-1
GlueServiceOwner: email
GlueServiceOwner: org.glite.voms-email
GlueServiceAccessPointURL: http://lfc64o.cern.ch:8085/
GlueServiceURI: http://lfc64o.cern.ch:8085/

# glite-version, lfc64o.cern.ch, resource, grid
dn: GlueServiceDataKey=glite-version,GlueServiceUniqueID=lfc64o.cern.ch,Mds-Vo
 -name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: glite-version
GlueServiceDataValue: 3.2.0
GlueChunkKey: GlueServiceUniqueID=lfc64o.cern.ch

# glite-version, http://lfc64o.cern.ch:8085/, resource, grid
dn: GlueServiceDataKey=glite-version,GlueServiceUniqueID=http://lfc64o.cern.ch
 :8085/,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: glite-version
GlueServiceDataValue: 3.2.0
GlueChunkKey: GlueServiceUniqueID=http://lfc64o.cern.ch:8085/

# metapackage_glite-LFC_oracle, lfc64o.cern.ch, resource, grid
dn: GlueServiceDataKey=metapackage_glite-LFC_oracle,GlueServiceUniqueID=lfc64o
 .cern.ch,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: metapackage_glite-LFC_oracle
GlueServiceDataValue: 1.8.2-2
GlueChunkKey: GlueServiceUniqueID=lfc64o.cern.ch

# metapackage_glite-LFC_oracle, http://lfc64o.cern.ch:8085/, resource, grid
dn: GlueServiceDataKey=metapackage_glite-LFC_oracle,GlueServiceUniqueID=http:/
 /lfc64o.cern.ch:8085/,Mds-Vo-name=resource,o=grid
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
GlueServiceDataKey: metapackage_glite-LFC_oracle
GlueServiceDataValue: 1.8.2-2
GlueChunkKey: GlueServiceUniqueID=http://lfc64o.cern.ch:8085/

# search result
search: 2
result: 0 Success

# numResponses: 8
# numEntries: 7

Tests passed

Issues found

Directory with mode 400 cannot be deleted if the user has write access to parent.

This is not introduced by the new version this not considered a problem.

lfc-cli

Test LFC CLI chmod for directory
VO=email
LFCDIR=/grid/email/LFC-1316043107

SCENARIO: Directory doesn't exist
1. List of nonexist directory
OK
2. Remove nonexist directory
OK
3. Change mode for nonexist directory
OK

SCENARIO: check mode for existing directory
SHORT=1, MODE=4
1. Create main directory: /grid/email/LFC-1316043107/test-chdir
2. Create test subdirectory: /grid/email/LFC-1316043107/test-chdir/test-subdir
Short mode: 000, 777
   d---------   d-w--w--w-   d-wx-wx-wx   drw-rw-rw-   drwxrwxrwx
Cleaning tasks
-TEST PASSED-
Deleting a comment on file: /grid/email/
-TEST PASSED-
Scenario: Directory exists
1. Create main directory: /grid/email/LFC-1316043107/renamedir
2. Rename 'read only' directory
This requires write permission in the parent directories, not current
cannot rename to /grid/email/LFC-1316043107/renamedir/newDname: Permission denied
dr--------   0 101      101                       0 Sep 14 23:32 rdonly
Non correct lfc-rename result, Test try rename read-only directory and with write permission for parent directory, lfc-rename MUST rename this directory!!!
-TEST FAILED-
lfc64o.cern.ch

Test LFC CLI chmod for files
VO=email
SE=head64.cern.ch
File=/etc/group
LCG_GFAL_INFOSYS=ctb-generic-4.cern.ch:2170
SCENARIO: Directory doesn't exist
Strong check if directory nonexists
List of nonexist directory
/grid/email/LFC-1316043107/test-chfile: No such file or directory
/grid/email/LFC-1316043107/test-chfile: No such file or directory
/grid/email/LFC-1316043107/test-chfile: No such file or directory
OK

1. Change access mode for nonexist directory/file
OK

SCENARIO: check mode for existing  file
SHORT=1, MODE=4
Create main directory: /grid/email/LFC-1316043107/test-chfile
SE=head64.cern.ch, LFN=/grid/email/LFC-1316043107/test-chfile/test_file
Create guid and lfn:/grid/email/LFC-1316043107/test-chfile/test_file
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Checksum type: None
SE type: SRMv2
Destination SURL : srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file429b8251-f1fa-45f5-88f6-64b7d8450eaf
Source SRM Request Token: 23ec35fb-fbb9-4e6f-b12d-db1112fda276
Source URL: file:/etc/group
File size: 551
VO name: email
Destination specified: head64.cern.ch
Destination URL for copy: gsiftp://disk2.cern.ch/disk2.cern.ch:/fs1/email/2011-09-15/file429b8251-f1fa-45f5-88f6-64b7d8450eaf.128.0
# streams: 1
            0 bytes      0.00 KB/sec avg      0.00 KB/sec inst
Transfer took 1010 ms
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Site URL to be registered: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file429b8251-f1fa-45f5-88f6-64b7d8450eaf
File size: 551
Using LFN: lfn:/grid/email/LFC-1316043107/test-chfile/test_file
Using GUID: guid:627e80a0-8bed-4955-95bb-f60367d40ae2
Registering LFN: /grid/email/LFC-1316043107/test-chfile/test_file (627e80a0-8bed-4955-95bb-f60367d40ae2)
Registering SURL: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file429b8251-f1fa-45f5-88f6-64b7d8450eaf (627e80a0-8bed-4955-95bb-f60367d40ae2)
guid:627e80a0-8bed-4955-95bb-f60367d40ae2
OK
Long mode: all mode 000-nnn, n<4


   ----------   ---------x   --------w-   --------wx
   ------x---   ------x--x   ------x-w-   ------x-wx
   -----w----   -----w---x   -----w--w-   -----w--wx
   -----wx---   -----wx--x   -----wx-w-   -----wx-wx

   ---x------   ---x-----x   ---x----w-   ---x----wx
   ---x--x---   ---x--x--x   ---x--x-w-   ---x--x-wx
   ---x-w----   ---x-w---x   ---x-w--w-   ---x-w--wx
   ---x-wx---   ---x-wx--x   ---x-wx-w-   ---x-wx-wx

   --w-------   --w------x   --w-----w-   --w-----wx
   --w---x---   --w---x--x   --w---x-w-   --w---x-wx
   --w--w----   --w--w---x   --w--w--w-   --w--w--wx
   --w--wx---   --w--wx--x   --w--wx-w-   --w--wx-wx

   --wx------   --wx-----x   --wx----w-   --wx----wx
   --wx--x---   --wx--x--x   --wx--x-w-   --wx--x-wx
   --wx-w----   --wx-w---x   --wx-w--w-   --wx-w--wx
   --wx-wx---   --wx-wx--x   --wx-wx-w-   --wx-wx-wx
Cleaning tasks
Check /grid/email/LFC-1316043107/test-chfile:
test_file
Delete GUID and lfn
Delete guid:627e80a0-8bed-4955-95bb-f60367d40ae2
Again check /grid/email/LFC-1316043107/test-chfile:
Clear /grid/email/LFC-1316043107/test-chfile
Check /grid/email/LFC-1316043107/test-chfile:
/grid/email/LFC-1316043107/test-chfile: No such file or directory
/grid/email/LFC-1316043107/test-chfile: No such file or directory
/grid/email/LFC-1316043107/test-chfile: No such file or directory
-TEST PASSED-

Test LFC CLI rename file. lfc-rename <oldfilename> <newfilename>
VO=email
FILE=/etc/group
SE=head64.cern.ch
LCG_GFAL_INFOSYS=ctb-generic-4.cern.ch:2170
Scenario: Directory exists
1. Create main directory: /grid/email/LFC-1316043107/renamefile
SCENARIO: Directory and file doesn't exist
Strong check if directory nonexists
List of nonexist directory
OK

2. Rename ordinary file
2.1. Create main directory: /grid/email/LFC-1316043107/renamefile
SE=head64.cern.ch, LFN=/grid/email/LFC-1316043107/renamefile/test_file, file=/etc/group
2.2. Create guid and lfn:/grid/email/LFC-1316043107/renamefile/test_file
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Checksum type: None
SE type: SRMv2
Destination SURL : srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file55d58660-2f4a-442b-8796-babe1b2ada0f
Source SRM Request Token: e83051e2-9661-425a-a91d-a64271c35ed1
Source URL: file:/etc/group
File size: 551
VO name: email
Destination specified: head64.cern.ch
Destination URL for copy: gsiftp://head64.cern.ch/head64.cern.ch:/fs2/email/2011-09-15/file55d58660-2f4a-442b-8796-babe1b2ada0f.129.0
# streams: 1
          551 bytes      1.46 KB/sec avg      1.46 KB/sec inst
Transfer took 1000 ms
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Site URL to be registered: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file55d58660-2f4a-442b-8796-babe1b2ada0f
File size: 551
Using LFN: lfn:/grid/email/LFC-1316043107/renamefile/test_file
Using GUID: guid:0b97f261-7c68-4e86-a95c-448ff3db445d
Registering LFN: /grid/email/LFC-1316043107/renamefile/test_file (0b97f261-7c68-4e86-a95c-448ff3db445d)
Registering SURL: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/file55d58660-2f4a-442b-8796-babe1b2ada0f (0b97f261-7c68-4e86-a95c-448ff3db445d)
guid:0b97f261-7c68-4e86-a95c-448ff3db445d
OK
Rename created LFN
File list before:
test_file
File list after:
newFileName
OK
3. Rename 'read only' parent directory
MAN: This requires write permission in the parent directories.
3.1. Change access to '400' of parent directory anf file
/grid/email/LFC-1316043107/renamefile/newFileName: Permission denied
3.2. Try rename
/grid/email/LFC-1316043107/renamefile: Permission denied
Result renaming:
cannot rename to /grid/email/LFC-1316043107/renamefile/newFileName-qwerty: Permission denied
OK
3. Rename by using LFC_HOME
List before rename:
newFileName
List after rename:
test_file
OK
4. SCENARIO: Rename nonexisting file
Result nonexisting file rename:
cannot rename to /grid/email/LFC-1316043107/renamefile/new: No such file or directory
OK

Cleaning tasks
Delete guid:0b97f261-7c68-4e86-a95c-448ff3db445d
/grid/email/LFC-1316043107/renamefile: No such file or directory
-TEST PASSED-
Launching lfc-getacl on /grid/email/lfcmkdir7407
# file: /grid/email/lfcmkdir7407
# owner: /DC=CH/DC=CERN/OU=REGCA/CN=Test user 1
# group: email
user::rwx
group::rwx              #effective:rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x
-TEST PASSED-
Creating a link /grid/email/lfcmkdir28875 to /grid/email/lfcmkdir27623
-TEST PASSED-

Test LFC CLI mkdir
VO=email
Test main directory: /grid/email/LFC-1316043107/test-mkdir
SCENARIO: Directory doesn't exist
1. Create main directory: /grid/email/LFC-1316043107/test-mkdir

2. Create 5 subdirectories
new dir:/grid/email/LFC-1316043107/test-mkdir/subdir-0
new dir:/grid/email/LFC-1316043107/test-mkdir/subdir-0/subdir-1
new dir:/grid/email/LFC-1316043107/test-mkdir/subdir-0/subdir-1/subdir-2
new dir:/grid/email/LFC-1316043107/test-mkdir/subdir-0/subdir-1/subdir-2/subdir-3
new dir:/grid/email/LFC-1316043107/test-mkdir/subdir-0/subdir-1/subdir-2/subdir-3/subdir-4
Check all deletion result

SCENARIO: Directory  already exists in the VO
Create main directory: /grid/email/LFC-1316043107/test-mkdir
Check diagn: cannot create ...  File exists
OK

1. Scenario: test -p option
1.1. Noncorrect request  mkdir for chain subdirectories
OK
1.2. Correct request with -p option
drwxrwxr-x   0 101      101                       0 Sep 14 23:32 sub5
Check lfc-ls after remove main directory
OK

2. SCENARIO: check mode for make directory
2.1. Check default mode: drwxrwxr-x
Current umask: 0002
Changed to 0002
Create directory: /grid/email/LFC-1316043107/test-mkdir
OK
Recovered previous umask
2.2.  Test check up 512 (000-777) variants of access mode for new subdirectory
SHORT=1, MODE=4
Short mode: 000, 222, 333. 666, 777
   d---------   d-w--w--w-   d-wx-wx-wx   drw-rw-rw-   drwxrwxrwx
Cleaning tasks
-TEST PASSED-
Doing an lfc-ping on  LFC node lfc64o.cern.ch:
1.8.2-2
-TEST PASSED-

Renaming file: /grid/email/lfcmkdir17970 to /grid/email/lfcmkdir16010
-TEST PASSED-

Test LFC CLI remove diectory. lfc-rm -r <dirname>
VO=email
Scenario: Directory exists
1. Create main directory: /grid/email/LFC-1316043107/rmdir
2. Remove 'read only' directory
Non correct lfc-rm result
-TEST FAILED-

Test LFC CLI remove file lfc-rm <LFN>
VO=email
FILE=/etc/group
SE=head64.cern.ch
LCG_GFAL_INFOSYS=ctb-generic-4.cern.ch:2170
Strong check if directory nonexists
List of nonexist directory
/grid/email/LFC-1316043107/rmfile: No such file or directory
/grid/email/LFC-1316043107/rmfile: No such file or directory
/grid/email/LFC-1316043107/rmfile: No such file or directory
OK

2. Remove ordinary file
2.1. Create main directory: /grid/email/LFC-1316043107/rmfile
SE=head64.cern.ch, LFN=/grid/email/LFC-1316043107/rmfile/test_file, file=/etc/group
2.2. Create guid and lfn:/grid/email/LFC-1316043107/rmfile/test_file
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Checksum type: None
SE type: SRMv2
Destination SURL : srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/filecb43397b-9e3a-4be0-acb8-0981bc80476b
Source SRM Request Token: aeb97fc4-4532-464d-aaa4-ee9586d33b68
Source URL: file:/etc/group
File size: 551
VO name: email
Destination specified: head64.cern.ch
Destination URL for copy: gsiftp://head64.cern.ch/head64.cern.ch:/fs1/email/2011-09-15/filecb43397b-9e3a-4be0-acb8-0981bc80476b.130.0
# streams: 1
          551 bytes      3.43 KB/sec avg      3.43 KB/sec inst
Transfer took 1010 ms
Using grid catalog type: lfc
Using grid catalog : lfc64o.cern.ch
Site URL to be registered: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/filecb43397b-9e3a-4be0-acb8-0981bc80476b
File size: 551
Using LFN: lfn:/grid/email/LFC-1316043107/rmfile/test_file
Using GUID: guid:bef3871f-a665-40a1-8b28-17066b2306fb
Registering LFN: /grid/email/LFC-1316043107/rmfile/test_file (bef3871f-a665-40a1-8b28-17066b2306fb)
Registering SURL: srm://head64.cern.ch/dpm/cern.ch/home/email/generated/2011-09-14/filecb43397b-9e3a-4be0-acb8-0981bc80476b (bef3871f-a665-40a1-8b28-17066b2306fb)
guid:bef3871f-a665-40a1-8b28-17066b2306fb
OK

2.3. Remove 'read only' file
2.3.1. Change access filr mode to 400
/grid/email/LFC-1316043107/rmfile/test_file: File exists
Restore file protection to 777
Remove created LFN and guid
File list before:
test_file
Remove LFN without removing GUID
/grid/email/LFC-1316043107/rmfile/test_file: File exists
OK

2. SCENARIO: Delete nonexisting file: /grid/email/LFC-1316043107/rmfile/nofile
/grid/email/LFC-1316043107/rmfile/nofile: No such file or directory
OK

Cleaning tasks
Delete guid:bef3871f-a665-40a1-8b28-17066b2306fb
-TEST PASSED-

Setting the ACLs on /grid/email/lfcmkdir26957
Before:
# file: /grid/email/lfcmkdir26957
# owner: /DC=CH/DC=CERN/OU=REGCA/CN=Test user 1
# group: email
user::rwx
group::rwx              #effective:rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x
After:
# file: /grid/email/lfcmkdir26957
# owner: /DC=CH/DC=CERN/OU=REGCA/CN=Test user 1
# group: email
user::rwx
group::rwx              #effective:rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::rwx
-TEST PASSED-

Setting a comment on file /grid/email/lfcmkdir13740
-TEST PASSED-

lfc-api-python

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test adding replica (guid):                                 [OK]
Test adding replica (fileid):                               [OK]
Test guid length exeeds CA_MAXGUILEN (EINVAL):              [OK]
Test SE name length exeeds CA_MAXGUILEN (EINVAL):           [OK]
Test existing replica nonexisting file (ENOENT):            [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test adding replica (guid):                                 [OK]
Test adding replica (fileid):                               [OK]
Test guid length exeeds CA_MAXGUILEN (EINVAL):              [OK]
Test SE name length exeeds CA_MAXGUILEN (EINVAL):           [OK]
Test existing replica nonexisting file (ENOENT):            [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_chdir OK                                                [OK]

lfc_chdir to non-existing directory (ENOENT)                [OK]
The length of path exceeds CA_MAXPATHLEN (ENAMETOOLONG):    [OK]

3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_creatg OK                                               [OK]
lfc_creatg on existing file                                 [OK]
lfc_creatg in permission denied                             [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_delete                                                  [OK]
lfc_delete in permission denied (EACCES)                    [OK]
lfc_delete on directory (EPERM)                             [OK]
lfc_delete nonexisting file (ENOENT)                        [OK]
lfc_delete prefix not a DIR (ENOTDIR)                       [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Delete comment on existing file                             [OK]
Delete comment on existing dir without privilegies (EPERM)  [OK]
Delete comment on nonexisting file name (ENOENT):           [OK]
The length of path exceeds CA_MAXPATHLEN (ENAMETOOLONG):    [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Set file size on existing file name                         [OK]
Set filesize on existing fileid:                            [OK]
Set filesize on preference on fileid (provided incorrect name): [OK]
Set filesize on nonexisting file name:                      [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_getacl OK                                               [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_getcwd OK                                               [OK]
lfc_getcwd insufficient buffer space (ERANGE)               [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test existing replica (name):                               [OK]
Test existing replica (guid):                               [OK]
Test existing replica (both):                               [OK]
Test SE filter:                                             [OK]
GUID mismatch
Test existing replica nonmatching guid/name (EINVAL):       [OK]
Test guid length exeeds CA_MAXGUILEN (EINVAL):              [OK]
Test SE name length exeeds CA_MAXGUILEN (EINVAL):           [OK]
Test existing replica nonexisting file (ENOENT):            [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test OK:                                                    [OK]
Test SE filter:                                             [OK]
Test guid length exeeds CA_MAXGUIDLEN (EINVAL):             [OK]
Test SE name length exeeds CA_MAXNAMELEN (EINVAL):          [OK]
Test existing replica nonexisting file (ENOENT):            [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Directory creation                                          [OK]
Directory creation (permission denied)                      [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Directory creation                                          [OK]
Directory creation (permission denied)                      [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test open directory:                                        [OK]
Test with path too long (ENAMETOOLONG):                     [OK]
Test permission denied on path no read (EACCES):            [OK]
Test permission denied on path nosearch (EACCES):           [OK]
Opendir on nonexisting file (ENOENT):                       [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test open directory:                                        [OK]
Test open directory:                                        [OK]
Test open directory:                                        [OK]
Test with path too long (ENAMETOOLONG):                     [OK]
Test permission denied on path no read (EACCES):            [OK]
Test permission denied on path nosearch (EACCES):           [OK]
Opendir on nonexisting file (ENOENT):                       [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_rename OK                                               [OK]

3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_rmdir OK                                                [OK]
lfc_rmdir (EACCES)                                          [OK]
lfc_rmdir: named directory doesn't exist (ENOENT)           [OK]
lfc_rmdir (EEXIST)                                          [OK]
lfc_rmdir (ENOTDIR)                                         [OK]
lfc_rmdir (EINVAL)                                          [OK]
The length of path exceeds CA_MAXPATHLEN (ENAMETOOLONG):    [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_setacl OK                                               [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Set access time on existing file                            [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Set file comment existing file name                         [OK]
Update comment on existing file name                        [OK]
Set comment on nonexisting file name:                       [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Set file size on existing file guid                         [OK]
Set filesize on nonexisting guid:                           [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_stat_test:
[OK]
[OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test root dir:                                              [OK]
Test existing guid:                                         [OK]
Check for nonexistent file:                                 [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test existing replica:                                      [OK]
Test nonexisting replica:                                   [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
Test root dir:                                              [OK]
Check for nonexistent file:                                 [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_delete                                                  [OK]
lfc_undelete in permission denied (EACCES)                  [OK]
lfc_undelete on directory (EPERM)                           [OK]
lfc_undelete nonexisting file (ENOENT)                      [OK]
lfc_undelete prefix not a DIR (ENOTDIR)                     [OK]
3. Ret test code: True
Exit
Test is OK

Start test for adding a replica for a given file (lfc_addreplica)
1. Prepare environment
LFC_HOME: lfc64o.cern.ch:/grid/email
2. Start test run()
lfc_unlink OK                                               [OK]
lfc_unlink in permission denied (EACCES)                    [OK]
lfc_unlink on directory (EPERM)                             [OK]
lfc_unlink nonexisting file (ENOENT)                        [OK]
lfc_unlink prefix not a DIR (ENOTDIR)                       [OK]
lfc_unlink file has replicas (EEXIST)                       [OK]
3. Ret test code: True
Exit
Test is OK

lfc-api-perl

[lfc-chdir]
  * [ Checking the case when a directory is changed to the existing one ]                                              [  OK  ]
  * [ Checking the case when a directory is changed to the non-existing one (ENOENT) ]                                 [  OK  ]
  * [ Checking the case when specified directory is null pathname (ENOENT) ]                                           [  OK  ]
  * [ Checking the case when a specified path is a NULL pointer (EFAULT) ]                                             [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when a search permission is denied on any component of path (EACCES) ]                         [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
[PASSED]

[lfc-chmod]
  * [ Checking the case when mode can be successfully changed ]                                                        [  OK  ]
  * [ Checking the case when directory does not exist (ENOENT) ]                                                       [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-closedir]
  * [ Checking the ability to close open directory ]                                                                   [  OK  ]
  * [ Checking the case when dirp is a NULL pointer (EFAULT) ]                                                         [  OK  ]
[PASSED]

[lfc-creatg]
  * [ Checking new file creation with specified GUID ]                                                                 [  OK  ]
  * [ Checking for ability to reset existing file ]                                                                    [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when path is a null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when file does not exist and write permission on the parent directory is denied (EACCES) ]     [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when file exists and write permission on the file itself is denied (EACCES) ]                  [  OK  ]
  * [ Checking the case when specified path is a NULL pointer (EFAULT) ]                                               [  OK  ]
  * [ Checking the case when file exists with a different GUID (EEXIST) ]                                              [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when path is an existing directory (EISDIR) ]                                                  [  OK  ]
  * [ Checking the case when the length of the GUID exceeds CA_MAXGUIDLEN (EINVAL) ]                                   [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-delcomment]
  * [ Checking the ability to delete comment ]                                                                         [  OK  ]
  * [ Checking the case when specified path does not exist (ENOENT) ]                                                  [  OK  ]
  * [ Checking the case when path is a null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when there is no comment associated with specified entry (ENOENT) ]                            [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-getcomment]
  * [ Checking the ability to get comment ]                                                                            [  OK  ]
  * [ Checking the case when specified path does not exist (ENOENT) ]                                                  [  OK  ]
  * [ Checking the case when path is a null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when there is no comment associated with specified entry (ENOENT) ]                            [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-getcwd]
  * [ Checking the possibility to get current working directory ]                                                      [  OK  ]
  * [ Checking the case when size is greater than 0 and less than size of current directory name plus 1 (ERANGE) ]     [  OK  ]
  * [ Checking the case when size is less than or equal to zero (EINVAL) ]                                             [  OK  ]
[PASSED]

[lfc-mkdir]
  * [ Checking for new directory creation ]                                                                            [  OK  ]
  * [ Checking the case when directory already exists (EEXIST) ]                                                       [  OK  ]
  * [ Checking the case when write permission on the parent directory is denied (EACCES) ]                             [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a specified path is a NULL pointer (EFAULT) ]                                             [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-mkdirg]
  * [ Checking new directory creation with specified GUID ]                                                            [  OK  ]
  * [ Checking the case when directory already exists (EEXIST) ]                                                       [  OK  ]
  * [ Checking the case when the write permission on the parent directory is denied (EACCES) ]                         [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when specified path is a NULL pointer (EFAULT) ]                                               [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of the GUID exceeds CA_MAXGUIDLEN (EINVAL) ]                                   [  OK  ]
[PASSED]

[lfc-opendir]
  * [ Checking the ability to open an existing directory specified by pathname ]                                       [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when read permission is denied on a path (EACCES) ]                                            [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-opendirg]
  * [ Checking the ability to open an existing directory specified by pathname ]                                       [  OK  ]
  * [ Checking the ability to open an existing directory specified by GUID ]                                           [  OK  ]
  * [ Checking the ability to open an existing directory specified by both path and GUID ]                             [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when read permission is denied on a path (EACCES) ]                                            [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when the length of the GUID exceeds CA_MAXGUIDLEN (EINVAL) ]                                   [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-opendirxg]
  * [ Checking the ability to open an existing directory specified by pathname ]                                       [  OK  ]
  * [ Checking the ability to open an existing directory specified by GUID ]                                           [  OK  ]
  * [ Checking the ability to open an existing directory specified by both path and GUID ]                             [  OK  ]
  * [ Checking the case when a component of path prefix does not exist (ENOENT) ]                                      [  OK  ]
  * [ Checking the case when a path is null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when read permission is denied on a path (EACCES) ]                                            [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when the length of the GUID exceeds CA_MAXGUIDLEN (EINVAL) ]                                   [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-rename]
  * [ Checking the possibility to rename dir ]                                                                         [  OK  ]
  * [ Checking the possibility to rename file ]                                                                        [  OK  ]
  * [ Checking the case when a component of oldpath prefix does not exist (ENOENT) ]                                   [  OK  ]
  * [ Checking the case when a component of oldpath prefix is null pathname (ENOENT) ]                                 [  OK  ]
  * [ Checking the case when a component of newpath prefix is null pathname (ENOENT) ]                                 [  OK  ]
  * [ Checking the case when a search permission is denied on any component of oldpath (EACCES) ]                      [  OK  ]
  * [ Checking the case when a write permission is denied on any component of oldpath (EACCES) ]                       [  OK  ]
  * [ Checking the case when a search permission is denied on any component of newpath (EACCES) ]                      [  OK  ]
  * [ Checking the case when a write permission on the parent directory is denied on newpath (EACCES) ]                [  OK  ]
  * [ Checking the case when oldpath is null pointer (EFAULT) ]                                                        [  OK  ]
  * [ Checking the case when newpath is null pointer (EFAULT) ]                                                        [  OK  ]
  * [ Checking the case when newpath is an existing directory and is not empty (EEXIST) ]                              [  OK  ]
  * [ Checking the case when a component of newpath prefix is not a directory (ENOTDIR) ]                              [  OK  ]
  * [ Checking the case when oldpath is a directory and newpath is an existing regular file (ENOTDIR) ]                [  OK  ]
  * [ Checking the case when newpath is a directory while oldpath is a regular file (EISDIR) ]                         [  OK  ]
  * [ Checking the case when newpath is a descendant of oldpath (EINVAL) ]                                             [  OK  ]
  * [ Checking the case when the length of oldpath component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                    [  OK  ]
  * [ Checking the case when the length of newpath component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                    [  OK  ]
  * [ Checking the case when the length of oldpath exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                              [  OK  ]
  * [ Checking the case when the length of newpath exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                              [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-rmdir]
  * [ Checking the case when directory exists ]                                                                        [  OK  ]
  * [ Checking the case when the named directory does not exist (ENOENT) ]                                             [  OK  ]
  * [ Checking the case when the named directory is a null pathname (ENOENT) ]                                         [  OK  ]
  * [ Checking the case when a search permission is denied on a component of path prefix (EACCES) ]                    [  OK  ]
  * [ Checking the case when write permission on the parent directory is denied (EACCES) ]                             [  OK  ]
  * [ Checking the case when the path is NULL pointer (EFAULT) ]                                                       [  OK  ]
  * [ Checking the case when the named directory is not empty (EEXIST) ]                                               [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
  * [ Checking the case when the dir requested to be removed is a current working dir (EINVAL) ]                       [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-setcomment]
  * [ Checking the ability to add a comment to directory ]                                                             [  OK  ]
  * [ Checking the ability to replace an existing comment on directory ]                                               [  OK  ]
  * [ Checking the case when specified path does not exist (ENOENT) ]                                                  [  OK  ]
  * [ Checking the case when path is a null pathname (ENOENT) ]                                                        [  OK  ]
  * [ Checking the case when a path is NULL pointer (EFAULT) ]                                                         [  OK  ]
  * [ Checking the case when a comment is NULL pointer (EFAULT) ]                                                      [  OK  ]
  * [ Checking the case when the length of comment exceeds CA_MAXCOMMENTLEN (EINVAL) ]                                 [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
[PASSED]

[lfc-stat]
  * [ Checking the status of existing directory ]                                                                      [  OK  ]
  * [ Checking the case when the named file/directory does not exist (ENOENT) ]                                        [  OK  ]
  * [ Checking the case when the named file/directory is a null pathname (ENOENT) ]                                    [  OK  ]
  * [ Checking the case when a specified path is a NULL pointer (EFAULT) ]                                             [  OK  ]
  * [ Checking the case when a statbuf is a NULL pointer (EFAULT) ]                                                    [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
  * [ Checking the case when a search permission is denied on any component of path (EACCES) ]                         [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
[PASSED]

[lfc-statg]
  * [ Checking the status of existing directory specified by path ]                                                    [  OK  ]
  * [ Checking the status of existing file specified by GUID ]                                                         [  OK  ]
  * [ Checking the case when the named file/directory with provided path does not exist (ENOENT) ]                     [  OK  ]
  * [ Checking the case when the named file/directory with provided GUID does not exist (ENOENT) ]                     [  OK  ]
  * [ Checking the case when the named file/directory is a null pathname (ENOENT) ]                                    [  OK  ]
  * [ Checking the case when a specified path is a NULL pointer (EFAULT) ]                                             [  OK  ]
  * [ Checking the case when a statbuf is a NULL pointer (EFAULT) ]                                                    [  OK  ]
  * [ Checking the case when the length of the GUID exceeds CA_MAXGUIDLEN (EINVAL) ]                                   [  OK  ]
GUID mismatch
  * [ Checking the case when both path and GUID are specified and they point to a different entries (EINVAL) ]         [  OK  ]
  * [ Checking the case when LFC host is unknown (SENOSHOST) ]                                                         [  OK  ]
  * [ Checking the case when a search permission is denied on any component of path (EACCES) ]                         [  OK  ]
  * [ Checking the case when the length of path component exceeds CA_MAXNAMELEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when the length of specified path exceeds CA_MAXPATHLEN (ENAMETOOLONG) ]                       [  OK  ]
  * [ Checking the case when a component of path prefix is not a directory (ENOTDIR) ]                                 [  OK  ]
[PASSED]

Bugs

LFC_oracle fails to start when the connection string is too long (bug #83551, Fix Certified)

The buffer allowed 79 chars, now it allows CA_MAXLINELEN

-- DimitarShiyachki - 15-Sep-2011

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-09-15 - DimitarShiyachki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback