-
Notifications
You must be signed in to change notification settings - Fork 108
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
Construct the PU location via rucio considering MSTransferor locks #9930
Conversation
Jenkins results:
|
Jenkins results:
|
fix more unit tests
Jenkins results:
|
@belforte Stefano, I should have implemented it yesterday. But in case it's not too late, I have made 2 useful utilitarian functions in the Rucio wrapper module. Check this PR out if you want. |
thanks Alan. Not too late. I will adopt dmwm/CRABServer#6165 |
@khurtado FYI, this PR will slightly change the format of our pileupconf.json data structure (FileList will be a flat list, instead of a list of dicts). |
Unit test tests most of this functionality, a real test is still required though, once we have more data in Rucio int database |
Fixes #9894
Status
ready
Description
Previous logic in WMAgent for resolving the pileup location (the pileupconf.json construction) was simply relying on the current block location, without considering who locked the data.
This PR changes that functionality to something similar to what is done at WorkQueue level, such that we only use data that has been locked by MSTransferor.
I also have two somehow unrelated changes here:
FileList
will contain a flat list of file names (instead of {"logical_file_name": })FileList
is no longer sorted. I couldn't see any reason to sort it. Besides, at SetupCMSSWPSet level we shuffle all those files..Is it backward compatible (if not, which system it affects?)
no, between old and new agents. But this isn't a valid use case.
Related PRs
none
External dependencies / deployment changes
none