-
Notifications
You must be signed in to change notification settings - Fork 4.6k
DAQ fix spurious luminosityBlockAuxiliary assertion in HLT (12_1_X) #35682
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
Conversation
A race can happen because local lock is unlocked when lsToStart is determined, and since this involves checking for marker files locally, another competing process can create EoL file since lock was released (and cause lsToStart to be increased above LS of the newly opened file). In case lsToStart is larger than ls, source would skip opening a lumisection before ending up processing events and this results in the lumi block related assertion.
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35682/25973
|
|
A new Pull Request was created by @smorovic (Srecko Morovic) for master. It involves the following packages:
@jpata, @cmsbuild, @emeschi, @smorovic, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-86092f/19645/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummaryThe workflows 1001.0 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons Summary:
|
|
+daq |
|
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
Fix a crash caused by the missing luminosityBlockAuxiliary object, seen in rare instances at the start of run in production DAQ/HLT.
A race can happen because the local file lock is unlocked before lsToStart is determined.
Since this check involves stat calls for marker files locally, another competing process can in parallel create
the EoL marker file being checked (and cause lsToStart to be increased
above LS of the newly opened file).
In case lsToStart is larger than ls, source would skip opening a lumisection
before ending up processing events and this results in the lumi block
related assertion.
Bugfix ensures that lumisection is opened before file can be processed.
PR validation:
Tested in DAQ filterfarm test system (Openstack VMs). A special test mode was constructed to emulate conditions of crash and find a fix.