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

Throw exception if TFile::Open returns nullptr #43920

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Dr15Jones
Copy link
Contributor

PR description:

The InputFile does not function properly if TFile::Open returns nullptr.

PR validation:

A case where TFile::Open returned nullptr was seen in CMSSW_10_6 in case where we tested reading a file generated in CMSSW_13_3 in that older release.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild cmsbuild added this to the CMSSW_14_1_X milestone Feb 8, 2024
@Dr15Jones
Copy link
Contributor Author

@smuzaffar the bot didn't seem to notice this PR.

@Dr15Jones
Copy link
Contributor Author

@makortel FYI

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2024

cms-bot internal usage

@smuzaffar
Copy link
Contributor

@smuzaffar the bot didn't seem to notice this PR.

@Dr15Jones , thanks for reporting. While fixing the issue mentioned #43706 (comment) (bot restting the signatures for squashed PRs) I introduce a bug and that is why bot was not reacting to new PR. This is fixed now

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43920/38772

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2024

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

  • IOPool/Input (core)

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

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1e651e/37310/summary.html
COMMIT: cf7fa70
CMSSW: CMSSW_14_1_X_2024-02-08-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43920/37310/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@makortel
Copy link
Contributor

makortel commented Feb 8, 2024

+core

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2024

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. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 4e8e8b7 into cms-sw:master Feb 9, 2024
11 checks passed
@Dr15Jones Dr15Jones deleted the TFileOpenFail branch February 9, 2024 21:03
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.

5 participants