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

Fix a corner case in ClusterTPAssociationProducer #26304

Merged
merged 1 commit into from Apr 2, 2019

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Apr 1, 2019

PR description:

There is a rare case in ClusterTPAssociationProducer that if none of the pixel or strip clusters match to SimTracks, the ClusterTPAssociation::equal_range() will throw an exception for such pixel or strip cluster as the ProductID of these (key) clusters has not been recorded. The behavior should have been to return an empty range.

This PR changes the behavior such that the ProductIDs of the cluster collections are always added to the ClusterTPAssociation.

Thanks to @slava77 for reporting.

There should be no changes in standard workflows (as the exception has not been observed before).

PR validation:

@slava77 said that the problematic event got processed correctly.

Otherwise equal_range() will throw an exception if accessing the
mapping with such a cluster as the ProductID of these (key) clusters
has not been recorded.
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26304/9002

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

A new Pull Request was created by @makortel (Matti Kortelainen) for master.

It involves the following packages:

SimTracker/TrackerHitAssociation

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @rovere, @VinInn, @wmtford, @ebrondol, @threus, @dgulhan this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@makortel
Copy link
Contributor Author

makortel commented Apr 1, 2019

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33866/console Started: 2019/04/01 08:54

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

-1

Tested at: cc13f07

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-26304/33866/summary.html

I found follow errors while testing this PR

Failed tests: RelVals

  • RelVals:

When I ran the RelVals I found an error in the following workflows:
136.788 step2

runTheMatrix-results/136.788_RunSinglePh2017B+RunSinglePh2017B+HLTDR2_2017+RECODR2_2017reHLT_skimSinglePh_Prompt+HARVEST2017/step2_RunSinglePh2017B+RunSinglePh2017B+HLTDR2_2017+RECODR2_2017reHLT_skimSinglePh_Prompt+HARVEST2017.log

1001.0 step2
runTheMatrix-results/1001.0_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVDSIPIXELCALRUN1+ALCAHARVD1+ALCAHARVD2+ALCAHARVD3+ALCAHARVD4+ALCAHARVD5/step2_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVDSIPIXELCALRUN1+ALCAHARVD1+ALCAHARVD2+ALCAHARVD3+ALCAHARVD4+ALCAHARVD5.log

1000.0 step2
runTheMatrix-results/1000.0_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT/step2_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT.log

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped)

@makortel
Copy link
Contributor Author

makortel commented Apr 1, 2019

The failures are input file read errors (network failures), so let's try again after a short while.

@makortel
Copy link
Contributor Author

makortel commented Apr 1, 2019

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33874/console Started: 2019/04/01 15:14

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3139747
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3139549
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 133 log files, 14 edm output root files, 32 DQM output files

@civanch
Copy link
Contributor

civanch commented Apr 1, 2019

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 1, 2019

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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

fabiocos commented Apr 2, 2019

+1

@cmsbuild cmsbuild merged commit 7f386d4 into cms-sw:master Apr 2, 2019
fwyzard added a commit to fwyzard/cmssw that referenced this pull request May 21, 2019
fwyzard added a commit to cms-patatrack/cmssw that referenced this pull request May 21, 2019
Adapt ClusterTPAssociationHeterogeneous following the change of interface in ClusterTPAssociation introduced by cms-sw#26304.
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

4 participants