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

Remove agent-to-controller FilePath calls from Selenium plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • selenium-plugin
    • None

      JENKINS-67173 proposes the removal of support of agent-to-controller FilePath access.

      The following stack trace identifies such a call in Selenium Plugin:

      Command UserRequest:hudson.FilePath$CopyTo@… created at
      	at hudson.remoting.Command.<init>(Command.java:81)
      	at hudson.remoting.Request.<init>(Request.java:113)
      	at hudson.remoting.Request.<init>(Request.java:108)
      	at hudson.remoting.UserRequest.<init>(UserRequest.java:77)
      	at hudson.remoting.Channel.call(Channel.java:999)
      	at hudson.FilePath.act(FilePath.java:1165)
      	at hudson.FilePath.act(FilePath.java:1154)
      	at hudson.FilePath.copyTo(FilePath.java:2485)
      	at hudson.FilePath.copyTo(FilePath.java:2440)
      	at hudson.plugins.selenium.callables.SeleniumCallable.invoke(SeleniumCallable.java:76)
      	at hudson.plugins.selenium.callables.SeleniumCallable.invoke(SeleniumCallable.java:23)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3329)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      	at hudson.remoting.Request$2.run(Request.java:376)
      	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748) 

      This call will fail once the improvement in core is implemented, so the flow in Selenium Plugin should be fixed.

            mobrockers Rouke Broersma
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: