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

Enable Condformats C++ modules #5600

Merged

Conversation

oshadura
Copy link

@oshadura oshadura commented Feb 25, 2020

The initial CXXModules.mk.files was changed to make easier grouping of modules and related to them hacks to enable modules.

This PR should be tested and merged only after cms-sw/cmssw#29040

CC: @davidlange6 @vgvassilev

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @oshadura (Oksana Shadura) for branch IB/CMSSW_11_1_X/rootmodule.

@cmsbuild, @smuzaffar, @mrodozov, @tulamor can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@vgvassilev
Copy link
Contributor

Part of cms-sw/cmssw#15248

@mrodozov
Copy link
Contributor

mrodozov commented Feb 28, 2020

do we need this in the IB, i.e. should I merge it and then restart the IB ?
Ah ok I see the comment above, its clear now

@davidlange6
Copy link
Contributor

davidlange6 commented Feb 28, 2020 via email

@mrodozov
Copy link
Contributor

right sry for the spam

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2020

Pull request #5600 was updated.

@smuzaffar
Copy link
Contributor

test parameters

  • full_cmssw = true

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 3, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2020

-1

Tested at: 0ef7d2d

CMSSW: CMSSW_11_1_CXXMODULE_X_2020-03-02-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-f78e54/4980/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

>> Compiling  tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/Serialization.cc 
>> Building LCG reflex dict from header file tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/CondFormatsLuminosity_xr.h
In file included from input_line_12:42:
In file included from ./tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/CondFormatsLuminosity_xr.h:1:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-02-2300/src/CondFormats/Luminosity/src/headers.h:2:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-02-2300/src/CondFormats/Luminosity/interface/LumiCorrections.h:42:3: error: C++ requires a type specifier for all declarations
  COND_SERIALIZABLE;
  ^
Error: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/lcg/root/6.19.01-f78e54/bin/rootcling: compilation failure (tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/libCondFormatsLuminosityda91d874a8_dictUmbrella.h)
rootcling: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc820/lcg/root/6.19.01-f78e54/root-6.19.01/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:407: cling::IncrementalParser::~IncrementalParser(): Assertion `(T->getState() == Transaction::kCommitted || T->getState() == Transaction::kRolledBackWithErrors || T->getState() == Transaction::kNumStates || T->getState() == Transaction::kRolledBack) && "Not committed?"' failed.
/bin/sh: line 1: 21994 Aborted                 /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/lcg/root/6.19.01-f78e54/bin/rootcling -reflex -f tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/CondFormatsLuminosity_xr.cc -s tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/libCondFormatsLuminosity.so -cxxmodule -failOnWarnings -DCMS_DICT_IMPL -D_REENTRANT -DGNUSOURCE -D__STRICT_ANSI__ -moduleMapFile=/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-02-2300/include/slc7_amd64_gcc820/cxxmodules/module.modulemap -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=80301 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DCMSSW_GIT_HASH='"CMSSW_11_1_CXXMODULE_X_2020-03-02-2300"' -DPROJECT_NAME='"CMSSW"' -DPROJECT_VERSION='"CMSSW_11_1_CXXMODULE_X_2020-03-02-2300"' -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-02-2300/src -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/lcg/root/6.19.01-f78e54/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/pcre/8.37-pafccj/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/boost/1.67.0-pafccj/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/bz2lib/1.0.6-pafccj/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/libuuid/2.34/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/tbb/2019_U9/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/xz/5.2.4/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/zlib-x86_64/1.2.11-pafccj/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/md5/1.0.0-pafccj/include -DCMSSW_REFLEX_DICT -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-02-2300/src/CondFormats/Luminosity/src tmp/slc7_amd64_gcc820/src/CondFormats/Luminosity/src/CondFormatsLuminosity/a/CondFormatsLuminosity_xr.h src/CondFormats/Luminosity/src/classes_def.xml


@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2020

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

@oshadura
Copy link
Author

oshadura commented Mar 4, 2020

It is missing one more PR cms-sw/cmssw#29086 (sorry for late notice)

@mrodozov
Copy link
Contributor

mrodozov commented Mar 4, 2020

test parameters:

@mrodozov
Copy link
Contributor

mrodozov commented Mar 4, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmssw#29086
Test Parameters:

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2020

-1

Tested at: 0ef7d2d

CMSSW: CMSSW_11_1_CXXMODULE_X_2020-03-03-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-f10a6f/4989/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-03-2300/src/Mixing/Base/src/PileUp.cc 
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-03-2300/src/Mixing/Base/src/BMixingModule.cc 
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_CXXMODULE_X_2020-03-03-2300/src/Mixing/Base/src/SecondaryEventProvider.cc 
>> Building shared library tmp/slc7_amd64_gcc820/src/Mixing/Base/src/MixingBase/libMixingBase.so
/cvmfs/cms-ib.cern.ch/nweek-02618/slc7_amd64_gcc820/external/gcc/8.2.0-pafccj/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.3.1/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lCondFormatsRunInfo
collect2: error: ld returned 1 exit status
gmake: *** [tmp/slc7_amd64_gcc820/src/Mixing/Base/src/MixingBase/libMixingBase.so] Error 1
Leaving library rule at Mixing/Base
>> Leaving Package Mixing/Base
>> Package Mixing/Base built
>> Leaving Package PhysicsTools/CandAlgos


@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2020

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

@davidlange6
Copy link
Contributor

finally the CMSSW PR has been merged (days of difficult review per line of change...)

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

6 participants