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
Make the skipBadFiles option work, add tests #32373
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32373/20219 ERROR: Build errors found during clang-tidy run.
|
code-checks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32373/20224
|
A new Pull Request was created by @wddgit (W. David Dagenhart) for master. It involves the following packages: FWCore/Framework @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison results are now available Comparison Summary:
|
+1 |
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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Bug fix. Make the skipBadFiles option work. I suspect this option was not being used at all given the number of problems with it and the lack of a good unit test... Anyway, this fixes it. I noticed this while testing ProcessBlock persistence (not from a user report). PoolInputTest_skip_with_failure_cfg.py was failing with the new ProcessBlock code.
PR validation:
Added a new unit test. Also, fixed the unit test that creates an empty file. That used to work by using EmptySource and setting maxEvents to zero, but now that does not create any output files at all. Now the fixed unit test uses PoolSource and selects only lumis not in the input file.
As far as I know, RelVal type tests do not use the skipBadFiles option so this should not affect them.