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

Archiving of huge files from remote workspace fails with exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None
    • master: Windows 7 64, Java jre1.7.0_17_64, Jenkins 1.580
      client: Ubuntu 64, OpenJDK 64-Bit (IcedTea6 1.12.5)

      1) have remote workspace on linux which generates a big video file (12GB)
      2) have a master on windows which should archive this file

      during archiving the following exception is raised

      Archiving artifacts
      ERROR: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
      java.lang.IllegalArgumentException: Negative time
      at java.io.File.setLastModified(Unknown Source)
      at hudson.FilePath.readFromTar(FilePath.java:2103)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2023)
      at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:217)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1770)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

      3) job fails with error and video file doesn't get archived

      Note: files up to 7GB are working fine

            Unassigned Unassigned
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: