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

edmCheckMultithreading: check for non multithreading-compliant modules #11241

Merged
merged 1 commit into from
Sep 16, 2015

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Sep 14, 2015

Check if the modules used by the CONFIG python file are legacy,
global, stream or one modules, and if they implement the
fillDescriptions() method.

Check if the modules used by the CONFIG python file are `legacy`,
`global`, `stream` or `one` modules, and if they implement the
`fillDescriptions()` method.
@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 14, 2015

@Martin-Grunewald , @perrotta , here is the script to check if any modules used by a CMSSW python configuration are multithreading-friendly or not.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_7_4_X.

edmCheckMultithreading: check for non multithreading-compliant modules

It involves the following packages:

FWCore/Utilities

@cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @wddgit, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Martin-Grunewald
Copy link
Contributor

Great, but what is the difference to CMSSW/​HLTrigger/​Tools/​scripts/​cmsCheckMultithreading ?
Will it now run for each PR automatically? With a warning for fillDescription, and an error
for non-MT?

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 14, 2015

please test

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 14, 2015

though it just adds a new script, so it's very unlikely to break anything...

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 14, 2015

Great, but what is the difference to CMSSW/​HLTrigger/​Tools/​scripts/​cmsCheckMultithreading ?
Will it now run for each PR automatically? With a warning for fillDescription, and an error
for non-MT?

That's something I forgot putting there... and it's likely an older version, which was breaking when looking for the package where each module is defined.

And the new one has colours, too :-)

Anyway, no, it's not automatically run, it's something we should add to hltIntegrationTest, but I would do that only after this PR is merged.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor

Why was a backport needed?

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 14, 2015

because HLT will stay with CMSSW 7.4.x for the rest of the year (at least for pp collisions), and I would like to add this to the standard checks that we request from the developers

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs once checked with relvals in the development release cycle of CMSSW (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Sep 16, 2015
edmCheckMultithreading: check for non multithreading-compliant modules
@cmsbuild cmsbuild merged commit cbf639d into cms-sw:CMSSW_7_4_X Sep 16, 2015
@fwyzard fwyzard deleted the edmCheckMultithreading_74x branch September 23, 2015 20:07
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