-
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
Error in testDD4hepFilteredViewLevel and testDD4hepFilteredViewGoTo #31604
Comments
assign geometry |
New categories assigned: geometry @Dr15Jones,@cvuosalo,@mdhildreth,@makortel,@ianna,@civanch you have been requested to review this Pull request/Issue and eventually sign? Thanks |
A new Issue was created by @silviodonato Silvio Donato. @Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
@silviodonato - I do not see errors in the PR IB linked here. I'll check in the local area. |
@ianna You can find more info from #31574 |
@qliphy - thanks! I've reproduced the error in a local area. The scenario has changed. I'm afraid, the construction order is not guaranteed, so the reference point has shifted. |
please, take #31605 that fixes it. |
@ianna Can this problem happen again? How can we prevent it? |
+1 |
This issue is fully signed and ready to be closed. |
Good question. Yes, it will definitely happen when the geometry changes: a geo history reflects a child number at a level, but if there is another child created before, the geo history of the first one will shift. Will it happen if geometry does not change? Yes, when we will start using multiple processes. We cannot guarantee the order of parsing and creation. |
@silviodonato - IMHO, this can be closed now. Thanks! |
@ianna I would keep this issue open to remind us that the tests are currently incompatible with geometry changes and multiple processes. If you prefer we can close this issue and open another one. Of course this issue is much less urgent than the DD4HEP migration, but I think it is good to keep a reminder. |
@silviodonato - the unit test does exactly what it is suppose to do - it fails if the geometry changes ;-) |
@smuzaffar Could the unit test described in this issue be added to the PR tests for any change to "Geometry" packages? |
@cvuosalo you can include manually this unit test by adding
|
Ok, so I assume that you want to keep the test as it is. If somebody wants to change the geometry, s/he needs also to update the unit test. As @cvuosalo pointed out, it would be good to run this test anytime we change a |
We are getting two errors in the unit test of
DetectorDescription/DDCMS
intestDD4hepFilteredViewLevel
andtestDD4hepFilteredViewGoTo
sinceCMSSW_11_2_X_2020-09-27-0000
, after having merged #31508.It turned out that the error is related to the hard-coded level numbers in the unit test (eg. https://github.com/cms-sw/cmssw/blob/master/DetectorDescription/DDCMS/test/DDFilteredView.goto.cppunit.cc#L73).
More details in #31508.
@ianna could you have a look to this issue?
The text was updated successfully, but these errors were encountered: