cernopendata / cernopendata-client

CERN Open Data command-line client
http://cernopendata-client.readthedocs.io/
GNU General Public License v3.0
10 stars 9 forks source link

xrootd: from broken XRootDPyFS to vanilla XRootD #122

Closed tiborsimko closed 3 years ago

tiborsimko commented 3 years ago

Changes all XRootD operations such as download-files and list-directory to use (vanilla) XRootD Python library instead of (broken) XRootDPyFS. Closes #119.

tiborsimko commented 3 years ago

Tested that the problematic big file case is fixed:

$ cernopendata-client download-files --recid 12341 --protocol xrootd --verify
==> Downloading file 1 of 1
  -> File: ./12341/Run2012BC_DoubleMuParked_Muons.root
==> Verifying file Run2012BC_DoubleMuParked_Muons.root... 
  -> Expected size 2244449133, found 2244449133
  -> Expected checksum adler32:1fa61aca, found adler32:1fa61aca
==> Success!
tiborsimko commented 3 years ago

Also:

Amends CI actions to run on latest Ubuntu 20.04 and to run the full XRootD test suite inside the new "docker-tests" target. (The common "python-tests" targets do not run XRootD tests.)