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

DD Name Unit Test #24326

Merged
merged 11 commits into from Aug 22, 2018
Merged

DD Name Unit Test #24326

merged 11 commits into from Aug 22, 2018

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Aug 17, 2018

  • Add a unit test
  • Fix a bug in DDName

Note, it is based on #24263 and #24313

@Dr15Jones and @cvuosalo - I'm not sure what was an original requirement behind a DDName design. I think, the unit test demonstrates one usecase: the registry keeps only unique names.

@ianna
Copy link
Contributor Author

ianna commented Aug 17, 2018

please test

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 17, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29901/console Started: 2018/08/17 12:53

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DetectorDescription/Core
DetectorDescription/OfflineDBLoader
DetectorDescription/Parser
DetectorDescription/RegressionTest
Fireworks/Geometry
Geometry/EcalCommonData
Geometry/EcalTestBeam
Geometry/HGCalCommonData
Geometry/HcalTestBeamData
Geometry/MTCCTrackerCommonData
Geometry/MTDCommonData
Geometry/TrackerCommonData
Geometry/TrackerGeometryBuilder
Geometry/TrackerNumberingBuilder
Geometry/VeryForwardGeometryBuilder
SimG4Core/Geometry
Validation/HGCalValidation

@andrius-k, @Dr15Jones, @kmaeshima, @cvuosalo, @schneiml, @ianna, @mdhildreth, @cmsbuild, @alja, @jfernan2, @kpedro88, @civanch can you please review it and eventually sign? Thanks.
@vandreev11, @sethzenz, @alja, @makortel, @jan-kaspar, @argiro, @VinInn, @ghugo83, @cseez, @bsunanda, @rovere, @venturia, @ebrondol, @lgray, @kpedro88, @pfs this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

DDName anotherName;
std::cerr << "\nDDName name=" << name << " id=" << name.id()
<< ", another name=" << anotherName << " id=" << anotherName.id();
int a[100000]{};
Copy link
Contributor

Choose a reason for hiding this comment

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

This should just be uninitialized values. Is that what you want?

Copy link
Contributor

Choose a reason for hiding this comment

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

Doing

int a[100000] = {};

Will zero initialize all the elements.

Copy link
Contributor

Choose a reason for hiding this comment

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

I misread one of the web sites info. Testing using 'compiler explorer' does show that what you did will initialize all values to 0. Sorry for the incorrect comment.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24326/29903/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2983602
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2983405
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 14 edm output root files, 31 DQM output files

@ianna
Copy link
Contributor Author

ianna commented Aug 17, 2018

+1

@civanch
Copy link
Contributor

civanch commented Aug 20, 2018

+1

@alja
Copy link
Contributor

alja commented Aug 21, 2018

+1

@kpedro88
Copy link
Contributor

+upgrade

@cmsbuild
Copy link
Contributor

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

@kpedro88
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 5f25dbf into cms-sw:master Aug 22, 2018
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

7 participants