-
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
Disable ROOT automatic class parsing in ProductRegistryHelper::addToRegistry #47397
base: master
Are you sure you want to change the base?
Disable ROOT automatic class parsing in ProductRegistryHelper::addToRegistry #47397
Conversation
This done to avoid trying to build missing dictionaries for edm::Wrapper<T> when the dictionary for T itself is present and the relevant classes.h file includes a CUDA-related header, as that causes ROOT to fail before we can issue the proper error message about missing dictionaries.
Add a test to check that the framework handles correctly the case of edm::Wrapper<T> where: - T has a dictionary - edm::Wrapper<T> does not have a dictionary - the corresponding classes.h file includes CUDA headers
cms-bot internal usage |
enable gpu |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47397/43780 |
A new Pull Request was created by @fwyzard for master. It involves the following packages:
@Dr15Jones, @fwyzard, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Ah :-/ |
-1 Failed Tests: UnitTests RelVals RelVals-GPU RelVals-INPUT AddOn Unit TestsI found 3 errors in the following unit tests: ---> test TestFWCoreFramework had ERRORS ---> test test_MC_22_crosscheck had ERRORS ---> test test_MC_23_crosscheck had ERRORS RelVals
Expand to see more relval errors ...
RelVals-GPU
RelVals-INPUT
Expand to see more relval errors ...
AddOn Tests
|
After more digging I think I found what is the underlying issue: #47400 . |
PR description:
Disable ROOT automatic class parsing while registering products in
ProductRegistryHelper::addToRegistry()
.This done to avoid trying to build missing dictionaries for
edm::Wrapper<T>
when the dictionary forT
itself is present and the relevantclasses.h
file includes a CUDA-related header, as that causes ROOT to fail before we can issue the proper error message about missing dictionaries.Add a new test to check that the framework handles such corner case correctly.
PR validation:
The new unit test passes, while it would fail without these changes.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
To be backported to 15.0.x