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

Utilities/StaticAnalyzers: update #21150

Merged
merged 7 commits into from Nov 14, 2017
Merged

Utilities/StaticAnalyzers: update #21150

merged 7 commits into from Nov 14, 2017

Conversation

gartung
Copy link
Member

@gartung gartung commented Nov 3, 2017

ConstCastAway, ConstCast and MutableMember checks moved to new catagory ConstThreadSafety and the filter isDataClass removed. This will allow the global producer check to work when any of these problem appear in the class.

ConstCastAway, ConstCast and MutableMember checks moved to new catagory ConstThreadSafety and the filter isDataClass removed. This will allow the global producer check to work when any of these problem appear in the class.
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

The code-checks are being triggered in jenkins.

@gartung
Copy link
Member Author

gartung commented Nov 3, 2017

@Dr15Jones

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21150/1795

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/PR-21150/1795/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/PR-21150/1795/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21150/1796

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

A new Pull Request was created by @gartung (Patrick Gartung) for master.

It involves the following packages:

Utilities/StaticAnalyzers

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

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24157/console Started: 2017/11/03 16:29

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

-1

Tested at: 5f47be8

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
2b5a412
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21150/24157/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21150/24157/git-merge-result

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

I found follow errors while testing this PR

Failed tests: ClangBuild

  • Clang:

I found a compilation error while trying to compile with clang:
I used this command:
scram b vclean && scram build -k -j 16 USER_CXXFLAGS='-fsyntax-only' COMPILER='llvm compile'

>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/ThrUnsafeFCallChecker.cpp 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/ClangCmsCheckerPluginRegister.cpp 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/CmsSupport.cpp 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/CatchAll.cpp 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/GlobalStaticChecker.cpp 
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/ConstCastAwayChecker.cpp:25:15: error: unused variable 'SE' [-Werror,-Wunused-variable]
        const Expr * SE = CE->getSubExpr();     
                     ^
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_10_0_X_2017-11-03-1100/src/Utilities/StaticAnalyzers/src/ConstCastChecker.cpp:22:15: error: unused variable 'SE' [-Werror,-Wunused-variable]
        const Expr * SE = CE->getSubExprAsWritten();    
                     ^


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
2b5a412
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21150/24157/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21150/24157/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21150/1841

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

Pull request #21150 was updated. @cmsbuild, @smuzaffar, @Dr15Jones can you please check and sign again.

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24207/console Started: 2017/11/06 17:18

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 6, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21150/24207/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2900266
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2900094
  • DQMHistoTests: Total skipped: 171
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 10 edm output root files, 26 DQM output files

@davidlange6
Copy link
Contributor

hi @Dr15Jones - what is the status of this PR?

@Dr15Jones
Copy link
Contributor

@gartung did you finish all the changes you wanted to do?

@gartung
Copy link
Member Author

gartung commented Nov 14, 2017

yes

@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 master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2)

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 21eca4e into cms-sw:master Nov 14, 2017
@gartung gartung deleted the Utils-StaticAnalyzers-update branch January 18, 2018 16:36
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