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 race condition in DAQ modules for 80X (make new PR) #12277

Merged
merged 5 commits into from Nov 12, 2015

Conversation

smorovic
Copy link
Contributor

@smorovic smorovic commented Nov 5, 2015

Same changes as in #12202 with conflicts resolved.

…g, with other thread already requests next event from source. Source can then open next LS (internally) and report event number in past LS to the FastMonitoringService. In this case it is possible to run preEndLumi triggered by exception later than source report, in which case exception check was (incorrectly) being skipped.
compilation fixes

Conflicts:
	EventFilter/Utilities/interface/FedRawDataInputSource.h
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 5, 2015

A new Pull Request was created by @smorovic (Srecko Morovic) for CMSSW_8_0_X.

Fix race condition in DAQ modules for 80X (make new PR)

It involves the following packages:

EventFilter/Utilities

@mommsen, @cvuosalo, @cmsbuild, @emeschi, @slava77 can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' or '@cmsbuild, please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cvuosalo
Copy link
Contributor

cvuosalo commented Nov 5, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 5, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9479/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2015


}

auto sourceReport = inputSource_->getEventReport(lumi, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me that inputSource_ is guaranteed to be non-null at this point. It would be safer to put in a check before dereferencing this pointer.

@cvuosalo
Copy link
Contributor

cvuosalo commented Nov 6, 2015

Jenkins tests are OK. The unit test errors don't seem related to this PR. Comparison differences are due to inclusion in the test of #12085, which adds the full5x5 shower shapes to non-GED photons.

@smorovic
Copy link
Contributor Author

smorovic commented Nov 8, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 8, 2015

Pull request #12277 was updated. @mommsen, @cvuosalo, @cmsbuild, @emeschi, @slava77 can you please check and sign again.

@cvuosalo
Copy link
Contributor

cvuosalo commented Nov 9, 2015

@cmsbuild please test
Trying again

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9541/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 9, 2015

@cvuosalo
Copy link
Contributor

+1

For #12277 70c8373

Fixing rare multi-threading race condition in event processing by DAQ modules. There should be no change in monitored quantities. #12200 and #12201 are the 75X and 76X versions of this PR, and they have already been approved by Reco.

The code changes are satisfactory, and Jenkins tests against baseline CMSSW_8_0_X_2015-11-09-1100 show no significant differences, as expected.

@mommsen
Copy link
Contributor

mommsen commented Nov 11, 2015

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Nov 12, 2015
Fix race condition in DAQ modules for 80X (make new PR)
@cmsbuild cmsbuild merged commit 8912b6f into cms-sw:CMSSW_8_0_X Nov 12, 2015
@smorovic smorovic deleted the exception-catch-fix-80X branch November 13, 2015 10:44
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

5 participants