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

Temporary fix of TQAF unit tests after TauID update #21186

Merged
merged 5 commits into from Nov 23, 2017

Conversation

roger-wolf
Copy link
Contributor

Dear all,

this is a subsequent fix of unit tests in the TopQuarkAnalysis system as pointed out by Chris Jones (*). This is a minimal fix to the PR #21022 and should close this development step for the time being. We will envisage a better solution using eras in the midterm. All changes are on the level of final cfg files in test directories. Upon an independent test I confirm that tauID-related problems are indeed fixed.

Cheers,
Roger

(*)
#21022 (comment)

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21186/1840

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

A new Pull Request was created by @roger-wolf (Roger Wolf) for master.

It involves the following packages:

TopQuarkAnalysis/Examples
TopQuarkAnalysis/TopEventProducers
TopQuarkAnalysis/TopEventSelection

@cmsbuild, @monttj can you please review it and eventually sign? Thanks.
@kreczko this is something you requested to watch as well.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

perrotta commented Nov 7, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24235/console Started: 2017/11/07 12:50

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 7, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21186/24235/summary.html

There are some workflows for which there are errors in the baseline:
10042.0 step 5
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2755261
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2755091
  • DQMHistoTests: Total skipped: 169
  • DQMHistoTests: Total Missing objects: 0
  • 'Traceback (most recent call last):\n File "/cvmfs/cms-ib.cern.ch/nweek-02497/slc6_amd64_gcc630/cms/cmssw/CMSSW_10_0_X_2017-11-06-1100/bin/slc6_amd64_gcc630/dqmMemoryStats.py", line 126, in \n for (fn, v) in reader.read_objects():\n File "/cvmfs/cms-ib.cern.ch/week1/slc6_amd64_gcc630/cms/cmssw-patch/CMSSW_10_0_X_2017-11-06-2300/python/DQMServices/FileIO/DQM.py", line 39, in read_objects_dqmio\n object_type = self.DQMIO_TYPES[indices.Type]\nIndexError: list index out of range\n') ('', 'Traceback (most recent call last):\n File "/cvmfs/cms-ib.cern.ch/nweek-02497/slc6_amd64_gcc630/cms/cmssw/CMSSW_10_0_X_2017-11-06-1100/bin/slc6_amd64_gcc630/dqmMemoryStats.py", line 126, in \n for (fn, v) in reader.read_objects():\n File "/cvmfs/cms-ib.cern.ch/week1/slc6_amd64_gcc630/cms/cmssw-patch/CMSSW_10_0_X_2017-11-06-2300/python/DQMServices/FileIO/DQM.py", line 39, in read_objects_dqmio\n object_type = self.DQMIO_TYPES[indices.Type]\nIndexError: list index out of range\n') SUMMARY DQMHistoSizes: Histogram bins added: 0.0 ( 22 files compared)
  • Checked 107 log files, 8 edm output root files, 26 DQM output files

@roger-wolf roger-wolf deleted the CMSSW_10_0_X_tau-pog_TQAF-fix branch November 17, 2017 10:07
@roger-wolf roger-wolf restored the CMSSW_10_0_X_tau-pog_TQAF-fix branch November 17, 2017 15:40
@roger-wolf
Copy link
Contributor Author

Sorry, I had deleted this branch by mistake

@slava77
Copy link
Contributor

slava77 commented Nov 22, 2017

@roger-wolf
I think that by now we should have 10_0_0_pre1 samples.
It may be a good time to change all places where this PR fix is needed and instead point them to use a more recent input.

@perrotta
Copy link
Contributor

@slava77 : I agree with replacing the relval files everywhere needed, so that we can get rid of the warning messages and take all discriminators into account also in the unit tests

On the other hand, since we have defined the safety switch in the configuration, I would be in favor of still merging this PR as such anyhow, so that next time that the tau group wants to add or modify one of those discriminators we won't have to bother about those errors in the logs any more. In any case, this patch applies only to the UnitTests, while all normal workflows will keep crashing if the list of discriminators in the configuration does not correspond to those actually in the data file, which is the behavior we want for them.

@slava77
Copy link
Contributor

slava77 commented Nov 22, 2017

so that next time that the tau group wants to add or modify one of those discriminators we won't have to bother about those errors in the logs any more.

I disagree with a permissive solution. This way we open up to undetectable problems.
From the beginning I was asking for this to be an exceptional setting, better yet made specifying the list of IDs that can be skipped.

@roger-wolf
Copy link
Contributor Author

roger-wolf commented Nov 22, 2017 via email

@slava77
Copy link
Contributor

slava77 commented Nov 22, 2017 via email

@roger-wolf
Copy link
Contributor Author

roger-wolf commented Nov 22, 2017 via email

@davidlange6
Copy link
Contributor

merge

i got far enough into my proposed solution to understand that this same set of fixes is already in a bunch of other cffs - so no real extra work is created by merging this

@cmsbuild cmsbuild merged commit 56584e3 into cms-sw:master Nov 23, 2017
@mbluj
Copy link
Contributor

mbluj commented Nov 28, 2017 via email

@mbluj mbluj deleted the CMSSW_10_0_X_tau-pog_TQAF-fix branch October 10, 2023 10:15
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

7 participants