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

Fix assert failure in readLuminosityBlock #27158

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Jun 10, 2019

PR description:

We are having a rare, nonreproducible failure in
EventProcessor::readLuminosityBlock in the IBs.
The symptom is an assert because the pointer to
the LuminosityBlockPrincipal is null. If the
LuminosityBlockProcessingStatus object was being
destroyed before calling resumeGlobalLumiQueue
then such a failure could occur because the order the
of the member variables in LuminosityBlockProcessingStatus
is wrong. We should free the LuminosityBlockPrincipal
before resuming the lumi queue. I am not sure this will
actually help though, because I can see no way to get
into this state. The existing code tries to always call
resumeGlobalLumiQueue, but this should eliminate at least
one possible source for the assert we have seen.

This should not change any behavior except maybe in some
complex case where we are already dealing with an unrelated
exception.

PR validation:

Run existing unit tests.

We are having a rare, nonreproducible failure in
EventProcessor::readLuminosityBlock in the IBs.
The symptom is an assert because the pointer to
the LuminosityBlockPrincipal is null. If the
LuminosityBlockProcessingStatus object was being
destroyed before calling resumeGlobalLumiQueue
then such a failure could occur because the order the
of the member variables in LuminosityBlockProcessingStatus
is wrong. We should free the LuminosityBlockPrincipal
before resuming the lumi queue. I am not sure this will
actually help though, because I can see no way to get
into this state. The existing code tries to always call
resumeGlobalLumiQueue, but this should eliminate at least
one possible source for the assert we have seen.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27158/10304

  • This PR adds an extra 16KB to repository

@wddgit
Copy link
Contributor Author

wddgit commented Jun 10, 2019

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 10, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/860/console Started: 2019/06/10 20:52

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wddgit (W. David Dagenhart) for master.

It involves the following packages:

FWCore/Framework

@cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2a43d3/860/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3215458
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3215122
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 1cd9244 into cms-sw:master Jun 11, 2019
@wddgit wddgit deleted the bugFixLumiStatus branch August 9, 2019 18:48
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.

None yet

4 participants