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 MPI-related tests #46790

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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;
  • edmtest::GenericCloner will clone all the event products declared by its configuration, using their ROOT dictionaries.

EmptySourceFromEventIDs can be used to test how a Source 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.

GenericCloner can be used to test the ROOT serialisation and deserialisation code.

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

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 26, 2024

FWCore/Framework/interface/GenericProduct.h is still a draft, suggestions are welcome.

@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 26, 2024

please test

@cmsbuild
Copy link
Contributor

+code-checks

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

@cmsbuild
Copy link
Contributor

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

@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/43078/summary.html
COMMIT: 302c64d
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/43078/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:

This EDProducer will clone all the event products declared by its
configuration, using their ROOT dictionaries.

Refactor common functionality with GenericConsumer.
@cmsbuild
Copy link
Contributor

+code-checks

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

@cmsbuild
Copy link
Contributor

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

@fwyzard fwyzard changed the title Implement framework modules for event-related tests Implement framework modules for MPI-related tests Nov 26, 2024
@fwyzard
Copy link
Contributor Author

fwyzard commented Nov 26, 2024

please test

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.

2 participants