Original Savannah ticket 77641 reported by belforte on Tue Feb 1 03:46:23 2011.
looking at this easily reproducible test:
belforte@lxplus304/test-cmscp> ls -l /tmp/pluto.root
ls: /tmp/pluto.root: No such file or directory
belforte@lxplus304/test-cmscp> python $CRABPYTHON/cmscp.py --destination srm://cmsdcache.pi.infn.it:8443/srm/managerv2'?'SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/ --inputFileList /tm
p/pluto.root --middleware LCG --se_name cmsdcache.pi.infn.it --debug
the command duly failes becouse input /tmp/pluto.root is not there, but the output[*] contains the misleading message
Check for local file /tmp/pluto.root exist succeded
which in less trivial cases is quite confusing.
It seems like the fact that the file is missing is detected later in the call chain, not good.
otocol=srm-lcg)
Start real copy for /tmp/pluto.root
checkFileExist():
Check for local file /tmp/pluto.root exist succeded
Copy results for pluto.root is 60302
in checkCopy() :
file /tmp/pluto.root
dict['erCode'] 60302
dict['reason'] ERROR file pluto.root do not exist
Copy of ['/tmp/pluto.root'] failed using srm-lcg : files not found
results {'/tmp/pluto.root': {'endpoint': 'srm://cmsdcache.pi.infn.it:8443/srm/managerv2?SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/', 'surl_for_grid': '', 'reason': 'ERROR fil
e pluto.root do not exist', 'erCode': '60302', 'se_name': 'cmsdcache.pi.infn.it', 'for_lfn': '/copy_problem/'}}
in writeJsonFile() :
---->>>> in writeJsonFile results = {'/tmp/pluto.root': {'endpoint': 'srm://cmsdcache.pi.infn.it:8443/srm/managerv2?SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/', 'surl_for_grid': '',
'reason': 'ERROR file pluto.root do not exist', 'erCode': '60302', 'se_name': 'cmsdcache.pi.infn.it', 'for_lfn': '/copy_problem/'}}
reading resultCopyFile :
Original Savannah ticket 77641 reported by belforte on Tue Feb 1 03:46:23 2011.
looking at this easily reproducible test: belforte@lxplus304/test-cmscp> ls -l /tmp/pluto.root ls: /tmp/pluto.root: No such file or directory belforte@lxplus304/test-cmscp> python $CRABPYTHON/cmscp.py --destination srm://cmsdcache.pi.infn.it:8443/srm/managerv2'?'SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/ --inputFileList /tm p/pluto.root --middleware LCG --se_name cmsdcache.pi.infn.it --debug
the command duly failes becouse input /tmp/pluto.root is not there, but the output[*] contains the misleading message
Check for local file /tmp/pluto.root exist succeded
which in less trivial cases is quite confusing. It seems like the fact that the file is missing is detected later in the call chain, not good.
[*] full output:
belforte@lxplus304/test-cmscp> python $CRABPYTHON/cmscp.py --destination srm://cmsdcache.pi.infn.it:8443/srm/managerv2'?'SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/ --inputFileList /tm p/pluto.root --middleware LCG --se_name cmsdcache.pi.infn.it --debug
calling run() :
stager() :
setProtocol() :
copy() : using srm-lcg protocol using -b -D srmv2 --srm-timeout 2400 --sendreceive-timeout 2400 --connect-timeout 300 --verbose options list_file ['/tmp/pluto.root']
initializeApi() :
storageInterface():
storageInterface():
otocol=srm-lcg) Start real copy for /tmp/pluto.root checkFileExist():
in checkCopy() :
e pluto.root do not exist', 'erCode': '60302', 'se_name': 'cmsdcache.pi.infn.it', 'for_lfn': '/copy_problem/'}}
in writeJsonFile() :
---->>>> in writeJsonFile results = {'/tmp/pluto.root': {'endpoint': 'srm://cmsdcache.pi.infn.it:8443/srm/managerv2?SFN=/pnfs/pi.infn.it/data/cms/store/user/belforte/prova/', 'surl_for_grid': '', 'reason': 'ERROR file pluto.root do not exist', 'erCode': '60302', 'se_name': 'cmsdcache.pi.infn.it', 'for_lfn': '/copy_problem/'}} reading resultCopyFile :
ROR file pluto.root do not exist', u'erCode': u'60302', u'se_name': u'cmsdcache.pi.infn.it', u'for_lfn': u'/copy_problem/'}} belforte@lxplus304/test-cmscp>