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

[12.4.X] add protection against missing input histograms in L1Tde* clients #39561

Merged

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Oct 1, 2022

backport of #38493

PR description:

When trying to setup the unit tests for PR #38463 I noticed that no matter what HARVESTING flavor one chose, if the input histograms for the L1T harvesting are not available the process crashed as:

Thread 1 (Thread 0x7f4b1bb6a540 (LWP 26954) "cmsRun"):
#0  0x00007f4b1da0addd in poll () from /lib64/libc.so.6
#1  0x00007f4b16f6773f in full_read.constprop () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/pluginFWCoreServicesPlugins.so
#2  0x00007f4b16f680cc in edm::service::InitRootHandlers::stacktraceFromThread() () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/pluginFWCoreServicesPlugins.so
#3  0x00007f4b16f6aa1b in sig_dostack_then_abort () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/pluginFWCoreServicesPlugins.so
#4  <signal handler called>
#5  0x00007f4ad3a7ade9 in L1TdeCSCTPGClient::processHistograms(dqm::implementation::IGetter&) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/pluginDQML1TMonitorClient.so
#6  0x00007f4ad3a17c6d in DQMEDHarvester::endLuminosityBlockProduce(edm::LuminosityBlock&, edm::EventSetup const&) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/pluginDQML1TMonitorClient.so
#7  0x00007f4b2047285d in edm::one::EDProducerBase::doEndLuminosityBlock(edm::LumiTransitionInfo const&, edm::ModuleCallingContext const*) () from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_5_X_2022-06-23-2300/lib/slc7_amd64_gcc10/libFWCoreFramework.so

I propose to fix the issue by putting in place some protection to stop executing the harvesting if the input histograms are not available.

PR validation:

Using the files at /afs/cern.ch/user/m/musich/public/L1THarvFix/ the process doesn't crash.

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:

backport of #38493, as requested at #38493 (comment)

@mmusich
Copy link
Contributor Author

mmusich commented Oct 1, 2022

type bug-fix

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2022

A new Pull Request was created by @mmusich (Marco Musich) for CMSSW_12_4_X.

It involves the following packages:

  • DQM/L1TMonitorClient (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@missirol this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor Author

mmusich commented Oct 1, 2022

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-974de4/27897/summary.html
COMMIT: 48e4237
CMSSW: CMSSW_12_4_X_2022-09-30-2300/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/39561/27897/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3677402
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3677372
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@pmandrik
Copy link
Contributor

pmandrik commented Oct 2, 2022

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2022

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

@perrotta
Copy link
Contributor

perrotta commented Oct 2, 2022

+1

  • The backported PR was merged when the master was in 12_5_X, thus there is no need to backport in 12_5

@cmsbuild cmsbuild merged commit 05e4830 into cms-sw:CMSSW_12_4_X Oct 2, 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.

4 participants