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

Fixed thread-safety issues with GeometricDetExtra #2806

Merged

Conversation

Dr15Jones
Copy link
Contributor

The unused method setGeomgraphicalId was const and was used to change
a mutable. By changing the method to non-const we could get rid of the
mutable and solve the thread-safety issue. No other code is affected
by this change.

The unused method setGeomgraphicalId was const and was used to change
a mutable. By changing the method to non-const we could get rid of the
mutable and solve the thread-safety issue. No other code is affected
by this change.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Fixed thread-safety issues with GeometricDetExtra

It involves the following packages:

Geometry/TrackerNumberingBuilder

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @nclopezo, @Degano, @ktf can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor Author

+1
Trivial

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes or unless it breaks tests. @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

-1
I found an error when building:

                 from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_1_X_2014-03-08-1400/src/DataFormats/Common/interface/ProductData.h:11,
                 from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_1_X_2014-03-08-1400/src/DataFormats/Common/interface/BasicHandle.h:28,
                 from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_1_X_2014-03-08-1400/src/FWCore/Framework/interface/Event.h:20,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-08-1400/src/SimTracker/TrackerHitAssociation/test/TestAssociator.h:12,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-08-1400/src/SimTracker/TrackerHitAssociation/test/TestAssociator.cc:11:
/afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_1_X_2014-03-08-1400/src/FWCore/Utilities/interface/TypeWithDict.h:20:23: fatal error: TDataType.h: No such file or directory
 #include "TDataType.h"
                       ^
compilation terminated.
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-08-1400/src/SimTracker/SiStripDigitizer/plugins/DigiSimLinkPileUpSignals.cc 
In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/cms/cmssw/CMSSW_7_1_X_2014-03-08-1400/src/DataFormats/Provenance/interface/BranchDescription.h:16:0,


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

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (but tests are reportedly failing). @nclopezo, @ktf can you please take care of it?

@Dr15Jones
Copy link
Contributor Author

you are building against a too old IB (i.e. 08/03/2014). This pull request is on top of the present head of CMSSW_7_1_X.

@nclopezo
Copy link
Contributor

Ok, I will restart the tests. I was using the latest available IB.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

nclopezo added a commit that referenced this pull request Mar 12, 2014
Geometry/TrackerNumberingBuilder -- Fixed thread-safety issues with GeometricDetExtra
@nclopezo nclopezo merged commit b10bab3 into cms-sw:CMSSW_7_1_X Mar 12, 2014
@Dr15Jones Dr15Jones deleted the makeGeometricDetExtraThreadSafe branch March 17, 2014 20:38
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

3 participants