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

Fix check for requirements (#7534), add missing dependencies #7537

Merged
merged 21 commits into from Jan 14, 2022

Conversation

iarspider
Copy link
Contributor

@smuzaffar I can move c823a9b (proposed fix for #7534) to a separate PR to avoid rebuilding unchanged python packages if necessary.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @iarspider for branch IB/CMSSW_12_3_X/master.

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

@iarspider
Copy link
Contributor Author

please test

@iarspider
Copy link
Contributor Author

There are some dependencies (build ones) that are not caught by pip check. This is a side-effect of using --no-build-isolation. For example, py3-correctionlib actually requires py3-make and py3-cmake (although it seems that it can be installed even if these packages are missing and only make and cmake commands are available).

@cmsbuild
Copy link
Contributor

Pull request #7537 was updated.

@cmsbuild
Copy link
Contributor

Pull request #7537 was updated.

@smuzaffar
Copy link
Contributor

@iarspider , yes please remove the change for build-with-pip-file. I think all you need is to add the following in

  • cmsdist/pip/cachecontrol.file
%define patchsrc0 sed -i -e 's|name="CacheControl"|name="cachecontrol"|' setup.py
  • cmsdist/pip/keyring.file
%define patchsrc0 sed -i -e 's|\\[metadata\\]|[metadata]\\nversion = %{realversion}|' setup.cfg

note that keyring version is set to 0.0.0.0 and check at https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_12_3_X/master/build-with-pip.file#L107 is still going to fail as we also search for %realversion.

I think we can improve build-with-with.file but I would suggest to change it only when we have updated gcc, python3, pip3 or setuptools

@smuzaffar
Copy link
Contributor

I have a rust.spec which allows to use or llvm, I will open a PR which you can use for this PR test

@iarspider
Copy link
Contributor Author

@smuzaffar py3-keyring should be fixed now (let me check once more) - the version is set with using py3-setuptools-scm, which was one of the missing deps. For py3-cachecontrol, this won't be necessary once we fix build-with-pip.file. For rust - this would be useful, thanks!

@smuzaffar
Copy link
Contributor

see #7538 for rust.
I would suggest to fix cachecontrol.file and undo the build-with-pip.file changes. I have a better fix for build-with-pip.file which we will only include when we will updateany base poackage. For now, it is better to include these changes in 12.3.X without massive rebuilt

@iarspider
Copy link
Contributor Author

I would suggest to fix cachecontrol.file and undo the build-with-pip.file changes. I have a better fix for build-with-pip.file which we will only include when we will updateany base poackage. For now, it is better to include these changes in 12.3.X without massive rebuilt

Sure. I have a few more fixes (for build-time dependencies), will push them soon.

build-with-pip.file Outdated Show resolved Hide resolved
@cmsbuild
Copy link
Contributor

Pull request #7537 was updated.

@cmsbuild
Copy link
Contributor

Pull request #7537 was updated.

@iarspider
Copy link
Contributor Author

please test

@@ -1,3 +1,3 @@
Requires: py3-pybind11 py3-numpy py3-pydantic py3-python-rapidjson py3-rich
BuildRequires: py3-setuptools-scm py3-scikit-build py3-cmake py3-make
BuildRequires: py3-setuptools-scm py3-scikit-build cmake py3-make
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need py3-make ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically, yes. Actually - not sure.

@cmsbuild
Copy link
Contributor

Pull request #7537 was updated.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21696/summary.html
COMMIT: 722f517
CMSSW: CMSSW_12_3_X_2022-01-12-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7537/21696/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-676bf4/21696/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21696/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5 differences found in the comparisons
  • DQMHistoTests: Total files compared: 43
  • DQMHistoTests: Total histograms compared: 3461659
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3461631
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 42 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 181 log files, 42 edm output root files, 43 DQM output files
  • TriggerResults: no differences found

@iarspider
Copy link
Contributor Author

please test for slc7_ppc64le_gcc11

@smuzaffar
Copy link
Contributor

please test for slc7_aarch64_gcc11

@cms-sw cms-sw deleted a comment from iarspider Jan 14, 2022
@smuzaffar
Copy link
Contributor

please test for cs8_amd64_gcc11

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21717/summary.html
COMMIT: 722f517
CMSSW: CMSSW_12_3_X_2022-01-13-2300/slc7_ppc64le_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7537/21717/install.sh to create a dev area with all the needed externals and cmssw changes.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21725/summary.html
COMMIT: 722f517
CMSSW: CMSSW_12_3_X_2022-01-13-2300/slc7_aarch64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7537/21725/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-676bf4/21725/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21725/git-merge-result

RelVals

----- Begin Fatal Exception 14-Jan-2022 19:15:49 CET-----------------------
An exception of category 'Vertex' occurred while
   [0] Processing  Event run: 194533 lumi: 329 event: 462355458 stream: 0
   [1] Running path 'dqmofflineOnPAT_1_step'
   [2] Prefetching for module SingleTopTChannelLeptonDQM_miniAOD/'singleTopElectronMediumDQM_miniAOD'
   [3] Prefetching for module PATMuonSlimmer/'slimmedMuons'
   [4] Prefetching for module PATMuonSelector/'selectedPatMuons'
   [5] Prefetching for module PATMuonProducer/'patMuons'
   [6] Prefetching for module MuonProducer/'muons'
   [7] Prefetching for module PFProducer/'particleFlowTmp'
   [8] Prefetching for module PFBlockProducer/'particleFlowBlock'
   [9] Prefetching for module PFElecTkProducer/'pfTrackElec'
   [10] Prefetching for module PFConversionProducer/'pfConversions'
   [11] Calling method for module ConversionProducer/'allConversions'
Exception Message:
Refitted track not found in list
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 14-Jan-2022 19:27:36 CET-----------------------
An exception of category 'Vertex' occurred while
   [0] Processing  Event run: 326479 lumi: 7 event: 1579493 stream: 0
   [1] Running path 'dqmoffline_8_step'
   [2] Prefetching for module SMPDQM/'SMPDQM'
   [3] Prefetching for module MuonProducer/'muons'
   [4] Prefetching for module PFProducer/'particleFlowTmp'
   [5] Prefetching for module PFBlockProducer/'particleFlowBlock'
   [6] Prefetching for module PFElecTkProducer/'pfTrackElec'
   [7] Prefetching for module PFConversionProducer/'pfConversions'
   [8] Calling method for module ConversionProducer/'allConversions'
Exception Message:
Refitted track not found in list
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 14-Jan-2022 19:44:12 CET-----------------------
An exception of category 'Vertex' occurred while
   [0] Processing  Event run: 319450 lumi: 76 event: 106007323 stream: 0
   [1] Running path 'dqmoffline_10_step'
   [2] Prefetching for module SMPDQM/'SMPDQM'
   [3] Prefetching for module MuonProducer/'muons'
   [4] Prefetching for module PFProducer/'particleFlowTmp'
   [5] Prefetching for module PFBlockProducer/'particleFlowBlock'
   [6] Prefetching for module PFElecTkProducer/'pfTrackElec'
   [7] Prefetching for module PFConversionProducer/'pfConversions'
   [8] Calling method for module ConversionProducer/'allConversions'
Exception Message:
Refitted track not found in list
----- End Fatal Exception -------------------------------------------------

@iarspider
Copy link
Contributor Author

@smuzaffar I think it's ok to merge. The error doesn't seem to be related to PR

@smuzaffar
Copy link
Contributor

+externals

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_12_3_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@smuzaffar smuzaffar merged commit 1d38608 into IB/CMSSW_12_3_X/master Jan 14, 2022
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-676bf4/21719/summary.html
COMMIT: 722f517
CMSSW: CMSSW_12_3_X_2022-01-13-2300/cs8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/7537/21719/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 65790 differences found in the comparisons
  • DQMHistoTests: Total files compared: 43
  • DQMHistoTests: Total histograms compared: 3461659
  • DQMHistoTests: Total failures: 477294
  • DQMHistoTests: Total nulls: 311
  • DQMHistoTests: Total successes: 2984032
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.346 KiB( 42 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): -0.288 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 11834.0 ): 2.191 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 250202.181 ): -0.111 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): -0.129 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 7.3 ): -2.009 KiB SiStrip/MechanicalView
  • Checked 181 log files, 42 edm output root files, 43 DQM output files
  • TriggerResults: found differences in 14 / 42 workflows

@iarspider iarspider deleted the fix-py-deps branch January 17, 2022 08:32
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