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

[CC8] unit test fixed, no need to use static ServiceToken and Registry #28425

Merged
merged 1 commit into from Nov 20, 2019
Merged

[CC8] unit test fixed, no need to use static ServiceToken and Registry #28425

merged 1 commit into from Nov 20, 2019

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Nov 19, 2019

PR description:

These unit tests are failing in CC8 IBs. Using non-static ServiceToken and Registry fixes these.
@Dr15Jones , could it be that there is some double delete going on in ServiceToken/Registry? The error we get is

==== Test "testFrontier" ====
# Connecting with db in frontier://FrontierProd/CMS_CONDITIONS
Loaded size=90714
free(): corrupted unsorted chunks
/bin/sh: line 1: 18858 Aborted                 testFrontier

---> test testFrontier had ERRORS

PR validation:

Locally build/run and all unit tests of this package now runs successfully for CentOS8

Singularity> cat logs/cc8_amd64_gcc8/testing.log | grep '^---> test '
---> test testReadWritePayloads succeeded
---> test testRunInfo succeeded
---> test testGroupSelection succeeded
---> test testFrontier succeeded
---> test testConditionDatabase_2 succeeded
---> test testPayloadProxy succeeded
---> test testRootStreaming succeeded
---> test testConditionDatabase_0 succeeded
---> test testConnectionPool had ERRORS
---> test testConditionDatabase_1 succeeded
---> test condTestRegression succeeded

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28425/12814

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 19, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/3530/console Started: 2019/11/19 16:12

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

CondCore/CondDB

@ggovi, @cmsbuild can you please review it and eventually sign? Thanks.
@mmusich 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

@Dr15Jones
Copy link
Contributor

could it be that there is some double delete going on in ServiceToken/Registry?

The classes in question are meant to be temporaries with lifetimes shorter than the central parts of the plugin system. The use of static breaks the lifetime requirement and leads to the problem.

@smuzaffar
Copy link
Contributor Author

any idea why we do not get this error for SLC6/7?

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2936360
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2936018
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@smuzaffar
Copy link
Contributor Author

@ggovi can you please check and sign this?

@smuzaffar smuzaffar changed the title [CC8] unit test fixed, no need to static ServiceToken and Registry [CC8] unit test fixed, no need to use static ServiceToken and Registry Nov 20, 2019
@fabiocos
Copy link
Contributor

+1

@fabiocos
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 28d024a into cms-sw:master Nov 20, 2019
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

4 participants