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

org.codehaus.plexus.archiver.ArchiverException: Failed to read filesystem attributes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • backup-plugin
    • None
    • RHEL 64 bit

      Hudson version: 1.348
      Hudson executed via: nohup $JAVA -Dhudson.model.Run.ArtifactList.listCutoff=24 -jar $HUDSON_WAR --httpPort=8008 >$HUDSON_LOG 2>&1 &
      Backup plugin version: 1.4.1

      [ INFO] Backup started at [03/17/10 12:08:43]
      [ 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 : /home/tk694h/hudson/backup_20100317_1208.zip
      [ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed to read filesystem attributes for: /home/tk694h/.hudson/jobs/AS-10.3-Tibco-ActivityLog/scm-polling.log
      org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: Unable to add jobs/AS-10.3-Tibco-ActivityLog/scm-polling.log
      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(Thread.java:619)
      Caused by: java.io.IOException: Unable to add jobs/AS-10.3-Tibco-ActivityLog/scm-polling.log
      at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleFile(BackupEngine.java:90)
      at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367)
      at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
      at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
      at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335)
      at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113)
      ... 2 more
      [ INFO] Cancel hudson shutdown mode
      [ INFO] Backup end at [03/17/10 12:08:48]
      [ INFO] [5.004s]

          [JENKINS-5968] org.codehaus.plexus.archiver.ArchiverException: Failed to read filesystem attributes

          tk694h created issue -

          tk694h added a comment -

          I should have also mentioned that the scm-polling.log file does exist and is readable.

          tk694h added a comment - I should have also mentioned that the scm-polling.log file does exist and is readable.
          Doug Borg made changes -
          Link New: This issue is duplicated by JENKINS-6390 [ JENKINS-6390 ]
          Doug Borg made changes -
          Link New: This issue is duplicated by JENKINS-6070 [ JENKINS-6070 ]

          Doug Borg added a comment -

          It looks like this issue has already been (partially) resolved upstream:

          http://jira.codehaus.org/browse/PLXCOMP-138

          Does the backup plugin use the latest Plexus component? If I understand the issue above, using an updated version with the patch mentioned in the bug above might help us debug the actual cause of this error.

          Doug Borg added a comment - It looks like this issue has already been (partially) resolved upstream: http://jira.codehaus.org/browse/PLXCOMP-138 Does the backup plugin use the latest Plexus component? If I understand the issue above, using an updated version with the patch mentioned in the bug above might help us debug the actual cause of this error.

          This seems quite random. I have the backup 1.6 plugin and here is what happens. I am using the "backup configurations only" option and not shutting down Hudson (because it takes too long!). There is no apparent reason why it fails on the listed config.xml - it is stable and not being changed.

          .. (many succesfully accessed config files) ..
          [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-eca/config.xml file
          [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$CommonCC/config.xml file
          [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml file
          [ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed to read filesystem attributes for: /opt/hudson/conf/jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml
          org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: Unable to add jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml
          at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115)
          at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:130)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: java.io.IOException: Unable to add jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml
          at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleFile(BackupEngine.java:90)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)
          at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335)
          at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113)
          ... 2 more
          [ INFO] Cancel hudson shutdown mode

          StevenTheAmusing added a comment - This seems quite random. I have the backup 1.6 plugin and here is what happens. I am using the "backup configurations only" option and not shutting down Hudson (because it takes too long!). There is no apparent reason why it fails on the listed config.xml - it is stable and not being changed. .. (many succesfully accessed config files) .. [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-eca/config.xml file [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$CommonCC/config.xml file [DEBUG] jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml file [ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed to read filesystem attributes for: /opt/hudson/conf/jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: Unable to add jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115) at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:130) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Unable to add jobs/CTX_Nightly_Smoke_Tests_Prepare_Build/modules/com.cisco.txbu.ctc$ctc-admin/config.xml at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleFile(BackupEngine.java:90) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364) at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:335) at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:113) ... 2 more [ INFO] Cancel hudson shutdown mode
          Romain Seguy made changes -
          Assignee New: Romain Seguy [ rseguy ]
          Romain Seguy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Romain Seguy added a comment -

          Upgraded to Plexus Archive 1.2

          Romain Seguy added a comment - Upgraded to Plexus Archive 1.2
          Romain Seguy made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            tk694h tk694h
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: