• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None
    • Jenkins 2.64
      SSH Slaves plugin 1.20

      I see multiple Trilead warnings at startup in the Jenkins system log like this one:

      Jun 14, 2017 3:11:49 PM INFO hudson.slaves.SlaveComputer tryReconnect
      Attempting to reconnect znsim13
      Jun 14, 2017 3:11:49 PM WARNING hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager getTrileadSupport
      Could not create Trilead support class. Using legacy Trilead features
      java.lang.ClassNotFoundException: hudson.plugins.sshslaves.verifiers.JenkinsTrilead9VersionSupport
      	at java.net.URLClassLoader.findClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.createVersion9Instance(TrileadVersionSupportManager.java:52)
      	at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.getTrileadSupport(TrileadVersionSupportManager.java:32)
      	at hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy.getPreferredKeyAlgorithms(SshHostKeyVerificationStrategy.java:68)
      	at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
      	at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)

          [JENKINS-44893] Could not create Trilead support class

          David Aldrich created issue -
          David Aldrich made changes -
          Description Original: I see multiple warnings at startup in the Jenkins system log:
          {code:java}
          Jun 14, 2017 3:11:49 PM INFO hudson.slaves.SlaveComputer tryReconnect
          Attempting to reconnect znsim13
          Jun 14, 2017 3:11:49 PM WARNING hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager getTrileadSupport
          Could not create Trilead support class. Using legacy Trilead features
          java.lang.ClassNotFoundException: hudson.plugins.sshslaves.verifiers.JenkinsTrilead9VersionSupport
          at java.net.URLClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.createVersion9Instance(TrileadVersionSupportManager.java:52)
          at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.getTrileadSupport(TrileadVersionSupportManager.java:32)
          at hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy.getPreferredKeyAlgorithms(SshHostKeyVerificationStrategy.java:68)
          at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
          at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source){code}
          New: I see multiple Trilead warnings at startup in the Jenkins system log like this one:
          {code:java}
          Jun 14, 2017 3:11:49 PM INFO hudson.slaves.SlaveComputer tryReconnect
          Attempting to reconnect znsim13
          Jun 14, 2017 3:11:49 PM WARNING hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager getTrileadSupport
          Could not create Trilead support class. Using legacy Trilead features
          java.lang.ClassNotFoundException: hudson.plugins.sshslaves.verifiers.JenkinsTrilead9VersionSupport
          at java.net.URLClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.createVersion9Instance(TrileadVersionSupportManager.java:52)
          at hudson.plugins.sshslaves.verifiers.TrileadVersionSupportManager.getTrileadSupport(TrileadVersionSupportManager.java:32)
          at hudson.plugins.sshslaves.verifiers.SshHostKeyVerificationStrategy.getPreferredKeyAlgorithms(SshHostKeyVerificationStrategy.java:68)
          at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
          at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source){code}

          Dell Green added a comment -

          I am getting the same logs with Jenkins 2.67 and ssh plugin 1.20

          Dell Green added a comment - I am getting the same logs with Jenkins 2.67 and ssh plugin 1.20

          Michael Greco added a comment -

          Seeing it too ...

           

          WARNING: Could not create Trilead support class. Using legacy Trilead features

          java.lang.ClassNotFoundException: hudson.plugins.sshslaves.verifiers.JenkinsTrilead9VersionSupport

          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

           

          Jenkins 2.6.7 and  ssh plugin 1.20

          Michael Greco added a comment - Seeing it too ...   WARNING: Could not create Trilead support class. Using legacy Trilead features java.lang.ClassNotFoundException: hudson.plugins.sshslaves.verifiers.JenkinsTrilead9VersionSupport at java.net.URLClassLoader.findClass(URLClassLoader.java:381)   Jenkins 2.6.7 and  ssh plugin 1.20

          David S. added a comment - - edited

          I've just seen this too with ssh-slaves 1.20 and Jenkins 2.60.1.

          I downgraded to ssh-slaves 1.17 and it was still happening.

          Downgraded to Jenkins 2.46.2 and it worked!

           

          David S. added a comment - - edited I've just seen this too with ssh-slaves 1.20 and Jenkins 2.60.1. I downgraded to ssh-slaves 1.17 and it was still happening. Downgraded to Jenkins 2.46.2 and it worked!  

          mc1arke could you chime in here? Should the LTS and latest ssh-slaves-plugin be working at this point? Or does more of JENKINS-43610 need to land first?

          Joshua Spiewak added a comment - mc1arke could you chime in here? Should the LTS and latest ssh-slaves-plugin be working at this point? Or does more of  JENKINS-43610 need to land first?

          This looks like it's just classes not having been loaded yet, so is just unnecessary noise. I'll have a look at the Jenkins package tonight to check the classloading order for Trilead as the warning is surprising, although not an issue.

          There is no dependency on JENKINS-43610 here.

          Michael Clarke added a comment - This looks like it's just classes not having been loaded yet, so is just unnecessary noise. I'll have a look at the Jenkins package tonight to check the classloading order for Trilead as the warning is surprising, although not an issue. There is no dependency on JENKINS-43610 here.

          David Aldrich added a comment -

          mc1arke Did you come up with a fix?

          David Aldrich added a comment - mc1arke Did you come up with a fix?

          Sorin Sbarnea added a comment -

          Any updates?

          Sorin Sbarnea added a comment - Any updates?

          David S. added a comment -

          disclaimer: I have no idea what the real issue is here. BUT in my case, I had to upgrade my linux slaves to Java 8. I'm guessing in my case this error was as red-herring or unrelated to the Java version issue. I'm posting this here in case someone else searching this error finds this and has a similar problem.

          David S. added a comment - disclaimer: I have no idea what the real issue is here. BUT in my case, I had to upgrade my linux slaves to Java 8. I'm guessing in my case this error was as red-herring or unrelated to the Java version issue. I'm posting this here in case someone else searching this error finds this and has a similar problem.

            oleg_nenashev Oleg Nenashev
            davida2009 David Aldrich
            Votes:
            35 Vote for this issue
            Watchers:
            49 Start watching this issue

              Created:
              Updated:
              Resolved: