Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20395

Corrupt ZIP backup sets and thinBackup crashing the whole Jenkins server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • thinbackup-plugin
    • None
    • Ubuntu 12.04 LTS 64 bit.
      Sun Java 6.0_34
      ThinBackup 1.74
      Jenkins 1.531

      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.
      #

      1. A fatal error has been detected by the Java Runtime Environment:
        #
      2. SIGSEGV (0xb) at pc=0x00007f8550afa1f0, pid=1397, tid=140210461964032
        #
      3. JRE version: 6.0_34-b04
      4. Java VM: Java HotSpot(TM) 64-Bit Server VM (20.9-b04 mixed mode linux-amd64 compressed oops)
      5. Problematic frame:
      6. C [libzip.so+0xb1f0] __int128+0x60
        #
      7. An error report file with more information is saved as:
      8. /tmp/hs_err_pid1397.log
        #
      9. If you would like to submit a bug report, please visit:
      10. http://java.sun.com/webapps/bugreport/crash.jsp
      11. The crash happened outside the Java Virtual Machine in native code.
      12. See problematic frame for where to report the bug.
        #

            tofuatjava Thomas Fürer
            blystad Arne-Christian Blystad
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: