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

[Tracker Alignment] Miscellaneous fixes in Alignment/OfflineValidation all-in-one tool #34876

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Aug 13, 2021

PR description:

The goal of this PR is to fix some miscelleanous mistakes in the all-in-one template configurations introduced since the last alignment campaigns (commit db6ca68).
I profit of the PR to enhance the unit test to check at compilation time the soundness of the python configuration produced by the test themselves (commit 2543ada).

PR validation:

Run the Alignment/OfflineValidation unit tests via scram b runtests

if this PR is a backport please specify the original PR and why you need to backport that PR:

Not a backport but will be backported to production cycles.

@cmsbuild cmsbuild added this to the CMSSW_12_1_X milestone Aug 13, 2021
@mmusich mmusich changed the title [Tracker Alignment] Miscellaneous fixes in alignment offline validation all in one tool [Tracker Alignment] Miscellaneous fixes in Alignment/OfflineValidation all-in-one tool Aug 13, 2021
@mmusich
Copy link
Contributor Author

mmusich commented Aug 13, 2021

type bug-fix

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34876/24679

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mmusich (Marco Musich) for master.

It involves the following packages:

  • Alignment/OfflineValidation (alca)

@malbouis, @yuanchao, @cmsbuild, @tlampen, @pohsun, @francescobrivio, @tvami can you please review it and eventually sign? Thanks.
@mmusich, @adewit, @tocheng, @tlampen this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor Author

mmusich commented Aug 13, 2021

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build ClangBuild
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13f6c2/17774/summary.html
COMMIT: 2543ada
CMSSW: CMSSW_12_1_X_2021-08-12-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/34876/17774/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13f6c2/17774/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13f6c2/17774/git-merge-result

Build

I found compilation error when building:

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBImport.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/PayloadInspector.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/Utilities.cc
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc: In function 'size_t cond::persistency::importIovs(const string&, cond::persistency::Session&, const string&, cond::persistency::Session&, cond::Time_t, cond::Time_t, const string&, const string&, bool, bool, bool)':
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc:97:12: error: 'set' is not a member of 'std'
   97 |       std::set pids;
      |            ^~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc:4:1: note: 'std::set' is defined in header ''; did you forget to '#include '?
    3 | #include "CondCore/CondDB/interface/ConnectionPool.h"
  +++ |+#include 


Clang Build

I found compilation error while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBFetch.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBImport.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/PayloadInspector.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/Utilities.cc
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc:97:26: error: expected '(' for function-style cast or type construction
      std::set pids;
               ~~~~~~~~~~^
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-12-2300/src/CondCore/Utilities/src/CondDBTools.cc:97:12: error: no member named 'set' in namespace 'std'
      std::set pids;
      ~~~~~^


@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13f6c2/17777/summary.html
COMMIT: 2543ada
CMSSW: CMSSW_12_1_X_2021-08-13-1700/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/34876/17777/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 2999420
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2999397
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Aug 14, 2021

+alca

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

@qliphy
Copy link
Contributor

qliphy commented Aug 15, 2021

+1

@cmsbuild cmsbuild merged commit cbd7131 into cms-sw:master Aug 15, 2021
@mmusich mmusich deleted the miscellaneousFixesAlignmentOfflineValidation_allInOneTool branch August 19, 2021 08:29
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

5 participants