Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2059

Switch agents to Kafka remoting on ci.jenkins.io?

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi R. Tyler Croy and Olivier Vernin

      I have seen a lot of windows agents close their JNLP connection other times they don't respond to pings. I have not noticed any issues with Linux agents.

      Perhaps switching to Kafka remoting will help solve those connection issues though that seems like a more significant infra project.

      I welcome other suggestions would be great to have these intermittent connection issues resolved. 

      java.nio.channels.ClosedChannelException
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 40.112.54.239/40.112.54.239:49186
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
      		at hudson.remoting.Request.call(Request.java:202)
      		at hudson.remoting.Channel.call(Channel.java:956)
      		at hudson.EnvVars.getRemote(EnvVars.java:426)
      		at hudson.model.Computer.getEnvironment(Computer.java:1192)
      		at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:751)
      		at hudson.model.ResourceController.execute(ResourceController.java:97)
      		at hudson.model.Executor.run(Executor.java:429)
      Also:   hudson.model.Computer$TerminationRequest: Termination requested at Sat Mar 23 18:46:45 GMT 2019 by Thread[Ping thread for channel hudson.remoting.Channel@6410c8f9:JNLP4-connect connection from 40.112.54.239/40.112.54.239:49186,5,main] [id=153189]
      

      https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fconfiguration-as-code-plugin/detail/PR-792/1/pipeline/12#log-531

       

       

        Attachments

          Activity

          Hide
          dduportal Damien Duportal added a comment -

          Shouldn't websocket could be a solution here? https://www.jenkins.io/blog/2020/02/02/web-socket/

          Show
          dduportal Damien Duportal added a comment - Shouldn't websocket could be a solution here? https://www.jenkins.io/blog/2020/02/02/web-socket/
          Hide
          slide_o_mix Alex Earl added a comment -

          This is specific to windows agents on ci.jenkins.io, not general Jenkins usage.

          Show
          slide_o_mix Alex Earl added a comment - This is specific to windows agents on ci.jenkins.io, not general Jenkins usage.
          Hide
          marlowa Andrew Marlow added a comment -

          I work with a network that is consistently bad and I see JNLP errors all the time, for both Windows and RHEL agents.

          Show
          marlowa Andrew Marlow added a comment - I work with a network that is consistently bad and I see JNLP errors all the time, for both Windows and RHEL agents.
          Hide
          slide_o_mix Alex Earl added a comment -

          We have retired all win2012 agents and moved completely to win2019. Is this issue still occurring?

          Show
          slide_o_mix Alex Earl added a comment - We have retired all win2012 agents and moved completely to win2019. Is this issue still occurring?
          Hide
          slide_o_mix Alex Earl added a comment -

          I have a Windows Server 2019 Azure VM Agents template available on ci.j.io.

          Show
          slide_o_mix Alex Earl added a comment - I have a Windows Server 2019 Azure VM Agents template available on ci.j.io.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            casz Joseph Petersen (old)
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated: