gpt4 book ai didi

java - jenkins CI 中服务器节点未连接

转载 作者:太空宇宙 更新时间:2023-11-04 03:37:00 25 4
gpt4 key购买 nike

我一直在尝试在我的系统上设置 jenkins,并且由于我有一个单独的 linux 服务器用于构建,我将此服务器作为从属代理连接到 jenkins,但即使我提供了正确的凭据,当 jenkins 尝试启动从属代理时,我仍面临此错误

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.

最佳答案

有一个与此类似的未决问题,但不确定您的 Jenkins 版本 - https://issues.jenkins-ci.org/browse/JENKINS-14332

关于java - jenkins CI 中服务器节点未连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31244003/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com