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

DAQ file broker client (10_2_X) #23947

Merged
merged 20 commits into from Jul 25, 2018

Conversation

smorovic
Copy link
Contributor

@smorovic smorovic commented Jul 23, 2018

Backport of #23944 (10_3_X)
Client implementation for new DAQ File Broker protocol

…ile service which will distribute input files
Signed-off-by: Srecko Morovic <srecko.morovic@cern.ch>
catch file not exists and check for run directory on BU
handle NORUN
fix READY with no file current LS
handle JSON file move by server to subdirectory with prefix
support for socket keep alive (experimental)
fix undefined variable value when no raw file
use shared lock for server contact and promote it to exclusive if EoLS
file(s) have to be written
access to copy JSON file from ramdisk. This allows better diagnosis of
problems (such as recently seen bad file descriptor problem in some
tests). This is enabled only for File Broker, while NFS locking code
remains unchanged (as it is going to be phased out).
keep alive by default
close socket on error
NB: in tests it turns out that read_until reads the whole response. this
is however not
always guaranteed and updates will be needed to read based on HTTP
Content-Length
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 23, 2018

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

It involves the following packages:

EventFilter/Utilities

@perrotta, @mommsen, @cmsbuild, @emeschi, @slava77 can you please review it and eventually sign? Thanks.
@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

@mommsen
Copy link
Contributor

mommsen commented Jul 23, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 23, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29342/console Started: 2018/07/23 16:24

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@mommsen
Copy link
Contributor

mommsen commented Jul 23, 2018

+1

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2892290
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2892098
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jul 24, 2018

+1

for #23947 09f835c

  • the backport is correct (comparing to DAQ file broker client (10_3_X) #23944 4c7f2cd : only some of the removed code in EventFilter/Utilities/src/FedRawDataInputSource.cc differs by const& in two catch arguments). The code changes are not really related to reco and do not affect the standard workflows tested offline.
  • jenkins tests pass

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_2_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_10_3_X is complete. 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)

@slava77
Copy link
Contributor

slava77 commented Jul 24, 2018

backport of #23944

@smorovic
Copy link
Contributor Author

Hi @slava77,
code which got rmoved from FedRawDataInputSource.cc ended in EvFDaqDirector.cc with modifications. There I converted all exceptions to const&.

@kpedro88
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit aa73fa4 into cms-sw:CMSSW_10_2_X Jul 25, 2018
@smorovic smorovic deleted the newFileServer-10_2_X branch August 23, 2018 10:18
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