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] Fix to compareDQMOutput since python3 #34411

Merged
merged 1 commit into from Jul 9, 2021
Merged

Conversation

jfernan2
Copy link
Contributor

@jfernan2 jfernan2 commented Jul 8, 2021

PR description:

Bin By Bin tool broken since python3 change
As pointed out in #34374 (comment)

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 8, 2021

urgent

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 8, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34411/23814

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2021

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

It involves the following packages:

DQMServices/FileIO (dqm)

@andrius-k, @kmaeshima, @ErnestaP, @ahmad3213, @jfernan2, @rvenditti can you please review it and eventually sign? Thanks.
@barvic this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy, @perrotta you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-152b8c/16623/summary.html
COMMIT: 61d2c68
CMSSW: CMSSW_12_0_X_2021-07-08-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34411/16623/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-152b8c/16623/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-152b8c/16623/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5091 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2786260
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2786231
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 37 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 9, 2021

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 9, 2021

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. @silviodonato, @dpiparo, @qliphy, @perrotta (and backports should be raised in the release meeting by the corresponding L2)

@srimanob
Copy link
Contributor

srimanob commented Jul 9, 2021

@qliphy @perrotta @silviodonato @jfernan2
I see that 12_0_0_pre4 is built already.

Do you think that this PR is needed when PdmV try to make a comparison using relmon?
https://github.com/cms-sw/cmssw/tree/master/Utilities/RelMon

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 9, 2021

Hi @srimanob
This PR affects only the DQM Bin By Bin tool, not RelMon

@silviodonato
Copy link
Contributor

+1
Thanks @jfernan2 and @srimanob . Indeed I see that this code was added with #26283 and it seems independent on RelMon

@cmsbuild cmsbuild merged commit 4b6cb02 into cms-sw:master Jul 9, 2021
@silviodonato
Copy link
Contributor

@jfernan2 I still see

Exception comparing two root files: a bytes-like object is required, not 'str'

See dqmBinByBinLog.log in https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_12_0_X_2021-07-08-1100+152b8c/43938/

Do you think we will see this fixed only after the merge of the PR?

@smuzaffar
Copy link
Contributor

@silviodonato , yes it should be fixed once we have a newer IB with the fix. I already have started 8h00 Ib

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 9, 2021

I confirm, thanks @smuzaffar

@smuzaffar
Copy link
Contributor

@jfernan2 , looks like we still need more fixes fir dqm bin by bin test. Looks like it managed to upload the result but failed ot generate the html pages , see https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_12_0_X_2021-07-09-1100+5c6882/43968/dqmBinByBinLog.log

No differences were observed - output will not be written
Baseline file successfully opened
PR file successfully opened
No differences were observed - output will not be written
No differences were observed - output will not be written

Exception comparing two root files: list index out of range
Exception comparing two root files: list index out of range
Exception comparing two root files: list index out of range

@jfernan2
Copy link
Contributor Author

jfernan2 commented Jul 11, 2021

I have created #34442 to fix the issue.
Thanks for the warning!

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.

None yet

5 participants