Quantcast

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

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
Bertrand Latinville created JENKINS-13515:
---------------------------------------------

             Summary: Copy failed on windows machine because of timestamp
                 Key: JENKINS-13515
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
             Project: Jenkins
          Issue Type: Bug
          Components: copyartifact
         Environment: Jenkins ver. 1.460, debian master.
XP slave.
            Reporter: Bertrand Latinville
            Assignee: Alan Harder


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Harder reassigned JENKINS-13515:
-------------------------------------

    Assignee: Kohsuke Kawaguchi  (was: Alan Harder)
   

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161879#comment-161879 ]

aleksas commented on JENKINS-13515:
-----------------------------------

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

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161879#comment-161879 ]

aleksas edited comment on JENKINS-13515 at 4/23/12 6:59 AM:
------------------------------------------------------------

Same here. Facing this issue after updating Jenkins to v.1.460 together with plugins.
Env: Windows 2008 slaves, and master.
               
      was (Author: aleksas):
    Same here. Faceing this issue after updating Jenkins together with plugins to 1.460.
Env: Windows 2008 slaves, and master.
                 

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162011#comment-162011 ]

Frederic Bouvier commented on JENKINS-13515:
--------------------------------------------

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

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162334#comment-162334 ]

glimberg commented on JENKINS-13515:
------------------------------------

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

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162357#comment-162357 ]

Luke Last commented on JENKINS-13515:
-------------------------------------

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.
               

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163549#comment-163549 ]

Cees Bos commented on JENKINS-13515:
------------------------------------

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

> Copy failed on windows machine because of timestamp
> ---------------------------------------------------
>
>                 Key: JENKINS-13515
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copyartifact
>         Environment: Jenkins ver. 1.460, debian master.
> XP slave.
>            Reporter: Bertrand Latinville
>            Assignee: Kohsuke Kawaguchi
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

In jenkins v1.474 this problem is still there. Overwriting existing files does not work, writing new files works fine.
So I use the following workaround: Use a Execute Windows batch command to delete all files before copying.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Markus Unterauer edited a comment on Bug JENKINS-13515

In jenkins v1.474 this problem is still there

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Jesse Glick (21/Sep/12 7:09 PM)
Assignee: Kohsuke Kawaguchi Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Jesse Glick started work on Bug JENKINS-13515
Change By: Jesse Glick (21/Sep/12 7:09 PM)
Status: Open In Progress
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/plugins/copyartifact/FingerprintingCopyMethod.java
http://jenkins-ci.org/commit/copyartifact-plugin/d86690cc2659fd2efa992391e4c216d7635db8e3
Log:
[FIXED JENKINS-13515] FingerprintingCopyMethod.copyOne can fail on Windows due to timestamp.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: SCM/JIRA link daemon (21/Sep/12 7:26 PM)
Status: In Progress Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Jesse Glick commented on Bug JENKINS-13515

Releasing 1.23 for this fix.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I just installed Jenkins 1.483 and updated the Copy Artifacts plugin to 1.23 and got this error:

hudson.util.IOException2: Failed to copy /srv/jenkins/jobs/ADL_Release/builds/2012-09-25_11-14-25/archive/adl.zip to d:/hudson/workspace/G2XXX_Release/LRU/GDU/Target/hw_tst/label/GDU_RELEASE/adl.zip
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:102)
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:65)
at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243)
at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: hudson.util.IOException2: remote file operation failed: d:/hudson/workspace/G2XXX_Release/LRU/GDU/Target/hw_tst/label/GDU_RELEASE/adl.zip at hudson.remoting.Channel@71b4f563:OLAWPB-AVNHUD00
at hudson.FilePath.act(FilePath.java:848)
at hudson.FilePath.act(FilePath.java:825)
at hudson.FilePath.touch(FilePath.java:1243)
at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:83)
... 12 more
Caused by: java.io.IOException: Failed to set the timestamp of d:\hudson\workspace\G2XXX_Release\LRU\GDU\Target\hw_tst\label\GDU_RELEASE\adl.zip to 1348589954000
at hudson.FilePath$19.invoke(FilePath.java:1249)
at hudson.FilePath$19.invoke(FilePath.java:1243)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2273)
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
Archiving artifacts

I was fine with Copy Artifacts v 1.21

Change By: Chris Nogradi (25/Sep/12 6:21 PM)
Resolution: Fixed
Status: Resolved Reopened
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

The master source is linux (/srv/jenkins/jobs/ADL_Release/builds/2012-09-25_11-14-25/archive/adl.zip) the slave target is windows server 2008 R2 (d:/hudson/workspace/G2XXX_Release/LRU/GDU/Target/hw_tst/label/GDU_RELEASE/adl.zip). I do use cygwin on the slaves for building but I don't think that would affect the plugin since it runs before the shell is launched:

Copied 2 artifacts from "ADL_Release" build number 4754
[G2XXX_Release] $ sh -xe C:\Users\AVNHUD~1\AppData\Local\Temp\hudson394429127517277609.sh

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Jesse Glick commented on Bug JENKINS-13515

@cnogradi: what builders such as shell are used in the job is irrelevant. All that matters is the value of File.pathSeparatorChar in the slave JVM. Can you look up the system property path.separator in the slave’s diagnosis page (/computer/*/systemInfo)? I suspect it is returning : and so Jenkins is assuming the slave is Unix, yet the underlying Windows filesystem bugs (including inability to “touch”) remain.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Sorry about more ignorance regarding the builder shells. In the slave JVMs, path.separator is set to ';' for both slaves per Jenkins System Information pages for slave nodes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Jesse Glick commented on Bug JENKINS-13515

Ah, I think I see the problem: the OS check is done on master whereas the plugin cares about the slave only.

Rather than trying to look up the OS on the slave, I guess it is safer and simpler to just make the touch optional regardless of platform.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12
Loading...