Skip to content

Files not found when reading tree, but files exist #20789

@acampove

Description

@acampove

Check duplicate issues.

  • Checked for duplicates

Description

This issue is very similar to:

#17449
#20782

With the latest version of ROOT in pypi, I am still seeing this in some of my jobs:

  File "/workspace/src/rx_data/src/rx_data/rdf_getter.py", line 545, in get_rdf
    self._rdf = self._rdf_from_conf(fpath='joint_files', conf_path=conf_path)
                ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/src/rx_data/src/rx_data/rdf_getter.py", line 462, in _rdf_from_conf
    nentries = rdf.Count().GetValue()
cppyy.gbl.std.runtime_error: const ULong64_t& ROOT::RDF::RResultPtr<ULong64_t>::GetValue() =>
    runtime_error: Full sample identifier 'root://eoslhcb.cern.ch//eos/lhcb/wg/RD/RX_run3/Data/rkst/main/v1/data_24_magdown_24c4_Hlt2RD_B0ToKpPimEE_MVA.root/DecayTree' cannot be found in the available samples.
/opt/app-root/lib64/python3.13/site-packages/ROOT/__init__.py:5: UserWarning: 

but not all of them and yes, the file exists with the shown tree name.

All of the jobs run over the same input data, but only some of them fail. Which suggests that this is not an easy to reproduce problem (i.e. sometimes it happens, sometimes it does not).

Despite the files are in EOS and can be read as if they were in the same filesystem, because EOS was mounted with FUSE, ROOT is still defaulting to use XROOTD. Is there a way to turn that off? I.e. is there a way to force ROOT to read the files through the FUSE mount?

Cheers.

Reproducer

It's challenging to provide a reproducer, and I do not know if this is something that will break every time we run the code.

ROOT version

0.1a10

Installation method

pypi

Operating system

Almalinux9

Additional context

For now it might be easier to bypass these problems by just turning off the xrootd read.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions