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

add capability to dump condDBv2 payloads, tags, GTs in XML format #6673

Merged
merged 5 commits into from Dec 1, 2014

Conversation

apfeiffer1
Copy link
Contributor

Add capability to dump condDBv2 payloads, tags, GTs in XML format. This is the first version with dynamically compiled code. Use "conddb dump --help" to see details.

Also, as an example of the usage in a C++ test, a small example reading an xml file from a dump is implemented in CondFormats/RunInfo/tests/fromXML.cpp.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @apfeiffer1 (Andreas Pfeiffer) for CMSSW_7_4_X.

add capability to dump condDBv2 payloads, tags, GTs in XML format

It involves the following packages:

CondCore/Utilities
CondFormats/RunInfo
CondFormats/Serialization

@apfeiffer1, @nclopezo, @cerminar, @cmsbuild, @diguida, @rcastello, @ggovi, @mmusich can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@apfeiffer1
Copy link
Contributor Author

+1

On Thu, Nov 27, 2014 at 8:36 PM, cmsbuild notifications@github.com wrote:

A new Pull Request was created by @apfeiffer1
https://github.com/apfeiffer1 (Andreas Pfeiffer) for CMSSW_7_4_X.

add capability to dump condDBv2 payloads, tags, GTs in XML format

It involves the following packages:

CondCore/Utilities
CondFormats/RunInfo
CondFormats/Serialization

@apfeiffer1 https://github.com/apfeiffer1, @nclopezo
https://github.com/nclopezo, @cerminar https://github.com/cerminar,
@cmsbuild https://github.com/cmsbuild, @diguida
https://github.com/diguida, @rcastello https://github.com/rcastello,
@ggovi https://github.com/ggovi, @mmusich https://github.com/mmusich
can you please review it and eventually sign? Thanks.
@ghellwig https://github.com/ghellwig this is something you requested
to watch as well.
You can sign-off by replying to this message having '+1' in the first line
of your reply.
You can reject by replying to this message having '-1' in the first line
of your reply.


Reply to this email directly or view it on GitHub
#6673 (comment).

Thanks,
cheers, andreas

@cmsbuild
Copy link
Contributor

-1
Tested at: ff9feab
I found an error when building:

Serialization.cc:(.text._ZNK5boost7archive6detail11oserializerINS0_13xml_woarchiveESt6vectorISt4pairIdS4_IdSaIdEEESaIS8_EEE16save_object_dataERNS1_14basic_oarchiveEPKv[_ZNK5boost7archive6detail11oserializerINS0_13xml_woarchiveESt6vectorISt4pairIdS4_IdSaIdEEESaIS8_EEE16save_object_dataERNS1_14basic_oarchiveEPKv]+0xe1): undefined reference to `boost::archive::basic_xml_oarchive::save_end(char const*)'
Serialization.cc:(.text._ZNK5boost7archive6detail11oserializerINS0_13xml_woarchiveESt6vectorISt4pairIdS4_IdSaIdEEESaIS8_EEE16save_object_dataERNS1_14basic_oarchiveEPKv[_ZNK5boost7archive6detail11oserializerINS0_13xml_woarchiveESt6vectorISt4pairIdS4_IdSaIdEEESaIS8_EEE16save_object_dataERNS1_14basic_oarchiveEPKv]+0x103): undefined reference to`boost::archive::basic_xml_oarchiveboost::archive::xml_woarchive::save_start(char const*)'
tmp/slc6_amd64_gcc491/src/CondFormats/PhysicsToolsObjects/src/CondFormatsPhysicsToolsObjects/a/Serialization.o: In function `void boost::serialization::stl::load_collection > >, std::allocator > > > >, boost::serialization::stl::archive_input_seq > >, std::allocator > > > > >, boost::serialization::stl::reserve_imp > >, std::allocator > > > > > >(boost::archive::xml_wiarchive&, std::vector > >, std::allocator > > > >&)':
Serialization.cc:(.text._ZN5boost13serialization3stl15load_collectionINS_7archive13xml_wiarchiveESt6vectorISt4pairIdS5_IdSaIdEEESaIS9_EENS1_17archive_input_seqIS4_SB_EENS1_11reserve_impISB_EEEEvRT_RT0_[_ZN5boost13serialization3stl15load_collectionINS_7archive13xml_wiarchiveESt6vectorISt4pairIdS5_IdSaIdEEESaIS9_EENS1_17archive_input_seqIS4_SB_EENS1_11reserve_impISB_EEEEvRT_RT0_]+0xbd): undefined reference to `boost::archive::basic_xml_iarchive::load_end(char const*)'
Serialization.cc:(.text._ZN5boost13serialization3stl15load_collectionINS_7archive13xml_wiarchiveESt6vectorISt4pairIdS5_IdSaIdEEESaIS9_EENS1_17archive_input_seqIS4_SB_EENS1_11reserve_impISB_EEEEvRT_RT0_[_ZN5boost13serialization3stl15load_collectionINS_7archive13xml_wiarchiveESt6vectorISt4pairIdS5_IdSaIdEEESaIS9_EENS1_17archive_input_seqIS4_SB_EENS1_11reserve_impISB_EEEEvRT_RT0_]+0x15a): undefined reference to`boost::archive::basic_xml_iarchiveboost::archive::xml_wiarchive::load_start(char const_)'
collect2: error: ld returned 1 exit status
Leaving library rule at CondFormats/HcalObjects
gmake: *_\* [tmp/slc6_amd64_gcc491/src/CondFormats/PhysicsToolsObjects/src/CondFormatsPhysicsToolsObjects/libCondFormatsPhysicsToolsObjects.so] Error 1
@@@@ Running edmWriteConfigs for CSCReadCrateMapValuesAnalyzer
--- Registered EDM Plugin: CSCReadoutMapTest
--- Registered EDM Plugin: CSCGainsDBReadAnalyzer


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

@cmsbuild
Copy link
Contributor

@rcastello
Copy link

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged.

cmsbuild added a commit that referenced this pull request Dec 1, 2014
add capability to dump condDBv2 payloads, tags, GTs in XML format
@cmsbuild cmsbuild merged commit e0fbecb into cms-sw:CMSSW_7_4_X Dec 1, 2014
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

3 participants