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

cleaning up unused py2 tools ; restoring tensorflow as part of python_tools.spec #7019

Merged
merged 4 commits into from Jun 15, 2021

Conversation

davidlange6
Copy link
Contributor

(For DEVEL)

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for branch IB/CMSSW_12_0_X/devel.

@cmsbuild, @smuzaffar, @mrodozov, @iarspider can you please review it and eventually sign? Thanks.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.
cms-bot commands are listed here

@davidlange6
Copy link
Contributor Author

test parameters:

  • full_cmssw = true

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15916/summary.html
COMMIT: 2d7cd22
CMSSW: CMSSW_12_0_DEVEL_X_2021-06-11-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/7019/15916/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation warning when building: See details on the summary page.

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 12, 2021 via email

@cmsbuild
Copy link
Contributor

Pull request #7019 was updated.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15919/summary.html
COMMIT: 10c517f
CMSSW: CMSSW_12_0_DEVEL_X_2021-06-11-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/7019/15919/install.sh to create a dev area with all the needed externals and cmssw changes.

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-3ab08a/15919/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15919/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test test_PrepareInputDb had ERRORS
---> test test_CreateFileLists had ERRORS
---> test test_MpsWorkFlow had ERRORS
---> test EcalDAQ_O2O_test had ERRORS
and more ...

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5116 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2862520
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2862497
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

Pull request #7019 was updated.

@davidlange6
Copy link
Contributor Author

please test

@davidlange6
Copy link
Contributor Author

please test with cms-sw/cmssw#34106

@smuzaffar
Copy link
Contributor

please test with cms-sw/cmssw#34106 for CMSSW_12_0_DEVEL_X

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15932/summary.html
COMMIT: 07e8776
CMSSW: CMSSW_12_0_X_2021-06-13-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7019/15932/install.sh to create a dev area with all the needed externals and cmssw changes.

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-3ab08a/15932/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15932/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test GeometryDOMCount had ERRORS
---> test testTauEmbeddingProducers had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2862520
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2862491
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 37 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15939/summary.html
COMMIT: 07e8776
CMSSW: CMSSW_12_0_DEVEL_X_2021-06-13-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7019/15939/install.sh to create a dev area with all the needed externals and cmssw changes.

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-3ab08a/15939/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ab08a/15939/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test TestFWCorePythonFrameworkDriver had ERRORS
---> test GeometryDOMCount had ERRORS
---> test materialBudgetHGCalPlots had ERRORS
---> test materialBudgetTrackerPlots had ERRORS
and more ...

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5123 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2862520
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2862491
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 15, 2021 via email

@smuzaffar
Copy link
Contributor

that is correct @davidlange6. What about comparison differences, do you think those are due to python3 used by cmsRun?

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 15, 2021 via email

@smuzaffar
Copy link
Contributor

How can I find what the baseline was for the reco comparisons for the build starting from the DEVEL branch

you can click on the "Details" link for cms/7019/DEVEL/slc7_amd64_gcc900/comparison status which should take you to comparison jenkins job ( in this case https://cmssdt.cern.ch/jenkins/job/compare-root-files-short-matrix/43455/ ) . As we ony generate baseline for 12.0.X so comparison is always done with normal 12.0.X IB.

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 15, 2021 via email

@davidlange6
Copy link
Contributor Author

the puppi differences are due to different order of things the python config.

Eg,

245924c245933
< discriminatorSources: VInputTag tracked = {pfDeepCSVJetTagsAK8PFPuppiSoftDropSubjets:probbb,pfDeepCSVJetTagsAK8PFPuppiSoftDropSubjets:probb,pfCombinedMVAV2BJetTagsAK8PFPuppiSoftDropSubjets,pfCombinedInclusiveSecondaryVertexV2BJetTagsAK8PFPuppiSoftDropSubjets}

discriminatorSources: VInputTag tracked  = {pfCombinedInclusiveSecondaryVertexV2BJetTagsAK8PFPuppiSoftDropSubjets,pfCombinedMVAV2BJetTagsAK8PFPuppiSoftDropSubjets,pfDeepCSVJetTagsAK8PFPuppiSoftDropSubjets:probbb,pfDeepCSVJetTagsAK8PFPuppiSoftDropSubjets:probb}

presumably due to https://github.com/cms-sw/cmssw/blob/074f0c69af4f4669623b0ef33c8c73f73d8d287f/PhysicsTools/PatAlgos/python/recoLayer0/bTagging_cff.py#L62

So if we are depending on the order of things coming out of a dictionary, that is a bug (perhaps just a bug in the reco comparisons.

@smuzaffar
Copy link
Contributor

lets get this in for DEVEL

@smuzaffar smuzaffar merged commit 098a5ab into cms-sw:IB/CMSSW_12_0_X/devel Jun 15, 2021
@smuzaffar
Copy link
Contributor

@davidlange6 , 3 of DEVEL IBs unit tests can be fixed if they use python3 e.g.

should we just fix this in CMSSW_DEVEL branch or define soem env e.g CMSRUN_PYTHON=python|python3 and use this in these scripts?

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 16, 2021 via email

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 16, 2021 via email

@smuzaffar
Copy link
Contributor

you can try but I think the tests in Validation should also use same python as used by FWK

@smuzaffar
Copy link
Contributor

smuzaffar commented Jun 16, 2021

can we do something like the following to find the FWK python?

ldd `which cmsRun` | grep libpython

or add a helper script cms-python which just runs the above and return either python2 or python3

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 16, 2021 via email

@smuzaffar
Copy link
Contributor

Ido not see any long term use case, so fixing these 3 sciprts should be enough. By the way, you want to use python2 instead of python asin PY3 IBs, python is python3 :-)

@davidlange6
Copy link
Contributor Author

davidlange6 commented Jun 16, 2021 via email

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.

None yet

3 participants