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

TestDQMOnlineClient unit failures #38987

Closed
qliphy opened this issue Aug 8, 2022 · 12 comments · Fixed by #38991
Closed

TestDQMOnlineClient unit failures #38987

qliphy opened this issue Aug 8, 2022 · 12 comments · Fixed by #38991

Comments

@qliphy
Copy link
Contributor

qliphy commented Aug 8, 2022

Appearing in IB now, possibly related to
cms-data/DQM-Integration#2
#38925 (comment)

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 8, 2022

A new Issue was created by @qliphy Qiang Li.

@Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

===== Test "TestDQMOnlineClient-l1tstage2_dqm_sourceclient" ====

  • [[ 1 -eq 0 ]]
  • [[ -z '' ]]
  • LOCAL_TEST_DIR=.
  • [[ -z '' ]]
  • CLIENTS_DIR=./src/DQM/Integration/python/clients
  • mkdir -p ./upload
  • cmsRun ./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py unitTest=True
    Querying DAS for files...
    the query is file run=355380 dataset=/ExpressPhysics/Run2022B-Express-v1/FEVT lumi=19
    DAS succeeded after 1 attempts 0
    found files: ['/store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/b8a57fc4-5656-42b4-9b7b-2e647baf65e8.root']
    edmFileUtil --catalog file:/cvmfs/cms-ib.cern.ch/SITECONF/local/PhEDEx/storage.xml?protocol=xrootd --events /store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/b8a57fc4-5656-42b4-9b7b-2e647baf65e8.root | tail -n +9 | head -n -5 | awk '{ print $3 }'
    the query is file run=355380 dataset=/ExpressPhysics/Run2022B-Express-v1/FEVT lumi=20
    DAS succeeded after 1 attempts 0
    found files: ['/store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/2b3f408f-883a-4f64-8083-9e5786589069.root']
    edmFileUtil --catalog file:/cvmfs/cms-ib.cern.ch/SITECONF/local/PhEDEx/storage.xml?protocol=xrootd --events /store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/2b3f408f-883a-4f64-8083-9e5786589069.root | tail -n +9 | head -n -5 | awk '{ print $3 }'
    Got 2 files.
    Loaded configuration file from: []
    dqmRunConfig: cms.PSet(
    collectorHost = cms.untracked.string('127.0.0.1'),
    collectorPort = cms.untracked.int32(9190),
    type = cms.untracked.string('userarea')
    )
    ----- Begin Fatal Exception 08-Aug-2022 02:59:03 CEST-----------------------
    An exception of category 'ConfigFileReadError' occurred while
    [0] Processing the python configuration file named ./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py
    Exception Message:
    unknown python problem occurred.
    AttributeError: 'Process' object has no attribute 'totemTriggerRawToDigi'

At:
./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py(66):

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

===== Test "TestDQMOnlineClient-l1tstage2emulator_dqm_sourceclient" ====

  • [[ 1 -eq 0 ]]
  • [[ -z '' ]]
  • LOCAL_TEST_DIR=.
  • [[ -z '' ]]
  • CLIENTS_DIR=./src/DQM/Integration/python/clients
  • mkdir -p ./upload
  • cmsRun ./src/DQM/Integration/python/clients/l1tstage2emulator_dqm_sourceclient-live_cfg.py unitTest=True
    Querying DAS for files...
    the query is file run=355380 dataset=/ExpressPhysics/Run2022B-Express-v1/FEVT lumi=19
    DAS succeeded after 1 attempts 0
    found files: ['/store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/b8a57fc4-5656-42b4-9b7b-2e647baf65e8.root']
    edmFileUtil --catalog file:/cvmfs/cms-ib.cern.ch/SITECONF/local/PhEDEx/storage.xml?protocol=xrootd --events /store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/b8a57fc4-5656-42b4-9b7b-2e647baf65e8.root | tail -n +9 | head -n -5 | awk '{ print $3 }'
    the query is file run=355380 dataset=/ExpressPhysics/Run2022B-Express-v1/FEVT lumi=20
    DAS succeeded after 1 attempts 0
    found files: ['/store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/2b3f408f-883a-4f64-8083-9e5786589069.root']
    edmFileUtil --catalog file:/cvmfs/cms-ib.cern.ch/SITECONF/local/PhEDEx/storage.xml?protocol=xrootd --events /store/express/Run2022B/ExpressPhysics/FEVT/Express-v1/000/355/380/00000/2b3f408f-883a-4f64-8083-9e5786589069.root | tail -n +9 | head -n -5 | awk '{ print $3 }'
    Got 2 files.
    Loaded configuration file from: []
    dqmRunConfig: cms.PSet(
    collectorHost = cms.untracked.string('127.0.0.1'),
    collectorPort = cms.untracked.int32(9190),
    type = cms.untracked.string('userarea')
    )
    ----- Begin Fatal Exception 08-Aug-2022 02:59:08 CEST-----------------------
    An exception of category 'ConfigFileReadError' occurred while
    [0] Processing the python configuration file named ./src/DQM/Integration/python/clients/l1tstage2emulator_dqm_sourceclient-live_cfg.py
    Exception Message:
    unknown python problem occurred.
    AttributeError: 'Process' object has no attribute 'totemTriggerRawToDigi'

At:
./src/DQM/Integration/python/clients/l1tstage2emulator_dqm_sourceclient-live_cfg.py(66):

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

assign dqm, alca

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 8, 2022

New categories assigned: dqm,alca

@jfernan2,@ahmad3213,@yuanchao,@micsucmed,@rvenditti,@emanueleusai,@francescobrivio,@malbouis,@saumyaphor4252,@tvami,@ChrisMisan,@pmandrik you have been requested to review this Pull request/Issue and eventually sign? Thanks

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

adding also @cms-sw/ctpps-dpg-l2

@francescobrivio
Copy link
Contributor

unassign alca

  • the PRs mentioned in the Issue description only touch the unitTest of the beamhlt DQM client (and its input streamer files) and have nothing to do with the l1tstage2_dqm and l1tstage2emulator_dqm clients

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

This issue seems to be due to #38886

I can reproduce the error locally.

  1. First CMSSW_12_5_X_2022-08-07-0000 works well
  2. Then CMSSW_12_5_X_2022-08-07-2300 + TOTEM nT2 unpacker #38886 will give the error on 'totemTriggerRawToDigi'

cd DQM/Integration/python/clients
cmsRun l1tstage2emulator_dqm_sourceclient-live_cfg.py unitTest=True

@qliphy
Copy link
Contributor Author

qliphy commented Aug 8, 2022

@forthommel would you please have a quick look and fix? @cms-sw/ctpps-dpg-l2

@ChrisMisan
Copy link
Contributor

This is probably because of the changes in EventFilter/CTPPSRawToDigi/python/ctppsRawToDigi_cff.py

@mmusich
Copy link
Contributor

mmusich commented Aug 9, 2022

I see failures seemingly related to this in the unit test of PR #38760

https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5b625f/26728/unitTests/failed.html

+ cmsRun ./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py unitTest=True
----- Begin Fatal Exception 09-Aug-2022 18:14:01 CEST-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named ./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py
Exception Message:
 unknown python problem occurred.
AttributeError: 'Process' object has no attribute 'totemTriggerRawToDigi'

At:
  ./src/DQM/Integration/python/clients/l1tstage2_dqm_sourceclient-live_cfg.py(66): <module>

----- End Fatal Exception -------------------------------------------------

Will it get fixed as well?

@tvami
Copy link
Contributor

tvami commented Aug 9, 2022

I think #38991 is fixing it already, it's just that the DQM friends havent looked at it yet

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

Successfully merging a pull request may close this issue.

6 participants