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

[DDD] Fix building of DDD GEM reco geometry DB payload, backport of #36869 #36870

Merged
merged 1 commit into from Feb 7, 2022

Conversation

cvuosalo
Copy link
Contributor

@cvuosalo cvuosalo commented Feb 2, 2022

PR #36835 fixed the building of the GEM reco geometry for DD4hep, but it caused a problem for building the DDD GEM reco geometry DB payload. Technically, an unreliable DDFilteredView copy constructor had been used, which caused the original DDFilteredView to be changed when the copy was altered. The solution is to create a separate, identical DDFilteredView that can be iterated through without altering the original.

Note that this PR only affects the manual process of creating the DDD GEM reco geometry DB payload, which is done by an expert. This code is never used in any workflow.

PR validation:

A correct DDD GEM reco geometry DB payload was created successfully with this PR, whereas previously the creation program crashed.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Original PR is #36869. For completeness and consistency, this PR could be backported to 12_2, but it is not strictly necessary. There shouldn't be a need to create geometry DB payloads in 12_2, since the latest 12_3 tags are the ones that should be used with 12_2_1.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2022

A new Pull Request was created by @cvuosalo (Carl Vuosalo) for CMSSW_12_2_X.

It involves the following packages:

  • Geometry/GEMGeometryBuilder (geometry, upgrade)

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks.
@giovanni-mocellin, @watson-ij, @jshlee, @bsunanda, @fabiocos, @slomeo this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@srimanob
Copy link
Contributor

srimanob commented Feb 3, 2022

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0b7355/22176/summary.html
COMMIT: 09b91f2
CMSSW: CMSSW_12_2_X_2022-02-02-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36870/22176/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

The workflows 1001.0, 1000.0, 136.88811, 136.874, 136.8311, 136.793, 136.7611, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3250594
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3250566
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 41 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

perrotta commented Feb 3, 2022

please test with #36740, #36780, #36781, #36782, #36872
(simply to check the claim made at the last ORP that all those PRs can run in 12_2 also with the old GT, which is therefore not added to the list of accompanying PRs here)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2022

-1

Failed Tests: RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0b7355/22189/summary.html
COMMIT: 09b91f2
CMSSW: CMSSW_12_2_X_2022-02-02-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36870/22189/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

  • 312.0312.0_Pyquen_ZeemumuJets_pt10_2760GeV_2021+Pyquen_ZeemumuJets_pt10_2760GeV_2021+DIGIHI2021MIX+RECOHI2021MIX+HARVESTHI2021PPRECO/step3_Pyquen_ZeemumuJets_pt10_2760GeV_2021+Pyquen_ZeemumuJets_pt10_2760GeV_2021+DIGIHI2021MIX+RECOHI2021MIX+HARVESTHI2021PPRECO.log
  • 11634.711634.7_TTbar_14TeV+2021_trackingMkFit+TTbar_14TeV_TuneCP5_GenSim+Digi+RecoNano+HARVESTNano/step3_TTbar_14TeV+2021_trackingMkFit+TTbar_14TeV_TuneCP5_GenSim+Digi+RecoNano+HARVESTNano.log
  • 11634.011634.0_TTbar_14TeV+2021+TTbar_14TeV_TuneCP5_GenSim+Digi+RecoNano+HARVESTNano+ALCA/step3_TTbar_14TeV+2021+TTbar_14TeV_TuneCP5_GenSim+Digi+RecoNano+HARVESTNano+ALCA.log
Expand to see more relval errors ...

@perrotta
Copy link
Contributor

perrotta commented Feb 3, 2022

please test with #36740, #36780, #36781, #36782, #36872, #36785
(now with the updated GT...)

@cvuosalo
Copy link
Contributor Author

cvuosalo commented Feb 3, 2022

type bug-fix

@cvuosalo
Copy link
Contributor Author

cvuosalo commented Feb 3, 2022

backport of #36869

@cvuosalo
Copy link
Contributor Author

cvuosalo commented Feb 3, 2022

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0b7355/22190/summary.html
COMMIT: 09b91f2
CMSSW: CMSSW_12_2_X_2022-02-03-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36870/22190/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 16678 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3250600
  • DQMHistoTests: Total failures: 37477
  • DQMHistoTests: Total nulls: 30
  • DQMHistoTests: Total successes: 3213071
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1805.52 KiB( 41 files compared)
  • DQMHistoSizes: changed ( 11634.0,... ): 131.874 KiB RPC/AllHits
  • DQMHistoSizes: changed ( 11634.0,... ): 131.728 KiB RPC/Muon
  • DQMHistoSizes: changed ( 11634.0,... ): 33.682 KiB GEM/Efficiency
  • DQMHistoSizes: changed ( 11634.0,... ): 1.448 KiB GEM/Digis
  • DQMHistoSizes: changed ( 11634.0,... ): 0.849 KiB GEM/SimHits
  • DQMHistoSizes: changed ( 11634.0,... ): 0.531 KiB GEM/Pad
  • DQMHistoSizes: changed ( 11634.0,... ): 0.432 KiB GEM/PadCluster
  • DQMHistoSizes: changed ( 11634.0,... ): 0.299 KiB GEM/RecHits
  • DQMHistoSizes: changed ( 11634.0,... ): 0.078 KiB RPC/RPCRecHitV
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: found differences in 5 / 41 workflows

@perrotta
Copy link
Contributor

perrotta commented Feb 3, 2022

Given the tests above, it is confirmed that the updated GT is really needed, and it will not be possible in 12_2_1 to switch from the previus and the new fixed Run3 geometry simply with a GT change

@civanch
Copy link
Contributor

civanch commented Feb 4, 2022

@srimanob, please, comment

@srimanob
Copy link
Contributor

srimanob commented Feb 4, 2022

@perrotta @civanch
We can't migrate only GT as there are modifications that touch SIM also, i.e. in #36780
They should go together.

@srimanob
Copy link
Contributor

srimanob commented Feb 4, 2022

+Upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 4, 2022

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_2_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

perrotta commented Feb 4, 2022

@srimanob @civanch my comment in #36870 (comment) was just the summary of a check I made, trying to verify a statement made during the last ORP meeting, i.e. "we can backport the fixes needed for the updated Run3 geometry in 12_2_X, and then use the GT to decide whether to use the previous Run3 geometry or the fixed one".

The outcome of the tests run in this PR (it could have been any other PR among the ones expected to be backported) is that once these PRs are backported it will not be possible to switch to the "old" Run3 geometry simply by reverting to the "old" GT payloads.

The conclusion is that once these PR will get merged in 12_2 there will be no way to run the "old" Run3 geometry in 12_2_1.

For me that's perfectly fine: once fixed the technical issues there is no reason to produce samples in 12_2_1 with the "old" Run3 geometry. But this is something that PPD should be aware of.

Let me then add here @rappoccio and Kaori (sorry, I miss her github name), for their own information

@bsunanda
Copy link
Contributor

bsunanda commented Feb 4, 2022 via email

@perrotta
Copy link
Contributor

perrotta commented Feb 4, 2022

Yes there will be. One can use the old GT and use one of the modifier flag which says it is old geometry

Ah, great! Thank you @bsunanda
Was it ever checked, by the way? Should we add one workflow that tests that option?

@perrotta
Copy link
Contributor

perrotta commented Feb 7, 2022

+1

@cmsbuild cmsbuild merged commit edb257f into cms-sw:CMSSW_12_2_X Feb 7, 2022
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.

None yet

6 participants