ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

Fix spurious RsyncUpload failures #113

Closed tylerknott closed 5 years ago

tylerknott commented 5 years ago

This fixes issue #48 where an RsyncUpload task will appear to randomly fail leaving an empty directory and causing all retries to fail. The first commit (24c1bf3) is the main fix, ignoring spurious EINTR errors during I/O, with the other two commits attempting to improve the general robustness of error handling surrounding external process tasks.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.08%) to 40.517% when pulling 80b74e9d56e8c4ba31bd6f827c40f304c9fec9e8 on tylerknott:rsyncfix into 0f600d1d06e5c37aedc60aab53574bf966d7bd00 on ArchiveTeam:master.