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
CMSSW tests fails with Fatal Root Error: @SUB=Minuit2 #42979
Comments
A new Issue was created by @smuzaffar Malik Shahzad Muzaffar. @makortel, @smuzaffar, @Dr15Jones, @antoniovilela, @rappoccio, @sextonkennedy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
FYI @guitargeek |
Do we need a fix like #38687 ( https://github.com/cms-sw/cmssw/blob/master/DQM/BeamMonitor/plugins/Vx3DHLTAnalyzer.cc#L423-L432 ) to add a protection for |
assign dqm |
New categories assigned: dqm @rvenditti,@syuvivida,@tjavaid,@nothingface0,@antoniovagnerini you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Hi @smuzaffar, thanks for pinging me about this! According to @lmoneta looks like an actual problem in Minuit 2 that we need to debug fix, so please don't just shove the problem under the rug with a try-catch 🙂 How can I reproduce the failure? Note that I don't have access to CMS Jenkins as a non CMS member, but I can still use CMSSW on Note that after we have fixed the actual problem on the ROOT side, this PR should probably also be reverted: Linking also two PRs for reference: |
Is the problem because, by default, CMS turns ROOT Error/Warning messages into exceptions? Maybe this is one we should tell our code not to convert? |
Well, it's actually nice that you turned this into an exception, because this is most likely a logic error in Minuit2 that we would not have spotted otherwise! |
@guitargeek , you can reproduce it using following on lxplus8
|
Hi @smuzaffar, thanks for this, I can reproduce it! But I'm still at a loss of what actually happens. Is it possible to make cmsRun rethrow the exception to I can actually get a stacktrace? I tried this in the process options: Rethrow = cms.untracked.vstring("ProductNotFound", "FatalRootError"), But it didn't change the behavior. CMSSW is just carrying on after the fatal exception. |
What do you mean with "rethrow"? When the framework catches an exception, it works to shut down. Do you mean rethrowing the exception toe caught by the C++ runtime? We don't have facility to do that. In order to get a stack trace of the exception, you could run |
Perfect! Thanks, yes that was exactly what I needed |
I could extract the relevant histogram and opened an upstream issue. We'll work on this with high priority. |
#43106 fixes the issue by using |
The DQM plots use the `TH2::FitSlicesY()` function to fit some Gaussians. However, some of the fits are failing. This was not resulting in errors so far, but with the switch to Minuit2 by default in ROOT 6.30 it will. The problem is that it uses chi-square fits to fit slices with many empty bins, which is not appropriate. Doing a likelihood fit with the `"l"` option is one way to fix the problem, because it can better deal with empty bins. Closes cms-sw#42979.
We updated ROOT master commit for CMSSW ROOT6 IBs to 744dcdea97 but it caused many tests in cmssw to fail with error [a]. Tests with ROOT commit 5df0ef8bfa worked fine. The ROOT change set in question is root-project/root@5df0ef8...744dcde . I see there are some changes in root's
Minuit2
code (e.g Minuit2 is now the default minimizer ). Is it something we need to update in cmssw to accommodate new rootMinuit2
changes?[a]
The text was updated successfully, but these errors were encountered: