dmwm / CRABServer

15 stars 37 forks source link

Publisher rucio to check block completion 8491 #8526

Closed belforte closed 4 days ago

belforte commented 4 days ago

initial implementation.

cmsdmwmbot commented 4 days ago

Jenkins results:

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-CRABServer-PR-test/2029/artifact/artifacts/PullRequestReport.html

cmsdmwmbot commented 4 days ago

Jenkins results:

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-CRABServer-PR-test/2030/artifact/artifacts/PullRequestReport.html

belforte commented 4 days ago

interesting comment about testing automatic splitting. Of coure I need to test this RutioUtils with TW, which I have not done yet, confident that my change was backward compatible ( :crossed_fingers: ), but I am curious what I am missing about autosplit !

belforte commented 4 days ago

thanks for reading !!

novicecpp commented 4 days ago

but I am curious what I am missing about autosplit !

Sorry, not autosplit but PreDag (which is used by autosplit). Just a reminder that we do talk to rucio in PreDag. I modified RucioUitls long time ago, and it broke without knowing until user reported it.

belforte commented 4 days ago

Ah.. now I remember. when we run TW code in the scheduler we do not have the config. from puppet. Must be sure that we carry all the info in the tarball ! Thanks for pointing out. I stand corrected. PreDag builds the config on the fly since in the scheduler we need to use user's proxy as credential. Again.. lot's of history, there is no technical need for accessing Rucio in there, it is only used for preparing the PFN for fall-back direct stageout, which was already done in the TW. The PFN could be passed.

Let me add to the issue and check before merging

belforte commented 4 days ago

Sorry, not autosplit but PreDag (which is used by autosplit).

PreDag is used only by autosplit, and in a way it is its engine. You were correct.

belforte commented 4 days ago

testing in https://gitlab.cern.ch/crab3/CRABServer/-/pipelines/7641939

belforte commented 4 days ago

this PR is backward compatible !