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

Fixes for regression in the persistency of std::string payloads #18579

Merged
merged 2 commits into from May 9, 2017

Conversation

ggovi
Copy link
Contributor

@ggovi ggovi commented May 5, 2017

Fix for std::string type matching. A recent compiler change has changed the output of the 'demangler' for the std::string class.
Regression test adapted for execution in IB environment. This test will now run correctly once the above fix will be in a main release

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

A new Pull Request was created by @ggovi for master.

It involves the following packages:

CondCore/CondDB

@ggovi, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@ggovi
Copy link
Contributor Author

ggovi commented May 5, 2017

superseding #18542
@smuzaffar
this one contains fixes for the std::string persistency ( the demangled name from type_info.name() has changed ) and also the adaptation of the regression test for the IB environment. The execution of the test is fine ( no crash ), but the output will be ok only once the std::string fix reaches the main release referenced by the IBs.
Please let me know if we should disable this test until the fix get in the main release.

@ggovi
Copy link
Contributor Author

ggovi commented May 5, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19585/console Started: 2017/05/05 09:50

for rel_base_env in ['CMSSW_BASE', 'CMSSW_RELEASE_BASE', 'CMSSW_FULL_RELEASE_BASE' ]:
#print "Looking for: %s = %s " %(rel_base_env,os.getenv(rel_base_env))
if os.getenv(rel_base_env) and os.path.exists(str(os.environ[rel_base_env])+'/%s' %execName):
executable = str(os.environ[rel_base_env])+'/%s' %execName
Copy link
Contributor

Choose a reason for hiding this comment

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

@ggovi , you should break the loop once executable is found

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, you're right, thanks.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

Pull request #18579 was updated. @ggovi, @cmsbuild, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

-1

Tested at: 0d68899

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18579/19585/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test testAlignmentOfflineValidation had ERRORS

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

Comparison job queued.

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19596/console Started: 2017/05/05 13:29

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

-1

Tested at: f6de5fe

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18579/19596/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test testAlignmentOfflineValidation had ERRORS

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2017

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1700 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1831084
  • DQMHistoTests: Total failures: 27499
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1803405
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

Comparison job queued.

@ggovi
Copy link
Contributor Author

ggovi commented May 9, 2017

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@ggovi
Copy link
Contributor Author

ggovi commented May 9, 2017

@smuzaffar
this will fail in the IB environment, until the fixes reaches a main release... is it ok?

@smuzaffar
Copy link
Contributor

@ggovi , which main release?

@ggovi
Copy link
Contributor Author

ggovi commented May 9, 2017

@smuzaffar
well, the release that the IBs are referencing , in this case to find the executable testReadWritePayloads

@davidlange6
Copy link
Contributor

Hi @ggovi - i would have thought the logic in CondCore/CondDB/test/condTestRegression.py would have been sufficient to find testReadWritePayloads locally (after scram b)

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1694 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1831084
  • DQMHistoTests: Total failures: 26035
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 1804868
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@smuzaffar
Copy link
Contributor

@ggovi , I do not see it failing in PR tests and my local tests so looks like it was able to find testReadWritePayloads from the release area. So it looks good to me

-rwxr-xr-x 1 cvmfs cvmfs 179632 Aug 25  2016 /cvmfs/cms.cern.ch/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_6/test/slc6_amd64_gcc493/testReadWritePayloads
-rwxr-xr-x 1 cvmfs cvmfs 177600 Dec  2 02:38 /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_1_0/test/slc6_amd64_gcc530/testReadWritePayloads
-rwxr-xr-x 1 cvmfs cvmfs 193408 Apr  9 02:27 /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_9_0_1/test/slc6_amd64_gcc530/testReadWritePayloads
-rwxr-xr-x 1 cvmfs cvmfs 177608 Feb  2 01:43 /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_26/test/slc6_amd64_gcc530/testReadWritePayloads

@ggovi
Copy link
Contributor Author

ggovi commented May 9, 2017

@davidlange6 @smuzaffar
yes ,that's the idea. Maybe I'm confused then - in what circumstance the IB is not building the test?

@smuzaffar
Copy link
Contributor

@ggovi , test fails in IB env where the $LOCALRT/test/$SCRAM_ARCH/testReadWritePayloads does not exist but you change here https://github.com/cms-sw/cmssw/pull/18579/files#diff-44fb5ff277a0e30437f3b786451c29c7R161 should fix it.

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 816c76a into cms-sw:master May 9, 2017
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