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

FileInPath: replace boost::filesystem by std::filesystem #33066

Merged
merged 10 commits into from
Mar 8, 2021

Conversation

davidlange6
Copy link
Contributor

@davidlange6 davidlange6 commented Mar 4, 2021

To possibly address aarch64 build issues seen when using boost1.75 across different machines- More discussion in cms-sw/cmsdist#6698

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2021

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33066/21376

  • This PR adds an extra 24KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33066/21377

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2021

A new Pull Request was created by @davidlange6 (David Lange) for master.

It involves the following packages:

FWCore/ParameterSet

@makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @wddgit this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@davidlange6
Copy link
Contributor Author

davidlange6 commented Mar 4, 2021 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2021

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6804c/13265/summary.html
COMMIT: e61a5ce
CMSSW: CMSSW_11_3_X_2021-03-03-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33066/13265/install.sh to create a dev area with all the needed externals and cmssw changes.

Build

I found compilation error when building:

>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-03-03-2300/src/FWCore/PyDevParameterSet/test/makepset_t.cppunit.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-03-03-2300/src/FWCore/PyDevParameterSet/test/readpsetsfrom_t.cppunit.cc
>> Building binary testPyBind11ParameterSet
/cvmfs/cms-ib.cern.ch/nweek-02670/slc7_amd64_gcc900/external/gcc/9.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc900/src/FWCore/PyDevParameterSet/test/testPyBind11ParameterSet/makepset_t.cppunit.cc.o: in function `testmakepset::fileinpathAux()':
makepset_t.cppunit.cc:(.text+0x24aa): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
>> Deleted: tmp/slc7_amd64_gcc900/src/FWCore/PyDevParameterSet/test/testPyBind11ParameterSet/testPyBind11ParameterSet
gmake: *** [tmp/slc7_amd64_gcc900/src/FWCore/PyDevParameterSet/test/testPyBind11ParameterSet/testPyBind11ParameterSet] Error 1
>> Entering Package FWCore/PrescaleService
>> Leaving Package FWCore/PrescaleService
>> Package FWCore/PrescaleService built


@smuzaffar
Copy link
Contributor

@davidlange6 , can you please also fix FWCore/PyDevParameterSet/test/makepset_t.cppunit.cc

@smuzaffar
Copy link
Contributor

smuzaffar commented Mar 7, 2021

please test
@davidlange6 my last change should fix this issue.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33066/21423

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2021

Pull request #33066 was updated. @SiewYan, @smuzaffar, @andrius-k, @Dr15Jones, @mkirsano, @makortel, @ErnestaP, @ahmad3213, @GurpreetSinghChahal, @jfernan2, @kmaeshima, @alberto-sanchez, @agrohsje, @rvenditti can you please check and sign again.

@davidlange6
Copy link
Contributor Author

davidlange6 commented Mar 7, 2021 via email

@smuzaffar
Copy link
Contributor

yes that is correct as later at https://github.com/cms-sw/cmssw/pull/33066/files#diff-e2ebfebe4f2ce703776a9659be37d1701ca6934432f0007ae58472f79d4bd143R383 we concatenate pathPreix with relativePath_

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6804c/13326/summary.html
COMMIT: 158ab21
CMSSW: CMSSW_11_3_X_2021-03-07-0000/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33066/13326/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-f6804c/34634.0_TTbar_14TeV+2026D76+TTbar_14TeV_TuneCP5_GenSimHLBeamSpot14+DigiTrigger+RecoGlobal+HARVESTGlobal
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-f6804c/34834.999_TTbar_14TeV+2026D76PU_PMXS1S2PR+TTbar_14TeV_TuneCP5_GenSimHLBeamSpot14+PREMIX_PremixHLBeamSpot14PU+DigiTriggerPU+RecoGlobalPU+HARVESTGlobalPU

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2849195
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2849172
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files

@jfernan2
Copy link
Contributor

jfernan2 commented Mar 8, 2021

+1

@smuzaffar
Copy link
Contributor

+core

@agrohsje
Copy link

agrohsje commented Mar 8, 2021

+generators

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2021

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

@qliphy
Copy link
Contributor

qliphy commented Mar 8, 2021

+1

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.

6 participants