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

Added parameters for PbPb #1771

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

cpuggion84
Copy link
Contributor

No description provided.

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-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0

@cpuggion84
Copy link
Contributor Author

cpuggion84 commented Oct 18, 2024

+async-label async-2024-PbPb-cpass0, async-2024-PbPb-apass1

@github-actions github-actions bot added the async-2023-pbpb-apass4 Request porting to async-2023-pbpb-apass4 label Oct 18, 2024
@davidrohr
Copy link
Collaborator

is it intended that you set zdcPbPb.json independent from the beam type?

@cpuggion84
Copy link
Contributor Author

is it intended that you set zdcPbPb.json independent from the beam type?
You're right, it's better to have a selection.
I didn't put it because the detector typically only takes data in PbPb. But in VDMs it can happen that it also takes data in proton.
Could you please take a look if it's ok? Because I wouldn't know how to try it locally

@davidrohr
Copy link
Collaborator

davidrohr commented Oct 21, 2024 via email

[[ -z "${QC_JSON_ZDC:-}" ]] && has_processing_step ZDC_RECO && QC_JSON_ZDC=$O2DPG_ROOT/DATA/production/qc-async/zdc.json
if [[ -z "${QC_JSON_ZDC:-}" ]] && has_processing_step ZDC_RECO; then
if [[ "$BEAMTYPE" == "PbPb" ]]; then
QQC_JSON_ZDC=$O2DPG_ROOT/DATA/production/qc-async/zdcPbPb.json
Copy link
Contributor

@JianLIUhep JianLIUhep Oct 28, 2024

Choose a reason for hiding this comment

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

@cpuggion84 There is a typo QQC. Please fix it.

@JianLIUhep
Copy link
Contributor

@cpuggion84 I tested it locally. After fixing the typo, the async workflows worked without crashes and the ZDC QC plots were filled. cc @davidrohr @chiarazampolli

@davidrohr davidrohr merged commit 6d96fa8 into AliceO2Group:master Oct 28, 2024
7 checks passed
@davidrohr
Copy link
Collaborator

Merged and fixed typo (#1775)

@alcaliva
Copy link
Collaborator

alcaliva commented Nov 2, 2024

Dear @cpuggion84, I tried to port this commit to the tag for PbPb (async-v1-01-21) starting from the branch async-v1-01-branch and it gave me conflicts. Please, let me know what is missing and I will include it in the next production tag
Thanks
Alberto

@aferrero2707
Copy link
Contributor

aferrero2707 commented Nov 2, 2024

@alcaliva I am helping Carlo to figure out what is wrong... we tried to cherry-pick the two commits in this PR into async-v1-01-branch, and there were no conflicts. Can you show which conflicts you are getting?
Thanks!

@alcaliva
Copy link
Collaborator

alcaliva commented Nov 2, 2024

ERROR: There was a problem cherry-picking 6d96fa8
Auto-merging DATA/production/qc-workflow.sh
CONFLICT (content): Merge conflict in DATA/production/qc-workflow.sh
error: could not apply 6d96fa8... Update qc-workflow.sh
hint: After resolving the conflicts, mark them with
hint: "git add/rm ", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

@chiarazampolli
Copy link
Collaborator

Ciao,

There might other PRs that are needed. We can check tomorrow.

Chiara

@aferrero2707
Copy link
Contributor

@alcaliva I still cannot reproduce your error... I have tried to cherry-pick the two commits from master to the async-v1-01-branch branch as you are doing, and all goes fine:

[flp@mchflp1 O2DPG-async-v1-01]$ git checkout async-v1-01-branch
Switched to branch 'async-v1-01-branch'
[flp@mchflp1 O2DPG-async-v1-01]$ git branch -vv
* async-v1-01-branch 90aa3cd [origin/async-v1-01-branch] Add the exotic injection script for resonances
  master             9946a60 [origin/master] avoid that PRODSPLIT is overwritten
[flp@mchflp1 O2DPG-async-v1-01]$ git cherry-pick ca3d4ce3ee86900393f55e5676fdadc7ec10b89a
[async-v1-01-branch 0084763] Added parameters for PbPb
 Author: Carlo Puggioni <[email protected]>
 3 files changed, 84 insertions(+), 11 deletions(-)
 create mode 100644 DATA/production/qc-async/zdcPbPb.json
[flp@mchflp1 O2DPG-async-v1-01]$ git cherry-pick 6d96fa8ff5b0da0d9f1ae64b32ceb4773c23a5a8
[async-v1-01-branch 4e2a28f] Update qc-workflow.sh
 Author: cpuggion84 <[email protected]>
 1 file changed, 7 insertions(+), 1 deletion(-)
[flp@mchflp1 O2DPG-async-v1-01]$ 

Am I doing something wrong?

@chiarazampolli
Copy link
Collaborator

The PR should be picked on version 12c.

I cannot try today, sorry...

@alcaliva
Copy link
Collaborator

alcaliva commented Nov 3, 2024

Hi Chiara,

I tried yesterday and re-tried now with:

start_from: &start_from async-v1-01-12c
target_tag: &target_tag async-v1-01-12d

I still get conflicts:
INFO: Run cherry-picking in package O2DPG
INFO: Sort commits from oldest to most recent
['8a53dfefad39919f0e4c59535b315762dc123ed6', '6d96fa8ff5b0da0d9f1ae64b32ceb4773c23a5a8']
SUCCESS 8a53dfe
ERROR: There was a problem cherry-picking 6d96fa8
Auto-merging DATA/production/qc-workflow.sh
CONFLICT (content): Merge conflict in DATA/production/qc-workflow.sh
error: could not apply 6d96fa8... Update qc-workflow.sh
hint: After resolving the conflicts, mark them with
hint: "git add/rm ", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
INFO: Trying to continue
INFO: Cherry-picking
SUCCESS: 1 (8a53dfe)
SKIPPED: 0 ()
FAILED: 1 (6d96fa8)
INFO: Cherry-picking has failed, resetting everything in package O2DPG
==> Log file is at o2dpg_cherry_picks_logs/20241103/run_cherry_pick_tag_1730650686.log.

@alcaliva
Copy link
Collaborator

alcaliva commented Nov 3, 2024

Hi @aferrero2707 ,

I see that you are trying to cherry-pick this commit: ca3d4ce
Can you point me to the PR? Does this have the label async-2024-PbPb-cpass0 ?

@aferrero2707
Copy link
Contributor

@alcaliva ca3d4ce is the first of the two commits of this PR.

@alcaliva
Copy link
Collaborator

alcaliva commented Nov 3, 2024

Hi Andrea, sorry, from https://aliceo2group.github.io/dpg-documentation/docs/software/requests_automatic/dpg_pr_report_MERGED.html I saw only one.

It worked now!
The tag is building in https://alijenkins.cern.ch/job/Build%20async%20reco%20O2%20for%20CPU+GPU/197/

@chiarazampolli
Copy link
Collaborator

Hello @alcaliva , @aferrero2707 ,

I don't know how @aferrero2707 got the second hash, but I see it doing the usual "git log":

zampolli@pcalicecz5:~/SOFT/alibuild/ali-o2-dev1/O2DPG$ git log  6d96fa8
commit 6d96fa8ff5b0da0d9f1ae64b32ceb4773c23a5a8
Author: cpuggion84 <[email protected]>
Date:   Mon Oct 21 12:31:14 2024 +0200

    Update qc-workflow.sh

commit ca3d4ce3ee86900393f55e5676fdadc7ec10b89a
Author: Carlo Puggioni <[email protected]>
Date:   Fri Oct 18 16:50:16 2024 +0200

    Added parameters for PbPb

@davidrohr , @cpuggion84 , we should squash such commits the next time.

Chiara

@chiarazampolli chiarazampolli removed the async-2023-pbpb-apass4 Request porting to async-2023-pbpb-apass4 label Nov 20, 2024
@chiarazampolli
Copy link
Collaborator

Not needed for PbPb 2023 apass4, since the pass is over, and the PR does not affect MC, so the label was removed.

@chiarazampolli
Copy link
Collaborator

Hello @alcaliva ,

Why did you add again the cpass0 PbPb 2024 label? I think the tag was done with this. Maybe it was a mistake. See also:

https://aliceo2group.github.io/dpg-documentation/docs/software/accepted/O2DPG_accepted.html

or:

https://github.com/AliceO2Group/O2DPG/commits/async-v1-01-12e/

I am removing the label.

Chiara

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

Successfully merging this pull request may close these issues.

6 participants