theia: support moving file on different filesystem during resiliency export
Due to disk usage on my production server, I had to move the theia's backup to a different file system. I bind mount this other fs on: slappart0/srv/backup/theia Mounting on "slappart0/srv/backup" would make logrogate complain (logrotate is used in the "backup" cron, triggering the resiliency process). So "slappart0/srv/backup/theia" was the 2nd best idea. Unfortunately for my case, os.rename raises if the src and dest filesystems are different, as it os.rename guarantees the atomicity of the operation. As atomicity is not that important for copying the signature file, it can be replaced by shutil.move.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#792762
external
|
Cloudooo.UnitTest-Master |
00:09:40
|
||||||
failed |
#792873
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:18:56
|
||||||
passed |
#792887
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:34:11
|
||||||
failed |
#792882
external
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:19:01
|
||||||
failed |
#792759
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
10:56:02
|
||||||
failed |
#792779
external
|
SlapOS.Theia.ResilienceTest-Master-ERP5 |
09:34:07
|
||||||
failed |
#792856
external
|
SlapOS.Theia.ResilienceTest-Master-Gitlab |
07:15:06
|
||||||
failed |
#792798
external
|
Zodbtools.UnitTest-Master.ZODB6.Python3 |
00:01:12
|
||||||
passed |
#792802
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:23:42
|
||||||
passed |
#792782
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:33:09
|
||||||
failed |
#792775
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:24:56
|
||||||