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

Can't get slave to work on Windows 7 using 1.395 or older version 1.389 (with Linux master)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • OpenSUSE 11.2 (as Master) Windows 7 (on slave) simply clicking on launching JNLP slave. Hudson 1.395 or 1.389

      Is it just me or does it seem impossible to run things on a Windows 7 slave? When I launch the JNLP agent just by clicking on the "Launch JNLP slave" the little slave app that opens says "Connected," and I see in the log it says "Connected." But, when I go to the Hudson web interface, it doesn't show that the slave is online for a long time after...sometimes up to an hour (other times within 10 minutes). If I do the same, in XP, it immediately shows in the Hudson "executor status." After it finally connects, I have a simple job that just has a batch command of "dir > yay.txt" and that will sometimes take forever to run. If I include source control, like Mercurial or Starteam, then I get an error (usually after quite some time...30 min or so) like the following:

      Building remotely on bio-buildhost
      hudson.util.IOException2: remote file operation failed: c:\hudson\workspace\Windows-Test at hudson.remoting.Channel@6ca9d5:bio-buildhost
      at hudson.FilePath.act(FilePath.java:749)
      at hudson.FilePath.act(FilePath.java:735)
      at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:383)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1118)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:480)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
      at hudson.model.Run.run(Run.java:1337)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:140)
      Caused by: java.io.InvalidClassException: hudson.plugins.mercurial.MercurialSCM; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 3738641820223130746
      at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      at java.io.ObjectInputStream.readClassDesc(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      at java.io.ObjectInputStream.readSerialData(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      at java.io.ObjectInputStream.readSerialData(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at hudson.remoting.UserRequest.deserialize(UserRequest.java:178)
      at hudson.remoting.UserRequest.perform(UserRequest.java:98)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      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 hudson.remoting.Engine$1$1.run(Engine.java:58)
      at java.lang.Thread.run(Unknown Source)
      Finished: FAILURE

      I have opened every port I can think of. I also specified the port number of JNLP slaves to use. I initially tried getting this running with DCOM, but there is a different bug with Windows 7 that doesn't like the username@domain.com login that I don't think is resolved yet either. Every way I have tried, it doesn't seem to work. I am sure there might be something that I am missing, but I haven't turned up any google searches that allude to a solution. Please help!

            Unassigned Unassigned
            keperry keperry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: