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

CMS - test 2016 GT reading #206

Open
3 tasks done
katilp opened this issue Oct 9, 2023 · 1 comment
Open
3 tasks done

CMS - test 2016 GT reading #206

katilp opened this issue Oct 9, 2023 · 1 comment
Assignees

Comments

@katilp
Copy link
Member

katilp commented Oct 9, 2023

(from #124)

Test the GT reading

  • from the local db in the gitlab-registry.cern.ch/cms-cloud/cmssw-docker-opendata/cmssw_10_6_30-slc7_amd64_gcc700 container
  • from /cvmfs with a cvmfs mount of /cvmfs/cms-opendata-conddb.cern.ch/
  • from /cvmfs in the VM image

Use https://github.com/cms-opendata-analyses/PFNanoProducerTool
with data, change the input file and the GT in PFNano/pfnano_data_2016UL_OpenData.py:

    fileNames = cms.untracked.vstring('root://eospublic.cern.ch//eos/opendata/cms/Run2016G/JetHT/MINIAOD/UL2016_MiniAODv2-v2/130000/35017A26-8C9D-204D-92B6-3ABFBBD4ADF3.root'),
process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.cern.ch/106X_dataRun2_v37.db')
process.GlobalTag.globaltag = '106X_dataRun2_v37'

and, eventually, redo for MC when some OD files get transferred, change the input file and the following in PFNano/pfnano_mc_2016UL_OpenData.py:

process.GlobalTag.connect = cms.string('sqlite_file:/cvmfs/cms-opendata-conddb.cern.ch/106X_mcRun2_asymptotic_v17.db')
process.GlobalTag.globaltag = '106X_mcRun2_asymptotic_v17'

Also, think of an automated test wf to be added as a test to the container image build

@katilp katilp self-assigned this Oct 9, 2023
@katilp
Copy link
Member Author

katilp commented Jan 27, 2024

Testing in a new VM image from the cernvm group, with slc7 singularity shell.

The GT access is fine but the PFNano test job fails with

Did not find frontier-connect in calib-data section in /cvmfs/cms.cern.ch/SITECONF/local/JobConfig/site-local-config.xml

indicating an attempt to access the condition database outside of GT. The problem was traced to the RecoTau package
(see discussion

The code retrieves a db (or more). It was verified that it is not in the default GT.

This is an undesired feature of the production code, not related to the OD example, and a fix will be implemented in CMSSW and a new GT can be provided with the necessary tags.

An update to most of the already prepared records/docs will be needed, a new container needs to be built and the updated GTs moved to /cmvfs and eos.

See also in the release guide how to disconnect frontier in the CMS OD container to test that database access in only to the GT on /cvmfs. It will speed up testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant