Skip to content

[L1T] Phase2 L1Nano: drop hpsTauTable, and the dead HARVEST step from wf .781/.782 - #51803

Open
artlbv wants to merge 1 commit into
cms-sw:masterfrom
artlbv:fix/ph2l1nano-drop-hpstautable
Open

[L1T] Phase2 L1Nano: drop hpsTauTable, and the dead HARVEST step from wf .781/.782#51803
artlbv wants to merge 1 commit into
cms-sw:masterfrom
artlbv:fix/ph2l1nano-drop-hpstautable

Conversation

@artlbv

@artlbv artlbv commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

PR description:

FYI @RobertJWard @BenjaminRS @quinnanm @mmusich @elenavernazza

Workflows 29634.781/.782 (Phase-2 L1 NanoAOD) cannot run. Two independent causes, both reproducible on an unmodified release:

  1. hpsTauTable reads a collection that is no longer produced. It reads l1tHPSPFTauProducerPuppi, but only the non-Puppi l1tHPSPFTauProducer is in the Phase-2 SimL1Emulator sequence, so any workflow running p2L1TablesTask aborts with ProductNotFound for l1t::HPSPFTau. addPh2L1Objects already excluded the table under the nano_l1_hlt modifier — with a comment noting the collection is "no longer available in the L1 menu" — but these workflows do not apply that modifier. Remove the table from p2L1TablesTask and drop the now-redundant modifier block; the EDProducer definition is kept so it can be re-enabled if the collection returns.

  2. A HARVESTING step that can never have an input. L1CompleteWithNano/L1CompleteOnlyNano inherit HARVESTGlobal from the HLTTiming75e33 template, but their step2 runs no VALIDATION/DQM sequence and writes only FEVTDEBUGHLT,NANOAODSIM (.782: NANOAODSIM), so step2_inDQM.root is never produced and HARVESTING:@hltValidation fails with FileOpenError. Dropped via a small UpgradeWorkflow subclass that sets the HARVEST entry to None. Removing it from the steps list alone is not sufficient — relval_upgrade.py then appends the step unsuffixed. steps/PU are deep-copied so the shared HLTTiming75e33 template is not mutated.

Expected output changes: the L1hpsTau_* branches are removed from the Phase-2 L1 NanoAOD — in current workflows they were never actually written, since the table only aborted the job, but they could still appear when running over legacy inputs containing the Puppi producer. The other four L1 tau tables (L1caloTau, L1nnCaloTau, L1nnPuppiTau, L1GTnnTau) are unaffected. 29634.781/.782 no longer schedule a HARVESTING step; 29634.75 and the HLTTiming75e33 template are unchanged.

No dependencies on other PRs or externals.

PR validation:

CMSSW_20_1_0_pre1, el9_amd64_gcc13.

  • runTheMatrix.py --what upgrade -i all -l 29634.781 reports 1 1 tests passed, 0 0 failed. step2 processes all 10 events with zero exceptions and writes a complete NanoAOD (10 entries, 504 branches) plus the FEVTDEBUGHLT output. Before this PR the same command reported Step1-FAILED / Step2-NOTRUN.
  • Workflow listing confirms the HARVEST step is dropped only where intended: 29634.781/.782 no longer show it, while 29634.75 still shows +HARVESTGlobal_HLT75e33Timing_Run4D110.
  • The remaining tau tables are present in the output nano: L1caloTau, L1nnCaloTau, L1nnPuppiTau, L1GTnnTau.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Not a backport; targets master. No backport currently intended.

hpsTauTable reads l1tHPSPFTauProducerPuppi, which is no longer part of the L1
menu -- only the non-Puppi l1tHPSPFTauProducer is in the Phase-2 SimL1Emulator
sequence. Any workflow running p2L1TablesTask therefore aborts with
ProductNotFound for l1t::HPSPFTau. This was already known: addPh2L1Objects
excluded the table under the nano_l1_hlt modifier, but workflows such as
29634.781/.782 do not apply that modifier and so still crashed. Remove the
table from p2L1TablesTask outright and drop the now-redundant modifier; the
EDProducer definition is kept so it can be re-enabled if the collection
returns. The other four L1 tau tables (caloTau, nnCaloTau, nnPuppiTau,
GTnnTau) are unaffected.

With the nano step fixed, wf 29634.781 got as far as HARVESTING and exposed a
second, independent problem: L1CompleteWithNano/L1CompleteOnlyNano inherit a
HARVESTGlobal step from the HLTTiming75e33 template, but their step2 runs no
VALIDATION/DQM sequence and writes only FEVTDEBUGHLT and/or NANOAODSIM, so
step2_inDQM.root is never produced and HARVESTING:@hltValidation can only fail
with a FileOpenError. Drop the step via a small UpgradeWorkflow subclass.
The steps/PU lists are deep-copied so the HLTTiming75e33 template itself is
unchanged (wf .75 still harvests).

Tested in CMSSW_20_1_0_pre1 (el9_amd64_gcc13):
runTheMatrix.py --what upgrade -i all -l 29634.781 now reports
"1 1 tests passed, 0 0 failed"; step2 completes 10/10 events with zero
exceptions and writes a full 504-branch NanoAOD.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012ZhBBoZkn3gtRtXmW3FYoM
@cmsbuild

cmsbuild commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

cmsbuild commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild

cmsbuild commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @artlbv for master.

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv)
  • DPGAnalysis/Phase2L1TNanoAOD (l1, xpog)

@AdrianoDee, @BenjaminRS, @DickyChant, @antoniovagnerini, @battibass, @cmsbuild, @ftorrresd, @kfjack, @miquork, @quinnanm, @sroychow can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @fabiocos, @makortel, @missirol, @mmusich, @slomeo this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@mmusich

mmusich commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Workflows 29634.781/.782 (Phase-2 L1 NanoAOD) cannot run. Two independent causes, both reproducible on an unmodified release:

is this not tested anywhere?

@mmusich

mmusich commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

test parameters:

  • relval_opts = -w upgrade
  • workflows = ph2_hlt, 37634.781, 37634.782

@mmusich

mmusich commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@cmsbuild

cmsbuild commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

-1

Failed Tests: RelVals
Size: This PR adds an extra 48KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed2f4f/55650/summary.html
COMMIT: 8e3e4da
CMSSW: CMSSW_20_1_X_2026-09-01-2300/el9_amd64_gcc14
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51803/55650/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed RelVals

+ echo 'ERROR : runTheMatrix returned non-zero exit code'
ERROR : runTheMatrix returned non-zero exit code
ERROR Running runTheMatrix for '-l ph2_hlt,37634.781,37634.782 - w upgrade'

AMD_MI300X Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 101 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 9538
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164201
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

AMD_W7900 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 73 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8444
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165295
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_H100 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 94 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8986
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164753
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L4 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 74 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8686
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165053
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L40S Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 72 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8522
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165217
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_T4 Comparison Summary

Summary:

Max Memory Comparisons exceeding threshold NVIDIA_L4

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff -175.6 exceeds +/- 30.0 MiB

Max Memory Comparisons exceeding threshold NVIDIA_L40S

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff 200.8 exceeds +/- 30.0 MiB

Max Memory Comparisons exceeding threshold NVIDIA_T4

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff -37.6 exceeds +/- 30.0 MiB

@elenavernazza

Copy link
Copy Markdown
Contributor

Hi @artlbv
Thank you for the development!
About point 1 on the missing input collection (which was ther in the Spring24 but no longer available), I had already made some modifications in #51004 to fix it with the nano_l1_hlt procmodifier.
Maybe enabling it could fix the issue on your workflows as well?

@mmusich

mmusich commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@cmsbuild

cmsbuild commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 48KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed2f4f/55654/summary.html
COMMIT: 8e3e4da
CMSSW: CMSSW_20_1_X_2026-09-01-2300/el9_amd64_gcc14
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51803/55654/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 61
  • DQMHistoTests: Total histograms compared: 4090018
  • DQMHistoTests: Total failures: 30
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4089970
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 60 files compared)
  • Checked 257 log files, 209 edm output root files, 61 DQM output files
  • TriggerResults: no differences found

AMD_MI300X Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 88 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8421
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165318
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

AMD_W7900 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 68 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 7740
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165999
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_H100 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 58 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 7919
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165820
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L4 Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 99 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 9632
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 164107
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_L40S Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 57 differences found in the comparisons
  • DQMHistoTests: Total files compared: 7
  • DQMHistoTests: Total histograms compared: 173739
  • DQMHistoTests: Total failures: 8221
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 165518
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 6 files compared)
  • Checked 25 log files, 20 edm output root files, 7 DQM output files
  • TriggerResults: no differences found

NVIDIA_T4 Comparison Summary

Summary:

Max Memory Comparisons exceeding threshold NVIDIA_L40S

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff 201.8 exceeds +/- 30.0 MiB

Max Memory Comparisons exceeding threshold NVIDIA_T4

@cms-sw/core-l2 , I found 1 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 37634.7503_TTbar_14TeV+Run4D127_HLTHeterogeneousValid step2 max memory diff -37.7 exceeds +/- 30.0 MiB

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.

4 participants