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

Python 3.8.2: updates (git, pcre) and cleanups (qt, pyqt, thriftpy) #5648

Merged
merged 21 commits into from Mar 20, 2020

Conversation

smuzaffar
Copy link
Contributor

Updated python3 version to 3.8.2. As changing python means rebuilding nearly half of externals, so we propose to integrate some cleanup from CC8 branch which includes

  • Delete unused specs/files
  • Cleanup for geting config.gues and config.sub files
  • Use build in PRM macros instead of custom one
  • Remove explicit generation of dependencies-setup.*sh files
  • Fixing autotools to use included xml instead of looking at system headers
  • Make sure to fail is pip can not find a installed package name
  • Backports:
    • cmsos changes
    • git version 2.23
    • pcre version 8.43
  • Drop Qt and PyQt ( as part of Qt cleanup Is FWCore/GuiBrowser really needed? cmssw#28436 )
  • Unify Zlib build for x86_64 and non-x86_64 archs
  • Drop thriftpy it has been deprecated and does not build with new python 3.8. Although there is thriftpy2 but as non of our externals require it so we propose to remove it.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_11_1_X/master.

@cmsbuild, @smuzaffar, @mrodozov, @tulamor can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 15, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5185/console Started: 2020/03/15 20:38
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5191/console Started: 2020/03/16 09:04

@cmsbuild
Copy link
Contributor

-1

Tested at: 3366d40

  • Build:

I found compilation error when building:

File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/py2-pip/9.0.3-b0eba1/lib/python3.8/site-packages/pip/req/req_install.py", line 435, in run_egg_info
call_subprocess(
File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/py2-pip/9.0.3-b0eba1/lib/python3.8/site-packages/pip/utils/__init__.py", line 705, in call_subprocess
raise InstallationError(
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/pip-tjz2g4ut-build/
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.CPvRKi (%build)


RPM build errors:
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.CPvRKi (%build)



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

@cmsbuild
Copy link
Contributor

-1

Tested at: 3366d40

  • Build:

I found compilation error when building:

File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/py2-pip/9.0.3-b0eba1/lib/python3.8/site-packages/pip/req/req_install.py", line 435, in run_egg_info
call_subprocess(
File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc7_amd64_gcc820/external/py2-pip/9.0.3-b0eba1/lib/python3.8/site-packages/pip/utils/__init__.py", line 705, in call_subprocess
raise InstallationError(
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/pip-oxxwfcyg-build/
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.sp7tjl (%build)


RPM build errors:
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.sp7tjl (%build)



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

@smuzaffar
Copy link
Contributor Author

+externals

@cmsbuild
Copy link
Contributor

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

@smuzaffar
Copy link
Contributor Author

@silviodonato , any objection on merging this.

@smuzaffar
Copy link
Contributor Author

please test for slc7_aarch64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 19, 2020

The tests are being triggered in jenkins.
Test Parameters:

@@ -66,15 +63,12 @@ Requires: data-RecoHGCal-TICL
Requires: data-SimG4CMS-HGCalTestBeam
Requires: data-SimPPS-PPSPixelDigiProducer

%if %isnotonline
Copy link
Contributor

Choose a reason for hiding this comment

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

@smuzaffar out of curiosity, what is the reason of this change? For sure it makes life simpler, as there is no more distinction between what is "online" and the rest, but I wonder why this was in place there earlier at this point

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in past we had architectures like slc5onl_amd64_gcc* for special online builds. We are not building any more for those archs, so its time to clean up.

Copy link
Contributor

Choose a reason for hiding this comment

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

@smuzaffar ok, so no reason to make it more complex than it needs to be now

@cmsbuild
Copy link
Contributor

-1

Tested at: 2132266

CMSSW: CMSSW_11_1_X_2020-03-18-2300
SCRAM_ARCH: slc7_ppc64le_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b0eba1/5268/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

>> Package PhysicsTools/MXNet built
>> Entering Package PhysicsTools/ONNXRuntime
Entering library rule at PhysicsTools/ONNXRuntime
>> Compiling  /build/cmsbld/jenkins_b/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-03-18-2300/src/PhysicsTools/ONNXRuntime/src/ONNXRuntime.cc 
In file included from /build/cmsbld/jenkins_b/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-03-18-2300/src/PhysicsTools/ONNXRuntime/src/ONNXRuntime.cc:8:
/build/cmsbld/jenkins_b/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-03-18-2300/src/PhysicsTools/ONNXRuntime/interface/ONNXRuntime.h:19:10: fatal error: onnxruntime/core/session/onnxruntime_cxx_api.h: No such file or directory
 #include "onnxruntime/core/session/onnxruntime_cxx_api.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /build/cmsbld/jenkins_b/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-03-18-2300/src/PhysicsTools/ONNXRuntime/src/ONNXRuntime.cc:8:
/build/cmsbld/jenkins_b/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-03-18-2300/src/PhysicsTools/ONNXRuntime/interface/ONNXRuntime.h:19:10: fatal error: onnxruntime/core/session/onnxruntime_cxx_api.h: No such file or directory


@cmsbuild
Copy link
Contributor

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

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Mar 19, 2020

#5648 (comment) is known build error for ppc64le . externals build fine which is good news.

@silviodonato
Copy link
Contributor

+1

@smuzaffar smuzaffar merged commit 72b6504 into IB/CMSSW_11_1_X/master Mar 20, 2020
@smuzaffar smuzaffar deleted the python3.8 branch March 21, 2020 21:40
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

4 participants