Skip to content

Add unit test for FEDRawDataCollection format#41494

Merged
cmsbuild merged 1 commit intocms-sw:masterfrom
wddgit:testFEDRawDataCollection
May 3, 2023
Merged

Add unit test for FEDRawDataCollection format#41494
cmsbuild merged 1 commit intocms-sw:masterfrom
wddgit:testFEDRawDataCollection

Conversation

@wddgit
Copy link
Contributor

@wddgit wddgit commented May 2, 2023

PR description:

Add a new unit test for the FEDRawDataCollection data format. This generates a data file containing a FEDRawDataCollection object with known content. Then it reads it. It verifies that when we read it we obtain values that match the known written values for all the data fields in the object. In particular all containers have content so all contained types are also read.

It also reads the old files in the DataFormats/FEDRawData data repository which are listed in the shell script. The plan is that each time the data format of FEDRawDataCollection is modified a file will added.

PR validation:

This only adds a unit test in DataFormats/FEDRawData which passes. It shouldn't affect anything else.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41494/35362

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2023

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

It involves the following packages:

  • DataFormats/FEDRawData (daq)

@cmsbuild, @emeschi, @smorovic can you please review it and eventually sign? Thanks.
@missirol, @rovere 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 May 2, 2023

please test

FYI @makortel

@wddgit
Copy link
Contributor Author

wddgit commented May 2, 2023

abort test

@wddgit
Copy link
Contributor Author

wddgit commented May 2, 2023

@makortel
Copy link
Contributor

makortel commented May 2, 2023

please test with cms-data/DataFormats-FEDRawData#1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 3, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-311e19/32323/summary.html
COMMIT: 18a7933
CMSSW: CMSSW_13_1_X_2023-05-02-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/41494/32323/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-311e19/32323/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-311e19/32323/git-merge-result

Comparison Summary

Summary:

  • You potentially removed 426 lines from the logs
  • Reco comparison results: 26099 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3460877
  • DQMHistoTests: Total failures: 2990
  • DQMHistoTests: Total nulls: 6
  • DQMHistoTests: Total successes: 3457859
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.023 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 4.53 ): 0.023 KiB JetMET/SUSYDQM
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: found differences in 2 / 46 workflows

@smorovic
Copy link
Contributor

smorovic commented May 3, 2023

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 3, 2023

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

perrotta commented May 3, 2023

+1

  • newly added tests succeed

@cmsbuild cmsbuild merged commit 32c01f6 into cms-sw:master May 3, 2023
@wddgit wddgit deleted the testFEDRawDataCollection branch August 25, 2023 22:23
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