org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

Jenkins JIRA | williamleara | 7 years ago
  1. 0

    I'm getting: [DEBUG] updates\hudson.tasks.Maven.MavenInstaller file [DEBUG] updates\hudson.tools.JDKInstaller file [DEBUG] userContent\rack.gif file [DEBUG] userContent\readme.txt file [DEBUG] users\louis_davis\config.xml file [DEBUG] users\william_leara\config.xml file [DEBUG] Workspace clean-up.log file [ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115) at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:125) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:104) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336) at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113) ... 2 more [ INFO] Cancel hudson shutdown mode [ INFO] Backup end at [03/10/10 12:37:59] [ INFO] [49.641s] - option set to create zip file - verbose mode is on - all 4 checkboxes under "Backup content" are unchecked This exact same setup used to work, but one day stopped. Can anyone give me some advice on troubleshooting what might be holding which file in use? Perhaps a plugin I installed is causing the trouble?

    Jenkins JIRA | 7 years ago | williamleara
    org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
  2. 0

    I'm getting: [DEBUG] updates\hudson.tasks.Maven.MavenInstaller file [DEBUG] updates\hudson.tools.JDKInstaller file [DEBUG] userContent\rack.gif file [DEBUG] userContent\readme.txt file [DEBUG] users\louis_davis\config.xml file [DEBUG] users\william_leara\config.xml file [DEBUG] Workspace clean-up.log file [ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115) at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:125) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:104) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336) at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113) ... 2 more [ INFO] Cancel hudson shutdown mode [ INFO] Backup end at [03/10/10 12:37:59] [ INFO] [49.641s] - option set to create zip file - verbose mode is on - all 4 checkboxes under "Backup content" are unchecked This exact same setup used to work, but one day stopped. Can anyone give me some advice on troubleshooting what might be holding which file in use? Perhaps a plugin I installed is causing the trouble?

    Jenkins JIRA | 7 years ago | williamleara
    org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
  3. 0

    Backup Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 5 months ago
    org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Backup Plugin - hudson - Hudson Wiki

    hudson-ci.org | 4 months ago
    org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
  6. 0

    When trying to back up to a tar.gz archive using the Backup plugin, an error occurs. The output of the backup operation looks like this: [ INFO] Backup started at [05/20/10 11:01:32] [ INFO] Setting hudson in shutdown mode to avoid files corruptions. [ INFO] Waiting all jobs end... [ INFO] Number of running jobs detected : 0 [ INFO] All jobs finished. [ INFO] Full backup file name : C:\Program Files\Hudson\Backup\backup_20100520_1101.tar.gz [ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating TAR: request to write '1372' bytes exceeds size in header of '91402' bytes org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating TAR: request to write '1372' bytes exceeds size in header of '91402' bytes at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115) at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:125) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating TAR: request to write '1372' bytes exceeds size in header of '91402' bytes at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:104) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336) at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113) ... 2 more [ INFO] Cancel hudson shutdown mode [ INFO] Backup end at [05/20/10 11:01:38] [ INFO] [6.052s]

    Jenkins JIRA | 7 years ago | Arve Knudsen
    org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating TAR: request to write '1372' bytes exceeds size in header of '91402' bytes

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

      at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd()
    2. org.jvnet.hudson
      BackupEngine.handleEnd
      1. org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:104)
      1 frame
    3. Commons IO
      DirectoryWalker.walk
      1. org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336)
      1 frame
    4. org.jvnet.hudson
      BackupTask.run
      1. org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113)
      2. org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:125)
      2 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame