jenkin的selenium网格上的Chromedriver插件遇到错误

时间:2012-08-18 17:41:42

标签: jenkins selenium-grid jenkins-plugins selenium-chromedriver

Jenkins在Linux上运行,我已经设置了一个节点/从属(localhost)来运行。当我没有chromedriver插件时,节点可以运行并在线。使用插件我得到一个错误:

    Installing chromedriver to /var/jenkins/tools/chromedriver
    ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
    java.lang.NullPointerException
        at org.jenkinsci.plugins.chromedriver.DownloadableImpl.getType(DownloadableImpl.java:91)
        at org.jenkinsci.plugins.chromedriver.DownloadableImpl.select(DownloadableImpl.java:78)
        at org.jenkinsci.plugins.chromedriver.DownloadableImpl.resolve(DownloadableImpl.java:35)
        at org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.process(ComputerListenerImpl.java:43)
        at org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.preOnline(ComputerListenerImpl.java:34)
        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:370)
        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:317)
        at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454)
        at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
    ERROR: Connection terminated
    java.io.IOException: Unexpected termination of the channel
        at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
    Caused by: java.io.EOFException
        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
        at hudson.remoting.Command.readFrom(Command.java:90)
        at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
        at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

我做错了什么,你是如何解决这个问题的?还是有解决方法?

1 个答案:

答案 0 :(得分:0)

据报道:JENKINS-12765