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

Copy failed on windows machine because of timestamp

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • Jenkins ver. 1.460, debian master.
      XP slave.

      After upgrading Copy artifacts plugin to 1.22 I have some problems of copy on a windows XP slave.
      Downgrading to 1.21 solves the problem.

      This is the same issue as https://issues.jenkins-ci.org/browse/JENKINS-11073

      ERROR: Failed to copy artifacts from job with filter: */
      hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/(filepath).html to C:\jenkins\workspace(filepath).html
      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91)
      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63)
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243)
      at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:211)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
      at hudson.model.Build$RunnerImpl.build(Build.java:178)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      at hudson.model.Run.run(Run.java:1421)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace(filepath).html at hudson.remoting.Channel@2b0857d2:build-w7
      at hudson.FilePath.act(FilePath.java:828)
      at hudson.FilePath.act(FilePath.java:814)
      at hudson.FilePath.touch(FilePath.java:1160)
      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:79)
      ... 12 more
      Caused by: java.io.IOException: Failed to set the timestamp of C:\jenkins\workspace(filepath).html to 1334755712000
      at hudson.FilePath$19.invoke(FilePath.java:1166)
      at hudson.FilePath$19.invoke(FilePath.java:1160)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:287)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:60)
      at java.lang.Thread.run(Unknown Source)
      Build step 'Copy artifacts from another project' marked build as failure

          [JENKINS-13515] Copy failed on windows machine because of timestamp

          Bertrand Latinville created issue -
          Alan Harder made changes -
          Assignee Original: Alan Harder [ mindless ] New: Kohsuke Kawaguchi [ kohsuke ]

          aleksas added a comment - - edited

          Same here. Facing this issue after updating Jenkins to v.1.460 together with plugins.
          Env: Windows 2008 slaves, and master.

          aleksas added a comment - - edited Same here. Facing this issue after updating Jenkins to v.1.460 together with plugins. Env: Windows 2008 slaves, and master.
          Fred G made changes -
          Link New: This issue is related to JENKINS-11073 [ JENKINS-11073 ]

          Same for the flightgear project. Since upgrade to v1.22
          see: http://flightgear.simpits.org:8080/job/FlightGear-Win-Cmake/432/console

          Frederic Bouvier added a comment - Same for the flightgear project. Since upgrade to v1.22 see: http://flightgear.simpits.org:8080/job/FlightGear-Win-Cmake/432/console

          Grant Limberg added a comment -

          I'm also seeing this issue on a Windows 7 64 bit slave with Copy Artifacts plugin v1.22.

          Grant Limberg added a comment - I'm also seeing this issue on a Windows 7 64 bit slave with Copy Artifacts plugin v1.22.

          Luke Last added a comment -

          I also had this problem with copy artifacts plugin v1.22 copying from an Ubuntu master to a windows 7 64bit slave. Going back to v1.21 solved the problem.

          Luke Last added a comment - I also had this problem with copy artifacts plugin v1.22 copying from an Ubuntu master to a windows 7 64bit slave. Going back to v1.21 solved the problem.
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-13638 [ JENKINS-13638 ]

          Cees Bos added a comment -

          Same holds for us.
          Copy was done from a linux master to a windows slave.
          We had to revert the plugin to 1.21.

          Cees Bos added a comment - Same holds for us. Copy was done from a linux master to a windows slave. We had to revert the plugin to 1.21.
          Nicolas De Loof made changes -
          Link New: This issue duplicates JENKINS-11073 [ JENKINS-11073 ]

            jglick Jesse Glick
            blatinville Bertrand Latinville
            Votes:
            15 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: