-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ParameterSet/Config.py: Use realpath of cmssw area to avoid symlink issue #47024
Conversation
test parameters:
|
cms-bot internal usage |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47024/43141
|
A new Pull Request was created by @smuzaffar for master. It involves the following packages:
@Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Size: This PR adds an extra 56KB to repository Comparison SummarySummary:
|
Comparison differences are related to #46416 |
+core |
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. @sextonkennedy, @rappoccio, @antoniovilela, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
This fixes the FW unit test [a]. The issue is that python modules are loaded using realpath while https://github.com/cms-sw/cmssw/blob/master/FWCore/ParameterSet/python/Config.py#L55 is not resolving the symlink [b]. This change fix this unit test by using the realpath of
CMSSW_BASE, CMSSW_RELEASE_BASE and CMSSW_FULL_RELEASE_BASE
env[a] https://cmssdt.cern.ch/SDT/cgi-bin/logreader/el8_amd64_gcc12/CMSSW_15_0_ROOT6_X_2024-12-22-2300/unitTestLogs/FWCore/Integration#/3356-3356
[b]
CMSSWPath
has/cvmfs/cms-ib.cern.ch/sw/x86_64/week1
which is symlink to/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02869
while the import module has realpth/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02869/el8_amd64_gcc12/cms/cmssw/CMSSW_15_0_X_2024-12-22-0000/src/FWCore/ParameterSet/python/Config.py