Open tuliom opened 3 days ago
I don't think there's any *.copy
created by tmt, I do suspect TF might be a culprit here.
@ukulekek since you were involved in the archiving part of TF recently, WDYT? Could it be that TF creates various *.copy
files in tmt's workdir, removing them at some point? Because if that's the case, I think we see a race condition in action: tmt starting an rsync
command, with output.txt.copy
in the workdir, but the file then gets removed by TF while rsync
is still running, which results in rsync
reporting it as a vanishing file.
Yes, we caused the problem because we do create copies of files in the working directory and delete them after syncing to the artifacts storage server. I created TFT-2973 issue and will work on it, so it should land next release
In that case, it's fair to close this issue, unless the community believes this report should trigger changes to tmt too. Thank you all!
Recently we started to see rsync failures on the Testing Farm. The error happens from time to time, so I believe there is some parallelism taking place. This is happening with tmt version 1.38.0
I believe the following fragment helps to understand the order of the events:
So, while copying the files for
llvm-tests
, the files from the other tests end up being copied too, while something else is still playing with output fromclang-tests
.The workdir for this execution is available at: https://artifacts.dev.testing-farm.io/26f8be4d-e57f-46af-8098-9900b7bb8d6d/work-snapshot-gatingx591m28o/