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

Slaves turns to "Dead" state after connecting to remote machine

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: core, remoting
    • Environment:
      Linux 2.6.27.42-0.1-default #1 SMP 2010-01-06 16:07:25 +0100 x86_64 x86_64 x86_64 GNU/Linux
      Distributor ID: SUSE LINUX
      Description: SUSE Linux Enterprise Desktop 11 (x86_64)
      Release: 11
      Codename: n/a
    • Similar Issues:

      Description

      Hi,

      I'm trying to run a slave on a remote computer, but it isn't working. For some reason the slave fails after the link has been established between the master and remote nodes.

      The error message looks like this:
      java.lang.NoClassDefFoundError: hudson/model/Run$RunExecution
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      at java.lang.Class.getConstructor0(Class.java:2699)
      at java.lang.Class.getConstructor(Class.java:1657)
      at hudson.model.AbstractProject.newBuild(AbstractProject.java:944)
      at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1159)
      at hudson.model.AbstractProject.createExecutable(AbstractProject.java:129)
      at hudson.model.Executor.run(Executor.java:214)
      Caused by: java.lang.ClassNotFoundException: hudson.model.Run$RunExecution
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      ... 8 more

      Any idea about what might be causing this malfunctioning?

      Best Regards,
      Carlos

        Attachments

        1. error.jpg
          111 kB
          Carlos André
        2. slave-configuration.png
          48 kB
          Carlos André
        3. slave-startup.txt
          2 kB
          Carlos André

          Issue Links

            Activity

            Hide
            ochedru Olivier Chédru added a comment -

            I have the same issue without matrix jobs in the queue, and the slave is a Windows machine started through JNLP.

            Show
            ochedru Olivier Chédru added a comment - I have the same issue without matrix jobs in the queue, and the slave is a Windows machine started through JNLP.
            Hide
            michaelgang David Gang added a comment -

            I have the same problem with jenkins 1.513 and slave plugin 2.17

            Show
            michaelgang David Gang added a comment - I have the same problem with jenkins 1.513 and slave plugin 2.17
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Most probably, the issue has been fixed by the classloading fix (see JENKINS-19453).
            Please re-open if it appears on newest versions

            Show
            oleg_nenashev Oleg Nenashev added a comment - Most probably, the issue has been fixed by the classloading fix (see JENKINS-19453 ). Please re-open if it appears on newest versions
            Hide
            dam321 sam sa added a comment -

            hi carlos did you find a solution to jenkins pages refreshing every few seconds ?

            Show
            dam321 sam sa added a comment - hi carlos did you find a solution to jenkins pages refreshing every few seconds ?
            Hide
            carlosandre Carlos André added a comment -

            Hi Sam,

            I haven't been using Jenkins for a couple of years, but as Oleg mentioned before, it is most likely solved by the classloading fix (see JENKINS-19453).

            Show
            carlosandre Carlos André added a comment - Hi Sam, I haven't been using Jenkins for a couple of years, but as Oleg mentioned before, it is most likely solved by the classloading fix (see JENKINS-19453 ).

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                carlosandre Carlos André
              • Votes:
                7 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: