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

Refactor ProductResolvers #33230

Merged
merged 4 commits into from Mar 28, 2021
Merged

Conversation

Dr15Jones
Copy link
Contributor

PR description:

  • Removed put interfaces from base class and use ProductPutterBase abstract class instead
  • Separated InputProductResolver into DelayedReader* and PutOnRead* variants
  • BranchDescription::onDemand is also true for case of DelayedReader being used by source
  • putOrMerge on ProductResolvers was not being used so was removed.

PR validation:

  • code compiles
  • framework related unit tests all pass.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33230/21673

  • This PR adds an extra 96KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

-Removed put interfaces from base class and use ProductPutterBase abstract class instead
-Separated InputProductResolver into DelayedReader* and PutOnRead* variants
-BranchDescription::onDemand is also true for case of DelayedReader being used by source
-putOrMerge on ProductResolvers was not being used so was removed.
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33230/21675

  • This PR adds an extra 96KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

DataFormats/Provenance
FWCore/Framework
FWCore/TFWLiteSelector
FWCore/TestProcessor
IOPool/Input

@makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @wddgit, @rovere this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7753ae/13637/summary.html
COMMIT: 14f18b0
CMSSW: CMSSW_11_3_X_2021-03-19-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33230/13637/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7753ae/13637/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7753ae/13637/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test TestGeneratorInterfaceLHEInterfaceFileReading had ERRORS
---> test testGeneratorInterfaceLHEInterface_TP had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 6
  • DQMHistoTests: Total successes: 2639900
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -5.491 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Errors
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: found differences in 2 / 32 workflows

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33230/21739

  • This PR adds an extra 112KB to repository

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33230/21773

  • This PR adds an extra 116KB to repository

@cmsbuild
Copy link
Contributor

Pull request #33230 was updated. @SiewYan, @smuzaffar, @Dr15Jones, @mkirsano, @makortel, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test with #33274

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7753ae/13777/summary.html
COMMIT: 72b9481
CMSSW: CMSSW_11_3_X_2021-03-25-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33230/13777/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2639912
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

1 similar comment
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7753ae/13777/summary.html
COMMIT: 72b9481
CMSSW: CMSSW_11_3_X_2021-03-25-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33230/13777/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2639912
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@agrohsje
Copy link

no objection to the gen part.
+generators

@makortel
Copy link
Contributor

+1

@qliphy
Copy link
Contributor

qliphy commented Mar 28, 2021

no objection to the gen part.
+generators

Not sure why the signature doesn't work. Anyway, thanks!

@qliphy
Copy link
Contributor

qliphy commented Mar 28, 2021

+1

@qliphy
Copy link
Contributor

qliphy commented Mar 28, 2021

merge

@cmsbuild cmsbuild merged commit 65b3d04 into cms-sw:master Mar 28, 2021
@agrohsje
Copy link

+generators

@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 be automatically merged.

@Dr15Jones Dr15Jones deleted the refactorProductRetrievers branch April 2, 2021 15:34
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