Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Invalid rucio block lenght #590

Merged
merged 4 commits into from
Jun 19, 2020
Merged

Invalid rucio block lenght #590

merged 4 commits into from
Jun 19, 2020

Conversation

vlimant
Copy link
Contributor

@vlimant vlimant commented Jun 18, 2020

"fixes" #588

rucio returned

(u'/Wprimetotb_M2000W600_LH_TuneCP5_13TeV-madgraph-pythia8/RunIISummer16NanoAODv7-PUMoriond17_Nano02Apr2020_102X_mcRun2_asymptotic_v8-v1/NANOAODSIM#04ef69e5-9084-4649-89d7-8ce9552f786f', None)

for the block length.

BTW: rucio setup could be more integrated

@vlimant vlimant mentioned this pull request Jun 18, 2020
@sharad1126
Copy link
Contributor

thanks @vlimant . that's a good catch as I was expecting something similar but it's not coming from the function you updated here instead it is coming from getFileCountPerBlock.

RucioClient.py Outdated Show resolved Hide resolved
RucioClient.py Outdated Show resolved Hide resolved
@vlimant
Copy link
Contributor Author

vlimant commented Jun 19, 2020

@sharad1126 have you tried to run checkor on task_B2G-RunIISummer16NanoAODv7-02956 with the changes I commited ? I cannot (see #591)

@sharad1126
Copy link
Contributor

@vlimant how do you run checkor on a specific wf? I have never seen any option like -w or something which restricts checkor to run on any particular wf

@sharad1126
Copy link
Contributor

/revert 4afceab

@vlimant
Copy link
Contributor Author

vlimant commented Jun 19, 2020

could @amaltaro check quikly how a None was maybe injected in Rucio in the first place?
otherwise one has to create an issue to rucio jira (@ericvaandering)

@ericvaandering
Copy link

I was worried that this was just a metadata field which could be out of sync with list-contents, but I don't think so: https://github.com/rucio/rucio/blob/06b662cd4d0561861c8c23759e83eb6715f28f30/lib/rucio/core/did.py#L1149

Anyhow, None is the intended "length" for empty collections

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

Successfully merging this pull request may close these issues.

4 participants