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

Remove deprecated EventSetup get functions #40427

Merged
merged 1 commit into from Jan 14, 2023

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Jan 4, 2023

PR description:

Remove deprecated EventSetup get functions. These are the ones that do not use a token. This code has been deprecated for a while and previously a lot of work has been done by many people to remove all the code that depended on the code deleted by this PR.

PR validation:

This is almost exclusively deletions. The fact that it successfully builds after running checkdeps eliminates almost all possibilities for errors. I also ran unit tests for FWCore/Framework and FWCore/Integration locally.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40427/33559

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

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

It involves the following packages:

  • FWCore/Framework (core)

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

cms-bot commands are listed here

@wddgit
Copy link
Contributor Author

wddgit commented Jan 4, 2023

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

-1

Failed Tests: HeaderConsistency
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb4e69/29798/summary.html
COMMIT: fe4bf9d
CMSSW: CMSSW_13_0_X_2023-01-04-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40427/29798/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: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555748
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555723
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Contributor

makortel commented Jan 4, 2023

@wddgit As far as I can tell RecoEgamma/EgammaTools/interface/SCRegressionCalculator.h is unused. I'd suggest a separate PR that removes it.

@wddgit wddgit mentioned this pull request Jan 5, 2023
@wddgit
Copy link
Contributor Author

wddgit commented Jan 5, 2023

I just submitted PR #40431 that deletes SCRegressionCalculator.h.

@wddgit
Copy link
Contributor Author

wddgit commented Jan 13, 2023

please test with #40519

#40431 was just merged so lets try the tests again. That should fix the header check failure.

Note #40519 is completely unrelated and independent of this one. It does not matter whether it is merged first or not. I just wanted the unit test it fixes to pass when the PR tests run.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb4e69/29979/summary.html
COMMIT: fe4bf9d
CMSSW: CMSSW_13_0_X_2023-01-13-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40427/29979/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
11634.15 step 3
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555538
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555513
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@makortel
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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 7618cd4 into cms-sw:master Jan 14, 2023
@wddgit wddgit deleted the cleanupDeprecatedGet branch April 3, 2023 21:43
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