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

Agent cannot be started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      At the moment we have 5 windows agents an 3 ubuntu agents. Only 1 of the ubuntu agernts has the problem. This was our main linux agent until we got problems with the oom killer with ubuntu 22 update. Now that we solved the problem, we wanted to use the agent again, but it doesnt start anymore with the following log-entry.
      The agent is configured to launch via ssh.

      ERROR: Unerwarteter Fehler beim Start des Agenten. Das ist vermutlich ein Bug in Jenkins.
      ERROR: Unexpected error in launching a agent.
      java.lang.NullPointerException
      at java.base/java.lang.StackTraceElement.equals(StackTraceElement.java:398)
      at hudson.Functions.doPrintStackTrace(Functions.java:1707)
      at hudson.Functions.doPrintStackTrace(Functions.java:1684)
      at hudson.Functions.printThrowable(Functions.java:1667)
      at hudson.Functions.printStackTrace(Functions.java:1725)
      at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:754)
      at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:438)
      at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:641)
      at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:829)
      [12/12/22 07:11:52] Launch failed - cleaning up connection
      [12/12/22 07:11:52] [SSH] Connection closed.
      ERROR: Connection terminated
      java.io.EOFException
      at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2911)
      at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3406)
      at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:932)
      at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:375)
      at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
      at hudson.remoting.Command.readFrom(Command.java:142)
      at hudson.remoting.Command.readFrom(Command.java:128)
      at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61)
      Caused: java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75)

            Unassigned Unassigned
            namuecyd Matthias Kretschmar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: