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

Make mass replace work with proxy types #30164

Merged
merged 2 commits into from
Jun 12, 2020

Conversation

Dr15Jones
Copy link
Contributor

PR description:

Adding isCompatibleCMSType allows handling of proxy types in mass search functions involving InputTags

PR validation:

The unit tests pass.

Adding isCompatibleCMSType allows handling of proxy types in mass search functions involving InputTags
@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30164/15965

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

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

It involves the following packages:

FWCore/ParameterSet

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

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6914/console Started: 2020/06/09 22:26

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

-1

Tested at: 3768603

CMSSW: CMSSW_11_2_X_2020-06-09-1100
SCRAM_ARCH: slc7_amd64_gcc820

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6914/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6914/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6914/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests RelVals

  • Unit Tests:

I found errors in the following unit tests:

---> test runtestPhysicsToolsPatAlgos had ERRORS
---> test TestConfigDP had ERRORS

  • RelVals:

When I ran the RelVals I found an error in the following workflows:
140.53 step2

runTheMatrix-results/140.53_RunHI2011+RunHI2011+RECOHID11+HARVESTDHI/step2_RunHI2011+RunHI2011+RECOHID11+HARVESTDHI.log

140.56 step2
runTheMatrix-results/140.56_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18/step2_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18.log

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6914/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6914/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2020

Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped)

@@ -38,7 +38,7 @@ def doIt(self,pset,base):
nrep = n; nrep.moduleLabel = self._paramReplace.moduleLabel
if self._verbose:print("Replace %s.%s[%d] %s ==> %s " % (base, name, i, n, nrep))
value[i] = nrep
elif isinstance(value, cms.InputTag):
elif value.isCompatibleCMSType(cms.InputTag):
if value == self._paramSearch:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that something like eqWproxy from https://github.com/cms-sw/cmssw/pull/30071/files#diff-c2356aa3d79bc5ad0d7e89ea86cca856R12-R16 will be needed here, and apparently in the VInputTag case above

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this and value is more elegant

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8128f/6977/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2779433
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2779382
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@makortel
Copy link
Contributor

+1

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 12, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) #30071
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6981/console Started: 2020/06/12 09:52

@silviodonato
Copy link
Contributor

+1

@silviodonato
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit c7ad92e into cms-sw:master Jun 12, 2020
@cmsbuild
Copy link
Contributor

+1
Tested at: 19f57b6
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2bb31f/6981/summary.html
CMSSW: CMSSW_11_2_X_2020-06-11-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2bb31f/6981/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2779433
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2779382
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@Dr15Jones Dr15Jones deleted the betterMassReplace branch June 12, 2020 13:10
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