-
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
refactor: disable DQM pb files production #46662
refactor: disable DQM pb files production #46662
Conversation
cms-bot internal usage |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46662/42585 Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46662/42586 |
A new Pull Request was created by @gabrielmscampos for master. It involves the following packages:
@antoniovagnerini, @cmsbuild, @rseidita can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
FYI @mmusich |
@cms-sw/hlt-l2 @fwyzard FYI |
concerning:
it is ignored in the offline dumps of the HLT menu, but we definitely use it the online HLT menu and keep wanting to do so. |
why? |
Line 814 simple removes the module instance from the dump for offline! |
However, since the |
# by replacing the dqmSaver with a stub dqmSaver. | ||
# dqmSaver = cms.EDAnalyzer("DQMFileSaverPB", | ||
|
||
dqmSaver = cms.EDAnalyzer("DQMFileSaverPBStub", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Martin-Grunewald is this going to mess up with the parsing of the confDB GUI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we make this
descriptions.addDefault(desc); |
actually write out a cfi with addWithDefaultLabel
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would need a proper fillDescriptions method with all the parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the end these are two different plugins and thus need two separate cfi files (as each cfi file contains the class name).
# by replacing the dqmSaver with a stub dqmSaver. | ||
# dqmSaver = cms.EDAnalyzer("DQMFileSaverPB", | ||
|
||
dqmSaver = cms.EDAnalyzer("DQMFileSaverPBStub", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would remove the original DQMFileSaverPB
from being seen by ConfDB parsing (no cfi file with it!) and thus no longer available for HLT menus online or offline. As Marco mentioned we want to use the plugin for online, so we'd need another solution here, for example, a new separate cfi file DQMFileSaverPBStub_cfi.py
, and not removing the old one.
I don't think this PR per se is going to be harmful to the HLT online, provided you address #46662 (comment).. |
Got it, I can create a new EDAnalyzer for the DQM clients in order to preserve the current one for HLT. Thanks! |
maybe I am missing something trivial, but where is it referenced in all of these files?
via
If you want to just change the behavior in the online clients can't you create a new something like: from DQMServices.FileIO.DQMFileSaverPBStub_cfi import dqmSaver as dqmSaverPB |
Yes, that is what I'm going to do. Initially I thought in removing the references to |
hold |
Pull request has been put on hold by @fwyzard |
-1 Failed Tests: UnitTests Unit TestsI found 2 errors in the following unit tests: ---> test TestDQMServicesDemo had ERRORS ---> test TestDQMGUIUpload had ERRORS Comparison SummarySummary:
|
@smuzaffar The
Are we missing something? |
please test looks like latest bot change cms-sw/cms-bot#2361 broke the PR testing |
-1 Failed Tests: UnitTests Unit TestsI found 1 errors in the following unit tests: ---> test TestDQMGUIUpload had ERRORS Comparison SummarySummary:
|
please test |
+1 Size: This PR adds an extra 12KB to repository Comparison SummarySummary:
|
Spurious errors in DQM bin-by-bin comparison in Tracker Phase 2 WS seem to have been introduced by #46717, which was merged 5 h ago , see https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_14_2_X_2024-11-17-0000+6d35e2/65692/29634.0_TTbar_14TeV+Run4D110/ |
+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. @rappoccio, @mandrenguyen, @antoniovilela, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
dqmSaver
class with a stub class, thus disabling the pb production everywhere this EDAnalyzer is used.PR description:
Since we are disabling the anelasticDQM process in the DQM online machines, we are going to start accumulating PB files there. The simplest solution to avoid accumulating files is to disable the PB file production in all clients, because:
PR validation:
Tested in DQM Playback environment, all plots behaving as expected and PB files are not created anymore.
The original
dqmSaver
(PB) EDAnalyzer is called from the DQM clients underDQM/Integration/python/clients
(results found usinggrep -rn "dqmSaverPB" *
, the BeamMonitor test and following files in EventFilter (results found usinggrep -rn "DQMFileSaverPB_cfi" *
):Nevertheless, the original EDAnalyzer seems to be ignored in HLTTrigger confdb, given the following:
Any input on this is appreciated, since later on a flag with the same name seems to be written in the auto generated file: