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

[DD4hep] Tests Cleanup and 2021 Production Scenario Update #30093

Merged
merged 16 commits into from
Jun 9, 2020

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Jun 3, 2020

PR description:

  • 2021 production scenario updated
  • Use it in the tests
  • Simplify comparison for identifying a regular expression
  • Anchor a regular expression
  • Tests moved to appropriate subsystems
  • Integration tests added to run them

PR validation:

unit tests and integration tests run by default

if this PR is a backport please specify the original PR and why you need to backport that PR:

Before submitting your pull requests, make sure you followed this checklist:

@ianna
Copy link
Contributor Author

ianna commented Jun 3, 2020

@slomeo - FYI

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30093/15833

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

A new Pull Request was created by @ianna (Ianna Osborne) for master.

It involves the following packages:

Configuration/Geometry
DetectorDescription/DDCMS
Geometry/CMSCommonData
Geometry/DTGeometryBuilder
Geometry/MuonCommonData
Geometry/TrackerCommonData
MagneticField/GeomBuilder

@perrotta, @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @kpedro88, @slava77 can you please review it and eventually sign? Thanks.
@namapane, @battibass, @makortel, @vargasa, @VinInn, @Martin-Grunewald, @ptcox, @ebrondol, @ghugo83, @fabiocos, @slomeo, @venturia this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@ianna
Copy link
Contributor Author

ianna commented Jun 3, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6768/console Started: 2020/06/03 14:39

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

-1

Tested at: cd144a0

CMSSW: CMSSW_11_2_X_2020-06-02-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-82b7d4/6768/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test DD4hepGeometryTestDriver had ERRORS
---> test GeometryDTGeometryBuilderTestDriver had ERRORS
---> test GeometryTrackerCommonDataTestDriver had ERRORS

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 3, 2020

Comparison job queued.

@cvuosalo
Copy link
Contributor

cvuosalo commented Jun 5, 2020

@ianna A lot of different changes are made in this PR. I think you have fixed some bugs or enhanced functionality in DDFilteredView, but I'm not sure. Does this PR address any of the problems some DD4hep migraters have been encountering? If so, please mention them in the PR description so we know what has been fixed.
Also, I see you have started changing double to float in various algorithms. Could you please mention these changes in the PR description?

@cvuosalo
Copy link
Contributor

cvuosalo commented Jun 5, 2020

+1

@civanch
Copy link
Contributor

civanch commented Jun 6, 2020

+1

@ianna
Copy link
Contributor Author

ianna commented Jun 8, 2020

@perrotta, @makortel, @kpedro88, @slava77 can you please check

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2020

+1

for #30093 e1a5aee

  • reco-category files in MagneticField are mainly refactored after a move of some files from DetectorDescription/DDCMS
  • jenkins tests pass and comparisons with the baseline show no (relevant) differences

@kpedro88
Copy link
Contributor

kpedro88 commented Jun 8, 2020

+upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2020

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. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cvuosalo
Copy link
Contributor

For the record, additional details about this PR:

The PR is done in preparation for DDCMS code migration to DD4hep repository. All DPG related tests were moved under the DPG subsystems along with their automated execution. Many of the subsystems, for which the DPG are responsible, did not have it implemented before.

The tests used a private 2021 scenario that was more up to date then the production one. I’ve updated the 2021 production scenario and modified all test configurations to use it. The first was removed.

This fixed Sergio’s problem with an offset in the comparison: the modified YE thickness was not propagated to the scenario he was using.

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.

10 participants