Skip to content
Snippets Groups Projects

Extend IFileAccess interface with a `read` function

Merged Gerhard Raven requested to merge filereadtool into master
1 unresolved thread

IFileAccess;:read returns an optional<string> with the content of the requested file -- if it can be read. Otherwise it returns an 'empty' optional.

Merge request reports

Pipeline #3707580 passed

Pipeline passed for b25dab9e on filereadtool

Approved by

Merged by Marco ClemencicMarco Clemencic 3 years ago (Mar 25, 2022 10:54am UTC)

Merge details

  • Changes merged into master with 6adec3a7.
  • Deleted the source branch.

Pipeline #3758890 canceled

Pipeline canceled for 6adec3a7 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Marco Clemencic changed milestone to %v36r5

    changed milestone to %v36r5

  • Edited by Software for LHCb
  • Marco Clemencic resolved all threads

    resolved all threads

  • Marco Clemencic approved this merge request

    approved this merge request

  • Marco Clemencic mentioned in commit 6adec3a7

    mentioned in commit 6adec3a7

    • Any chance this error is related to this MR? (I'm trying to revert it locally to check)

      ToolSvc.GitDDDB      INFO opening Git repository '/cvmfs/lhcb.cern.ch/lib/lhcb/git-conddb/DDDB.git'
      ToolSvc.GitDDDB      INFO using commit 'upgrade/dddb-20220323' corresponding to b8c14122084e772ab1e6d280de8dffc0e5a3d3f3
      ToolSvc.GitSIMCOND   INFO opening Git repository '/cvmfs/lhcb.cern.ch/lib/lhcb/git-conddb/SIMCOND.git'
      ToolSvc.GitSIMCOND   INFO using commit 'upgrade/sim-20220324-vc-md100' corresponding to 5f9e05d598ddb9a86a4408a2f5fa6f5d3f396fd2
      DetectorDataSvc   SUCCESS Detector description database: git:/lhcb.xml
      VFSSvc              ERROR GitEntityResolver/GitDDDB does not implement IFileAccess
      ServiceManager      ERROR Unable to initialize service "VFSSvc"
      LHCb::ParticleP...  ERROR ServiceLocatorHelper::service: can not locate service VFSSvc
      LHCb::ParticleP...  ERROR Unable to locate IFileAccess('VFSSvc') service
      LHCb::ParticleP...  ERROR  Unable to initialize the internal structures
      ServiceManager      ERROR Unable to initialize Service: LHCb::ParticlePropertySvc
      ApplicationMgr      ERROR Application Manager Terminated with error code 1

      Edit: yes, reverting it fixes the problem (in the Rec functor cache "compilation"). FWIW, this happens online, but seemingly not in the nightlies, so I'm a bit puzzled

      Edited by Rosen Matev
    • Author Developer

      What happens if instead of reverting the entire commit, just revert the single line which increments the minor version of the interface ID: i.e. this one: !1317 (diffs)

    • The MR was tested in the nightlies and didn't show problems. @rmatev, can you tell me how to reproduce it?

    • I can't reproduce it anymore. After purging and building from scratch (as in the nighlies) there is no issue.

    • Author Developer

      that points to the build system not rebuilding something when a header it uses has been updated. Not sure whether that actually makes me more comfortable...

    • Please register or sign in to reply
  • Please register or sign in to reply
    Loading