dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

Fix listRuns call in wmagent #4923

Closed ticoann closed 10 years ago

ticoann commented 10 years ago

DBS3 doesn't return lumi sections with that call. To get the result it need additional call for block https://github.com/dmwm/DBS/blob/master/Client/src/python/dbs/apis/dbsClient.py#L764 which returns following format [{'lumi_section_num': [13294, 13297, 13301, 13292, 13298, 13296, 13300, 13295, 13293, 13299], 'logical_file_name': '/store/data/resbe/vfphp/SIM/60/000000000/bksxb.root', 'run_num': 170481}, {'lumi_section_num': [14433, 14432, 14439, 14436, 14441, 14434, 14437, 14438, 14440, 14435], 'logical_file_name': '/store/data/resbe/vfphp/SIM/60/000000000/qyktc.root', 'run_num': 170595}, {'lumi_section_num': [12201, 12194, 12195, 12196, 12197, 12198, 12200, 12193, 12192, 12199], 'logical_file_name': '/store/data/resbe/vfphp/SIM/60/000000000/dlgqy.root', 'run_num': 170371}

For dataset need to call this first to get the block names https://github.com/dmwm/DBS/blob/master/Client/src/python/dbs/apis/dbsClient.py#L466 which returns

[{u'block_name': '/vfphp/resbe-wldil-v60/SIM#7s6nfe9f-607t-x8dd-hxe9-kbq6kmfd71vr'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#ye4grxt8-gxkd-9g4p-odbn-6mcktvd3qxqg'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#jxyywwpv-japu-y9vr-lifi-s72kumqpgpfm'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#0zgubs5g-007v-krq2-o7it-nv2wh571owf4'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#8rpedwz5-uu5e-zic6-gaz8-rqr40kekdvty'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#zuw617n0-0gif-lzbd-t6vp-lo9bv1ig1tdt'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#3v764ibo-2i9v-hklr-rljy-27m4jokqr9ie'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#itub2qms-zo4s-59ho-70mv-60t1jm7jz8hw'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#x37lwckx-xwh6-9sbr-y9l8-75fooedo86za'}, {u'block_name': '/vfphp/resbe-wldil-v60/SIM#l3n50zmx-ampy-kgyq-6l9x-q9b1uyg4abcs'}]

juztas commented 10 years ago

Hi,

We still have problem with this after new deployment : Error processing request "jbalcas_ReRecoskim_140127_113423_3111": will try again later. See log for details. Error: "string indices must be integers, not str"

I am not able to see log files and can`t dig further for investigation.

You can see the error here : https://cmsweb-testbed.cern.ch/reqmgr/view/details/jbalcas_ReRecoskim_140127_113423_3111