Closed ericvaandering closed 11 years ago
Comment by wildish on Wed Oct 10 08:41:58 2007
Fixed in CVS revision 1.12, will go into PhEDEx release 2.5.4.2 or higher.
The bug crept in while moving code between modules, a hash-key changed case and the case-sensitive comparison then failed to find the data. The keys are now all forced to lowercase.
This bug was not SRM specific, and it does not exist in the Block Download Verify agent.
Derek, if you wish to upgrade to CVS revision 1.12 (currently the head) you should find it works.
Closed by wildish on Wed Oct 10 08:41:58 2007
Original Savannah ticket 30117 reported by wildish on Thu Oct 4 08:37:10 2007.
The following test run produces size failures (size=0) for all files in the set. I do not know whether the 0 comes from the data base or from a wrong parsing of srm-get-metadata. A comparison with the output of srm-get-metadata shows that the file on the SE is ok (look below). There is a possibility that
./BlockConsistencyCheck -verbose -db ~/config/DBParam.CSCS:Prod/CSCS -buffer T2_CSCS_Buffer -block '/RelValQCD_Pt_80_120/CMSSW_1_6_0-RelVal-1188839688/GEN-SIM-DIGI-RECO#f57da62c-ed05-4d08-8a9a-c0e8caa6f13c' --tfc ~/config/SITECONF/CSCS/PhEDEx/storage.xml --tfcprotocol srm
Using TFC protocol srm 2007-10-04 13:00:18: BlockConsistencyCheck[30434]: (re)connecting to database Got 1 Buffers Got 1 Datasets Got 1 Blocks Got 15 LFNs Getting SE stats: file 15 / 15. Done in 0 seconds
------------------------------------------------------------------
==> summarising LFNs checking "Size"
Total SizeMismatch=15
(snip)
------------------------------------------------------------------
Detailed list of failures: ==> Dataset=/RelValQCD_Pt_80_120/CMSSW_1_6_0-RelVal-1188839688/GEN-SIM-DIGI-RECO ==> Block=/RelValQCD_Pt_80_120/CMSSW_1_6_0-RelVal-1188839688/GEN-SIM-DIGI-RECO#f57da62c-ed05-4d08-8a9a-c0e8caa6f13c LFN=/store/RelVal/2007/9/3/RelVal-RelValQCD_Pt_80_120-1188839688/0002/003F017B-665A-DC11-8BDD-0019DB29C614.root SizeMismatch (snip) LFN=/store/RelVal/2007/9/3/RelVal-RelValQCD_Pt_80_120-1188839688/0002/F4FEB9D4-BD5A-DC11-BD35-000423D99BF2.root SizeMismatch
srm-get-metadata srm://storage01-lcg.projects.cscs.ch:8443/srm/managerv1?SFN=/pnfs/projects.cscs.ch/cms/trivcat/store/RelVal/2007/9/3/RelVal-RelValQCD_Pt_80_120-1188839688/0002/F4FEB9D4-BD5A-DC11-BD35-000423D99BF2.root WARNING: SRM_PATH is defined, which might cause a wrong version of srm client to be executed WARNING: SRM_PATH=/home/phedex/sw/slc3_ia32_gcc323/external/srmcp/1.25/srmclient FileMetaData(srm://storage01-lcg.projects.cscs.ch:8443/srm/managerv1?SFN=/pnfs/projects.cscs.ch/cms/trivcat/store/RelVal/2007/9/3/RelVal-RelValQCD_Pt_80_120-1188839688/0002/F4FEB9D4-BD5A-DC11-BD35-000423D99BF2.root)= RequestFileStatus SURL :srm://storage01-lcg.projects.cscs.ch:8443/srm/managerv1?SFN=/pnfs/projects.cscs.ch/cms/trivcat/store/RelVal/2007/9/3/RelVal-RelValQCD_Pt_80_120-1188839688/0002/F4FEB9D4-BD5A-DC11-BD35-000423D99BF2.root size :660210489 owner :11410 group :1399 permMode :420 checksumType :adler32 checksumValue :dd26684c isPinned :false isPermanent :true isCached :true state : fileId :0 TURL : estSecondsToStart :0 sourceFilename : destFilename : queueOrder :0