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

Fix for EndPaths in DependecyGraph #44742

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

AdrianoDee
Copy link
Contributor

@AdrianoDee AdrianoDee commented Apr 15, 2024

PR description:

Trivial fix for DependencyGraph when looping on EndPaths. Spotted because when there are more EndPaths than Paths it throws:

std::bad_alloc exception
----- Begin Fatal Exception 15-Apr-2024 16:51:10 CEST-----------------------
An exception of category 'BadAlloc' occurred while
   [0] Calling beginJob
Exception Message:
A std::bad_alloc exception was thrown.
The job has probably exhausted the virtual memory available to the process.
----- End Fatal Exception -------------------------------------------------

To test one can run:

cmsDriver.py step3 -s RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM --conditions 140X_mcRun3_2023_realistic_v3 --datatier GEN-SIM-RECO,MINIAODSIM,NANOAODSIM,DQMIO -n 10 --eventcontent RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM --geometry DB:Extended --era Run3_2023 --filein /store/relval/CMSSW_14_0_0/RelValSingleMuPt10/GEN-SIM-DIGI-RAW/140X_mcRun3_2023_realistic_v3_STD_2023_noPU-v1/2580000/34fca56a-1726-4a1a-b607-a23588c76f5c.root --fileout file:step3.root --python_filename step3_pixel.py --customise_commands 'process.load("FWCore.Services.DependencyGraph_cfi")'

that will crash in master and with this PR will produce this (unreadable but correct) graph:

image

@AdrianoDee
Copy link
Contributor Author

type bug-fix

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 15, 2024

cms-bot internal usage

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44742/39957

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • FWCore/Services (core)

@smuzaffar, @makortel, @Dr15Jones can you please review it and eventually sign? Thanks.
@wddgit, @makortel, @missirol, @fwyzard this is something you requested to watch as well.
@rappoccio, @antoniovilela, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor

Thanks!

@AdrianoDee
Copy link
Contributor Author

Thanks!

You're welcome ( :

@makortel
Copy link
Contributor

@cmsbuild, please test

@fwyzard
Copy link
Contributor

fwyzard commented Apr 15, 2024

thanks @AdrianoDee - could you prepare also a 14.0.x backport ?

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8eeaff/38857/summary.html
COMMIT: fe309a5
CMSSW: CMSSW_14_1_X_2024-04-15-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44742/38857/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@makortel
Copy link
Contributor

@makortel
Copy link
Contributor

+core

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

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.

6 participants