-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Migrate to esConsumes HIP and MillePede Alignment Algorithms #33583
Migrate to esConsumes HIP and MillePede Alignment Algorithms #33583
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33583/22391
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages: Alignment/CommonAlignmentAlgorithm @malbouis, @yuanchao, @christopheralanwest, @cmsbuild, @tlampen, @pohsun, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb56e5/14733/summary.html CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb56e5/14733/llvm-analysis/cmsclangtidy.txt for details. Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33583/22401
|
Pull request #33583 was updated. @malbouis, @yuanchao, @christopheralanwest, @cmsbuild, @tlampen, @pohsun, @francescobrivio can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33583/22406
|
Pull request #33583 was updated. @malbouis, @yuanchao, @christopheralanwest, @cmsbuild, @tlampen, @pohsun, @francescobrivio can you please check and sign again. |
@cmsbuild, please test to refresh the tests. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb56e5/15998/summary.html CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bb56e5/15998/llvm-analysis/cmsclangtidy.txt for details. Comparison SummarySummary:
|
+1
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
@mmusich , there is unit test failing in last night IB [a]. I do not know ifchange in this PR has caused that test to fail, can you please check? Thanks
|
@smuzaffar it it likely that this PR caused the problem in the unit test. |
@mmusich , I ran the test manually. May be you can update the test to dump the log files at https://github.com/cms-sw/cmssw/blob/master/Alignment/TrackerAlignment/test/pixelPositions.sh#L110 so that one can see the contents in case of failures |
unfortunately I don't see immediately what's the problem (and even how to start debugging it). |
I was able to reproduce, and am taking a look. |
The immediate problem is the order of base classes for the multiple inheritance of
The consumesCollector() is a function via the second, edm::ESProducerLooper() , and the edm::ConsumesCollector it returns is given to the constructor of the first, AlignmentProducerBase cmssw/Alignment/CommonAlignmentProducer/plugins/AlignmentProducer.cc Lines 13 to 14 in 5aa4fde
The ConsumesCollector holds a pointer to a base class of ESProducerLooper , edm::EDConsumerBase , that checks if the consumes registration call is in the constructor. But now the EDConsumerBase has not been constructed yet, we get undefined behavior that shows up as this exception being shown.
The fix would be to change the order of the base classes. I tried that, but then I get
followed by a segfault
|
I opened an issue #34223 to follow up |
PR description:
Part of #31061.
Its purpose is to migrate the core base classes of
Alignment/CommonAlignmentAlgorithm
and percolate it down toMillePedeAlignmentAlgorithm
andHIPAlignmentAlgorithm
.PR validation:
It compiles and runs successfully wf. 1001.0 (it exercises the MillePede algo via the
SiPixelAli
PCL worfklow).In addition run a SiPixelAli workflow with more statistics:
followed by:
A more thorough validation from the Tracker Alignment group is available here.
if this PR is a backport please specify the original PR and why you need to backport that PR:
This is not a backport, no backport is needed.
cc:
@antoniovagnerini @vbotta