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

[SIMULATION][CLANG] Fix warnings reported by clang 14 IB #40533

Merged
merged 1 commit into from Jan 16, 2023

Conversation

aandvalenzuela
Copy link
Contributor

LLVM 14 based CLANG IBs show a lot of build warnings about use of bitwise operator instead of logical and definition of unused variables. This PR follows up #40242 to fix some of these warnings.

@aandvalenzuela aandvalenzuela changed the title [SIMULATION] Fix warnings reported by clang 14 IB [SIMULATION][CLANG] Fix warnings reported by clang 14 IB Jan 16, 2023
@cmsbuild cmsbuild added this to the CMSSW_13_0_X milestone Jan 16, 2023
@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40533/33747

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40533/33749

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @aandvalenzuela (Andrea Valenzuela) for master.

It involves the following packages:

  • SimG4CMS/HcalTestBeam (simulation)
  • SimG4CMS/ShowerLibraryProducer (simulation)
  • SimMuon/RPCDigitizer (simulation)
  • SimTracker/Common (simulation)
  • SimTracker/TrackHistory (simulation)
  • SimTransport/TotemRPProtonTransportParametrization (simulation)

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@echabert, @emilbols, @VourMa, @robervalwalsh, @bsunanda, @demuller, @threus, @slomeo, @JanFSchulte, @jhgoh, @dgulhan, @missirol, @prolay, @GiacomoSguazzoni, @rovere, @VinInn, @mmusich, @mtosi, @fabiocos, @AlexDeMoor, @AnnikaStein, @gbenelli, @JyothsnaKomaragiri, @andrzejnovak this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@aandvalenzuela
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-80c53e/30008/summary.html
COMMIT: d97eb2a
CMSSW: CMSSW_13_0_X_2023-01-16-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40533/30008/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
11634.15 step 3
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

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555538
  • DQMHistoTests: Total failures: 9
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555507
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Jan 16, 2023

hold

  • that qclust in the Charge Reweighting seems to be a pretty important quantity (cluster charge when the package does charge reweighting :P ) so it shouldnt be removed. I can look into this after 40417 is merged

@civanch
Copy link
Contributor

civanch commented Jan 16, 2023

@aandvalenzuela , for simplicity, may be it is possible to exclude SiPixelChargeReweightingAlgorithm from this PR and ask @tvami to clean-up the code?

@cmsbuild
Copy link
Contributor

Pull request has been put on hold by @tvami
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@cmsbuild cmsbuild added the hold label Jan 16, 2023
@cmsbuild
Copy link
Contributor

Pull request has been put on hold by @tvami
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@aandvalenzuela
Copy link
Contributor Author

Hi @civanch, @tvami,
Yes, sure. Let's do this and I will open an issue to clean or actually use the qclust variable.

@cmsbuild cmsbuild added hold and removed hold labels Jan 16, 2023
@tvami
Copy link
Contributor

tvami commented Jan 16, 2023

unhold

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40533/33761

  • This PR adds an extra 8KB to repository

@cmsbuild
Copy link
Contributor

Pull request #40533 was updated. @civanch, @mdhildreth can you please check and sign again.

@aandvalenzuela
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-80c53e/30015/summary.html
COMMIT: 38d44bf
CMSSW: CMSSW_13_0_X_2023-01-16-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40533/30015/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
11634.15 step 3
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

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555538
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555513
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented Jan 16, 2023

+1

@cmsbuild
Copy link
Contributor

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

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit a920ba7 into cms-sw:master Jan 16, 2023
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

5 participants