Quantcast

[JIRA] Created: (JENKINS-9979) copy-to-slave aborts due to InterruptedException

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

[JIRA] Created: (JENKINS-9979) copy-to-slave aborts due to InterruptedException

JIRA noreply@jenkins-ci.org
copy-to-slave aborts due to InterruptedException
------------------------------------------------

                 Key: JENKINS-9979
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
             Project: Jenkins
          Issue Type: Bug
          Components: copy-to-slave
         Environment: Jenkins ver: 1.408
Copy To Slave Plugin: 1.3
Files to copy: results/**
            Reporter: Gardner Bickford
            Assignee: redbugz


17:17:11  BUILD SUCCESSFUL
17:17:11  Total time: 36 minutes 1 second
17:17:11  Recording test results
17:17:12  Email was triggered for: Success
17:17:12  Sending email for trigger: Success
17:17:12  Sending email to: [hidden email]
17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
17:17:12  java.lang.InterruptedException
17:17:12   at java.lang.Object.wait(Native Method)
17:17:12   at hudson.remoting.Request.call(Request.java:122)
17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
17:17:12   at hudson.model.Run.run(Run.java:1405)
17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
17:17:12   at hudson.model.Executor.run(Executor.java:145)
17:17:12  Finished: FAILURE


--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Commented: (JENKINS-9979) copy-to-slave aborts due to InterruptedException

JIRA noreply@jenkins-ci.org

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

Thomas Fields commented on JENKINS-9979:
----------------------------------------

I've also started seeing this issue but with a slightly different callstack:
{code}
16:07:06  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
16:07:06  java.lang.InterruptedException
16:07:06   at java.lang.Object.wait(Native Method)
16:07:06   at hudson.remoting.Request.call(Request.java:127)
16:07:06   at hudson.remoting.Channel.call(Channel.java:668)
16:07:06   at hudson.FilePath.act(FilePath.java:747)
16:07:06   at hudson.FilePath.act(FilePath.java:740)
16:07:06   at hudson.FilePath.createTempDir(FilePath.java:976)
16:07:06   at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveUtils.hudson5977(CopyToSlaveUtils.java:103)
16:07:06   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:81)
16:07:06   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
16:07:06   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
16:07:06   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
16:07:06   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635)
16:07:06   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
16:07:06   at hudson.model.Run.run(Run.java:1420)
16:07:06   at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
16:07:06   at hudson.model.ResourceController.execute(ResourceController.java:88)
16:07:06   at hudson.model.Executor.run(Executor.java:230)
{code}
Any ideas?

> copy-to-slave aborts due to InterruptedException
> ------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>         Environment: Jenkins ver: 1.408
> Copy To Slave Plugin: 1.3
> Files to copy: results/**
>            Reporter: Gardner Bickford
>            Assignee: redbugz
>
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Updated: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy updated JENKINS-9979:
----------------------------------

        Summary: copy files back to master aborts due to InterruptedException  (was: copy-to-slave aborts due to InterruptedException)
       Assignee: Romain Seguy  (was: redbugz)
    Environment:     (was: Jenkins ver: 1.408
Copy To Slave Plugin: 1.3
Files to copy: results/**)
       Priority: Blocker  (was: Major)
    Description:
On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:

{noformat}
17:17:11  BUILD SUCCESSFUL
17:17:11  Total time: 36 minutes 1 second
17:17:11  Recording test results
17:17:12  Email was triggered for: Success
17:17:12  Sending email for trigger: Success
17:17:12  Sending email to: [hidden email]
17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
17:17:12  java.lang.InterruptedException
17:17:12   at java.lang.Object.wait(Native Method)
17:17:12   at hudson.remoting.Request.call(Request.java:122)
17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
17:17:12   at hudson.model.Run.run(Run.java:1405)
17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
17:17:12   at hudson.model.Executor.run(Executor.java:145)
17:17:12  Finished: FAILURE
{noformat}

  was:
17:17:11  BUILD SUCCESSFUL
17:17:11  Total time: 36 minutes 1 second
17:17:11  Recording test results
17:17:12  Email was triggered for: Success
17:17:12  Sending email for trigger: Success
17:17:12  Sending email to: [hidden email]
17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
17:17:12  java.lang.InterruptedException
17:17:12   at java.lang.Object.wait(Native Method)
17:17:12   at hudson.remoting.Request.call(Request.java:122)
17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
17:17:12   at hudson.model.Run.run(Run.java:1405)
17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
17:17:12   at hudson.model.Executor.run(Executor.java:145)
17:17:12  Finished: FAILURE



> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Commented: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy commented on JENKINS-9979:
---------------------------------------

From JENKINS-11487:

Environment:
* Jenkins 1.436 on Mac + Windows XP slave with Cygwin installed and started via SSH + Copy To Slaves Plugin v1.3.
* Matrix job runs a shell script on each node (mac and windows).

{noformat}
[copy-to-slave] Copying '*/.msi', excluding nothing, from 'file:/c:/jenkins/workspace/project-name/slave/winxp/' on 'hudson.slaves.DumbSlave@6be53d4' to 'file:/Users/build/.jenkins/jobs/project-name/configurations/axis-slave/winxp/workspace/' on the master.
ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at hudson.remoting.Request$1.get(Request.java:218)
at hudson.remoting.Request$1.get(Request.java:184)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
at com.michelin.cio.hudson.plugins.copytoslave.MyFilePath.copyRecursiveTo(MyFilePath.java:145)
at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveUtils.hudson5977(CopyToSlaveUtils.java:102)
at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:81)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
at hudson.model.Run.run(Run.java:1448)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
{noformat}

The copy-to-slaves plugin manages to create a folder in the slaves workspace titled 'copy-to-slave[18 random digits].dir' but it's empty.

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Updated: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy updated JENKINS-9979:
----------------------------------

    Attachment: copy-to-slave.hpi

Bradley, can you give a try with the attached snapshot version? Thanks.

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Commented: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Brad Leonard commented on JENKINS-9979:
---------------------------------------

On line ERROR: there are forward slashes on either side of the node name (winxp). The project is executing a shell script in Cygwin. Are the *nix and Windows slashes causing the failed extraction?

I got the following exception when trying to copy '*' back to master:
{code}
[copy-to-slave] Copying '*', excluding nothing, from 'file:/c:/jenkins/workspace/projectname/slave/winxp/' on 'hudson.slaves.DumbSlave@6be53d4' to 'file:/Users/build/.jenkins/jobs/projectname/configurations/axis-slave/winxp/workspace/' on the master.
ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
hudson.util.IOException2: hudson.util.IOException2: Failed to extract c:\jenkins\workspace\projectname\slave/winxp/*
        at hudson.FilePath.readFromTar(FilePath.java:1690)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1608)
        at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
        at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
        at hudson.model.Run.run(Run.java:1448)
        at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)
Caused by: java.io.IOException
        at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
        at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221)
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
        at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
        at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
        at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
        at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
        at hudson.util.IOUtils.copy(IOUtils.java:36)
        at hudson.FilePath.readFromTar(FilePath.java:1682)
        ... 11 more

        at hudson.FilePath.copyRecursiveTo(FilePath.java:1615)
        at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
        at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
        at hudson.model.Run.run(Run.java:1448)
        at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed
        at hudson.remoting.Channel$2.adapt(Channel.java:714)
        at hudson.remoting.Channel$2.adapt(Channel.java:709)
        at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1611)
        ... 10 more
Caused by: java.io.IOException: Pipe is already closed
        at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83)
        at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:171)
        at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118)
        at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.io.BufferedOutputStream.write(Unknown Source)
        at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
        at java.util.zip.DeflaterOutputStream.write(Unknown Source)
        at java.util.zip.GZIPOutputStream.write(Unknown Source)
        at java.io.BufferedOutputStream.write(Unknown Source)
        at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
        at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
        at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
        at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
        at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
        at hudson.util.io.TarArchiver.close(TarArchiver.java:119)
        at hudson.FilePath.writeToTar(FilePath.java:1662)
        at hudson.FilePath.access$1000(FilePath.java:166)
        at hudson.FilePath$33.invoke(FilePath.java:1601)
        at hudson.FilePath$33.invoke(FilePath.java:1598)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022)
        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 java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        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 java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Pipe is already closed
        at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:147)
        at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:131)
        at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:211)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at...
        at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112)
        at java.io.FilterInputStream.close(FilterInputStream.java:155)
        at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210)
        at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:113)
        at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456)
        at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110)
        at hudson.FilePath.readFromTar(FilePath.java:1692)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1608)
        at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
        at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
        at hudson.model.Run.run(Run.java:1448)
        at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)
{code}
Next I changed the projects 'Files to copy' to just the Makefile at the root of the slaves workspace and got this exception:
{code}
[copy-to-slave] Copying 'Makefile', excluding nothing, from 'file:/c:/jenkins/workspace/projectname/slave/winxp/' on 'hudson.slaves.DumbSlave@6be53d4' to 'file:/Users/build/.jenkins/jobs/projectname/configurations/axis-slave/winxp/workspace/' on the master.
ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
hudson.util.IOException2: null
stream=1f8b0800000000000000ed586d6fe23810eed78d94ff30dadd0f4527687839b68a84743d4abba8a5b4c0bdac841485c4697dcd0b4d4c97fefb7312e795b071a0abd34919a905ec996766ecf1134f26ea3332b0894e7ea2b425a9dfebc109f822e53ea1dded75bbd06ef77fed48bd7ea72fd1b12ffd2fdd13907e6650916c3ca2baef80934fee7f229fde5344e1134c584181e1b8b0da6053c7f6a30c43c7b2b0e761c746aeaf768de81795201d566ff062512338edb4a4b6da80d30702bd56bfd56d8063cbf017d5996a043a7d68f764e95cee9d43476ab77d947bd7f9076944860c7e6bed3afeec02596b93fa90415daffd015f49b575193479f940968193e50adbcb208016da22687ec776b703c3e9ddd5f8fa97818b4ca47a74d849122b70f5be8b280a06763d9a15f32e0ad8a6556a9af148930d88c2c6de998b874461727133ba1adf8ec2933688731085077f0a2219ec5f1151b81cdd2a69101d51e4e1d71be5723c53467f8fe78bf900b001b643006db147a8df1b3a9742b79e754cb77d38bdff0669a7cefa0dcedec289c4c7003e9ffa230d3611630d601b9a7870f6420de10c8bc2f86ebeb8b88d428c6c839f8d64f67e36bd9e5d4cf6ce873ee259fab3b127f3f9b7c9edf8ee264e22544bf21d806b05d94ea67f8ed2d95ace2b3a70e1e67ffcbeb8985d8f16f3701896a2f0e143549cc10f1dad368f7eedb05199a6126d7fa33563aa57d3d97044d5c3b906348d22b518a4e95781a22343dd98e41844c841b2023f0230404850831370045c705c22308d7ed847c1050809a04e37f778d01825018e0fff11b0315bec10c851b0291a0a6a330b76e90f95415d86351d98ffa014f9b1200356508415a0580186783b8b55012859a2a2c2ab00c46a2384da537215e052e5164216564505c06c3dec2bb30a80a912a3d4c99e6df2ce031a324f37ebd95b23cd5b060ffaa6e5bd6a1d493a670f3ccdb18d42ed177f063f52381cf26d91928154b27111d5268ab1b1354243f0a889c16712bbe0d1475bcddc78f81529c1258bd70d3b40cada459c16c13a1d60c7d8843b2ebaa10abd9c2955ed585c8e470e4ba882a1eada8a635772e312822b19d07d45eb2a85139a79c4e4d4f79e5417e9d562b2564857e8d5191bc8230abd151e63ae9bbca1be54db52f2e422953733cbd12a81d3ffbaf39d7753e89fb37135c4abbfc1bcd1bca91aafaa89b69c9ad8d6684de0804994ede39eed35f18a6e89a562ff089801393f30763ea46b2aa159b958632fc772e827045ba65cc4ae6536398a2c532fe4d532a31439968753c0a8dc393056ac9804af5542a47c0e2216e5d3ce52289f0de3cf32e5843c39432964ce836c196d969739bf878430cbf4195bf2c1a6a8b2bc9e533c59a6cc48b24c2d62c8323d468f656a45dc98b3c912239d0c2e9372f85e4ba1f7d3
        at hudson.FilePath$TarCompression$2.extract(FilePath.java:566)
        at hudson.FilePath.copyRecursiveTo(FilePath.java:1608)
        at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
        at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
        at hudson.model.Run.run(Run.java:1448)
        at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)
Caused by: java.io.IOException
        at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
        at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:146)
        at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:53)
        at java.util.zip.CheckedInputStream.read(CheckedInputStream.java:42)
        at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:247)
        at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:239)
        at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:142)
        at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
        at hudson.FilePath$TarCompression$2.extract(FilePath.java:562)
        ... 11 more
{code}

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

[JIRA] Commented: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy commented on JENKINS-9979:
---------------------------------------

Is this what you get with the snapshot version?

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Commented: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy commented on JENKINS-9979:
---------------------------------------

I guess the answer is yes, the method hudson5977 is not present in the stacktrace anymore. So, here, we come into Jenkins' internals.

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] Commented: (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Brad Leonard commented on JENKINS-9979:
---------------------------------------

Sorry about the delay but you assumed correctly. The exceptions I posted above (26/Oct/11) are with the snapshot version.

Not so coincidentally I filed a related issue https://issues.jenkins-ci.org/browse/JENKINS-11457

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Romain Seguy
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

[JIRA] (JENKINS-9979) copy files back to master aborts due to InterruptedException

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

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

Romain Seguy reassigned JENKINS-9979:
-------------------------------------

    Assignee: Daniel Petisme  (was: Romain Seguy)
   

> copy files back to master aborts due to InterruptedException
> ------------------------------------------------------------
>
>                 Key: JENKINS-9979
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9979
>             Project: Jenkins
>          Issue Type: Bug
>          Components: copy-to-slave
>            Reporter: Gardner Bickford
>            Assignee: Daniel Petisme
>            Priority: Blocker
>         Attachments: copy-to-slave.hpi
>
>
> On Jenkins *1.408* + Copy To Slave Plugin *1.3* + results/**:
> {noformat}
> 17:17:11  BUILD SUCCESSFUL
> 17:17:11  Total time: 36 minutes 1 second
> 17:17:11  Recording test results
> 17:17:12  Email was triggered for: Success
> 17:17:12  Sending email for trigger: Success
> 17:17:12  Sending email to: [hidden email]
> 17:17:12  ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
> 17:17:12  java.lang.InterruptedException
> 17:17:12   at java.lang.Object.wait(Native Method)
> 17:17:12   at hudson.remoting.Request.call(Request.java:122)
> 17:17:12   at hudson.remoting.Channel.call(Channel.java:643)
> 17:17:12   at hudson.EnvVars.getRemote(EnvVars.java:202)
> 17:17:12   at hudson.model.Computer.getEnvironment(Computer.java:796)
> 17:17:12   at hudson.model.Run.getEnvironment(Run.java:1766)
> 17:17:12   at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:732)
> 17:17:12   at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:67)
> 17:17:12   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
> 17:17:12   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
> 17:17:12   at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
> 17:17:12   at hudson.model.Run.run(Run.java:1405)
> 17:17:12   at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
> 17:17:12   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 17:17:12   at hudson.model.Executor.run(Executor.java:145)
> 17:17:12  Finished: FAILURE
> {noformat}

--
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
star

[JIRA] (JENKINS-9979) copy files back to master aborts due to InterruptedException

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Dirk Maucher commented on Bug JENKINS-9979

hello together, we ran into the same problem here:

12:36:13 [copy-to-slave] Copying '1.0/cfg.xml', excluding nothing, from 'file:/data/home/jenkins_slave/workspace/deploy_server1/' on 'hudson.slaves.DumbSlave@5cdf2b4f' to 'file:/d:/jenkins/UserContent/1.0/server' on the master.
13:23:41 ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception
13:23:41 hudson.util.IOException2: java.io.IOException
13:23:41 	at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
13:23:41 	at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
13:23:41 	at java.io.FilterInputStream.read(FilterInputStream.java:90)
13:23:41 	at hudson.util.HeadBufferingStream.fillSide(HeadBufferingStream.java:83)
13:23:41 	at hudson.FilePath$TarCompression$2.extract(FilePath.java:620)
13:23:41 	at hudson.FilePath.copyRecursiveTo(FilePath.java:1848)
13:23:41 	at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
13:23:41 	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
13:23:41 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
13:23:41 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
13:23:41 	at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
13:23:41 	at hudson.model.Run.execute(Run.java:1546)
13:23:41 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
13:23:41 	at hudson.model.ResourceController.execute(ResourceController.java:88)
13:23:41 	at hudson.model.Executor.run(Executor.java:236)
13:23:41 
13:23:41 	at hudson.FilePath.copyRecursiveTo(FilePath.java:1855)
13:23:41 	at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:93)
13:23:41 	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
13:23:41 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
13:23:41 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
13:23:41 	at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
13:23:41 	at hudson.model.Run.execute(Run.java:1546)
13:23:41 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
13:23:41 	at hudson.model.ResourceController.execute(ResourceController.java:88)
13:23:41 	at hudson.model.Executor.run(Executor.java:236)
13:23:41 Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
13:23:41 	at hudson.remoting.Request$1.get(Request.java:278)
13:23:41 	at hudson.remoting.Request$1.get(Request.java:210)
13:23:41 	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
13:23:41 	at hudson.FilePath.copyRecursiveTo(FilePath.java:1851)
13:23:41 	... 9 more
13:23:41 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
13:23:41 	at hudson.remoting.Request.abort(Request.java:299)
13:23:41 	at hudson.remoting.Channel.terminate(Channel.java:724)
13:23:41 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
13:23:41 Caused by: java.io.IOException: Unexpected termination of the channel
13:23:41 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
13:23:41 Caused by: java.io.EOFException
13:23:41 	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
13:23:41 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
13:23:41 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
13:23:41 	at hudson.remoting.Command.readFrom(Command.java:90)
13:23:41 	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
13:23:41 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
13:23:41 Notifying upstream projects of job completion
13:23:41 Finished: FAILURE

the server is windows and the slave is AIX. sometimes it works, but sometimes not. and I found no way to reproduce this effect. do you have any ideas if this will be fixed or do you know any workaround with alternative plugins? we need to execute the job on a AIX slave node and need to copy a file from this slave to our master server. I know I can use ftp, install a ssh server on windows, ... but that are no useful ways for us...

regards
--dirk

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
Loading...