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

Chrome Driver Plugin should not install tools synchronously in the Computer Listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • chromedriver-plugin
    • None

      Currently Chrome Driver Plugin installs tools in the synchronous calls within the preOnline() hook. This hook happens within Computer connection scope, and it may cause timeouts in the connection logic.

      The installation should be offloaded to an async task.

       

       

      JNLP agent connected from IP
      <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.60.1
      This is a Windows agent
      Installing chromedriver to PATH
      ERROR: Failed to install chromedriver
      java.io.IOException: No installation data is downloaded from chromedriver yet
      at org.jenkinsci.plugins.chromedriver.DownloadableImpl.select(DownloadableImpl.java:74)
      at org.jenkinsci.plugins.chromedriver.DownloadableImpl.resolve(DownloadableImpl.java:35)
      at org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.process(ComputerListenerImpl.java:45)
      at org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.preOnline(ComputerListenerImpl.java:36)
      at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:540)
      at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:127)
      at jenkins.slaves.DefaultJnlpSlaveReceiver.handle(DefaultJnlpSlaveReceiver.java:69)
      at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:

       

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: