Skip to content

Large db downloads #16

@katilp

Description

@katilp

It appears that using PAT objects requires access to a very large (5GB) EcalLase database.
That won't pass in the github action.

I made some attempts to overcome this, but they fail

Assuming that the large db is not needed, a dummy db is copied to the local area.
It contains the tables required by the db schema but they are empty, identified by dumping several db files with

sqlite3 /cvmfs/cms-opendata-conddb.cern.ch/FT53_V21A_AN6_FULL/L1GtTriggerMaskAlgoTrig_CRAFT09v2_hlt.db .dump > L1GtTriggerMaskAlgo.txt

and taking the common parts. This would work if the db are not actually needed but it turns out that they are, judging from the error message

cmsRun: /build/cmsbuild/auto-builds/CMSSW_5_3_32-slc6_amd64_gcc472/build/CMSSW_5_3_32-build/slc6_amd64_gcc472/external/boost/1.47.0-cms/include/boost/smart_ptr/shared_ptr.hpp:423: T* boost::shared_ptr<T>::operator->() const [with T = cond::IOVSequence]: Assertion px != 0' failed.`

NB that in a dummy, there's an attempt add the name (this is not generic but it is from the db name so should if all this would have worked, it could have been inserted in the script)

Error: near line 24: column nodelabel is not unique
MetaData::getToken: metadata entry "EcalLaserAPDPNRatios_2012ABCD_offline_20130205" does not exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions