Open kiderrien opened 4 years ago
@kiderrien how did you trigger this error?
It looks like this is a rclone
test suite, can you give the command to run this?
@beer4duke
from rclone directory:
cd fs/operations/
go test -v -remote remote:path
This command will launch a series of tests proposed by rclone.
We have another series of tests in fs/sync with the same command for the launched.
The problem is the date is not the same as the original file. For example if we make a copy the date of the copy will be the time when the file was copied instead of the date of the original file.
Normally the setmodTime function should do this. For example in the sftp and local function it is the line with chtimes
that does this.
mtime must be set at the initial file copy: using eos.mtime=<time_epoch_second>.<nanosecond>
For example:
xrdcp /etc/passwd root://eosctaatlaspps//eos/ctaatlaspps/tmp/testmtime14?eos.mtime=1577833200.652283000
but this is currently broken and reported in: https://its.cern.ch/jira/browse/EOS-4286
It is possible to add an attribute with xrootd extended attributes
.
The idea would be looked at first if possible and how to use it with backend xrootd go. And after implementing an attribute over time during creation and adding an option to the remote xrootd to use the attribute (True or False)
Most fs / operations tests fail because of the same error
The file takes the current date instead of the date of the file copy. This problem is probably related to the SetModTime function.