timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-7388] Hudson fails to detect HP-UX JDK #938

Closed timja closed 14 years ago

timja commented 14 years ago
[09/06/10 14:16:32] [SSH] The remote users environment is: BASH=/usr/local/bin/bash BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="0" [2]="33" [3]="1" [4]="release" [5]="hppa2.0w-hp-hpux11.11") BASH_VERSION='4.0.33(1)-release' DIRSTACK=() EUID=286 GROUPS=() HOME=/var/lib/hudson HOSTNAME=nb51 HOSTTYPE=hppa2.0w IFS=$' \t\n' JAVA_HOME='~hudson/jdk' LOGNAME=hudson MACHTYPE=hppa2.0w-hp-hpux11.11 MAIL=/var/mail/hudson OPTERR=1 OPTIND=1 OSTYPE=hpux11.11 PATH=/var/lib/hudson/jdk/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/local/bin:/usr/contrib/bin:/usr/lib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/langtools/bin:/opt/perf/bin:/opt/cobol/bin:/opt/OV/bin/OpC:/opt/imake/bin:/opt/hparray/bin:/opt/resmon/bin:/tn/felles/bin:/usr/local/bin:/progs/local/ssh/bin:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mozilla:/usr/sbin/diag/contrib:/opt/mx/bin:/opt/unicenter/bin:/opt/unicenter/cadb/system:/opt/unicenter/gui/bin:/opt/unicenter/scripts:/opt/unicenter/tape/scripts:/opt/unicenter/tape/bin/:/opt/unicenter/snmp/bin PPID=12534 PS4='+ ' PWD=/var/lib/hudson SHELL=/usr/local/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.252.176.57 50334 22' TERM=dumb TZ=MET-1METDST UID=286 USER=hudson _=bash [09/06/10 14:16:32] [SSH] Checking java version of java [09/06/10 14:16:42] [SSH] java -version returned 1.5.0.20. [09/06/10 14:16:42] [SSH] Starting sftp client. [09/06/10 14:16:42] [SSH] SFTP failed. Copying via SCP. hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:444) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:403) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:182) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Sorry, this connection is closed. at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:637) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:582) at com.trilead.ssh2.Session.(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.Connection.exec(Connection.java:1434) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:428) ... 8 more Caused by: java.io.IOException: Unexpected SSH_MSG_CHANNEL_REQUEST message for non-existent channel 102 at com.trilead.ssh2.channel.ChannelManager.msgChannelRequest(ChannelManager.java:1272) at com.trilead.ssh2.channel.ChannelManager.handleMessage(ChannelManager.java:1642) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:775) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:470) ... 1 more [09/06/10 14:16:42] [SSH] Connection closed.


Originally reported by davidkarlsen, imported from: Hudson fails to detect HP-UX JDK
  • status: Closed
  • priority: Critical
  • resolution: Cannot Reproduce
  • resolved: 2010-09-06T09:12:34+00:00
  • imported: 2022/01/10
timja commented 14 years ago

mindless:

Can you explain the issue in more detail? The stack trace looks like ssh-slaves failing to copy slave.jar, so I don't know why this is a "failure to detec JDK" issue?

timja commented 14 years ago

davidkarlsen:

Hmm - false alarm - all of a sudden it works now - even though I tried several times earlier today.
Maybe the box was just too slow (it's ancient) - or the fact that we patched the JDK fixed it.
Will reopen if this resurfaces.
Sorry bout the noise.