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

TOF: adapt to change in CCDB fetcher #1609

Merged
merged 3 commits into from
May 8, 2024
Merged

Conversation

ercolessi
Copy link
Contributor

Change required after the merge of this PR: AliceO2Group/QualityControl#2261
Following also https://its.cern.ch/jira/browse/QC-1166

Could you confirm if this change enough @ktf @chiarazampolli ?

cc: @noferini @njacazio

Copy link

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2022-pp-apass4
async-2023-pbpb-apass3
async-2023-pbpb-apass4
async-2022-pp-apass6-2023-PbPb-apass2
async-2022-pp-apass4-accepted
async-2022-pp-apass6-2023-PbPb-apass2-accepted
async-2023-pbpb-apass3-accepted
async-2023-pbpb-apass4-accepted

@noferini
Copy link
Collaborator

We probably need to update
MC/config/QC/json/tofdigits.json
as well.
I will run a test as soon as the today tag is available

@ercolessi
Copy link
Contributor Author

I disabled the call to calibration objects in the jsons since in production we saw this new call produces crashes to be understood.

@noferini @ktf @chiarazampolli

Copy link
Collaborator

@noferini noferini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks fine. Thanks

@chiarazampolli
Copy link
Collaborator

Hello @ercolessi ,
What do you mean that in production it crashes?
Here what I am successfully running locally for async reco:


zampolli@pcalicecz5:~/SOFT/alibuild/ali-o2-dev1/O2DPG$ git diff
diff --git a/DATA/production/qc-async/tof.json b/DATA/production/qc-async/tof.json
index f8a259e1..5ffaf3d3 100644
--- a/DATA/production/qc-async/tof.json
+++ b/DATA/production/qc-async/tof.json
@@ -33,7 +33,7 @@
         "maxNumberCycles": "-1",
         "dataSource": {
           "type": "direct",
-          "query": "tofdigits:TOF/DIGITS/0;readoutwin:TOF/READOUTWINDOW/0;patterns:TOF/PATTERNS;diafreq:TOF/DIAFREQ/0",
+          "query": "tofdigits:TOF/DIGITS/0;readoutwin:TOF/READOUTWINDOW/0;patterns:TOF/PATTERNS;diafreq:TOF/DIAFREQ/0;channelCalib:TOF/CHCALIB/0?lifetime=condition&ccdb-path=TOF/Calib/ChannelCalib;lhcPhase:TOF/LHCP/0?lifetime=condition&ccdb-path=TOF/Calib/LHCphase",
           "query_comment" : "100% sampling"
         },
         "taskParameters": {

@noferini
Copy link
Collaborator

Hello @ercolessi , What do you mean that in production it crashes? Here what I am successfully running locally for async reco:


zampolli@pcalicecz5:~/SOFT/alibuild/ali-o2-dev1/O2DPG$ git diff
diff --git a/DATA/production/qc-async/tof.json b/DATA/production/qc-async/tof.json
index f8a259e1..5ffaf3d3 100644
--- a/DATA/production/qc-async/tof.json
+++ b/DATA/production/qc-async/tof.json
@@ -33,7 +33,7 @@
         "maxNumberCycles": "-1",
         "dataSource": {
           "type": "direct",
-          "query": "tofdigits:TOF/DIGITS/0;readoutwin:TOF/READOUTWINDOW/0;patterns:TOF/PATTERNS;diafreq:TOF/DIAFREQ/0",
+          "query": "tofdigits:TOF/DIGITS/0;readoutwin:TOF/READOUTWINDOW/0;patterns:TOF/PATTERNS;diafreq:TOF/DIAFREQ/0;channelCalib:TOF/CHCALIB/0?lifetime=condition&ccdb-path=TOF/Calib/ChannelCalib;lhcPhase:TOF/LHCP/0?lifetime=condition&ccdb-path=TOF/Calib/LHCphase",
           "query_comment" : "100% sampling"
         },
         "taskParameters": {

It crashed at P2 in data acquisition

@noferini noferini enabled auto-merge (squash) April 29, 2024 13:07
@chiarazampolli
Copy link
Collaborator

Async reco does not crash, I would leave the json for async with the flag "true", if that is correct.
Chiara

@noferini
Copy link
Collaborator

Async reco does not crash, I would leave the json for async with the flag "true", if that is correct. Chiara

It is a risk. Up to you

@chiarazampolli
Copy link
Collaborator

But what should be the flag? true or false? Isn't it wrong to have the wrong value, just because it works?

@noferini
Copy link
Collaborator

But what should be the flag? true or false? Isn't it wrong to have the wrong value, just because it works?

From our point of view they are both valid. We don't strictly need calibrations for QC

@chiarazampolli
Copy link
Collaborator

Ok, then let's make everything consistent, even if I think one should investigate why it fails - for me it is not normal. Don't you have a valid entry maybe? A default one for QC, or one from a previous run?

@ktf
Copy link
Member

ktf commented Apr 30, 2024

Maybe I missed it, could we have the stacktrace of the crash?

@chiarazampolli
Copy link
Collaborator

Hello @noferini , @ercolessi ,
I can merge this, but I think we should understand what is making the online reco fail. What do you think?
Chiara

@noferini
Copy link
Collaborator

Hello @noferini , @ercolessi , I can merge this, but I think we should understand what is making the online reco fail. What do you think? Chiara

As discussed also on Monday we are following up this with @ktf

@chiarazampolli
Copy link
Collaborator

Hello @ercolessi , @noferini ,
Should I merge?
Chiara

@noferini
Copy link
Collaborator

noferini commented May 8, 2024

H @chiarazampolli , we can merge it.
Francesco

@noferini noferini merged commit d0a5c35 into AliceO2Group:master May 8, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

4 participants