-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Improve handling of phase-2 geometries and add unit tests for Fireworks/Geometry
package
#45328
Conversation
cms-bot internal usage |
function die { echo $1: status $2 ; exit $2; } | ||
|
||
# Define the base directory where the geometry files are located | ||
GEOMETRY_DIR="$CMSSW_RELEASE_BASE/src/Configuration/Geometry/python" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smuzaffar I think this will be fine for IBs and full releases but not maybe not for PR and patches ?
Do you have a suggestion to automatically fall back to $CMSSW_BASE
in those cases ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mmusich , yes this is not good for PR and patch releases as it will not pack any local changes from $CMSSW_BASE/src/Configuration/Geometry. In many places in cmssw we do something like
XDIR="${CMSSW_BASE}/<path>"
if [ ! -e ${XDIR} ] ; then
XDIR="${CMSSW_RELEASE_BASE}/<path>"
fi
We can add a utility script ( either in cmssw itself or in cms-common to be available for all releases) which can return the fullpath for a relative path e.g. find-cmssw-file relative-path
and it can return either $CMSSW_BASE/relative-path
or $CMSSW_RELEASE_BASE/relative-path
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45328/40745
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@Dr15Jones, @alja, @cmsbuild, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
if options.tag == "2026" or options.tag == "MaPSA": | ||
prop_key = 2026 | ||
version_key = options.tag + options.version | ||
elif options.tag == "2017": #or options.tag == "2021": (this leads to crashes in tests ?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cms-sw/geometry-l2 if I add here the 2021 part (which makes use the era Run3
) I get a failure:
----- Begin Fatal Exception 27-Jun-2024 14:17:04 CEST-----------------------
An exception of category 'NoProductResolverException' occurred while
[0] Processing Event run: 1 lumi: 1 event: 1 stream: 0
[1] Running path 'p'
[2] Prefetching for module DumpFWRecoGeometry/'dump'
[3] Prefetching for EventSetup module FWRecoGeometryESProducer/''
[4] Prefetching for EventSetup module CaloGeometryBuilder/''
[5] Calling method for EventSetup module EcalPreshowerGeometryEPdd4hep/'EcalPreshowerGeometryEP'
Exception Message:
No data of type "cms::DDCompactView" with label "" in record "IdealGeometryRecord"
Please add an ESSource or ESProducer to your job which can deliver this data.
----- End Fatal Exception -------------------------------------------------
while that's not the case when no era is used. Is something missing in the GlobalTags ?
@cmsbuild, please test |
-1 Failed Tests: UnitTests Unit TestsI found 1 errors in the following unit tests: ---> test test_dumpRecoGeometry had ERRORS Comparison SummarySummary:
|
d7d4b43
to
c70fe30
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45328/40751
|
Pull request #45328 was updated. @Dr15Jones, @alja, @cmsbuild, @makortel can you please check and sign again. |
Fireworks/Geometry
packageFireworks/Geometry
package
-1 Failed Tests: RelVals-INPUT
RelVals-INPUT
Expand to see more relval errors ...
Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @antoniovilela, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
Milestone for this pull request has been moved to CMSSW_14_2_X. Please open a backport if it should also go in to CMSSW_14_1_X. |
+1 |
ignore tests-rejected with ib-failure |
merge |
PR description:
This is in response of #43097 (comment).
dumpRecoGeometry
dumpRecoGeometry
PR validation:
Run
scram b runtests_test_dumpRecoGeometry
, that reveals the issue #43097 (comment).If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
N/A