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
[UBSAN] Fix unit test by feeding it with correct input #35465
Conversation
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35465/25620
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@rekovic, @cecilecaillol can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test for CMSSW_12_1_UBSAN_X |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b037f8/19224/summary.html Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b037f8/19225/summary.html Comparison SummarySummary:
|
@cms-sw/l1-l2 , can you please review this? |
@cms-sw/l1-l2 . note that this tests hangs when run interactively using |
+1 |
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Unit test
testUCTUnpacker
requires valid input to run. In UBSAN IBs it fails [a] as the stdin is closed and no data is feed to the test which resulted in creatingUCTAMCRawData
with undefined data.This PR proposes to use https://github.com/cms-sw/cmssw/blob/master/EventFilter/L1TXRawToDigi/test/event_test1.txt as input. Local test in UBSAN IBs shows no failure.
[a] https://cmssdt.cern.ch/SDT/cgi-bin/logreader/slc7_amd64_gcc10/CMSSW_12_1_UBSAN_X_2021-09-27-2300/unitTestLogs/EventFilter/L1TXRawToDigi#/