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

Backport ConditionalTask to CMSSW_12_3_X #37977

Closed

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented May 17, 2022

PR description:

This PR backports from CMSSW 12.4.x/12.5.x the PRs that implement the ConditionalTask:

PR validation:

Unit tests in FWCore/Integration pass.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Backports #37305, #37563, #37872, #38006.

Dr15Jones and others added 17 commits May 17, 2022 13:20
- added fillDescriptions
- fixed a bug when filter not supposed to produce a data product
- allow testing for missing data products
Use proper module label and avoid reusing a module.
- avoid unnecessary check on alias finding
- break out of loop properly
The bit position of a module onto a path does not have to be the same as the modules order to be run on the path.
This is needed to allow ConditionalTasks to be added to a path in a set run order but still be able to use the unaltered parameter value holding the list of module labels in order to later find the module labels.
All ConditionalTask's modules are added to the end of the parameter and are bracketed by two non-module labels [# and @]. Modules added explicitly to the path are at the front of the parameter and in their run order.
The TriggerNamesService knows how to translate the path bit position into the proper module label stored in the parameter.
This allows sharing of this code across two cases.
In preparation of using it for SwitchProducer in ConditionalTask whose
chosen case is EDAlias.
@cmsbuild
Copy link
Contributor

cmsbuild commented May 17, 2022

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_12_3_X.

It involves the following packages:

  • DataFormats/Provenance (core)
  • FWCore/Framework (core)
  • FWCore/Integration (core)
  • FWCore/ParameterSet (core)
  • FWCore/Utilities (core)
  • HLTrigger/HLTcore (hlt)

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

cms-bot commands are listed here

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2022

This PR is probably not needed in the release; for the time being it is useful for local tests.

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2022

@cmsbuild, please test

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2022

backport #37305, #37563, #37872, #38006

@missirol
Copy link
Contributor

Was #37562 also needed? Based on #37563 (comment).

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2022

I thought so, but it looks like #37562 is already included in #37933, which has already been merged into CMSSW_12_3_X .

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-50df53/24781/summary.html
COMMIT: 0bf12a4
CMSSW: CMSSW_12_3_X_2022-05-17-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37977/24781/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test SiStripDAQ_O2O_test had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 11 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3696954
  • DQMHistoTests: Total failures: 18
  • DQMHistoTests: Total nulls: 14
  • DQMHistoTests: Total successes: 3696900
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 2.0449999999999995 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): 0.031 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 1000.0,... ): 0.031 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 11634.0,... ): 0.027 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 11634.0,... ): 0.027 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 23234.0,... ): 0.023 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 23234.0,... ): 0.023 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 4.22,... ): 0.012 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 4.22,... ): 0.012 KiB MessageLogger/Warnings
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@fwyzard
Copy link
Contributor Author

fwyzard commented May 17, 2022

---> test SiStripDAQ_O2O_test had ERRORS

As usual ...

@cmsbuild
Copy link
Contributor

Pull request #37977 was updated. @Martin-Grunewald, @Dr15Jones, @smuzaffar, @makortel, @cmsbuild, @missirol can you please check and sign again.

@missirol
Copy link
Contributor

backport of #37305
backport of #37563
backport of #37872
backport of #38006

backport label was missing :)

@fwyzard
Copy link
Contributor Author

fwyzard commented May 19, 2022

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-50df53/24852/summary.html
COMMIT: 762ae3c
CMSSW: CMSSW_12_3_X_2022-05-18-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37977/24852/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test SiStripDAQ_O2O_test had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 9 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3627938
  • DQMHistoTests: Total failures: 18
  • DQMHistoTests: Total nulls: 14
  • DQMHistoTests: Total successes: 3627884
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 2.0529999999999995 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): 0.031 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 1000.0,... ): 0.031 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 11634.0,... ): 0.027 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 11634.0,... ): 0.027 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 23234.0,... ): 0.023 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 23234.0,... ): 0.023 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 4.22,... ): 0.012 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 4.22,... ): 0.012 KiB MessageLogger/Warnings
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Contributor

This PR is probably not needed in the release; for the time being it is useful for local tests.

Just to clarify, is this backport now considered as necessary for 12_3_X? (reading joint ops meeting notes)

@fwyzard
Copy link
Contributor Author

fwyzard commented May 20, 2022 via email

@fwyzard fwyzard closed this Jun 18, 2022
@fwyzard fwyzard deleted the backport_ConditionalTask_to_12.3.x branch July 31, 2022 13:46
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.

5 participants