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
a subprocess cannot request a product from an unscheduled parent process #17046
Comments
A new Issue was created by @fwyzard Andrea Bocci. @davidlange6, @Dr15Jones, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here #13029 |
By the way, I have tried to convince the parent process to produce the product I want to consume in the subprocess with process.addSubProcess( cms.SubProcess(
process = subprocess,
SelectEvents = cms.untracked.PSet(),
outputCommands = cms.untracked.vstring( 'keep *_sampleMerger_*_*' )
) ) but this results in segmentation fault:
A python file to reproduce this crash is attached: |
assign core |
New categories assigned: core @Dr15Jones,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@fwyzard have you tried using CSSSW_9_0_DEVEL? |
Both outcome are reproducible also in CMSSW_9_0_DEVEL_X_2016-12-15-1100 . |
Thanks for checking. I thought for sure I had a unit test that explicitly checked that. |
Fixed in #17064 |
+1 |
This issue is fully signed and ready to be closed. |
While writing some test configurations, I ran into an issue with subprocesses and unscheduled execution.
I have a job with a process and a subprocess.
The parent process is configured to run unscheduled, and defines some producers whose products are not needed within the process itself.
If a subprocess tries to request one of those products from the parent process, the job ends with
I think it is fair for the subprocess to fail, but the error message should be less intimidating :-)
To reproduce, prepare an area with
and run the attached python file: bug17046.py.
The text was updated successfully, but these errors were encountered: