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

Removed lexical_cast boost dependency in CondCore #34932

Merged
merged 5 commits into from Sep 7, 2021

Conversation

Purva-Chaudhari
Copy link
Contributor

PR description:

Remove boost lexical cast dependency in CondCore with corresponding stl alternatives

PR validation:

Passed on scram -b runtests (CondCore)

if this PR is a backport please specify the original PR and why you need to backport that PR:

@davidlange6 @vgvassilev

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34932/24745

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-34932/24750

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Purva-Chaudhari for master.

It involves the following packages:

  • CondCore/AlignmentPlugins (db)
  • CondCore/BeamSpotPlugins (db)
  • CondCore/DBOutputService (db, alca)
  • CondCore/HLTPlugins (hlt, db)
  • CondCore/RunInfoPlugins (db)
  • CondCore/SiPixelPlugins (db)
  • CondCore/SiStripPlugins (db)
  • CondCore/Utilities (db)

@malbouis, @yuanchao, @Martin-Grunewald, @cmsbuild, @tlampen, @ggovi, @pohsun, @francescobrivio, @tvami can you please review it and eventually sign? Thanks.
@tocheng, @VinInn, @OzAmram, @ferencek, @mmusich, @dkotlins, @tvami this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@tvami
Copy link
Contributor

tvami commented Aug 18, 2021

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0031d0/17863/summary.html
COMMIT: 4269894
CMSSW: CMSSW_12_1_X_2021-08-18-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34932/17863/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 3000352
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3000324
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Aug 18, 2021

+alca

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

Pull request #34932 was updated. @malbouis, @yuanchao, @Martin-Grunewald, @cmsbuild, @tlampen, @ggovi, @pohsun, @francescobrivio, @tvami can you please check and sign again.

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0031d0/17995/summary.html
COMMIT: b0b7081
CMSSW: CMSSW_12_1_X_2021-08-23-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/34932/17995/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-0031d0/17995/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0031d0/17995/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 3000352
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3000324
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 38 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@Martin-Grunewald
Copy link
Contributor

+1

@@ -82,7 +82,7 @@ namespace {
auto paramValues = PlotBase::inputParamValues();
auto ip = paramValues.find("Scenarios");
if (ip != paramValues.end()) {
auto input = boost::lexical_cast<std::string>(ip->second);
auto input = ip->second;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So casting is not needed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already of type string

@@ -116,7 +116,7 @@ namespace {
auto paramValues = PlotBase::inputParamValues();
auto ip = paramValues.find("DetIds");
if (ip != paramValues.end()) {
auto input = boost::lexical_cast<std::string>(ip->second);
auto input = ip->second;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So casting is not needed here? (same as in SiPixelFEDChannelContainer_PayloadInspector.cc)

@yuanchao
Copy link
Contributor

+1

  • technical
  • unit tests passed

@davidlange6
Copy link
Contributor

hi @ggovi - any comments?

@ggovi
Copy link
Contributor

ggovi commented Sep 7, 2021

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 7, 2021

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)

@perrotta
Copy link
Contributor

perrotta commented Sep 7, 2021

+1

@cmsbuild cmsbuild merged commit a881d4a into cms-sw:master Sep 7, 2021
@Purva-Chaudhari Purva-Chaudhari deleted the testbranch_lexical_cast branch September 7, 2021 09:05
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

10 participants