Print

Print


Dear all,

I just tried version 5.5.2 today, which caused the CMS WebDav tests to fail.

Their test command is
```
gfal-sum -D "HTTP PLUGIN:RETRIEVE_BEARER_TOKEN=false" -t 90 davs://xrootd.phy.bris.ac.uk:1094/xrootd/cms/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_2_6_91X_mcRun1_realistic_v2-v1/00000/CE860B10-5D76-E711-BCA8-FA163EAA761A.root ADLER32
```
which returns 
```
davs://xrootd.phy.bris.ac.uk:1094/xrootd/cms/store/mc/SAM/GenericTTbar/AODSIM/CMSSW_9_2_6_91X_mcRun1_realistic_v2-v1/00000/CE860B10-5D76-E711-BCA8-FA163EAA761A.root 96fb2295
```
for version 5.5.0

and
```
gfal-sum error: 5 (Input/output error) - Invalid server checksum answer
```
for version 5.5.2


### our setup
We use a script to get the checksum: ` xrootd.chksum max 100 adler32 /etc/xrootd/xrdsum.sh`, which content:
```bash
#!/usr/bin/env bash

RESULT=$(xrdsum --verbose --debug -l /var/log/xrootd/clustered/checksum.log get --store-result --read-size 128 "$1")
ECODE=$?

# XRootD expects return on stdout - checksum followed by a new line
printf "%s\n" "$RESULT"
exit "$ECODE"
```

`RESULT` is just the checksum, `96fb2295` in this case.
The script is run successfully in both 5.5.0 and 5.5.2, but the response the client gets is different.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1901
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1