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

Fix valgrind unit test for clang #28855

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Feb 3, 2020

PR description:

The valgrind unit test is failing in CLANG IBs, presumably because clang appears to compile the test program to just ret (https://godbolt.org/z/nJY8Dg). Declaring the variable volatile seems to get clang to produce a non-trivial program.

PR validation:

Unit test runs on gcc build.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

The code-checks are being triggered in jenkins.

@makortel
Copy link
Contributor Author

makortel commented Feb 3, 2020

FYI @fabiocos @mrodozov (since we just talked about it)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28855/13606

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

A new Pull Request was created by @makortel (Matti Kortelainen) for master.

It involves the following packages:

Utilities/ReleaseScripts

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

cms-bot commands are listed here

@makortel
Copy link
Contributor Author

makortel commented Feb 3, 2020

@cmsbuild, please test for CMSSW_11_1_CLANG_X

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

The tests are being triggered in jenkins.
Test Parameters:

@fabiocos
Copy link
Contributor

fabiocos commented Feb 3, 2020

@smuzaffar @mrodozov for my information, how is this test command supposed to work? As far as I can see

10:57 cmsdev25 943> pwd
/build/fabiocos/111X/clang_issue/CMSSW_11_1_CLANG_X_2020-01-31-2300/src
10:58 cmsdev25 944> git branch -a | grep 11_1
  CMSSW_11_1_X
  from-CMSSW_11_1_CLANG_X_2020-01-31-2300
  remotes/official-cmssw/CMSSW_11_1_0_pre2
  remotes/official-cmssw/CMSSW_11_1_DEVEL_X
  remotes/official-cmssw/CMSSW_11_1_Patatrack_X
  remotes/official-cmssw/CMSSW_11_1_X

i.e. we do not have a CMSSW_11_1_CLANG_X branch, we do have a cmsdist CLANG branch. Or am I missing something?

@smuzaffar
Copy link
Contributor

git-cms-merge-topic takes care of it

+ echo -e 'No release tags specified, using default CMSSW_11_1_CLANG_X_2020-02-02-2300.'
No release tags specified, using default CMSSW_11_1_CLANG_X_2020-02-02-2300.
+ CMSSW_TAG=CMSSW_11_1_CLANG_X_2020-02-02-2300
+ '[' '' ']'
++ echo CMSSW_11_1_CLANG_X_2020-02-02-2300
++ sed -e 's/\(CMSSW_[0-9][0-9]*_[0-9][0-9]*\).*/\1/'
+ CMSSW_BASE_BRANCH=CMSSW_11_1
+ case $CMSSW_TAG in
+ CMSSW_BRANCH=CMSSW_11_1_X
+ case `git --version` in
++ git --version
+ LEADING_SLASH=/
+ '[' ssh '!=' ssh ']'
+ '[' ssh = ssh ']'
+ [email protected]:cms-sw/cmssw.git
+ [email protected]:/cmssw.git
+ '[' /cvmfs/cms.cern.ch/cmssw.git.daily = '' ']'
+ '[' '!' -e /cvmfs/cms.cern.ch/cmssw.git.daily ']'
++ whoami
+ '[' -e /cvmfs/cms.cern.ch/cmssw.git.daily/create-cmsbld ']'
+ mkdir -p /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CLANG_X_2020-02-02-2300/src
+ cd /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CLANG_X_2020-02-02-2300/src
+ '[' '!' -d /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CLANG_X_2020-02-02-2300/src/.git ']'
+ '[' /cvmfs/cms.cern.ch/cmssw.git.daily ']'
+ git clone --branch CMSSW_11_1_X --no-checkout --reference /cvmfs/cms.cern.ch/cmssw.git.daily --origin official-cmssw [email protected]:cms-sw/cmssw.git /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CLANG_X_2020-02-02-2300/src
Cloning into '/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CLANG_X_2020-02-02-2300/src'...
+ false
+ git remote set-url --push official-cmssw disabled
+ git fetch official-cmssw --tags
+ git config core.sparsecheckout true
+ echo /.gitignore
+ echo /.clang-tidy
+ echo /.clang-format
+ git read-tree -mu HEAD
+ git checkout CMSSW_11_1_CLANG_X_2020-02-02-2300 -b from-CMSSW_11_1_CLANG_X_2020-02-02-2300
Switched to a new branch 'from-CMSSW_11_1_CLANG_X_2020-02-02-2300'

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

+1
Tested at: 29b730f
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b043c5/4468/summary.html
CMSSW: CMSSW_11_1_CLANG_X_2020-02-02-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

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

Comparison Summary:

  • You potentially added 5066 lines to the logs
  • Reco comparison results: 13330 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2697068
  • DQMHistoTests: Total failures: 24283
  • DQMHistoTests: Total nulls: 5
  • DQMHistoTests: Total successes: 2672434
  • DQMHistoTests: Total skipped: 346
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.023 KiB( 33 files compared)
  • DQMHistoSizes: changed ( 136.793 ): -0.023 KiB JetMET/SUSYDQM
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@makortel
Copy link
Contributor Author

makortel commented Feb 3, 2020

@cmsbuild, please test

Let's test the main IB as well

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4473/console Started: 2020/02/03 14:40

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

+1
Tested at: 29b730f
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b043c5/4473/summary.html
CMSSW: CMSSW_11_1_X_2020-02-03-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2697068
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2696721
  • DQMHistoTests: Total skipped: 346
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@makortel
Copy link
Contributor Author

makortel commented Feb 3, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 3, 2020

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, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 09b7a64 into cms-sw:master Feb 3, 2020
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.

5 participants