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

Remove support for Event::put(auto_ptr) FINALLY!!! #15897

Merged
merged 1 commit into from Sep 19, 2016

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Sep 18, 2016

This PR removes the last use of auto_ptr in the CMS framework, namely its use as an argument in Event:put(). (also put() for run and lumi) All calls to put() in CMSSW have now been converted to use unique_ptr instead of auto_ptr.
This PR will cause many packages to rebuild, but, unless someone adds a new call to put(auto_ptr) before this PR is merged, there should be no issues.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_8_1_X.

It involves the following packages:

FWCore/Framework

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wddgit this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@wmtan
Copy link
Contributor Author

wmtan commented Sep 18, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 18, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15244/console

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 18, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15245/console

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

-1

Tested at: b5d360c

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
918603f
10012c1
8201a5a
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15897/15244/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15897/15244/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15897/15244/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

Selected class -> std::map, EcalWeightSet, std::less >, std::allocator, EcalWeightSet> > > for ROOT: map,EcalWeightSet>
Selected class -> std::map, std::allocator > > for ROOT: map
Selected class -> std::map, std::allocator > > for ROOT: map
Selected class -> std::mapTBranch::GetLeaf(branchName.TString::operator const char_())' (of type 'class TLeaf_') to type 'class TLeaf_' (target is not pointer or reference to complete type)
  TLeaf *leaf = dynamic_cast(branch->GetLeaf(branchName));
                                                                ^
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-09-17-1100/src/PhysicsTools/MVAComputer/src/TreeReader.cc:101:25: error: invalid use of incomplete type 'class TLeaf'
  TString typeName = leaf->GetTypeName();
                         ^


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
918603f
10012c1
8201a5a
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15897/15244/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-15897/15244/git-merge-result

@wmtan
Copy link
Contributor Author

wmtan commented Sep 18, 2016

@cmsbuild @Dr15Jones These errors are not caused by the code changes in this PR. This PR depends on two there PR's that were already merged but not yet in the IB used for testing.

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@davidlange6 davidlange6 merged commit b065895 into cms-sw:CMSSW_8_1_X Sep 19, 2016
@wmtan wmtan deleted the RemoveLastFWKUseOfAutoPtr branch November 24, 2016 20:19
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

4 participants