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

Changing the JNLP agent port via Groovy can cause long timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      Jenkins 2.7.4

      "Thread-12" id=102 (0x66) state=RUNNABLE cpu=0% (running in native)
          at java.net.SocketInputStream.socketRead0(Native Method)
          at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
          at java.net.SocketInputStream.read(SocketInputStream.java:170)
          at java.net.SocketInputStream.read(SocketInputStream.java:141)
          at java.net.SocketInputStream.read(SocketInputStream.java:127)
          at hudson.TcpSlaveAgentListener$PingAgentProtocol.connect(TcpSlaveAgentListener.java:263)
          at hudson.TcpSlaveAgentListener.shutdown(TcpSlaveAgentListener.java:139)
          at jenkins.model.Jenkins.launchTcpSlaveAgentListener(Jenkins.java:1054)
          at jenkins.model.Jenkins.setSlaveAgentPort(Jenkins.java:1047)
          at jenkins.model.Jenkins$setSlaveAgentPort$0.call(Unknown Source)
          at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
          at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
          at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
          at tcp-slave-agent-port$_run_closure1.doCall(tcp-slave-agent-port.groovy:10)
          at tcp-slave-agent-port$_run_closure1.doCall(tcp-slave-agent-port.groovy)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
          at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
          at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
          at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
          at groovy.lang.Closure.call(Closure.java:414)
          at groovy.lang.Closure.call(Closure.java:408)
          at groovy.lang.Closure.run(Closure.java:495)
          at java.lang.Thread.run(Thread.java:745)
      

            stephenconnolly Stephen Connolly
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: