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

Removes subsequent unused return statement in createIfNeeded #13039

Merged

Conversation

davidlt
Copy link
Contributor

@davidlt davidlt commented Jan 23, 2016

Removes subsequent unused return statement and resolves 3742 warnings
from Clang (3.7.1).

Signed-off-by: David Abdurachmanov David.Abdurachmanov@cern.ch

Removes subsequent unused return statement and resolves 3742 warnings
from Clang (3.7.1).

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlt for CMSSW_8_0_X.

It involves the following packages:

FWCore/Framework

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

cms-bot commands are list here #13028

@davidlt
Copy link
Contributor Author

davidlt commented Jan 23, 2016

Compile tested on slc6_amd64_gcc493 and CMSSW_8_0_X_2016-01-22-2300.

@davidlt
Copy link
Contributor Author

davidlt commented Jan 23, 2016

Short matrix results: 10 10 9 7 5 1 1 tests passed, 0 0 0 0 0 0 0 failed

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1

Tested at: 4a5f94b
I found errors in the following unit tests:

---> test testRecoMETMETProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

@davidlt
Copy link
Contributor Author

davidlt commented Jan 25, 2016

Does not seem to be related.

# Conditions read from  CMS_CONDITIONS  via FrontierProd 
24-Jan-2016 09:12:36 CET  Initiating request to open file file:ttbarForMetTests.root
----- Begin Fatal Exception 24-Jan-2016 09:12:37 CET-----------------------
An exception of category 'FileOpenError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing input source of type PoolSource
   [2] Calling RootFileSequenceBase::initTheFile()
   [3] Calling StorageFactory::open()
   [4] Calling File::sysopen()
Exception Message:
Failed to open the file 'ttbarForMetTests.root'
   Additional Info:
      [a] Input file file:ttbarForMetTests.root could not be opened.
      [b] open() failed with system error 'No such file or directory' (error code 2)
----- End Fatal Exception -------------------------------------------------
Failure using recoMET_caloMet_cfg.py: status 84
status = 21504

---> test testRecoMETMETProducers had ERRORS

Seems that is't common for this one to fail. @smuzaffar

@smuzaffar
Copy link
Contributor

please test
@davidlt, yes looks like some build machine issue. Lets try to test it again

@cmsbuild
Copy link
Contributor

@davidlt
Copy link
Contributor Author

davidlt commented Jan 25, 2016

Testing this is expensive as it rebuilds <700 packages just for 1 unused line :) This is why I tested it locally on more powerful machine.

@davidlt
Copy link
Contributor Author

davidlt commented Jan 25, 2016

Yeah, but the idea would be understand why it failed instead of running it N times until it works :)

@smuzaffar
Copy link
Contributor

that is why I want to rerun it as the previous run build area is gone so there is no information which can tell me what had goen wrong in previous run.
Now I can monitor the build machine to try to find out the reason. If you have any better idea then do let me know

@smuzaffar
Copy link
Contributor

@davidlt, unfortunately, in current iteration of PR test, the test testRecoMETMETProducers passed and I could not fidn out any obvious reason why it failed last time.

@smuzaffar
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_0_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

-1

Tested at: 4a5f94b
I found errors in the following unit tests:

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

@cmsbuild
Copy link
Contributor

-1
Tested at: 4a5f94b
I found an error when building:

gmake[1]: **\* [CompilePython] Error 1
gmake[1]: Target `PostBuild' not remade because of errors.
gmake[1]: Leaving directory`/tmp/cmsbuild/workspace/ib-any-integration/CMSSW_8_0_X_2016-01-24-2300'
gmake: **\* [src] Error 2
gmake: Target `all' not remade because of errors.
gmake: **\* [There are compilation/build errors. Please see the detail log above.] Error 2


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

@davidlt
Copy link
Contributor Author

davidlt commented Jan 25, 2016

Random failures?

Compiling src/FWCore/Integration/python/__init__.py ...
  File "src/FWCore/Integration/python/__init__.py", line 2
    os.path.abspath(__file__).rsplit('/FWCore/Integration/',1)[0])+'/cfipython/slc6_amd64_gcc493/FWCore/Integration')
                                                                 ^
SyntaxError: invalid syntax

This is completely not related to PR.

@davidlange6
Copy link
Contributor

please test
(but strange)

@davidlt
Copy link
Contributor Author

davidlt commented Jan 26, 2016

I don't believe there is anything to be tested here, most likely some limits we hit on the machines.

@cmsbuild
Copy link
Contributor

-1

Tested at: 4a5f94b
I found errors in the following unit tests:

---> test testRecoMETMETProducers had ERRORS

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

@cmsbuild
Copy link
Contributor

davidlange6 added a commit that referenced this pull request Jan 27, 2016
Removes subsequent unused return statement in createIfNeeded
@davidlange6 davidlange6 merged commit 341a685 into cms-sw:CMSSW_8_0_X Jan 27, 2016
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