cmssw icon indicating copy to clipboard operation
cmssw copied to clipboard

fix out of bound error in Phase-2 L1 Calorimeter barrel emulator

Open skkwan opened this issue 1 year ago • 12 comments

This PR addresses the out-of-bounds error in Phase2L1RCT.h raised in #46372.

PR description:

This PR addresses the out-of-bounds error in Phase2L1RCT.h raised in #46372.

PR validation:

The original emulator has been re-run and checked that the outputs are unchanged.

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:

skkwan avatar Oct 22 '24 11:10 skkwan

cms-bot internal usage

cmsbuild avatar Oct 22 '24 11:10 cmsbuild

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46472/42330

  • There are other open Pull requests which might conflict with changes you have proposed:
    • File L1Trigger/L1CaloTrigger/interface/Phase2L1RCT.h modified in PR(s): #46372

cmsbuild avatar Oct 22 '24 11:10 cmsbuild

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

It involves the following packages:

  • L1Trigger/L1CaloTrigger (l1, upgrade)

@Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks. @Martin-Grunewald, @missirol, @mmusich 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

cmsbuild avatar Oct 22 '24 11:10 cmsbuild

Hi @smuzaffar, this PR should be for the master branch.

Thanks, Stephanie

skkwan avatar Oct 22 '24 11:10 skkwan

please test

smuzaffar avatar Oct 22 '24 12:10 smuzaffar

test parameters:

  • workflow = 23634.0

smuzaffar avatar Oct 22 '24 12:10 smuzaffar

please test for CMSSW_14_2_UBSAN_X

smuzaffar avatar Oct 22 '24 12:10 smuzaffar

+1

Size: This PR adds an extra 24KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42337/summary.html COMMIT: 12501e25c6793d1cc2c7d25ff6ccde090f58d4a5 CMSSW: CMSSW_14_2_X_2024-10-21-2300/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46472/42337/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:

  • @SanghyunKo cms-sw/cmssw#46423
  • @trackreco cms-sw/cmssw#46324

You can see more details here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42337/git-recent-commits.json https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42337/git-merge-result

Comparison Summary

Summary:

cmsbuild avatar Oct 22 '24 16:10 cmsbuild

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42338/summary.html COMMIT: 12501e25c6793d1cc2c7d25ff6ccde090f58d4a5 CMSSW: CMSSW_14_2_UBSAN_X_2024-10-21-2300/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46472/42338/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:

  • @SanghyunKo cms-sw/cmssw#46423
  • @trackreco cms-sw/cmssw#46324

You can see more details here: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42338/git-recent-commits.json https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42338/git-merge-result

cmsbuild avatar Oct 22 '24 17:10 cmsbuild

please test

lets rerun the default tests based on newer IB

smuzaffar avatar Oct 23 '24 07:10 smuzaffar

UBSAN test shows that L1Trigger/L1CaloTrigger/interface/Phase2L1RCT.h:1257:24: runtime error: index 25 out of bounds for type 'ap_uint [24]' is gone/fixed

smuzaffar avatar Oct 23 '24 07:10 smuzaffar

+1

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

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 47
  • DQMHistoTests: Total histograms compared: 3665145
  • DQMHistoTests: Total failures: 510
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3664615
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 46 files compared)
  • Checked 206 log files, 175 edm output root files, 47 DQM output files
  • TriggerResults: no differences found

cmsbuild avatar Oct 23 '24 11:10 cmsbuild

+l1

aloeliger avatar Oct 28 '24 10:10 aloeliger

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46472/42391

cmsbuild avatar Oct 28 '24 13:10 cmsbuild

Pull request #46472 was updated. @Moanwar, @aloeliger, @cmsbuild, @epalencia, @srimanob, @subirsarkar can you please check and sign again.

cmsbuild avatar Oct 28 '24 13:10 cmsbuild

please test

aloeliger avatar Oct 28 '24 13:10 aloeliger

@cmsbuild abort

srimanob avatar Nov 02 '24 17:11 srimanob

@cmsbuild please test

srimanob avatar Nov 02 '24 17:11 srimanob

+1

Size: This PR adds an extra 12KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f7ea35/42561/summary.html COMMIT: 091bcb1fda0d5b87e26376476c8a916d0dab3622 CMSSW: CMSSW_14_2_X_2024-11-02-1100/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46472/42561/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

cmsbuild avatar Nov 02 '24 21:11 cmsbuild

+Upgrade

Moanwar avatar Nov 03 '24 15:11 Moanwar

+l1

aloeliger avatar Nov 06 '24 15:11 aloeliger

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

cmsbuild avatar Nov 06 '24 15:11 cmsbuild

+1

mandrenguyen avatar Nov 06 '24 15:11 mandrenguyen