Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: thinbackup-plugin
-
Labels:None
-
Environment:Ubuntu 12.04 LTS 64 bit.
Sun Java 6.0_34
ThinBackup 1.74
Jenkins 1.531
-
Similar Issues:
Description
Hello,
We are experiencing an occasional issue with thinBackup. It will occasionally crash our server.
It seems to be happening because of some corrupt backup sets. I am unsure why we get these in the first place.
Our setup uses thinBackup to backup the information with incremental improvements, which are then uploaded to Amazon S3 using duplicity.
duplicity is set to upload at 2:30 am. Jenkins to backup at 3 am. Could this be a potentional issue?
======== Files In Directory =======
rw-rr- 1 jenkins nogroup 8999076933 Aug 9 05:14 BACKUPSET_2013-08-05_09-42_2013-08-08_10-30.zip
rw-rr- 1 jenkins nogroup 433132 Oct 10 03:14 BACKUPSET_2013-08-09_03-00_.zip
rw-rr- 1 jenkins nogroup 1661094 Oct 30 03:14 BACKUPSET_2013-10-10_03-00_.zip
drwxr-xr-x 3 jenkins nogroup 4096 Oct 10 03:14 FULL-2013-10-10_03-00
drwxr-xr-x 3 jenkins nogroup 4096 Oct 20 03:00 FULL-2013-10-20_03-00
drwxr-xr-x 3 jenkins nogroup 4096 Oct 30 03:14 FULL-2013-10-30_03-00
============= Log =================
WARNING: ThinBackup Worker Thread thread is still running. Execution aborted.
Oct 30, 2013 3:14:36 AM org.jvnet.hudson.plugins.thinbackup.backup.BackupSet initializeFromZipFile
SEVERE: Cannot initialize BackupSet from ZIP file 'BACKUPSET_2013-08-09_03-00_.zip'.
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.initializeFromZipFile(BackupSet.java:124)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.initialize(BackupSet.java:93)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.<init>(BackupSet.java:79)
at org.jvnet.hudson.plugins.thinbackup.utils.Utils.getValidBackupSetsFromZips(Utils.java:352)
at org.jvnet.hudson.plugins.thinbackup.utils.Utils.getValidBackupSets(Utils.java:371)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.removeSuperfluousBackupSets(HudsonBackup.java:397)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backup(HudsonBackup.java:154)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.backupNow(ThinBackupPeriodicWork.java:87)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.execute(ThinBackupPeriodicWork.java:68)
at org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:53)
at java.lang.Thread.run(Thread.java:662)
Oct 30, 2013 3:14:36 AM org.jvnet.hudson.plugins.thinbackup.backup.BackupSet <init>
WARNING: Could not initialize backup set from file/directory 'BACKUPSET_2013-08-09_03-00_.zip' as it is not valid.
#
- A fatal error has been detected by the Java Runtime Environment:
# - SIGSEGV (0xb) at pc=0x00007f8550afa1f0, pid=1397, tid=140210461964032
# - JRE version: 6.0_34-b04
- Java VM: Java HotSpot(TM) 64-Bit Server VM (20.9-b04 mixed mode linux-amd64 compressed oops)
- Problematic frame:
- C [libzip.so+0xb1f0] __int128+0x60
# - An error report file with more information is saved as:
- /tmp/hs_err_pid1397.log
# - If you would like to submit a bug report, please visit:
- http://java.sun.com/webapps/bugreport/crash.jsp
- The crash happened outside the Java Virtual Machine in native code.
- See problematic frame for where to report the bug.
#
Attachments
Issue Links
- links to
That error happend to us some time ago, but not recently,
Last time this occured we were using Oracle JRE 1.8.0_25 as it seems..
ls -l /opt/jenkins_backup
insgesamt 229336
rw-rr- 1 tomcat tomcat 204881920 Feb 14 12:13 BACKUPSET_2015-02-13_12-00_.ziprw-rr- 1 tomcat tomcat 4915558 Jun 30 12:01 BACKUPSET_2015-06-29_12-00_.ziprw-rr- 1 tomcat tomcat 4952374 Jul 1 12:01 BACKUPSET_2015-06-30_12-00_.ziprw-rr- 1 tomcat tomcat 4990141 Jul 2 12:02 BACKUPSET_2015-07-01_12-00_.ziprw-rr- 1 tomcat tomcat 5002866 Jul 3 12:02 BACKUPSET_2015-07-02_12-00_.ziprw-rr- 1 tomcat tomcat 5025237 Jul 5 17:33 BACKUPSET_2015-07-03_12-00_.ziprw-rr- 1 tomcat tomcat 5027377 Jul 6 12:02 BACKUPSET_2015-07-05_12-00_.zipdrwxr-xr-x 5 tomcat tomcat 4096 Jul 6 12:01 FULL-2015-07-06_12-00
for I in $(ls /opt/jenkins_backup/*.zip); do unzip -q -t $I; done
[/opt/jenkins_backup/BACKUPSET_2015-02-13_12-00_.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /opt/jenkins_backup/BACKUPSET_2015-02-13_12-00_.zip or
/opt/jenkins_backup/BACKUPSET_2015-02-13_12-00_.zip.zip, and cannot find /opt/jenkins_backup/BACKUPSET_2015-02-13_12-00_.zip.ZIP, period.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-06-29_12-00_.zip.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-06-30_12-00_.zip.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-07-01_12-00_.zip.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-07-02_12-00_.zip.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-07-03_12-00_.zip.
No errors detected in compressed data of /opt/jenkins_backup/BACKUPSET_2015-07-05_12-00_.zip.
Jul 06, 2015 12:01:49 PM org.jvnet.hudson.plugins.thinbackup.backup.BackupSet initializeFromZipFile
SCHWERWIEGEND: Cannot initialize BackupSet from ZIP file 'BACKUPSET_2015-02-13_12-00_.zip'.
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:220)
at java.util.zip.ZipFile.<init>(ZipFile.java:150)
at java.util.zip.ZipFile.<init>(ZipFile.java:164)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.initializeFromZipFile(BackupSet.java:124)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.initialize(BackupSet.java:93)
at org.jvnet.hudson.plugins.thinbackup.backup.BackupSet.<init>(BackupSet.java:79)
at org.jvnet.hudson.plugins.thinbackup.utils.Utils.getValidBackupSetsFromZips(Utils.java:352)
at org.jvnet.hudson.plugins.thinbackup.utils.Utils.getValidBackupSets(Utils.java:371)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.removeSuperfluousBackupSets(HudsonBackup.java:397)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backup(HudsonBackup.java:154)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.backupNow(ThinBackupPeriodicWork.java:87)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.execute(ThinBackupPeriodicWork.java:68)
at org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:53)
at java.lang.Thread.run(Thread.java:745)