Issue
The trace java.io.IOException: This archives contains unclosed entries
, or java.io.IOException: No space left on device
appears on the build console logs after running a backup job. You will also be able to find these traces in the Jenkins logs.
Resolution
Please review the following points:
-
Backup job configuration: Build > Take backup > Where to back up? should be pointing to a different folder that Jenkins home folder (
$JENKINS_HOME
). -
CloudBees Backup Plugin >= 3.31 in order to get fixed JENKINS-20187.
In case the above points are met, the issue is not expected to happen and should be reported to CloudBees Support via ticket attaching the Support Bundle of the instance your a running the backup, plus the config.xml
of the backup job.
Workarounds
In the meantime we review your particular case, there are several workarounds you could apply:
-
Enable Build > Take backup >
Skip recently modified files
under theAdvanced
tab -
Enable General Settings >
Quiet period