2015-07-06 48 views
0

我一直試圖在我的系統上安裝jenkins,因爲我有一個單獨的linux服務器用於構建,我將該服務器連接到jenkins作爲奴隸代理,但即使給予適當的憑據,即時通訊面臨着這樣的錯誤時,詹金斯嘗試啓動從代理服務器節點沒有連接jenkins CI

Evacuated stdout 

Slave successfully connected and online 
[07/03/15 10:44:08] [SSH] Opening SSH connection to 10.169.41.66:22. 
[07/03/15 10:44:08] [SSH] Authentication successful. 

[07/03/15 10:44:09] [SSH] The remote users environment is: 
BASH=/bin/bash 
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath 
BASH_ALIASES=() 
BASH_ARGC=() 
BASH_ARGV=() 
BASH_CMDS=() 
BASH_EXECUTION_STRING=set 
BASH_LINENO=() 
BASH_SOURCE=() 
BASH_VERSINFO=([0]="4" [1]="2" [2]="25" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") 
BASH_VERSION='4.2.25(1)-release' 
DIRSTACK=() 
EUID=1011 
GROUPS=() 
HOME=/home/pvi2cob 
HOSTNAME=cob1046771 
HOSTTYPE=i686 
IFS=$' \t\n' 
LANG=en_IN 
LANGUAGE=en_IN:en 
LOGNAME=pvi2cob 
MACHTYPE=i686-pc-linux-gnu 
MAIL=/var/mail/pvi2cob 
OPTERR=1 
OPTIND=1 
OSTYPE=linux-gnu 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 
PIPESTATUS=([0]="0") 
PPID=6388 
PS4='+ ' 
PWD=/home/pvi2cob 
SHELL=/bin/bash 
SHELLOPTS=braceexpand:hashall:interactive-comments 
SHLVL=1 
SSH_CLIENT='10.169.95.56 49934 22' 
SSH_CONNECTION='10.169.95.56 49934 10.169.41.66 22' 
TERM=dumb 
UID=1011 
USER=pvi2cob 
XDG_SESSION_COOKIE=7be7fb574f0629ada47264330000027e-1435900448.726504-433426855 
_=']' 
[07/03/15 10:44:09] [SSH] Checking java version of java 
[07/03/15 10:44:09] [SSH] java -version returned 1.6.0_31. 
[07/03/15 10:44:09] [SSH] Starting sftp client. 
[07/03/15 10:44:09] [SSH] Copying latest slave.jar... 
[07/03/15 10:44:09] [SSH] Copied 346,845 bytes. 
Expanded the channel window size to 4MB 
[07/03/15 10:44:09] [SSH] Starting slave process: cd "/home/pvi2cob/jenkins" && java -jar slave.jar 
<===[JENKINS REMOTING CAPACITY]===>ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. 
java.lang.IllegalStateException: Already connected 
    at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:427) 
    at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:345) 
    at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:812) 
    at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:598) 
    at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:228) 
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
    at java.util.concurrent.FutureTask.run(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 
[07/03/15 10:44:09] [SSH] Connection closed. 

回答