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

Implement framework modules for EventID-related tests #46790

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Nov 24, 2024

PR description:

Implement additional framework modules used to test and validate the behaviour of the MPI-based modules developed in #32632:

  • EmptySourceFromEventIDs is a variation of the EmptySource that creates runs, lumis and events (containing no products) based on the list of EventIDs provided in the configuration;
  • edmtest::EventIDProducer reads the EventID from the current event and copies it into the Event as a data product;
  • edmtest::EventIDValidator reads the EventID from the current event and compares it to a data product read from the Event.

EmptySourceFromEventIDs can be used to test how a module reacts to arbitrary transitions.

EventIDProducer and EventIDValidator can be used to validate that an object produced in a given event is being read back in the same event.

PR validation:

The unit tests for the new modules pass.

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 24, 2024

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 24, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • FWCore/Modules (core)
  • FWCore/TestModules (core)

@Dr15Jones, @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

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-79ec69/43033/summary.html
COMMIT: 69cf0d9
CMSSW: CMSSW_15_0_X_2024-11-24-0000/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46790/43033/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 TestFWCoreModulesEventIDValidator had ERRORS

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 7 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3483722
  • DQMHistoTests: Total failures: 514
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3483188
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 172 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 1 / 44 workflows

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 25, 2024

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46790/42775

@cmsbuild
Copy link
Contributor

Pull request #46790 was updated. @Dr15Jones, @makortel, @smuzaffar can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-79ec69/43036/summary.html
COMMIT: 271511c
CMSSW: CMSSW_15_0_X_2024-11-24-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46790/43036/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: 30 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3483722
  • DQMHistoTests: Total failures: 1948
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3481754
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 172 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 1 / 44 workflows

@cmsbuild
Copy link
Contributor

-1

Failed Tests: HeaderConsistency UnitTests
Size: This PR adds an extra 40KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-79ec69/43083/summary.html
COMMIT: 339cf8b
CMSSW: CMSSW_15_0_X_2024-11-25-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46790/43083/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 TestFWCoreModulesEmptySourceFromEventIDs had ERRORS

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • Reco comparison results: 36 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3483722
  • DQMHistoTests: Total failures: 2055
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3481647
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 172 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 1 / 44 workflows

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 27, 2024

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 27, 2024

@makortel I removed the code about generic products, it will go in a separate PR.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-79ec69/43115/summary.html
COMMIT: b73d08a
CMSSW: CMSSW_15_0_X_2024-11-27-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46790/43115/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@makortel
Copy link
Contributor

Comparison differences are related to #39803 and #46416

@makortel
Copy link
Contributor

+core

Comments in #32632 (review) were addressed. I'll open an issue about the need to refactor IDGeneratorSourceBase.

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

@fwyzard fwyzard changed the title Implement framework modules for MPI-related tests Implement framework modules for EventID-related tests Nov 28, 2024
@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 81b3ca6 into cms-sw:master Nov 28, 2024
11 checks passed
@fwyzard fwyzard deleted the implement_EventID_tools branch November 28, 2024 07:45
@fwyzard
Copy link
Contributor Author

fwyzard commented Dec 10, 2024

type ngt

@cmsbuild cmsbuild added the ngt label Dec 10, 2024
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.

4 participants