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

[DQM] Added a new test for ROOT file uploads to DQMGUI #46551

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

nothingface0
Copy link
Contributor

PR description:

Added a test that uses a ROOT file generated by the TestDQMServicesDemo test and uploads it to the dev DQMGUI. This should cover the case where CMSSW moves to a new ROOT release, which might be incompatible with the one being used at the DQMGUI.

Resolves: #43590

Thanks to @smuzaffar for the help.

PR validation:

Tests run normally in LXPLUS.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Not a backport.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 30, 2024

cms-bot internal usage

@nothingface0
Copy link
Contributor Author

please test

original_file_size=$(stat --printf="%s" $OLD_FILENAME)

# TODO: Is there any way to not hardcode the required test name, TestDQMServicesDemo?
UNIT_TESTS_BASE_PATH=${LOCALTOP}/unit_tests/TestDQMServicesDemo
Copy link
Contributor

Choose a reason for hiding this comment

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

@nothingface0 , looks like this is not used , so do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I'm cleaning up, thanks

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • DQMServices/Demo (dqm)

@antoniovagnerini, @nothingface0, @rvenditti, @syuvivida, @tjavaid can you please review it and eventually sign? Thanks.
@barvic 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

visDQMUpload.py "$DEV_DQMGUI_URL" $NEW_FILENAME

# Wait for a bit for the file to be imported into the DQMGUI's index.
SECONDS_TO_WAIT=60
Copy link
Contributor

Choose a reason for hiding this comment

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

if file import is not immediate then I would suggest to increase the max wait to 600s i.e 10 mins and may be change the sleep to 10 sec

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, better safe than sorry.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #46551 was updated. @antoniovagnerini, @cmsbuild, @nothingface0, @rvenditti, @syuvivida, @tjavaid can you please check and sign again.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #46551 was updated. @antoniovagnerini, @cmsbuild, @rseidita can you please check and sign again.

@rovere
Copy link
Contributor

rovere commented Nov 1, 2024

Would it make sense to move the verification of the compatibility of the ROOT file directly upon reception?
E.g. by moving these checks a little before the agents kick in, like in here?

@nothingface0
Copy link
Contributor Author

Would it make sense to move the verification of the compatibility of the ROOT file directly upon reception?

From my side, it sounds like a good idea, but in practice, I don't know how long or intensive these specific checks are. It's generally good practice to avoid directly exposing long and intensive operations under a webserver's endpoint, as this could lead to hangs.

I could verify how intensive those checks are, and if they're "lightweight", I could move the checks directly in the DQMGUI's put endpoint.

@antoniovagnerini
Copy link

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2024

-1

Failed Tests: RelVals-INPUT
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4e520d/42515/summary.html
COMMIT: cd5c5ec
CMSSW: CMSSW_14_2_X_2024-10-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46551/42515/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

RelVals-INPUT

  • 2024.0000012024.000001_RunJetMET02024D_10k/step1_dasquery.log
  • 2024.0010012024.001001_RunZeroBias2024D_10k/step1_dasquery.log
  • 2024.1000012024.100001_RunJetMET02024C_10k/step1_dasquery.log
Expand to see more relval errors ...
  • 2024.101001
  • 2024.000001
  • 2024.001001
  • 2024.100001
  • 2024.101001

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3569372
  • DQMHistoTests: Total failures: 408
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3568944
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 201 log files, 171 edm output root files, 46 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2024

+1

Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4e520d/42646/summary.html
COMMIT: cd5c5ec
CMSSW: CMSSW_14_2_X_2024-11-06-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46551/42646/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@antoniovagnerini
Copy link

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2024

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit dfe1f5e into cms-sw:master Nov 8, 2024
11 checks passed
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.

DQM bin-by-bin comparison missing after moving to ROOT 6.30
7 participants