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

[DD4hep] Update to master 21 10 2020 #31879

Merged
merged 16 commits into from
Oct 22, 2020

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Oct 21, 2020

PR description:

PR validation:

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

Before submitting your pull requests, make sure you followed this checklist:

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 21, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmsdist#6315

@smuzaffar
Copy link
Contributor

@silviodonato , all is good , feel free to merge this and cmsdist pr

@silviodonato
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 8c3c47e into cms-sw:master Oct 22, 2020
@ianna
Copy link
Contributor Author

ianna commented Oct 22, 2020

+1

resigned for the record

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 22, 2020

The tests are being triggered in jenkins.

@civanch
Copy link
Contributor

civanch commented Oct 22, 2020

+1

@cmsbuild
Copy link
Contributor

-1

Tested at: 6841d20

CMSSW: CMSSW_11_2_X_2020-10-21-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1db636/10194/summary.html

I found follow errors while testing this PR

Failed tests: Build HeaderConsistency ClangBuild

  • Build:

I found compilation error when building:

Copying tmp/slc7_amd64_gcc820/src/Alignment/CocoaApplication/bin/cocoa/cocoa to productstore area:
Entering library rule at Alignment/CocoaApplication
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:6:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h: In function 'std::vector cms::getAllParameterValuesFromSpecParSections(const DDSpecParRegistry&, const string&, const string&)':
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:28: error: request for member 'second' in 'mySpecParSection', which is of pointer type 'const dd4hep::SpecPar* const' (maybe you meant to use '->' ?)
       if (mySpecParSection.second->hasPath(nodePath)) {
                            ^~~~~~
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:62:33: error: request for member 'second' in 'mySpecParSection', which is of pointer type 'const dd4hep::SpecPar* const' (maybe you meant to use '->' ?)
         return mySpecParSection.second->value>(parameterName);
                                 ^~~~~~

  • Clang:

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 64 COMPILER='llvm compile'

>> Entering Package Alignment/CocoaApplication
>> Compiling  /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/bin/cocoa.cpp
Entering library rule at Alignment/CocoaApplication
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:6:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:27: error: member reference type 'const dd4hep::SpecPar *const' is a pointer; did you mean to use '->'?
      if (mySpecParSection.second->hasPath(nodePath)) {
          ~~~~~~~~~~~~~~~~^
                          ->
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:28: error: no member named 'second' in 'dd4hep::SpecPar'
      if (mySpecParSection.second->hasPath(nodePath)) {


@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@ianna
Copy link
Contributor Author

ianna commented Oct 22, 2020

-1

Tested at: 6841d20

CMSSW: CMSSW_11_2_X_2020-10-21-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1db636/10194/summary.html

I found follow errors while testing this PR

Failed tests: Build HeaderConsistency ClangBuild

  • Build:

I found compilation error when building:

Copying tmp/slc7_amd64_gcc820/src/Alignment/CocoaApplication/bin/cocoa/cocoa to productstore area:
Entering library rule at Alignment/CocoaApplication
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:6:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h: In function 'std::vector cms::getAllParameterValuesFromSpecParSections(const DDSpecParRegistry&, const string&, const string&)':
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:28: error: request for member 'second' in 'mySpecParSection', which is of pointer type 'const dd4hep::SpecPar* const' (maybe you meant to use '->' ?)
if (mySpecParSection.second->hasPath(nodePath)) {
^~~~~~
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:62:33: error: request for member 'second' in 'mySpecParSection', which is of pointer type 'const dd4hep::SpecPar* const' (maybe you meant to use '->' ?)
return mySpecParSection.second->value>(parameterName);
^~~~~~

  • Clang:

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 64 COMPILER='llvm compile'

Entering Package Alignment/CocoaApplication
>> Compiling /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/bin/cocoa.cpp
Entering library rule at Alignment/CocoaApplication
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/Alignment/CocoaApplication/src/CocoaAnalyzer.cc:6:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:27: error: member reference type 'const dd4hep::SpecPar *const' is a pointer; did you mean to use '->'?
if (mySpecParSection.second->hasPath(nodePath)) {
~~~~~~~~~~~~~~~~^
->
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-21-2300/src/DetectorDescription/DDCMS/interface/DDCompactView.h:61:28: error: no member named 'second' in 'dd4hep::SpecPar'
if (mySpecParSection.second->hasPath(nodePath)) {

@smuzaffar - this is due to changes in external API. Somehow the new external is not picked up.

@kpedro88
Copy link
Contributor

to be clear, I find the expectation that I should review a PR between 1am-4am to be ridiculous.

@kpedro88
Copy link
Contributor

+upgrade
minor API changes in MTD geometry packages

@ianna
Copy link
Contributor Author

ianna commented Oct 23, 2020

to be clear, I find the expectation that I should review a PR between 1am-4am to be ridiculous.

apologies, it will not happen again :-)

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.

9 participants