cms-sw / cmssw

CMS Offline Software
http://cms-sw.github.io/
Apache License 2.0
1.08k stars 4.31k forks source link

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

Open skkwan opened 1 week ago

skkwan commented 1 week ago

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:

cmsbuild commented 1 week ago

cms-bot internal usage

cmsbuild commented 1 week ago

+code-checks

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

cmsbuild commented 1 week ago

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

It involves the following packages:

@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

skkwan commented 1 week ago

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

Thanks, Stephanie

smuzaffar commented 1 week ago

please test

smuzaffar commented 1 week ago

test parameters:

smuzaffar commented 1 week ago

please test for CMSSW_14_2_UBSAN_X

cmsbuild commented 1 week ago

+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:

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 commented 6 days ago

+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:

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

smuzaffar commented 6 days ago

please test

lets rerun the default tests based on newer IB

smuzaffar commented 6 days ago

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

cmsbuild commented 6 days ago

+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:

aloeliger commented 1 day ago

+l1

cmsbuild commented 1 day ago

+code-checks

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

cmsbuild commented 1 day ago

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

aloeliger commented 1 day ago

please test