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

Copy To Slaves plugin fails to copy files back to master

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • copy-to-slave-plugin
    • None
    • Jenkins v1.436 on Mac. Copy To Slaves Plugin v1.3. Windows XP slave with Cygwin installed and started via SSH. Matrix job runs a shell script on each node (mac and windows).

      I have a Windows slave running Cygwin and it's started via SSH. When I run a multi-configuration job that uses this slave the copy-to-slave plugin always aborts with the following exception:
      =======================================================
      [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)
      =======================================================

      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.

            rseguy Romain Seguy
            bleonard Brad Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: