Skip to content

Fix repack systemtest failing on timeout in move and add copies step

The repack systemtest is failing relatively frequently by timing out on the last step:

Waiting for repack request on tape V00101 to be complete: Seconds passed = 599
Timed out after 600 seconds waiting for tape V00101 to be repacked
Result of Repack ls
          c.time repackTime    c.user    vid   tapepool providedFiles totalFiles totalBytes selectedFiles filesToRetrieve filesToArchive failed  status 
2024-12-03 14:14     10m22s ctaadmin2 V00101 ctasystest             0       2143      32.9M          6429               0            200      0 Running 
DestinationVID  NbFiles  totalSize
V00102          2143     32916480
V00106          2143     32916480
V00108          1943     29844480

Note that it is seemingly somewhat random which tapes/files are problematic. E.g. here the 3rd tape is not even present:

Waiting for repack request on tape V00101 to be complete: Seconds passed = 599
Timed out after 600 seconds waiting for tape V00101 to be repacked
Result of Repack ls
          c.time repackTime    c.user    vid   tapepool providedFiles totalFiles totalBytes selectedFiles filesToRetrieve filesToArchive failed  status 
2024-12-03 00:53     10m21s ctaadmin2 V00101 ctasystest             0       2143      32.9M          6429               0           3025      0 Running 
DestinationVID  NbFiles  totalSize
V00102          2143     32915339
V00106          1261     19368960