Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve message for malmormed dataset names #6815

Closed
belforte opened this issue Oct 23, 2021 · 1 comment
Closed

improve message for malmormed dataset names #6815

belforte opened this issue Oct 23, 2021 · 1 comment
Assignees

Comments

@belforte
Copy link
Member

a user submitted without the initial '/' in the input dataset name in the config and got this



On 23/10/2021 00:12, Redwan Habibullah wrote:
> 
> *** Discussion title: Computing Tools
> 
> Dear experts,
> I am using the following config file [1] in CMSSW_12_0_0_pre4.With the crab config file-
> 
> from CRABClient.UserUtilities import config
> config = config()
> 
> config.General.requestName = 'MiniAOD_SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_MainSkim_Summer20UL17-106X_mc2017_v3'
> config.General.workArea = 'crab_projects'
> config.General.transferOutputs = True
> 
> config.JobType.pluginName = 'Analysis'
> config.JobType.psetName = '../rerunTauRecoOnMiniAOD_WithClean_Custom.py'
> config.JobType.numCores = 4
> config.JobType.maxMemoryMB = 10000
> 
> config.JobType.allowUndistributedCMSSW = True
> config.Data.inputDataset ='SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_TuneCP5_13TeV_madgraph_pythia8/RunIISummer20UL17MiniAOD-106X_mc2017_realistic_v6-v3/MINIAODSIM'
> config.Data.inputDBS = 'global'
> config.Data.splitting = 'FileBased'
> config.Data.unitsPerJob = 2
> config.Data.outLFNDirBase = '/store/user/rhabibul/'
> config.Data.publication = True
> config.Data.outputDatasetTag = 'MiniAOD_SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_MainSkim_Summer20UL17-106X_mc2017_v3'
> config.Site.storageSite = 'T2_CH_CERN'
> config.Site.blacklist = ['T3_KR_KNU', 'T3_FR_IPNL', 'T2_TR_METU', 'T2_TW_NCHC', 'T2_BE_IIHE', 'T3_US_Baylor']
> 
> ------------------------------------------X--------------------------------
>   
> I try to submit the command using -
> 
> ```
> crab-dev submit -c crabConfig_H125AA07.py
> 
> ```
> 
> My jobs fail at submission. And the error comes out to be -
> ---------------------------------X-------------------------------------
> [rhabibul@cmslpc161 crabConfig]$ emacs -nw crabConfig_H125AA07.py
> emacs: /cvmfs/cms.cern.ch/slc7_amd64_gcc900/cms/cmssw/CMSSW_12_0_0_pre4/external/slc7_amd64_gcc900/lib/libtiff.so.5: no version information available (required by emacs)
> [rhabibul@cmslpc161 crabConfig]$ crab-dev submit -c crabConfig_H125AA07.py                                                            Will use CRAB configuration file crabConfig_H125AA07.py
> Importing CMSSW configuration ../rerunTauRecoOnMiniAOD_WithClean_Custom.py
> Finished importing CMSSW configuration ../rerunTauRecoOnMiniAOD_WithClean_Custom.py
> You are requesting more than 1 core per job. Please make sure that your multi-threaded code is thread-safe and CPU-efficient, and request the correct amount of memory since the default 'maxMemoryMB' value is meant for single core jobs.
> Sending the request to the server at cmsweb.cern.ch
> Fatal error trying to connect to https://cmsweb.cern.ch:8443/crabserver/prod/workflow using dryrun=0&workflow=crab_MiniAOD_SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_MainSkim_Summer20UL17-106X_mc2017_v3&saveoutput=1&savelogsflag=0&inputdata=SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_TuneCP5_13TeV_madgraph_pythia8%2FRunIISummer20UL17MiniAOD-106X_mc2017_realistic_v6-v3%2FMINIAODSIM&primarydataset=&nonvaliddata=0&dbsurl=https%3A%2F%2Fcmsweb.cern.ch%2Fdbs%2Fprod%2Fglobal%2FDBSReader&useparent=0&ignorelocality=0&splitalgo=FileBased&algoargs=2&totalunits=0&lfn=%2Fstore%2Fuser%2Frhabibul%2F&publication=1&publishdbsurl=https%3A%2F%2Fcmsweb.cern.ch%2Fdbs%2Fprod%2Fphys03%2FDBSWriter&publishname2=MiniAOD_SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_MainSkim_Summer20UL17-106X_mc2017_v3&publishgroupname=0&jobtype=Analysis&generator=pythia&maxjobruntime=1250&numcores=4&maxmemory=10000&priority=10&nonprodsw=1&asyncdest=T2_CH_CERN&oneEventMode=0&ignoreglobalblacklist=0&jobarch=slc7_amd64_gcc900&jobsw=CMSSW_12_0_0_pre4&cacheurl=https%3A%2F%2Fcmsweb.cern.ch%2FS3%2Fcrabcache_prod&cachefilename=e9bf80315d634bf9a40e7761bb4f8bee242bac4637e126c0117b9ab0d8474426.tar.gz&debugfilename=f39d170b92d1a9761de7d5b985629f6e23b388f25f2290c0886d9eef9bbd7a5b.tar.gz&siteblacklist=T3_KR_KNU&siteblacklist=T3_FR_IPNL&siteblacklist=T2_TR_METU&siteblacklist=T2_TW_NCHC&siteblacklist=T2_BE_IIHE&siteblacklist=T3_US_Baylor&edmoutfiles=miniAOD_TauReco_ak4PFJets_ggH_2017.root.
> The server answered with an error.
> ERROR: AttributeError: 'RESTInterfaceException' object has no attribute 'message'
> 
>          Please email [email protected] for support with the crab.log file or crab.log URL.
>          Client Version: v3.211015
>          Please use 'crab uploadlog' to upload the log file /uscms_data/d3/rhabibul/MiniAODCleaner_12X_New/CMSSW_12_0_0_pre4/src/MiniAODSkimmer/MiniAODCleaner/test/crabConfig/crab_projects/crab_MiniAOD_SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-7_MainSkim_Summer20UL17-106X_mc2017_v3/crab.log to the CRAB cache.
> ---------------------------------------X-----------------------------------
> 
> Any help will be appreciated.
> cheers,
> Redwan
> 
> [1]https://github.com/red1habibullah/MiniAODSkimmer/blob/master/MiniAODCleaner/test/rerunTauRecoOnMiniAOD_WithClean_Custom.py
> 
> -------------------------------------------------------------
> Visit this CMS message (to reply or unsubscribe) at:
> https://hypernews.cern.ch/HyperNews/CMS/get/computing-tools/6201.html
> 
@belforte belforte self-assigned this Oct 23, 2021
@belforte
Copy link
Member Author

actually a CRABCLient problem, moved there: dmwm/CRABClient#5094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant