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

Moved construction of ProductResolvers to a separate function #47051

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dr15Jones
Copy link
Contributor

@Dr15Jones Dr15Jones commented Jan 7, 2025

PR description:

Refactored how ProductResolvers are constructed. This should allow easier changes for the future.

PR validation:

Code compiles and all framework tests pass.

resolves cms-sw/framework-team#1145

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47051/43196

ERROR: Build errors found during clang-tidy run.

src/FWCore/Framework/src/ProductResolversFactory.cc:1:10: error: 'ProductResolversFactory.h' file not found [clang-diagnostic-error]
    1 | #include "ProductResolversFactory.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Suppressed 220 warnings (220 in non-user code).
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

processHistoryID_(),
processHistoryIDBeforeConfig_(),
processConfiguration_(&pc),
productResolvers_(resolvers.begin(), resolvers.end()),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note, the type of productResolvers_ and resolvers is slightly different (since productResolvers_ uses the edm:propagate_const on the elements) which is why I need to use the iterators.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47051/43197

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47051/43198

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47051/43199

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2025

A new Pull Request was created by @Dr15Jones for master.

It involves the following packages:

  • FWCore/Framework (core)
  • FWCore/TFWLiteSelector (core)
  • FWCore/TestProcessor (core)
  • IOPool/Input (core)
  • IOPool/SecondaryInput (core)

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

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 9, 2025

-1

Failed Tests: UnitTests
Size: This PR adds an extra 64KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9e6aa1/43688/summary.html
COMMIT: d501e8c
CMSSW: CMSSW_15_0_X_2025-01-08-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47051/43688/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test runtestPhysicsToolsPatAlgos had ERRORS

Comparison Summary

Summary:

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 9, 2025

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47051/43233

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 9, 2025

Pull request #47051 was updated. @Dr15Jones, @antoniovagnerini, @civanch, @cmsbuild, @kpedro88, @makortel, @mdhildreth, @rseidita, @smuzaffar can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 9, 2025

+1

Size: This PR adds an extra 64KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9e6aa1/43698/summary.html
COMMIT: 91b9436
CMSSW: CMSSW_15_0_X_2025-01-09-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47051/43698/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-9e6aa1/43698/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9e6aa1/43698/git-merge-result

Comparison Summary

Summary:

  • You potentially removed 131 lines from the logs
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3818730
  • DQMHistoTests: Total failures: 89
  • DQMHistoTests: Total nulls: 11
  • DQMHistoTests: Total successes: 3818610
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.8560000000000004 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): -0.012 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 1000.0,... ): -0.012 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 24834.911,... ): -0.008 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 24834.911,... ): -0.008 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 4.22,... ): -0.004 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 4.22,... ): -0.004 KiB MessageLogger/Warnings
  • Checked 214 log files, 184 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 1 / 47 workflows

@makortel
Copy link
Contributor

makortel commented Jan 9, 2025

There seems to be another non-reproducibility in phase2 workflows after #46416 was resolved, I opened #47071

@makortel
Copy link
Contributor

makortel commented Jan 9, 2025

+core

@civanch
Copy link
Contributor

civanch commented Jan 10, 2025

+1

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.

Move construction of ProductResolvers elsewhere from the Principal constructors
4 participants