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

[BuildRules] Set LD_PRELOAD for various Sanitizer builds #6635

Merged
merged 1 commit into from Feb 10, 2021

Conversation

smuzaffar
Copy link
Contributor

fixes cms-sw/cmssw#32854
For various Sanitizer IBs, tools (e.g. root, listcomponents pyroot) which are not build with sanitizer options failed to load CMSSW libs. Change cms-sw/cmssw-config@80a7d7c should now set LD_PRELOAD env for these IBs to make sure that any external tool run in cmssw env can load its libs

fixes cms-sw/cmssw#32854
For various Sanitizer IBs, tools (e.g. root, listcomponents pyroot) which are not build with sanitizer options failed to load CMSSW libs. Change cms-sw/cmssw-config@80a7d7c should now set LD_PRELOAD env for these IBs to make sure that any external tool run in cmssw env can load its libs
@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

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

@smuzaffar, @mrodozov can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Feb 10, 2021

test parameters:

  • addpkg = DataFormats,FWCore

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_11_3_ASAN_X

@smuzaffar smuzaffar merged commit 8072455 into IB/CMSSW_11_3_X/master Feb 10, 2021
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-80284c/12820/summary.html
COMMIT: 34509ce
CMSSW: CMSSW_11_3_X_2021-02-09-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6635/12820/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2751765
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2751736
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 156 log files, 37 edm output root files, 37 DQM output files

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-80284c/12822/summary.html
COMMIT: 34509ce
CMSSW: CMSSW_11_3_ASAN_X_2021-02-09-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/6635/12822/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 10-Feb-2021 11:49:09 CET-----------------------
An exception of category 'StdException' occurred while
   [0] Processing global begin Run run: 1
   [1] Calling method for module OscarMTProducer/'g4SimHits'
   [2] Using EventSetup component DDCompactViewESProducer/'' to make data DDCompactView/'' in record IdealGeometryRecord
   [3] Running EventSetup component DDDetectorESProducer/'
Exception Message:
A std::exception was thrown.
dd4hep: Failed to locate plugin to interprete files of type "DDDefinition" - no factory:DDDefinition_XML_reader. 		No factory with name Create(DDDefinition_XML_reader) for type DDDefinition_XML_reader found.
		Please check library load path and/or plugin factory name.
dd4hep: while parsing /cvmfs/cms-ib.cern.ch/nweek-02667/slc7_amd64_gcc900/cms/cmssw/CMSSW_11_3_ASAN_X_2021-02-09-1100/src/Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml
dd4hep: with plugin:DD4hep_CompactLoader
----- End Fatal Exception -------------------------------------------------

@smuzaffar smuzaffar deleted the smuzaffar-patch-7 branch February 16, 2021 13:23
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.

DD4Hep plugins failed to load in ASAN IBs
2 participants